run-win-loss-program — Claude Code command: win/loss research
run-win-loss-program runs a win/loss research cycle end to end, from picking deals to routing findings to product, sales and pricing.
Apache-2.0 ★ 450 updated 2026-04-03
.claude/commands/run-win-loss-program.mdWhat run-win-loss-program does
The command walks through win/loss research in five stages. It picks deals from both wins and losses, sets up interviews with a discussion guide and consent, tags qualitative findings and matches them against pipeline metrics, pulls out drivers and quotes for each audience, then assigns follow-ups. What you end up with: an insight report, a driver dashboard with trendlines, and a tracker that ties findings to backlog items and deadlines.
Flags set the scope: --segment, --period, --sample-size, --audience (product, sales, marketing, exec, pricing) and the optional --focus-topics. The work is handed to the win-loss-analyst and market-insights-director subagents plus the win-loss-dataset and market-signal-tracker skills.
Ten deals land in the sample by default. Across a single segment that is thin, so raise --sample-size to match how many deals actually closed, or a couple of loud stories will carry the whole report.
What it helps with
- pull a deal sample across wins and losses for the quarter
- prepare the interview guide and capture participant consent
- tag qualitative insights and line them up with pipeline metrics
- split findings between product, sales, marketing and pricing readers
- assign follow-ups to owners and keep the status current
Example prompts for the agent
- Run
/competitive-intelligence:run-win-loss-program --segment enterprise --period quarter --sample-size 12 --audience product,salesand build the quarterly report. - Go through the
smbsegment for the month and group findings by pricing, onboarding and support. - Build the follow-up tracker and show who owns each insight.
How to install run-win-loss-program
Manually: put the files in place
.claude/commands/run-win-loss-program.mdCall it with /run-win-loss-program. For all projects use ~/.claude/commands/
Manually: put the files in place
~/.codex/prompts/run-win-loss-program.mdCall it with /prompts:run-win-loss-program. Codex marks this format deprecated in favour of skills
Manually: put the files in place
.github/prompts/run-win-loss-program.prompt.mdManually: put the files in place
.gemini/commands/run-win-loss-program.tomlGemini stores commands as TOML: the prompt text goes into the prompt field
Questions about run-win-loss-program
How to install run-win-loss-program in Claude Code?
Copy the command file to .claude/commands/run-win-loss-program.md in your project. It then runs as /competitive-intelligence:run-win-loss-program.
What does run-win-loss-program do?
It carries a win/loss study through five stages: sampling, interviews, tagging, synthesis and routing. Outputs are an insight report, a deal driver dashboard and a follow-up tracker.
How many deals does the command use by default?
10. Change it with --sample-size; the segment comes from --segment.
Source text
run-win-loss-program.md · Apache-2.0
--- name: run-win-loss-program description: Manages end-to-end win/loss research including sampling, interviews, analysis, and routing. usage: /competitive-intelligence:run-win-loss-program --segment enterprise --period quarter --sample-size 12 --audience product,sales --- # Command: run-win-loss-program ## Inputs - **segment** – target segment or region (enterprise, smb, strategic, apac, etc.). - **period** – timeframe (month, quarter, half, custom). - **sample-size** – number of deals to include (default 10). - **audience** – comma-separated recipients (product, sales, marketing, exec, pricing). - **focus-topics** – optional keywords (pricing, onboarding, security, support). ## Workflow 1. **Sampling & Prep** – select deals across wins/losses, ensure mix of personas/products. 2. **Interview Coordination** – schedule interviews, share discussion guide, capture consent. 3. **Analysis & Tagging** – tag qualitative insights, align with quantitative pipeline metrics. 4. **Insight Synthesis** – highlight key drivers, quotes, and recommended actions per audience. 5. **Routing & Tracking** – assign follow-ups to owners, track status, and plan next cycle. ## Outputs - Win/loss insight report with themes, quotes, and data visualizations. - Deal driver dashboard (e.g., pricing, product gap, competition) with trendlines. - Follow-up tracker mapping insights to backlog items and deadlines. ## Agent/Skill Invocations - `win-loss-analyst` – leads sampling, interviews, and analysis. - `market-insights-director` – connects insights to strategic priorities. - `win-loss-dataset` skill – structures qualitative/quantitative tags. - `market-signal-tracker` skill – cross-links insights with other market signals. ---
© gtmagents · Apache-2.0 · gtmagents/gtm-agents