ads-audit
Full multi-platform paid advertising audit with parallel subagent delegation. Analyzes Google Ads, Meta Ads, LinkedIn Ads, TikTok Ads, and Microsoft Ads…
Win/loss pattern analysis for B2B sales. Pulls deal data from ANY CRM (Attio, HubSpot, Salesforce, Pipedrive, etc.), enriches with emails, call transcripts (Fireflies/Gong), and web research, then analyzes won vs lost deal patterns to build an ideal prospect persona and strategy
$ npx -y skills add naveedharri/benai-skills --skill win-loss-analysis --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/win-loss-analysisContext preview
The summary Claude sees to decide when to auto-load this skill.
Win/loss pattern analysis for B2B sales. Pulls deal data from ANY CRM (Attio, HubSpot, Salesforce, Pipedrive, etc.), enriches with emails, call transcripts (Fireflies/Gong), and web research, then analyzes won vs lost deal patterns to build an ideal prospect persona and strategy
name: win-loss-analysis description: Win/loss pattern analysis for B2B sales. Pulls deal data from ANY CRM (Attio, HubSpot, Salesforce, Pipedrive, etc.), enriches with emails, call transcripts (Fireflies/Gong), and web research, then analyzes won vs lost deal patterns to build an ideal prospect persona and strategy recommendations as a .docx report. MANDATORY TRIGGERS: "win/loss analysis", "won vs lost", "deal analysis", "sales patterns", "pipeline analysis", "prospect persona", "ICP from deals", "why deals are lost", "deal patterns", "lost deal analysis", "winning persona", "deal forensics", "pipeline forensics", "sales retrospective", "analyze my pipeline", "what's working in sales", or any request about understanding close/win vs loss patterns, what makes deals close, or building an ICP from historical deal data. disable-model-invocation: true
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:
1. **CRM & Pipeline**: Which CRM, and the pipeline/list name containing deals? 2. **Stage Labels**: Exact names for Won and Lost stages (e.g., "Delivered"/"Lost", "Closed Won"/"Closed Lost") 3. **Business Context**: 2-3 sentences on what the company sells and to whom 4. **Output Preferences**: Full analysis or specific questions to answer?
Confirm understanding in one sentence before proceeding.
**Goal**: Clean Won and Lost deal lists with contact details, minimizing API calls.
1. **Filter at API level**, only request Won/Lost stage records, never pull all then filter locally 2. **Request only needed fields**, name, email, company/domain, deal size, priority, source, close date 3. **Read CRM-specific reference**, check available MCP tools, then read the appropriate file:
1. Discover pipeline structure (list attributes, stage IDs, custom fields) 2. Pull Won deals filtered by stage 3. Pull Lost deals filtered by stage 4. Filter out personal email domains (`gmail.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. 5. Organize into two clean lists with counts
**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 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),
Expert automation skills for Claude Code, organized by department.
Repo: naveedharri/benai-skills
Full multi-platform paid advertising audit with parallel subagent delegation. Analyzes Google Ads, Meta Ads, LinkedIn Ads, TikTok Ads, and Microsoft Ads…
Budget allocation and bidding strategy review across all ad platforms. Evaluates spend distribution, bidding strategy appropriateness, scaling readiness, and…
Competitor ad intelligence analysis across Google, Meta, LinkedIn, TikTok, and Microsoft. Analyzes competitor ad copy, creative strategy, keyword targeting,…
Cross-platform creative quality audit covering ad copy, video, image, and format diversity across all platforms. Detects creative fatigue, evaluates…
Google Ads deep analysis covering Search, Performance Max, Display, YouTube, and Demand Gen campaigns. Evaluates 74 checks across conversion tracking, wasted…
Landing page quality assessment for paid advertising campaigns. Evaluates message match, page speed, mobile experience, trust signals, form optimization, and…