/hubspot-admin:hubspot-sales-auditfrom hubspot-admin
Audits HubSpot sales pipeline configuration, deal data quality, stale/past-due deals, ownership gaps, and overdue follow-up. Read-only. Use when forecasts are untrusted or before a pipeline redesign.
Ships in hubspot-admin. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
A read-only audit of everything sales operations owns in a HubSpot portal. It answers one question from several angles: can anyone trust what the pipeline says?
A forecast is a sum over deal records. If a fifth of open deals have no amount, a quarter have close dates in the past, and some belong to reps who left months ago, the forecast is wrong before anyone applies judgment to it. Pipeline reviews then turn into data-entry sessions, and leaders stop using the CRM to make decisions. Most of this is measurable in a few minutes, and most of it is fixable.
This skill is a lens on the same engine that powers /hubspot-audit and /hubspot-marketing-audit. It runs the shared dimensions (database size, owner health, company data, duplicates) plus the sales dimensions, and skips deliverability and engagement entirely. Because the shared dimensions are computed by the same code under every scope, the numbers here match what the marketing team sees in their audit.
| If you own | Run |
|---|---|
| Sales only | this skill |
| Marketing only | /hubspot-marketing-audit |
| The whole portal | /hubspot-audit (both lenses in one report) |
hubspot-audit skill installed alongside this one (it ships the engine)HUBSPOT_ACCESS_TOKEN in .env, with read scopes for deals, contacts, companies, and owners. Add read scopes for tasks and leads to fill in the Activity & Follow-up dimensionuvThe audit runs on any HubSpot tier with deals. The leads object needs Sales Hub; without it those rows show n/a.
The engine lives in the hubspot-audit skill, one directory over from this one. Run it from your project directory so .env and reports/ resolve there (in a clone of the repo the path is skills/hubspot-audit/scripts/audit_portal.py).
uv run ../hubspot-audit/scripts/audit_portal.py --scope sales
Output: reports/hubspot-sales-audit-{YYYY-MM-DD}.md and a .json twin.
| Dimension | Metrics | Graded on |
|---|---|---|
| Pipeline Configuration | Number of pipelines, deals (and open deals) per pipeline, pipelines with zero deals, pipelines with more than 10 open stages | empty + bloated pipelines |
| Deal Data Quality | Open deals missing amount, close date, owner, or any associated contact; closed-lost deals with no loss reason | missing amount + close date |
| Pipeline Hygiene & Velocity | Open deals with no logged activity in 60+ days, open deals whose close date has passed, open deals with no next activity; deals closed and win rate over the last 90 days | stale + past-due deals |
| Sales Ownership & Handoff | Open deals owned by deactivated users; SQL and Opportunity contacts with no owner; Opportunity-stage contacts with no deal | orphaned deals + unowned sales-stage contacts |
| Activity & Follow-up | Open tasks, overdue open tasks, leads, leads with no owner | overdue tasks |
| Shared: Owner Health, Company Data, Database Size, Duplicates | see /hubspot-audit |
Thresholds are constants in the script's # --- Configuration --- block: STALE_DEAL_DAYS (60), WIN_RATE_WINDOW_DAYS (90), MAX_STAGES_PER_PIPELINE (10). Set them to match your sales cycle before reading the grades. A 60-day stale window is strict for enterprise deals and generous for transactional ones.
/connect-hubspot-mcp) before deciding which problem you have. The fixes are different: one is pipeline cleanup, the other is activity capture.| Order | Skill | Fixes |
|---|---|---|
| 1 | /reassign-deactivated-owners | Open deals and contacts owned by people who have left |
| 2 | /assign-unowned-contacts | Sales-stage contacts nobody is working |
| 3 | /cleanup-deals | Missing amounts and close dates, stale and past-due deals, test deals, unused pipelines |
| 4 | /cleanup-lead-owners | Unowned companies, deals, and leads; non-employee users |
| 5 | /fix-lifecycle-stages | Opportunity-stage contacts with no deal; customers at the wrong stage |
| 6 | /lifecycle-progression-workflow | Handoff automation, so the gaps do not reopen |
| 7 | /merge-duplicate-companies | Duplicate accounts splitting deal history |
Run /hubspot-implementation-plan to turn the report into a phased plan.
Prevention matters more than cleanup here. Three portal settings stop most of what this audit finds, and all three are configured in the HubSpot UI: required properties per deal stage (Settings > Objects > Deals > Pipelines), pipeline rules that restrict skipping stages and backward movement, and a workflow that creates a task for the owner when an open deal has had no activity for your stale window.
crm.objects.forecasts.read) if you want to extend the engine.Nothing to roll back: the audit only reads. To remove its output, delete the files it wrote under reports/.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
40 skills in this plugin
/assign-unowned-contactsAssign an owner to marketing contacts that have no owner. Ensures every marketable contact has accountability for follow-up, proper lead routing, and accurate owner-based reporting./audit-api-usageInventory the integrations, service keys, legacy private apps, and internal tooling that call HubSpot APIs, and flag anything on legacy v1-v4 endpoints or legacy app architecture ahead of HubSpot's 2027 cutoffs. Produces a migration checklist to date-based API versions and service keys./backfill-geo-dataEnrich missing geographic data (country, state, city) on contacts and companies using HubSpot workflows, external data providers, or IP-based geolocation.npx claudepluginhub tomgranot/hubspot-admin-skills --plugin hubspot-adminOther plugins' skills for the same job