This handles the full deal lifecycle from the command line: discover pipelines and stages across portals, qualify MQLs into deals with contact and company associations, bulk advance or reassign deals between stages, hunt down stalled deals with dynamic date filters, and close won or lost. The bulk MQL qualification flow is clever but requires a two-pass shell pattern since you need to capture deal IDs from create output before wiring up associations. Useful if you're automating rep handoffs, extending close dates on overdue deals, or moving entire cohorts through stages without clicking through the UI. It leans on the bulk-operations skill for dry-run confirmations and JSONL piping.

skills.sh installs
1.8K
GitHub stars
29
last updated
Aug 21, 2026

Install

$ npx -y skills add hubspot/agent-cli-skills --skill deal-management --agent claude-code

Installs into .claude/skills of the current project.

Files

Resources

FileWhen to use
resources/lifecycle-stage-progression.mdLifecycle stage API values + the contact-side updates that pair with deal moves.
resources/stalled-deal-queries.mdFilter cookbook for stalled / no-activity / past-close-date deals with dynamic dates.

Foundations

Read bulk-operations/SKILL.md first — JSONL piping, batch read, pagination, and the dry-run/digest/confirm flow live there. Reshape recipes are in bulk-operations/resources/json-patterns.md. hubspot <command> --help is the source of truth. Object types are plural (contacts, deals, companies). For property reference: hubspot properties list --type deals — don't hardcode property tables.

1. Discover pipelines and stages

Pipeline and stage IDs are portal-specific. Always discover at runtime — never hardcode across portals.

hubspot pipelines list --type deals --format jsonl
# {"id":"default","label":"Sales Pipeline","displayOrder":0,"stages":[...]}
# {"id":"a1b2c3d4-0000-0000-0000-000000000000","label":"Enterprise Pipeline","displayOrder":1,"stages":[...]}

Sponsors

Details

Repository
github.com/hubspot/agent-cli-skills
Categories
AI & Agent Building, Sales & Marketing, CLI & Terminal
First seen
Jul 14, 2026

More from hubspot/agent-cli-skills

All 15
1k-dense-ai avatarexa-searchk-dense-ai/scientific-agent-skillsWeb toolkit powered by Exa, tuned for scientific and technical content. Use this skill when the user needs to search the web or fetch/extract URL content. Cover1.8Kskills.sh installs
2lingzhi227 avatarresearch-planninglingzhi227/agent-research-skillsDesign research plans and paper architectures. Given a research topic or idea, generate structured plans with methodology outlines, paper structure, dependency-1.8Kskills.sh installs
3github avatarreviewing-oracle-to-postgres-migrationgithub/awesome-copilotIdentifies Oracle-to-PostgreSQL migration risks by cross-referencing code against known behavioral differences (empty strings, refcursors, type coercion, sortin1.8Kskills.sh installs
4hubspot avatarsales-reportinghubspot/agent-cli-skillsDaily briefings, pipeline snapshots, and win/loss analysis from the terminal — closing-this-week, open pipeline by stage/owner, and closed-won vs closed-lost ov1.8Kskills.sh installs
5mblode avatarmulti-tenant-architecturemblode/agent-skillsProvides architecture guidance for multi-tenant SaaS platforms on Cloudflare or Vercel. Covers platform choice, domain strategy, tenant identification and isola1.8Kskills.sh installs
6github avatargtm-product-led-growthgithub/awesome-copilotBuild self-serve acquisition and expansion motions. Use when deciding PLG vs sales-led, optimizing activation, driving freemium conversion, building growth equa1.8Kskills.sh installs