/all-skills:win-loss-analysisfrom All Skills
Analyzes won vs lost B2B sales deals from any CRM, enriches with emails and call transcripts, then generates a .docx report with ideal prospect persona and strategy recommendations.
Ships in All Skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Build a data-driven understanding of why deals close and why they don't, then deliver a comprehensive persona and strategy document as a professional .docx report.
The report includes: Executive summary with metrics, won/lost case studies with evidence from calls and emails, side-by-side pattern comparison, a complete winning prospect persona, red flags and disqualification criteria, strategic recommendations, and data appendix.
Use AskUserQuestion (3-4 questions max) to gather:
Confirm understanding in one sentence before proceeding.
Goal: Clean Won and Lost deal lists with contact details, minimizing API calls.
references/crm-attio.md | HubSpot → references/crm-hubspot.md | Salesforce → references/crm-salesforce.md | Other → references/crm-generic.mdgmail.com, yahoo.com, hotmail.com, outlook.com, icloud.com, googlemail.com, aol.com, protonmail.com, live.com, me.com, mail.com, yandex.com, zoho.com, gmx.com, fastmail.com). Keep a count of filtered leads for the report.CRITICAL, Save extracted data to files immediately:
analysis_summary.json # Counts, value distributions, aggregate stats
won_deals.json # Full won deal list
lost_deals.json # Full lost deal list
domain_analysis.json # Business vs personal email breakdown
This prevents data loss if enrichment phases hit errors or context limits. Never rely on holding all data in conversation context alone.
CRITICAL, Validate CRM field reliability:
After initial extraction, check which CRM fields actually contain useful data vs. being mostly empty. Fields like lost_reason, agency, requirement, source, and other custom fields are frequently empty or unreliable (e.g., 126/131 lost deals having "None" as lost reason is common). Before relying on any field for analysis:
A healthy analysis needs 15-20+ leads per bucket. If thin, discuss including personal-email leads or widening date range.
Raw CRM data tells you WHAT happened; enrichment tells you WHY. Complete ALL enrichment BEFORE building the report. Run streams in parallel using sub-agents where possible.
Step 1, Metadata search: Find emails involving top leads by deal size (10-15 per bucket). Use search-emails-by-metadata (Attio), engagement APIs (HubSpot), or activity records (Salesforce).
Step 2, Read actual content: Metadata only gives subject lines and timestamps. You MUST read the actual email body using get-email-content (Attio) or equivalent to extract: objections raised, pricing discussions, competitive mentions, enthusiasm/hesitation signals, specific questions asked.
What to capture per lead: Email count, date range, key content themes, standout quotes, response patterns.
For top 10-15 leads per bucket, quick web research via WebSearch/WebFetch: company size, industry, tech stack, growth signals. 2-3 minutes per company max, focus on cohort patterns.
Search ALL available transcript tools, don't stop at one source:
fireflies_search, fireflies_get_transcript, fireflies_get_summarysearch-call-recordings-by-metadata, semantic-search-call-recordings, get-call-recordingFireflies search strategy: Use targeted queries, search by company name, contact name, or domain individually. Broad keyword searches return massive result sets that overflow context. Example: search "Boostability" not "SEO demo call".
What to extract: Number of calls, call progression arc, pain points (concrete vs vague), buying signals, objections, who attended, prospect's stated intent. Capture direct quotes for the report.
Save enrichment results to files as you go: email_content_analysis.json, won_transcripts_analysis.json, lost_transcripts_analysis.json, fireflies_meeting_map.json. This protects against context loss and lets you reference exact data during report generation.
Use sub-agents (Task tool) to parallelize: one for Won enrichment, one for Lost enrichment, web research concurrent with email/transcript lookups.
Compare Won vs Lost across 6 dimensions. For each, document the pattern, the contrast, supporting evidence (specific leads, quotes), and confidence level.
For lost deal reasons: Don't rely on the CRM lost_reason field, it's almost always empty. Instead, categorize losses from enrichment evidence (transcripts, emails, web research) into archetypes like: Went Cold, Enterprise Procurement Complexity, Product Quality Issues, Pricing/Cost, Competitive/Build Own, Poor Product Fit.
Synthesize findings into an actionable winning persona:
Persona Card: Title/role, company type, size/revenue range, current pain, primary intent, technical profile, buying behavior, geographic focus, deal size sweet spot, key buying signals, red flags.
What They Say: 4-6 actual quotes or paraphrased themes from transcripts that winning prospects consistently express.
Disqualification Criteria: 5-8 specific, observable red flags tied to evidence from lost deal analysis.
Strategic Recommendations: 8-12 actionable recommendations across sales process, targeting/messaging, and pipeline hygiene.
Generate professional PNG charts using the included scripts/generate_charts.py (matplotlib, JSON config → 300 DPI PNGs). Supported types: metric_cards, donut, grouped_bar, horizontal_bar, stacked_bar.
pip install matplotlib --break-system-packages -q 2>/dev/null || pip install matplotlib -q
Build charts_config.json with these (replace placeholder values with actual data):
metric_cards): Won count, Lost count, Avg Won Deal size, Win Rategrouped_bar): Won vs Lost by value rangesdonut): Evidence-based categories from enrichment (NOT from empty CRM field)grouped_bar): Won vs Lost by regionhorizontal_bar, green): Where you win mosthorizontal_bar, red): Where you lose mosthorizontal_bar): Avg meeting duration, questions per meeting, calls per deal, email touches, derived from transcript/email enrichmenthorizontal_bar): % of won deals showing each winning traitOptional: Lead source distribution, sales cycle comparison, priority distribution.
python <skill_path>/scripts/generate_charts.py --config charts_config.json --output-dir ./charts
Colors: Green #4CAF50 (Won) | Red #E53935 (Lost) | Navy #1B3A5C (headers) | Teal #2E86AB (accents) | Orange #FF9800 | Purple #7E57C2
Chart sizes for docx (width x height points): Metric cards 600x180 | Donut 500x360 | Grouped bar 560x380 | Horizontal bar 560x280 (+45 per extra bar)
Read the docx skill (SKILL.md) for docx-js technical instructions. Embed charts using ImageRun:
const chartBuffer = fs.readFileSync('./charts/metrics_summary.png');
new Paragraph({
children: [new ImageRun({ data: chartBuffer, transformation: { width: 600, height: 180 }, type: 'png' })],
spacing: { before: 200, after: 200 },
alignment: AlignmentType.CENTER,
})
Save to outputs directory. Offer executive summary as separate doc if report is lengthy.
This skill is never finished. Improve it as you use it.
references/examples/ so it becomes a model for future runs.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub benaios/benai-skills --plugin all-skills3 plugins in 2 repositories ship this exact skill · first indexed Sep 18, 2026
130 skills in this plugin
/adsComprehensive paid advertising audit and optimization for any business type. Performs full multi-platform audits (Google Ads, Meta Ads, LinkedIn Ads, TikTok Ads, Microsoft Ads), single-platform deep analysis, conversion tracking health checks, creative quality assessment, budget allocation optimization, bidding strategy evaluation, and compliance verification. Industry detection for SaaS, e-commerce, local service, B2B enterprise, info products, mobile app, real estate, healthcare, finance, and agency. Triggers on: "ads", "PPC", "paid advertising", "Google Ads", "Meta Ads", "Facebook Ads", "LinkedIn Ads", "TikTok Ads", "Microsoft Ads", "Bing Ads", "ad audit", "campaign audit", "ROAS", "conversion tracking", "creative fatigue", "bid strategy".
/ads-auditFull multi-platform paid advertising audit with parallel subagent delegation. Analyzes Google Ads, Meta Ads, LinkedIn Ads, TikTok Ads, and Microsoft Ads accounts. Generates health score per platform and aggregate score. Use when user says "audit", "full ad check", "analyze my ads", "account health check", or "PPC audit".
/ads-budgetBudget allocation and bidding strategy review across all ad platforms. Evaluates spend distribution, bidding strategy appropriateness, scaling readiness, and identifies campaigns to kill or scale. Uses 70/20/10 rule, 3x Kill Rule, and 20% scaling rule. Use when user says "budget allocation", "bidding strategy", "ad spend", "ROAS target", "media budget", or "scaling".
Other plugins' skills for the same job