/marketing-as-code:win-lossfrom marketing-as-code
Synthesizes win/loss analysis from CRM closed deals and call transcripts, coding reasons against a taxonomy and producing reports, themes, and battlecard updates.
Ships in marketing-as-code. 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.
None: SKILL.md is the whole skill.
You answer "why do we win and why do we lose" for a period from the deals
that closed and what buyers said on calls, coded against one stable reason
taxonomy. The analysis lands in
reports/adhoc/YYYY-MM-DD-win-loss-<period>/report.md; the durable themes in
memory/knowledge/ as a win-loss themes file; the consequences as flagged
battlecards and logged decisions. Quarterly is the usual rhythm.
Needs: a wired crm integration for the closed deals. Which vendor fills
it here is the Wired table in integrations/README.md;
references/hubspot.md and references/salesforce.md say which objects
and fields carry outcome, reason, competitor and segment, and how they map
to the snapshot columns. Without it: ask a person to export the closed
deals for the period with close reason, competitor and segment as
data/crm/snapshots/YYYY-MM-DD-<vendor>-closed-deals.csv (the manual route
in integrations/catalog/crm.json) and stop until it exists. Never
estimate a win rate. With transcripts wired, the calls for those deals
are pulled into memory/transcripts/inbox/; without it, use what is in
memory/transcripts/processed/ and say which deals had no call on record.
data/ontology/ (funnel.md for what closed-won and
closed-lost mean, metrics.md for win rate) and data/crm/README.md.
Fix the period and the question: one deal, or the quarter.*-closed-deals.csv in
data/crm/snapshots/, the previous win/loss report in reports/adhoc/,
the existing themes file in memory/knowledge/, and every card in
strategy/competitive/.snapshot-pull: closed deals with a close date in the
period, the fields in the vendor reference, saved as
data/crm/snapshots/YYYY-MM-DD-<vendor>-closed-deals.csv with columns
deal_id,company,segment,tier,amount,close_date,outcome,reason_crm,competitor,owner,source.
Company-level only; no contact names.memory/transcripts/processed/ (match the company name and the
period). Pull the verbatim lines about the problem, the alternatives,
budget, timing and who decided. Note the decision timeline the calls
show against the CRM close date.references/program-design.md (capability gap, trust and proof, price
to value, champion strength, competitive move, timing and budget,
process failure), a primary and a secondary driver each, from the
transcript where one exists and from the CRM reason where not. Save
the coding as data/crm/snapshots/YYYY-MM-DD-repo-win-loss-coded.csv
(deal_id,outcome,primary_driver,secondary_driver,evidence_path).reports/_templates/report.md: the answer
first with quotes; tables by segment, competitor and driver; one
paragraph each for sales, product, marketing and leadership; caveats;
a Data used section with every snapshot path.memory/knowledge/
in place as a diff; flag each card in strategy/competitive/ that a
loss contradicts (for battlecard); objections for messaging-house;
anything the team decides goes through log-decision; follow-ups per
integrations/tasks.md."Run the Q3 win/loss." snapshot-pull fetches 47 closed deals (28 lost,
19 won) from the CRM in three paged calls, saved as
data/crm/snapshots/2026-10-02-hubspot-closed-deals.csv. Eleven deals have
calls in memory/transcripts/processed/. Coding saved as
2026-10-02-repo-win-loss-coded.csv. Report first lines: "Win rate 40
percent (19 of 47). The CRM says price for 16 of 28 losses; the calls say
champion strength for 6 of the 8 losses we have transcripts for, and price
came up once. Against Acme we lost 7 of 9, all mid-market, all citing
their native CRM reporting." Themes file updated, acme.md flagged, a
decision proposed on the mid-market reporting gap.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub calven-ai/marketing-as-code --plugin marketing-as-code111 skills in this plugin
/ab-test-planDesign an A/B test: hypothesis, primary metric per the ontology, sample size, duration, stop rule; record the result later. Use when "design a test for X", "is this significant"./account-signalsWeekly account heat: intent, web and CRM engagement per target account, buying-group coverage, who to hand to sales. Use when "which accounts are warm", "ABM report", or weekly./ad-briefWrite ad angles and copy variants per platform and persona for a campaign. Use when "ad copy for LinkedIn", "ad variants", "creative brief for the campaign"./add-integrationConnect a tool the team uses by the MCP, CLI, script ladder in integrations/adding-an-integration.md, as one PR. Use when "we use X, connect it", or when a skill needs an unwired tool./ads-account-auditAudit a paid account against a checklist: structure, wasted spend, targeting, conversion tracking, creative fatigue. Use when "audit the LinkedIn Ads account", "where is spend wasted"./ads-performanceWeekly paid report: spend, CPL, CAC and pipeline by campaign versus target, with what to pause or scale. Use when "how are ads doing", "paid report", or on the weekly cadence.Other plugins' skills for the same job