/pm-workspace:cost-managementfrom pm-workspace
Gestiona timesheets, presupuestos, forecasting e invoicing. Registra horas por tarea/proyecto, calcula desviaciones y genera informes Excel/Word.
Ships in pm-workspace. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Prerequisito: @docs/rules/domain/billing-model.md, @docs/rules/domain/cost-tracking.md
Orquesta timesheet logging, budget tracking, forecasting y generación de invoices.
Ejecución: no hay script dedicado. El agente aplica estos flujos leyendo y
escribiendo los JSONL/JSON documentados con sus herramientas. Lo único ejecutable
es el validador de contrato scripts/test-cost-center.sh y la protección de rates
en .gitignore, ambos cubiertos por tests/test-cost-management.bats.
log)date, user, task_id, project, hours (todos requeridos)hours es decimal ≥ 0.5 y múltiplo de 0.5 (precisión mínima de billing-model)user tiene perfilproject existe en projects/{proj}/CLAUDE.mdprojects/{proj}/.rates.local.json si existe; si no, .flow-data/rates.json (ambos git-ignorados).flow-data/timesheets/{user}/{YYYY-MM}.jsonl.flow-data/ledger/{project}.jsonlError handling:
.flow-data/rates.json con el schema de billing-model.md (no hay subcomando que lo cree)/profile-setup {user}report)Parámetros: --period {YYYY-MM}, --team {nombre}, --project {slug}, --client {slug}
--team)--client)Project │ Hours │ Cost (€) │ Team │ Status
────────────┼────────┼──────────┼───────────┼─────────
sala-reservas │ 160 │ 13,600 │ Backend │ On-budget
api-v3 │ 120 │ 14,400 │ Backend │ 5% over
output/cost-report-{periodo}.mdbudget)Subcomandos:
--create {project}: crear presupuesto inicial (solicitar total, moneda, fechas)--update {project}: modificar presupuesto (total, alerts)--burn {project}: mostrar burn actual vs. presupuesto--status: comparar todos los proyectosOutput: tabla con budget/actual/remaining/% spent + alertas
Project │ Total │ Spent │ Remaining │ Status
────────────────┼─────────┼────────┼───────────┼──────────
sala-reservas │ €50,000 │ €42,500 │ €7,500 │ 85% ⚠️
api-v3 │ €60,000 │ €48,000 │ €12,000 │ 80% ⚠️
forecast)BAC / CPI de billing-model.md requiere % complete):
elapsed_days = hoy - fecha_inicio_presupuestoburn_rate = actual_burn / elapsed_daysremaining_days = fecha_fin_presupuesto - hoyEAC = burn_rate × (elapsed_days + remaining_days)EAC vs. BAC:
Output: gráfico ASCII de proyección + recomendaciones
Forecast: EAC = €55,200 (BAC = €50,000)
Risk: 10.4% over budget
Options:
1. Reduce scope (descope €5,200 worth of features)
2. Extend timeline (add 2 weeks)
3. Increase budget (request €5,200 approval)
invoice)Parámetros: --client {slug}, --period {YYYY-MM}, --status draft|final
output/invoices/{client}-{YYYY-MM}.json| Problema | Solución |
|---|---|
| Horas duplicadas | Advertir, preguntar si mezclar o descartar |
| Rate no definido | Crear .flow-data/rates.json (schema en billing-model.md) |
| Proyecto sin presupuesto | Crear presupuesto con /cost-center budget --create {project} |
| Período sin datos | Mostrar período más reciente disponible |
.flow-data/rates.json y **/.rates.local.json en .gitignore (verificado con git check-ignore en el test)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
cost-management, timesheet, budget-tracking, forecasting, invoicing
Claude Code refuses to install this plugin
.claude-plugin/plugin.json: dependencies: Invalid input: expected array, received object, author: Invalid input: expected object, received string
Checked against Claude Code 2.1.332's install rules. The listing below is what the repository ships; Claude Code cannot install it as published.
139 skills in this plugin
/adversarial-securityUsar cuando se necesita auditar la seguridad de un proyecto con pipeline Red Team / Blue Team./agent-code-mapUsar cuando un agente necesita conocer la arquitectura del proyecto sin leer ficheros completos./agent-file-mapUsar cuando se trabaja con ficheros externos al workspace que los agentes deben localizar./agent-messagingUsar cuando un agente debe enviar un mensaje a otro agente con roles y receipts, sin pasar por el usuario. Triggers: mensaje a otro agente, agent-message, notify agent, inbox.Other plugins' skills for the same job