win-loss-patterns
Skill by kortix-ai
Analyzes HubSpot closed-won and closed-lost deals each week and posts win-loss themes with recommendations to a chosen channel. Built for sales leaders and revenue teams who want to see why deals are won or lost.
Install win-loss-patterns
Built from the published package, never by AI.
git clone --depth 1 https://github.com/kortix-ai/suna /tmp/suna && mkdir -p ~/.claude/skills && cp -r /tmp/suna/packages/starter/templates/marketplace/runtime/skills/win-loss-patterns ~/.claude/skills/win-loss-patternsRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/kortix-ai/suna /tmp/suna && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/suna/packages/starter/templates/marketplace/runtime/skills/win-loss-patterns ~/.gemini/antigravity-cli/skills/win-loss-patternsAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill runs a weekly win-loss analysis on HubSpot closed deals. It reads deals closed won or lost in a trailing window of set days, then breaks outcomes down by segment, competitor, price band, and the stage where lost deals die. It also groups close reasons into themes.
Each theme is paired with a recommendation, and one summary is posted to a Slack channel. The access to HubSpot is read-only, and the skill never edits a deal or contacts a rep or prospect. Each run starts fresh and recomputes everything from current HubSpot data. It is meant for sales and revenue teams who want a regular, report-only view of their playbook.
Written from the project's SKILL.md and checked against it.
What it can do
- Pull closed dealsReads closed-won and closed-lost deals from HubSpot in read-only mode.
- Window filterKeeps only deals closed within the trailing lookback period based on HubSpot close dates.
- Headline numbersCounts won and lost deals, win rate, and won versus lost deal value.
- Segment breakdownReports win rate and deal count by segment, plan, or company size band and flags weak segments.
- Competitor breakdownGroups losses and wins by named competitor, with an unrecorded bucket for blank fields.
- Price breakdownBands deal amounts using the account's own distribution and reports win rate per band.
- Stage of lossFinds the stage lost deals were in just before being marked lost and ranks stages by losses.
- Close reason themesClusters close reasons into themes and counts each, with a representative verbatim reason.
- Weekly summary postPosts one summary with headline numbers, breakdowns, loss stage, themes, and recommendations to a channel.
What you need
- HubSpot access through the hubspot connector (read-only)
- A Slack channel set as the alert channel
Try asking
- Run the weekly win-loss analysis for the last 30 days
- Why are we losing deals? Show the win-loss breakdown by competitor
- Which stage do most of our lost deals die in this month?
Good to know
- Read-only: never edits HubSpot deals or fields
- Report only: does not contact reps or prospects or open tasks
- No memory between runs; each run recomputes from current HubSpot data
- Blank close reasons or competitor fields are reported as unrecorded, not guessed
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: packages/starter/templates/marketplace/runtime/skills/win-loss-patterns/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md6 KB
Alternatives to win-loss-patterns
All alternatives →Scores inbound HubSpot leads on engagement, company fit and urgency, then ranks the ones worth a call today. Built for sales owners who need to decide who to call first.
Builds a ranked list of prospects by deriving an ideal customer profile from existing customers. It finds look-alike companies and decision-makers, then scores them. Built for owners who need new customers.
Writes prospect outreach and follow-up sequences in the owner's own voice, learned from their sent mail. Queues every send for approval and logs each touch to the CRM. Runs draft-only when no mail connector is available.
Writes and runs B2B cold outbound, including cold emails, follow-up sequences, LinkedIn messages and multichannel cadences. Built for sales development and outbound teams that want replies rather than template blasts.
Speed to Lead checks inbound inquiries from web forms, the shared inbox, and the CRM, then drafts replies for the owner to approve. It is for owners who lose leads because nobody replies fast enough.
Helps write, build and improve B2B cold email and follow-up sequences for prospects who did not opt in. Covers SDR and founder outreach.
Compare with lead-triage, lead-finder or outreach-composer
win-loss-patterns: common questions
Does this skill change anything in HubSpot?
No. The source says HubSpot access is read-only and the skill never edits a deal's stage, amount, close reason, or competitor field.
Where does the weekly report go?
The source says one summary is posted to the configured alert channel, and nothing else is written anywhere.
Does it remember results from previous weeks?
No. Each run is a fresh session and recomputes the window and breakdowns from HubSpot's current state, with no memory file.
How do I install win-loss-patterns?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is win-loss-patterns free?
The code is published under the NOASSERTION licence. The service it connects to may have its own pricing.
Is win-loss-patterns safe to use?
It scores 80 of 100. Grades: maintenance A, licence F, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to win-loss-patterns?
Similar skills: lead-triage, lead-finder, outreach-composer, cold-email.
