From capsa-cookbook
Build a renewal recommendation for one property. Pull Capsa's renewal drilldowns (service-level price/hours comparisons, prior-year performance review) and full property context (margin by service type, payment behavior, penetration, open issues and notes), then synthesize a price/hours/terms recommendation memo with cited evidence. The agent proposes; the user decides. Use per property, usually after renewal-portfolio-triage.
How this skill is triggered — by the user, by Claude, or both
Slash command
/capsa-cookbook:renewal-deep-diveThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
One property, one decision: what should this renewal look like? Combine last
One property, one decision: what should this renewal look like? Combine last year's estimate-vs-actual performance with how the customer pays, what else they buy, and how the relationship feels — into a memo the account owner can act on.
New to the Capsa connector? Start with the capsa-orientation skill (or https://github.com/capsa-analytics/capsa-agent-cookbook).
Re-pricing a renewal from last year's estimate alone repeats last year's mistakes. This skill assembles the evidence — did the contract actually make its margin, where did hours run over, does the customer pay on time, is there unsold enhancement potential, are there open complaints — and turns it into a structured recommendation with every line cited to the datapoint it came from.
The output is analysis to support the user's pricing decision. It is never a pricing instruction, and the user's judgment overrides every rule below.
The steps are the same whether this runs as an installed skill, is pasted into another agent, or is run ad-hoc. The "Configuration" section is the contract; persist those inputs in the Team specifics block below, a system message, or a wrapper script.
Use it when all of the following are true:
capsa_search_properties first).Skip it for portfolio questions (use renewal-portfolio-triage) or when the user wants raw numbers without a recommendation.
Shared with renewal-portfolio-triage — keep one copy (see its Team specifics):
All defaults are placeholders the team must set. If a guardrail is unset when it's needed, ask — never assume an industry number.
If the property reference is fuzzy, call capsa_search_properties and confirm
the right property with the user (see
Resolving ambiguous names).
Call capsa_get_renewal_drilldown for the property:
performance_review — prior-year estimated vs actual margin, cost and hours
variance, projected cost, and a confidence level. Carry that confidence into
everything downstream; partial-season actuals get an explicit caveat.service_comparisons — per-service price-per-hour and hours deltas between
last year's contract and this year's renewal bid, with change tags.If the property has renewals in more than one division, the tool will ask you to pick one — confirm with the user rather than summing divisions.
Call capsa_get_property_context for the property. The context row already
carries the payment-behavior health check (current balance, past-due balance,
dollar-weighted days past due, average days late to pay) plus penetration and
satisfaction counts — triage those numbers first, like an analyst would:
capsa_get_property_context_drilldown calls
the synthesis needs: gross margin by service type, the contract vs
non-contract margin split (penetration detail), open complaints and issues,
and last-touch activity.If a drilldown isn't available on this connection, say so and proceed without that signal — never fabricate it.
Fixed shape: Recommendation (price % range, hours/scope option, terms note, optional upsell) → Evidence (every line cites its datapoint and which pull it came from) → Risks & caveats (confidence level, freshness, open issues, timing) → closing line: "This is analysis to support your pricing decision, not a pricing instruction."
The user accepts, adjusts (re-run the affected math at their number), or rejects. Record the user's final call in the session summary.
If the memo goes to a doc, email, or message, post only after explicit approval. The renewal-opportunities capability has no completion-write tool — if the user wants the decision recorded somewhere external, produce it from the user's stated decision, never from the draft.
"Before I send the Maple Ridge HOA renewal, walk me through how that contract actually performed and what you'd change."
Renewal review — Maple Ridge HOA, Maintenance (renewal in Bidding, starts in
35 days; Capsa data may be up to 24 hours old)
RECOMMENDATION (for your decision — not a pricing instruction)
- Price: +7–9% on the maintenance contract. Your default is +4%; the floor
here is last year's 4.1% cost overrun + your 3% labor inflation. Your max
without management review is 10%.
- Hours: mowing ran 9% over estimate. Either price for the real hours
(included in the range above) or trim the enhancement-bed schedule — both
shown below.
- Terms: payment is healthy (≈6 days to pay, no late balance) — no change.
- Upsell: non-contract work is 4% of contract value against your 10% target,
with contract margin at 38% — good candidate for an enhancement proposal
alongside the renewal.
EVIDENCE
- Prior year: estimated margin 40%, actual 36.7% (performance review,
confidence: strong — full season of actuals)
- Costs ran 4.1% over estimate, driven by Mowing (+9% hours) and Irrigation
(+6% cost); Snow came in under (service comparisons)
- Payment: no late balance; ~6 days to pay dollar-weighted (payment behavior —
all four measures healthy, so I skipped the invoice drilldown)
- Satisfaction: no open complaints; one issue closed in October (issues)
- Penetration: $3.4k non-contract on $84k contract = 4% (revenue mix)
RISKS & CAVEATS
- The renewal is still in Bidding 35 days before start — timing is a bigger
risk than price right now.
- If you take the schedule-trim option instead of the full increase, margin
recovers to roughly 40% at +5%.
This is analysis to support your pricing decision, not a pricing instruction.
How would you like to proceed — a number in that range, an adjustment, or the
scope option?
All names and figures above are fictional.
npx claudepluginhub capsa-analytics/capsa-agent-cookbook --plugin capsa-cookbookGuides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.