Un Claude Skill que redacta un plan de compensación de ventas — métrica, mix de pago, cuota, curva de aceleradores, SPIFs, trigger de clawback, política de disputas — y luego lo valoriza reproduciendo la distribución real de cumplimiento del año pasado a través de la nueva curva. Reporta cuánto cuesta el plan en tres niveles de desempeño de la compañía, cuánto gana realmente el rep mediano frente al OTE con el que lo reclutaron, y qué condiciones de clawback incumple el borrador. Termina en draft o blocked. No existe un veredicto que signifique aprobado.
El bundle se publica en apps/web/public/artifacts/comp-plan-drafter-skill/ y contiene SKILL.md más tres plantillas de referencia: references/1-plan-inputs-template.md (rol, segmento, OTE, cuota, curva, estados donde trabajan los reps, presupuesto), references/2-attainment-history-template.md (una fila por rep-año, incluidos los reps que salieron) y references/3-sample-output-format.md (el Markdown exacto que emite el Skill, con un ejemplo trabajado).
Cuándo usarlo
Entre seis y diez semanas antes de que abra el año del plan, sobre un plan cuyo único modelo de costo es una hoja de cálculo que asume que todos aterrizan en el 100% de la cuota. Esa suposición es la razón de que esto exista. La investigación de AEs 2026 de Bridge Group, sobre 158 empresas B2B, ubica al 48% de los reps en cuota, con los AEs de enterprise en 38% y una relación mediana cuota-a-OTE que subió a 4,6x. Un plan costeado al cumplimiento total no es conservador ni agresivo: está valorizado contra una población que no existe, y el error aparece como un sobrecosto de presupuesto o, mucho más seguido, como un equipo que gana en silencio bastante menos que el OTE de su carta de oferta.
También es válido: una enmienda de mitad de año para un segmento, un rol nuevo sin plan precedente, y un post-mortem contra el plan que hoy está en el mercado cuando la compensación variable cerró lejos del forecast y nadie puede decir si la causa fue la curva o la cuota.
La parte que justifica su costo es el paso 3. Cualquier herramienta de comp puede dibujar una curva; casi ninguna reproduce tu propio historial a nivel rep a través de la curva que estás por lanzar. Esa retroproyección es lo que convierte “los aceleradores se ven razonables” en “esto cuesta 2,41M al desempeño del año pasado y 2,98M si el equipo mejora diez puntos”.
Cuándo NO usarlo
Aprobar o emitir un plan. Un plan de comp es un contrato. En California, el Labor Code § 2751 exige que esté por escrito, firmado por el empleador, con un acuse de recibo firmado por el empleado, y debe declarar el método de cálculo de comisiones incluida la política de chargebacks. Cada draft que emite el Skill lleva requires_counsel_review: true en su encabezado y ningún camino lo remueve.
Calcular o pagar comisiones. Esto redacta y valoriza el plan. El cálculo de pagos, el manejo de disputas y la nómina pertenecen a una plataforma de ICM. El Skill no escribe en nada.
Fijar la cuota de un rep individual. Modela una cuota para un rol y un segmento. Asignar un número a una persona con nombre es una pregunta de cobertura y capacidad: haz primero el reparto de territorios y luego valoriza el plan contra él.
Bandas salariales de reclutamiento. Hacer benchmark de base y equity para un rol contra datos de Radford o Pave es otro trabajo, con otras fuentes y otro aprobador.
Libros con menos de una docena de rep-años completamente rampados. Trece filas son una distribución sobre la que se puede discutir. Seis son una anécdota con una función de percentiles aplicada encima, y el Skill devuelve blocked en lugar de un número de costo que no puede sostener.
Setup
Completa los inputs del plan. En references/1-plan-inputs-template.md, define rol, segmento, headcount, OTE objetivo, mix de pago, cuota propuesta y budget_ceiling. Deja cualquier campo de curva como propose y el Skill redacta esa pieza; fija los que ya están decididos. Define market_ote_reference a partir de una encuesta que realmente tengas y nómbrala en market_ote_source — la alerta de retención del output vale exactamente lo que valga ese número.
Exporta el historial de cumplimiento con los que se fueron incluidos. En references/2-attainment-history-template.md, una fila por rep-año del año anterior: cuota prorrateada, cumplimiento contra esa cuota prorrateada, meses rampados, fecha de baja. include_terminated: true es obligatorio y el Skill devuelve blocked cuando es falso.
Decide el cap deliberadamente. La plantilla viene sin cap. Un cap protege el presupuesto contra un deal desmedido y produce de forma confiable el sandbagging que fue escrito para prevenir. Mira el caso alto de la tabla de costos antes de elegir, en vez de heredar el default de la plantilla.
Corre dry_run: true primero. Devuelve la distribución observada, el conteo de rampados completos y cada fila que tuvo que excluir con el motivo. La mayoría de los exports de historial traen dos o tres filas con cuota cero o un cumplimiento de 400% por un solo deal, y quieres verlas antes de que estén dentro de un número de costo.
Instala y limita las credenciales. Deja el bundle en ~/.claude/skills/comp-plan-drafter/ y define SFDC_TOKEN con lectura sobre Opportunity, User y Quota si vas a traer el historial desde Salesforce en lugar de un CSV. Solo lectura es el alcance correcto, no una precaución.
Qué hace realmente el skill
Dos pasadas, y la división es deliberada. La pasada uno redacta el plan — ese es el trabajo de criterio y le corresponde al modelo. La pasada dos retroproyecta el borrador contra la distribución observada, y esa aritmética corre en código. Una función de pago por tramos aplicada a cuarenta filas de reps no se reproducirá corrida tras corrida cuando la haga un modelo en contexto, y una conversación de compensación se derrumba en el momento en que dos corridas del mismo borrador devuelven dos costos de plan.
El reporte de costos entrega tres números en lugar de uno: la distribución observada, más y menos la banda de sensibilidad. Un plan de comp es un instrumento apalancado y la cifra útil es la pendiente. Un plan cuyo costo se mueve 8% a lo largo de un swing de veinte puntos de cumplimiento no está dirigiendo a nadie; uno que se mueve 60% es una exposición presupuestaria que alguien debería aceptar a propósito.
Las ganancias se reportan por decil, nunca como promedio. En el ejemplo trabajado de references/3-sample-output-format.md, el plan aterriza 21% bajo un presupuesto aprobado mientras el rep mediano gana 154.900 contra un OTE de 200.000 — una combinación que una revisión centrada solo en presupuesto aprueba sin comentarios. El Skill además rechaza el arreglo fácil: con 61% de cumplimiento mediano, ninguna relación cuota-a-OTE defendible le paga el objetivo al rep mediano, así que nombra la decisión real (arreglar cobertura, territorio o ramp — o decir la parte incómoda al contratar) en lugar de proponer un ajuste de tasa que no puede cerrar la brecha.
El chequeo de política emite un checklist, no una conclusión. Tres condiciones deciden si un clawback sobrevive una impugnación en la mayoría de los estados: el trigger está definido en el documento del plan antes de que la comisión se pague, el evento de devengo está atado a algo genuinamente reversible, y la recuperación no puede dejar al rep bajo el salario mínimo aplicable en ningún período de pago. El error de redacción más común es el segundo — devengar en el booking mientras se recupera por churn a doce meses — y el Skill nombra el desajuste en vez de reportar un pass genérico.
La realidad del costo
Como la aritmética a nivel rep ocurre en código, el costo en tokens escala con el tamaño del resumen y del documento del plan, no con el headcount. Un plan de 40 reps corre aproximadamente entre 1 y 3 USD por ciclo de redacción y stress-test en Claude Sonnet 5, al precio publicado de API de 3 USD por millón de tokens de entrada y 15 USD por millón de tokens de salida. Esa cifra es una estimación derivada del precio por token y de la extensión típica del documento; se mueve con cuánta narrativa pidas, no con el tamaño del roster. Un ciclo de diseño toma entre seis y doce corridas mientras la curva se revisa, así que presupuesta alrededor de 20 USD para la temporada.
La comparación que importa no es el gasto en herramientas, es el calendario. Un analista de RevOps armando las mismas tres vistas a mano — reproducir cada rep-año a través de una curva candidata, rehacerlo para cada revisión y ensamblar el checklist de estados — gasta entre dos y cuatro días por iteración, y por eso la mayoría de los equipos modela una curva y después negocia desde ella. Cada corrida acá son minutos más una hora leyendo el output, que es lo que hace que ocho revisiones entren en la ventana en lugar de una.
vs alternativas
QuotaPath — publica números reales, algo raro en esta categoría: Growth con una tarifa de plataforma de 800 USD mensuales incluyendo los primeros cinco usuarios más 50 USD por usuario al mes en el tier Premium, facturado anual, con modelado de planes, aprobaciones multinivel y acceso a API (página de precios del vendor, verificada 2026-08-11). Una organización de 40 reps corre alrededor de 30.600 USD al año en Premium. Elígelo cuando quieras que el plan viva en el sistema que además calcula los pagos y rutea las aprobaciones. Modela escenarios bien; no te dice que el rep mediano ganará 77% del OTE.
CaptivateIQ — nada publicado, por asiento sobre payees en lugar de admins, con Vendr reportando un contrato anual mediano de 36.120 USD sobre 305 compras analizadas. Su Compensation Builder Agent entró en beta limitada en mayo de 2026 y redacta fórmulas a partir de tus planes existentes, que es justamente el problema: un equipo con cuatro aceleradores superpuestos recibe ayuda para construir un quinto. Elige CaptivateIQ cuando el alcance sea la gestión de compensación de incentivos y la estructura del plan ya esté resuelta.
Un consultor de compensación — el incumbente honesto para el diseño del plan, y mejor que esto en el trabajo político de lograr que un plan sea aceptado. Producen un buen plan al año y en general no lo retroproyectan contra tu historial a nivel rep salvo que se lo entregues y pagues el análisis.
El plan del año pasado con los números cambiados — la línea base real en la mayoría de las empresas, y la razón por la que los esquemas de aceleradores derivan durante años sin que nadie valorice esa deriva. No cuesta nada y es así como termina apareciendo un cuarto componente en un plan que nadie puede explicar en dos frases.
Puntos de atención
Un historial de cumplimiento que excluye a los reps que se fueron. La rotación no es aleatoria respecto del cumplimiento: los de bajo cumplimiento se van, desproporcionadamente. Un archivo de solo sobrevivientes subestima el costo del plan y sobreestima la salud de la distribución al mismo tiempo. Guarda: include_terminated es obligatorio, el Skill devuelve blocked cuando es falso, y los reps dados de baja entran con cuota prorrateada y cumplimiento parcial del año.
Una distribución producida bajo otra cuota. El cumplimiento del año pasado refleja la cuota y los territorios del año pasado. Guarda: el Skill registra prior_plan_quota_median y advierte cuando la cuota redactada se mueve más que quota_shift_tolerance_pct, etiquetando el modelo de costo como direccional en vez de presentarlo como un forecast.
Un plan que pasa el chequeo de presupuesto y pierde gente. El reporte de costos es un instrumento de finanzas y aprobará con gusto un plan con el que el rep mediano no puede vivir. Guarda: la tabla de deciles va al lado de la tabla de costos, así el costo de retención y el costo presupuestario quedan en la misma página y se leen en la misma reunión.
Un SPIF permanente. Un SPIF sin fecha de término no es un SPIF, es un aumento de tasa no documentado que nadie vuelve a aprobar. Guarda: la línea de SPIF exige una expiración explícita en el archivo de inputs y el Skill se niega a redactar el componente sin ella.
Tratar blocked como un juicio sobre el diseño. Dice que los números no son confiables, no que el plan esté mal. Guarda: cada retorno blocked nombra el defecto de datos específico y qué lo resolvería, así la respuesta es arreglar el export y no rediseñar.
Stack
Claude — redacción del plan, diseño de la curva, narrativa de brechas de política; la aritmética de la retroproyección corre en código, no en contexto
Salesforce — historial de closed-won, registros de cuota y roster, cuando el archivo de cumplimiento se trae en vez de exportarse a mano
Los archivos de inputs del plan y de historial de cumplimiento — los dos inputs que hacen que el output sea específico de tu organización y no una plantilla
Una plataforma de ICM — CaptivateIQ, QuotaPath, o lo que calcule los pagos una vez que el plan redactado esté aprobado y firmado
Diseño de planes de compensación de ventas — el framework detrás de las decisiones de métrica, curva y piso contra las que redacta este Skill, más cobertura de cuota para la matemática de capacidad que tiene que cerrar antes de que el plan signifique algo
---
name: comp-plan-drafter
description: Draft a sales compensation plan — metric, pay mix, quota, accelerator curve, SPIFs, clawback trigger, and dispute policy — from role, segment, and OTE inputs, then stress-test it by replaying last year's actual attainment distribution through the new curve. Reports modeled plan cost, per-decile rep earnings, and policy gaps. Emits `draft` or `blocked`, never an approved plan.
---
# Sales comp plan drafter
## When to invoke
Whenever someone is writing next year's sales compensation plan and the only cost model behind it is a spreadsheet that assumes everyone lands at 100% of quota. The canonical moment is six to ten weeks before the plan year opens, while the curve is still editable and before anything has been shown to reps. Also valid: a mid-year plan amendment for one segment, a new role whose plan has no precedent in the org, and a post-mortem run against the plan currently in market to explain why variable comp came in over or under budget.
Take a plan inputs file (`references/1-plan-inputs-template.md`), an attainment history file (`references/2-attainment-history-template.md`), and produce the Markdown plan document plus stress-test report shown in `references/3-sample-output-format.md`.
Do NOT invoke this skill for:
- **Approving or issuing a plan.** The output is a draft that goes to compensation, finance, and counsel. A sales comp plan is a contract; in California, Labor Code § 2751 requires it in writing, signed by the employer, with a signed acknowledgment of receipt from the employee. There is no verdict in this skill that means "ship it."
- **Calculating or paying commissions.** This drafts and prices the plan. Payout calculation, dispute resolution, and payroll belong to an ICM platform or the finance team, and the skill writes to nothing.
- **Setting individual quotas.** It models a quota level for a role and segment. Assigning a number to a named rep is a territory-and-capacity question — carve first, then price the plan against the carve.
- **Recruiting pay bands.** Benchmarking base and equity for a role against survey data is a different job with different sources.
- **Books with fewer than `min_history_reps` fully-ramped rep-years.** A distribution built from six survivors is not a distribution, and a cost model built on it is a guess wearing a table. The skill returns `blocked`.
## Inputs
- Required: `plan_inputs_path` — role, segment, headcount, target OTE, pay mix, proposed quota, curve shape, plan year, and the states reps work in. See `references/1-plan-inputs-template.md`.
- Required: `attainment_history_path` — one row per rep-year for the trailing plan year, including reps who left mid-year. See `references/2-attainment-history-template.md`.
- Optional: `budget_ceiling` — total variable compensation approved for the plan year, in plan currency. When set, the cost report is expressed against it rather than as a bare number.
- Optional: `sensitivity_band_pct` — default `10`. The company-wide attainment shift, in percentage points, used for the low and high cost cases.
- Optional: `dry_run` — boolean, default `false`. When `true`, the skill validates the history file and returns the observed distribution plus a data-quality report, without drafting a plan. Run this first.
## Reference files
Read both input templates before drafting anything. Without the attainment history the skill has no cost model and must not invent one.
- `references/1-plan-inputs-template.md` — the plan being designed: role, segment, OTE, pay mix, quota, curve, SPIF budget, work states, and the policy constraints that bound the draft.
- `references/2-attainment-history-template.md` — one row per rep-year: attainment percentage, prorated quota, months ramped, and termination date if any. The `include_terminated` flag is load-bearing.
- `references/3-sample-output-format.md` — the exact Markdown the skill emits, with a worked example. Downstream consumers (a finance model, a plan-document template) parse this shape.
## Method
Run in order. Steps 2 and 3 are the load-bearing split; do not merge them.
1. **Load and validate.** Parse both files. Count fully-ramped rep-years in the history. Below `min_history_reps` (default 12), stop and return `blocked` — say how many rows were found and what the floor is. If `include_terminated` is `false`, return `blocked` regardless of row count: a history containing only the reps who stayed is survivorship-biased in the one direction that matters, because low attainers leave, and it makes every plan look cheaper and every distribution look healthier than it is.
2. **Draft the plan.** This is the judgment pass and it belongs to the model. Produce: the metric paid on, the pay mix, the quota, the curve (threshold, target rate, accelerator tiers and where they kick in, decelerator if any), a SPIF budget line with a named expiry date, the clawback trigger, and the dispute-resolution policy with a named response window. Keep the component count at or below `max_components` (default 3) — every component past the third divides rep attention without adding steering, and the modeled dollars usually show one component carrying almost nothing.
3. **Back-cast the draft against the observed distribution — in code.** Replay each historical rep's actual attainment percentage through the *new* curve and sum the modeled payouts. Do this arithmetic in code, not by reading the roster into the reasoning context. A piecewise payout function applied to forty rep-rows will not reproduce run to run when a model does it in context, and a compensation conversation collapses the moment two runs of the same draft produce two plan costs. The model's job is the curve, the ranking, and the narrative.
Report three numbers, not one: modeled cost at the observed distribution, at the distribution shifted up by `sensitivity_band_pct`, and shifted down by the same. A comp plan is a leveraged instrument and the useful figure is the slope. A plan whose cost moves 8% across a 20-point attainment swing is under-leveraged and will not change behavior; one that moves 60% is a budget risk somebody should agree to on purpose.
4. **Report earnings by decile, not by average.** Average earnings hide the plan's actual behavior. Emit modeled total earnings at the 10th, 50th, and 90th percentile of the observed distribution, alongside target OTE. The number that predicts attrition is what the median rep actually earns against the OTE they were recruited on — if that lands well below target, the plan is priced for the budget rather than for the market and the cost report will still pass.
5. **Run the policy check.** For each state in `rep_work_states`, note the local constraint and emit the checklist rather than a conclusion. Three conditions decide whether a clawback survives challenge in most states: the trigger is defined in the plan document before the commission is paid, the earning event is tied to something genuinely reversible, and the recovery mechanism cannot push the rep below the applicable minimum wage in any pay period. Check the draft against all three and name which one fails. Where California is in the list, add the § 2751 items: written agreement, signed by the employer, signed acknowledgment of receipt from the employee, and a stated method for computing commissions including the chargeback policy.
6. **Emit `draft` or `blocked`.** `draft` means the plan is modeled, priced, and ready for human review; every `draft` document carries `requires_counsel_review: true` in its header. `blocked` means a data problem makes the cost numbers untrustworthy — too few rep-years, terminated reps excluded, or a quota shift that invalidates the distribution. There is deliberately no third verdict. The skill makes the cost and the policy gaps visible before people decide; it does not decide.
## Output format
The skill emits Markdown in exactly this shape. Full worked example with populated rows in `references/3-sample-output-format.md`.
```markdown
# Comp plan draft — FY27 Mid-Market AE
plan_year: 2027 | headcount: 34 | history rows: 41 (incl. 9 terminated)
requires_counsel_review: true
## Verdict: draft
Curve lands 21% under budget at the observed distribution and the median rep
earns 77% of OTE — priced for the budget, not the market. Clawback trigger
fails the reversibility test.
## 1. Plan structure
| component | metric | weight | notes |
|---|---|---|---|
| base | — | 50% of OTE | 100,000 |
| commission | closed-won ARR | 45% of OTE | 9.4% of ARR at target |
| SPIF | new-logo multi-year | 5% of OTE | expires 2027-06-30 |
## 2. Curve
| band | attainment | rate | cumulative payout |
|---|---|---|---|
| threshold | 0-50% | 0% | 0 |
| target | 50-100% | 9.375% of ARR | 90,000 at 100% |
| accelerator 1 | 100-130% | 1.5x base rate | 130,500 at 130% |
| accelerator 2 | 130%+ | 2.0x base rate | uncapped |
## 3. Modeled cost (back-cast on 41 rep-years, 34 plan heads)
| case | company attainment | variable cost | vs budget (3,060,000) |
|---|---|---|---|
| low | observed -10 pts | 1,940,000 | -37% |
| observed | 61% median | 2,410,000 | -21% |
| high | observed +10 pts | 2,980,000 | -3% |
## 4. Rep earnings by decile
| percentile | attainment | modeled earnings | vs OTE (200,000) |
|---|---|---|---|
| p10 | 34% | 100,000 | 50% |
| p50 | 61% | 154,900 | 77% |
| p90 | 141% | 250,300 | 125% |
## 5. Policy check
| item | state | status |
|---|---|---|
| written + signed + acknowledged | CA | present in draft |
| computation method stated | CA | present in draft |
| clawback trigger pre-defined | all | present in draft |
| clawback tied to reversible event | all | FAIL — 12-month churn is not the earning event |
| minimum-wage floor per pay period | CA, NY, WA | not modeled — needs draw schedule |
## 6. What to change
- The clawback recovers on churn inside 12 months, but the plan earns
commission on booking. Tie recovery to non-payment or contract
cancellation, or move the earning event to cash collected.
- Median rep earns 154,900 against a 200,000 OTE, and the plan spends
650,000 under budget. The curve is not the cause: at 61% median
attainment, no defensible quota-to-OTE ratio pays the median rep target.
Quota would have to fall to roughly 590,000 — a 3.0x ratio — to put the
median at 100%. Either fix the input (coverage, territory, ramp) or
accept that this plan pays half the team 77% of OTE and say so at hire.
- Cost moves 43% across a 20-point attainment swing. That is real leverage
and it is worth confirming on purpose rather than discovering in Q3.
```
## Watch-outs
- **An attainment history that excludes reps who left.** Low attainers leave, so a survivors-only file understates plan cost and overstates the health of the distribution — in the same direction, at the same time. Guard: `include_terminated` is a required field and the skill returns `blocked` when it is `false`; terminated reps enter with prorated quota and partial-year attainment.
- **A distribution produced under a different quota.** Last year's attainment reflects last year's quota and last year's territories. If the new median quota moves materially, the old distribution stops predicting anything. Guard: the skill records `prior_plan_quota_median` and warns when the drafted quota moves more than `quota_shift_tolerance_pct` (default 15), stating in the report that the cost model is directional only.
- **A plan that passes the budget check and loses people.** The cost report is a finance instrument and it will happily approve a plan the median rep cannot live on. Guard: the decile table sits next to the cost table and reports median modeled earnings as a percentage of target OTE, so the retention cost is on the same page as the budget cost.
- **A clawback that recovers against something the earning event does not cover.** Recovering commission on 12-month churn when the plan earns on booking is the most common drafting error, and it is the condition that fails in dispute. Guard: step 5 tests the trigger against the earning event explicitly and names the mismatch rather than reporting a generic pass.
- **A permanent SPIF.** A SPIF that never expires is not a SPIF, it is an undocumented rate increase that nobody re-approves. Guard: the SPIF line requires an explicit expiry date in the inputs file, and the skill refuses to draft a SPIF component without one.
- **Treating `blocked` as a verdict on the plan.** `blocked` says the numbers cannot be trusted, not that the design is wrong. Guard: every `blocked` return names the specific data defect and what would clear it, so the response is a data fix rather than a redesign.
# Plan inputs
Replace the example values with yours. Everything here describes the plan you want drafted and the constraints it has to live inside. The skill drafts the curve; it does not invent the OTE, the headcount, or the states your reps work in.
## Role and scope
```yaml
plan_year: 2027
plan_start: 2027-01-01
role: "Mid-Market Account Executive"
segment: "mid-market" # smb | mid-market | enterprise | strategic
headcount: 34 # quota-carrying heads in this plan at plan start
currency: USD
plan_status: draft # draft | socialized | in_market
```
`plan_status` changes the tone of the report, not the arithmetic. Once a plan is `socialized`, a recommendation to change the curve carries a communication cost as well as an effort cost, and the report says so in the header rather than leaving the leader to discover it in the meeting.
## Target compensation
```yaml
target_ote: 200000
pay_mix: # must sum to 100
base_pct: 50
variable_pct: 50
market_ote_reference: 200000 # what you believe the market pays this role
market_ote_source: "Bridge Group 2026 AE Metrics, median OTE 200,000"
```
`market_ote_reference` is what the decile table compares against when it flags a plan priced below market. Set it from a survey you actually hold, and name the source — if it is a guess, say so in `market_ote_source`, because the retention flag is only as good as this number.
## Quota
```yaml
proposed_quota: 960000 # annual, per fully-ramped rep
prior_plan_quota_median: 850000 # last year's median assigned quota
quota_shift_tolerance_pct: 15 # warn above this much movement
```
The tolerance exists because the attainment history you supply was produced under `prior_plan_quota_median`. Move the quota far enough and the distribution stops predicting the new plan's cost. The skill will still model it; it will label the output directional.
## Curve
Give the shape you want drafted. Leave any field as `propose` and the skill drafts that piece; pin the ones that are already decided.
```yaml
curve:
threshold_pct: 50 # no commission below this attainment
target_rate: 1.0 # multiplier between threshold and 100%
accelerators:
- from_pct: 100
to_pct: 130
rate: propose
- from_pct: 130
to_pct: null # null = uncapped
rate: propose
decelerator: none # none | {below_pct, rate}
cap: none # none | a dollar figure
```
Uncapped is a real decision, not a default. A cap protects the budget against a single outsized deal and reliably produces the sandbagging it was written to prevent; the cost table's high case is where you should look before choosing.
## Components
Keep this at three or fewer. A fourth component almost always shows up in the modeled-dollars column carrying a rounding error's worth of pay and a meaningful share of rep attention.
```yaml
max_components: 3
components:
- name: commission
metric: closed_won_arr # the thing you want more of
weight_pct: 90 # share of the variable half
- name: new_logo_spif
metric: new_logo_multiyear
weight_pct: 10
expiry: 2027-06-30 # required — a SPIF with no expiry is a rate increase
```
## Earning event and clawback
```yaml
earning_event: booking # booking | invoiced | cash_collected
clawback:
trigger: "customer non-payment within 90 days of invoice"
recovery_method: "offset against future commission, max 25% per pay period"
post_termination: false
```
`earning_event` and `clawback.trigger` have to describe the same thing. Earning on `booking` while recovering on churn is the mismatch the policy check is looking for: the plan is trying to reverse something the earning event never depended on.
## Policy constraints
```yaml
rep_work_states: [CA, NY, TX, WA, IL]
draw:
type: none # none | recoverable | non_recoverable
amount_monthly: 0
dispute_policy:
response_window_days: 15
escalation: "RevOps → VP Sales → CFO"
budget_ceiling: 3060000 # total approved variable comp for the plan year
min_history_reps: 12
sensitivity_band_pct: 10
```
The state list drives the policy checklist. It is not legal advice and the skill does not pretend otherwise — it produces the items counsel needs to see, marked against the draft, so the review is a review rather than a discovery exercise.
# Attainment history
One row per rep-year for the trailing plan year. This file is the cost model. Everything the stress test reports comes from replaying these rows through the drafted curve, so the quality of this file sets the quality of the output.
## The one rule that matters
```yaml
include_terminated: true
```
Include the reps who left. All of them, with their partial-year attainment and their prorated quota.
This is not a completeness preference. Attrition in a sales org is not random with respect to attainment — low attainers leave, and they leave disproportionately. A history containing only the people still on the roster understates what the plan will cost and overstates how healthy the distribution is, in the same direction, at the same time. The skill returns `blocked` when this flag is `false`, because a plan priced on survivors is priced on the wrong population.
## Rows
```csv
rep_id,segment,months_ramped,prorated_quota,attainment_pct,terminated_on,notes
r-001,mid-market,12,850000,141,,
r-002,mid-market,12,850000,118,,
r-003,mid-market,12,850000,104,,
r-004,mid-market,12,850000,97,,
r-005,mid-market,12,850000,88,,
r-006,mid-market,12,850000,74,,
r-007,mid-market,12,850000,61,,
r-008,mid-market,12,850000,58,,
r-009,mid-market,12,850000,44,,
r-010,mid-market,12,850000,31,,
r-011,mid-market,7,495833,38,2026-07-31,involuntary
r-012,mid-market,5,354167,22,2026-05-29,involuntary
r-013,mid-market,9,637500,96,2026-09-30,voluntary — competitor offer
```
| Column | What goes in it |
|---|---|
| `rep_id` | Any stable identifier. Do not use names; the output is circulated. |
| `segment` | Must match a segment in the plan inputs, or the row is excluded and counted in the data-quality report. |
| `months_ramped` | Months at full productivity during the year. A rep in month three of a six-month ramp contributes a partial rep-year and is excluded from the fully-ramped count. |
| `prorated_quota` | The quota actually carried, prorated for partial years. Not the annual number. |
| `attainment_pct` | Attainment against `prorated_quota`, as a whole number. `141` means 141%. |
| `terminated_on` | ISO date, blank if still employed. |
| `notes` | Free text. `voluntary` / `involuntary` is worth recording — it is the only signal in this file about whether the plan drove the exit. |
## What counts toward `min_history_reps`
Only fully-ramped rep-years — rows where `months_ramped` equals 12, or where a terminated rep was fully ramped for the months they worked. Ramping reps are still worth including for the cost model, because they cost money, but they do not make the distribution more trustworthy and the skill does not count them toward the floor.
Below the floor, the correct output is `blocked`. Thirteen rows is a distribution you can argue about; six is an anecdote with a percentile function applied to it.
## Optional: prior-plan curve
Supply the curve these attainments were paid under and the report adds a year-over-year comparison — what the same rep-years would have cost under the old plan against the new one. This is the single most persuasive number in a comp review, and it is unavailable without this block.
```yaml
prior_curve:
threshold_pct: 60
target_rate: 1.0
accelerators:
- from_pct: 100
to_pct: null
rate: 1.4
cap: none
```
## Data-quality report
Run the skill with `dry_run: true` before drafting anything. It returns the observed distribution, the fully-ramped count, and a list of rows it had to exclude with the reason for each. A history file usually has two or three rows with a quota of zero or an attainment above 400% from a single outsized deal, and you want to see those before they are inside a cost number rather than after.
# Sample output
The exact Markdown the skill emits, populated from the example inputs in `references/1-plan-inputs-template.md` and the example history in `references/2-attainment-history-template.md`. Section order and heading text are stable — a finance model or a plan-document template can parse against them.
---
# Comp plan draft — FY27 Mid-Market AE
plan_year: 2027 | headcount: 34 | history rows: 41 (incl. 9 terminated)
quota shift vs prior plan: +12.9% (within 15% tolerance)
requires_counsel_review: true
## Verdict: draft
Curve lands 21% under budget at the observed distribution and the median rep earns 77% of OTE. The plan is priced for the budget, not the market. The clawback trigger fails the reversibility test and must be redrafted before counsel review.
## 1. Plan structure
| component | metric | weight | notes |
|---|---|---|---|
| base | — | 50% of OTE | 100,000 |
| commission | closed-won ARR | 45% of OTE | 9.375% of ARR, 90,000 at 100% |
| SPIF | new-logo multi-year | 5% of OTE | 10,000 pool, expires 2027-06-30 |
Earning event: `booking`. Draw: none. Dispute window: 15 days, escalating RevOps → VP Sales → CFO.
## 2. Curve
| band | attainment | rate | payout at band ceiling |
|---|---|---|---|
| threshold | 0-50% | 0% | 0 |
| target | 50-100% | 9.375% of ARR | 90,000 |
| accelerator 1 | 100-130% | 1.5x base rate | 130,500 |
| accelerator 2 | 130%+ | 2.0x base rate | uncapped |
The threshold is a gate, not a ramp: a rep who clears 50% is paid on every dollar from the first, and a rep at 49% is paid nothing variable. That is a deliberate cliff and it is the single most disputed line in any plan that has one — the 49% rep and the 51% rep are 20,000 apart on a difference of one deal.
## 3. Modeled cost — back-cast on 41 rep-years, 34 plan heads
| case | company attainment | variable cost | vs budget (3,060,000) |
|---|---|---|---|
| low | observed -10 pts | 1,940,000 | -37% |
| observed | 61% median | 2,410,000 | -21% |
| high | observed +10 pts | 2,980,000 | -3% |
Cost moves 43% across the 20-point band. Under the prior curve (60% threshold, 1.4x single accelerator) the same 41 rep-years would have cost 2,265,000 — the new plan is 6.4% more expensive at identical performance, almost entirely from the second accelerator tier.
## 4. Rep earnings by decile
| percentile | attainment | modeled earnings | vs OTE (200,000) |
|---|---|---|---|
| p10 | 34% | 100,000 | 50% |
| p50 | 61% | 154,900 | 77% |
| p90 | 141% | 250,300 | 125% |
Nine of the 41 rep-years land below the 50% threshold and earn base only. Three of those nine are terminated rows, which is the expected pattern and the reason the terminated set has to be in the file.
## 5. Policy check
| item | state | status |
|---|---|---|
| written agreement, signed by employer | CA | present in draft |
| signed acknowledgment of receipt | CA | present in draft |
| method of computing commissions stated | CA | present in draft |
| chargeback policy stated in agreement | CA | present in draft |
| clawback trigger defined before payment | all | present in draft |
| clawback tied to a reversible earning event | all | **FAIL** — see below |
| recovery cannot breach minimum wage in a pay period | CA, NY, WA | not modeled — no draw schedule supplied |
| post-termination recovery | all | disabled in draft (`post_termination: false`) |
This is a checklist for counsel, not a legal opinion. It reports which items the draft addresses and which it does not.
## 6. What to change
- **Clawback reversibility.** The inputs file sets `earning_event: booking` and a clawback trigger of customer non-payment within 90 days of invoice. Those describe different events: the commission is earned when the deal is booked, and non-payment happens downstream of an earning event that never depended on collection. Either move `earning_event` to `cash_collected`, or narrow the trigger to contract cancellation before invoice. As drafted this is the condition most likely to fail if a recovery is challenged.
- **The median rep earns 154,900 against a 200,000 OTE**, while the plan spends 650,000 less than the approved budget. The curve is not the cause. At a 61% median attainment, no defensible quota-to-OTE ratio pays the median rep target — quota would have to drop to roughly 590,000, a 3.0x ratio, to put the median at 100%. The proposed 960,000 quota against a 200,000 OTE is 4.8x. Fix the input (coverage, territory, ramp) or accept that this plan pays half the team 77% of OTE and say so at hire rather than in month nine.
- **Minimum-wage floor is unmodeled** because no draw was supplied. With `draw.type: none` the base alone clears the floor in every listed state, so this is informational — but if a recoverable draw is added later, the 25%-per-pay-period recovery cap has to be re-checked against it.
- **Cost leverage of 43% across 20 points** is a real exposure in a good year. It is defensible; it should be a decision somebody makes in December rather than a surprise in Q3.