Skip to main content
command CX Codex

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

Install into Claude Code · Manually: put the files in place All methods and platforms ↓
.claude/commands/run-win-loss-program.md
Open on GitHub

What 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,sales and build the quarterly report.
  • Go through the smb segment 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.md

Call it with /run-win-loss-program. For all projects use ~/.claude/commands/

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

Similar slash commands

All slash commands for Marketing and content →
win-loss-review official anthropics win-loss-review analyzes closed sales opportunities to uncover loss stages and client objections from call logs. Designed for sales managers reviewing pipeline results. CX Codex +1 393installs win-back Jake Schincariol The win-back Claude Code skill finds deals ready for another contact and drafts a brief check-in. It runs on request about old or silent leads, or once a week. CX Codex +1 ★ 83repo stars audience-belief-mapper aaron-he-zhu audience-belief-mapper extracts buyer mental models, recurring objections, and JTBD switching forces directly from customer interview transcripts. Runs during the narrative research phase before positioning is finalized. CX Codex +1 1,100installs intelligence-collection-disciplines deanpeters intelligence-collection-disciplines — a skill that splits market and competitor research into eight collection channels, then fuses the results. Three weak but independent signals beat one loud claim. CX Codex +1 1,200installs bmad-research aj-geddes bmad-research — a skill that conducts structured market, competitor, technology and domain research from live sources, producing a cited research report. Run it before product planning or architecture decisions. CX Codex +1 138installs researchers-tech bitwize-music-studio The researchers-tech skill gathers facts about open source project histories, developer interviews, and technical documentation. Use it when you need to document how a technology started, who built it, and how it evolved. CX Codex +1 253installs

From the same set224

The whole set →
social-selling social-selling is a Claude Code skill for starting warm prospect conversations through LinkedIn and online communities. It guides social outreach that can turn interest in posts or webinars into meetings. CX Codex +1 ★ 450repo stars analyze-call analyze-call breaks down a call recording or transcript into metrics, key moments, risks and action items for sales teams. CX Codex +1 ★ 450repo stars build-battlecard-suite build-battlecard-suite generates battlecards, objection-handling scripts, and enablement packs against competitors for sales or product teams. Formats output into decks, docs, Notion, or PDF. CX Codex +1 ★ 450repo stars update-api-reference The update-api-reference command for Claude Code compares API schemas with earlier versions and drafts docs, guides, and changelog updates as endpoints or parameters change. CX Codex +1 ★ 450repo stars run-market-landscape-study run-market-landscape-study — a Claude Code command that runs a full market research sprint: TAM/SAM/SOM sizing, trend aggregation, and competitor mapping. Outputs land as a deck, memo, or dashboard depending on the flag you pass. CX Codex +1 ★ 450repo stars run-waterfall-enrichment The run-waterfall-enrichment command for Claude Code enriches contacts or companies through providers with a credit cap. It routes the results to a CRM, CSV, or warehouse. CX Codex +1 ★ 450repo stars manage-trust-communications manage-trust-communications generates communication scenarios for rate changes, service incidents, or regulatory updates: audience-specific messaging, FAQ packs, approval workflows, and trust monitoring with escalation triggers. CX Codex +1 ★ 450repo stars orchestrate-patient-journey orchestrate-patient-journey plans compliant patient engagement flows with educational content, consent checkpoints, and support scripts. CX Codex +1 ★ 450repo stars

Project sponsors

Companies that keep this analytics open