SKILL·CF7B6A

hubspot-sales-audit

TomGranot
更新于 23 days ago
12 次查看
75
17
75
在 GitHub 上查看
设计designdata

关于

This read-only skill audits a HubSpot sales pipeline's data integrity and configuration. It checks for deal quality, stale records, ownership gaps, and overdue follow-ups to assess forecast reliability. Use it when forecasts are untrusted, before pipeline redesigns, or when data and reports are inconsistent.

快速安装

Claude Code

推荐
主要方式
npx skills add TomGranot/hubspot-admin-skills -a claude-code
插件命令备选方式
/plugin add https://github.com/TomGranot/hubspot-admin-skills
Git 克隆备选方式
git clone https://github.com/TomGranot/hubspot-admin-skills.git ~/.claude/skills/hubspot-sales-audit

在 Claude Code 中复制并粘贴此命令以安装该技能

技能文档

HubSpot Sales Audit

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?

Why This Matters

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.

How It Relates to the Other Audits

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 ownRun
Sales onlythis skill
Marketing only/hubspot-marketing-audit
The whole portal/hubspot-audit (both lenses in one report)

Prerequisites

  • The 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 dimension
  • Python 3.10+ with uv

The audit runs on any HubSpot tier with deals. The leads object needs Sales Hub; without it those rows show n/a.

Run It

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.

What It Measures

DimensionMetricsGraded on
Pipeline ConfigurationNumber of pipelines, deals (and open deals) per pipeline, pipelines with zero deals, pipelines with more than 10 open stagesempty + bloated pipelines
Deal Data QualityOpen deals missing amount, close date, owner, or any associated contact; closed-lost deals with no loss reasonmissing amount + close date
Pipeline Hygiene & VelocityOpen 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 daysstale + past-due deals
Sales Ownership & HandoffOpen deals owned by deactivated users; SQL and Opportunity contacts with no owner; Opportunity-stage contacts with no dealorphaned deals + unowned sales-stage contacts
Activity & Follow-upOpen tasks, overdue open tasks, leads, leads with no owneroverdue tasks
Shared: Owner Health, Company Data, Database Size, Duplicatessee /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.

Reading the Results

  1. Past-due close dates come first. An open deal with a close date in the past is wrong by definition: it either closed, slipped, or died, and the record says none of those. This is the cheapest forecast fix available.
  2. Stale is a conversation, not a deletion. No logged activity in 60 days can mean a dead deal or a rep who does not log. Check a sample (the MCP server is good for this, see /connect-hubspot-mcp) before deciding which problem you have. The fixes are different: one is pipeline cleanup, the other is activity capture.
  3. Missing amounts skew weighted pipeline more than missing deals. A deal with no amount contributes zero to every weighted report. If early stages legitimately have no amount yet, make amount conditionally required from the stage where it should exist.
  4. Orphaned open deals are P0. A deal owned by a deactivated user gets no follow-up and appears in nobody's forecast. Reassign before anything else.
  5. Handoff gaps show where marketing and sales disagree. SQL or Opportunity contacts with no owner mean routing broke. Opportunity-stage contacts with no deal mean lifecycle stage is being set by hand or by a workflow that does not create deals. Share these two rows with marketing ops: the root cause usually sits on their side of the line.
  6. Loss reasons are the cheapest win/loss data you will ever get. If most closed-lost deals have none, make the property required on the Closed Lost stage.
  7. Win rate is context. It is reported so the other numbers can be read against it and does not affect any grade. A healthy win rate on a pipeline full of stale deals usually means the losses are never being closed out.

From Findings to Fixes

OrderSkillFixes
1/reassign-deactivated-ownersOpen deals and contacts owned by people who have left
2/assign-unowned-contactsSales-stage contacts nobody is working
3/cleanup-dealsMissing amounts and close dates, stale and past-due deals, test deals, unused pipelines
4/cleanup-lead-ownersUnowned companies, deals, and leads; non-employee users
5/fix-lifecycle-stagesOpportunity-stage contacts with no deal; customers at the wrong stage
6/lifecycle-progression-workflowHandoff automation, so the gaps do not reopen
7/merge-duplicate-companiesDuplicate 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.

What This Audit Does Not Cover

  • Forecast accuracy and time in stage. HubSpot's forecast tool and pipeline reports own these. Forecast submissions are readable by API on Sales Hub Professional and above (crm.objects.forecasts.read) if you want to extend the engine.
  • Sequences. The Sequences API only works with user-level authentication, so an account-level token cannot audit enrollment.
  • Rep performance. The audit measures data quality, not people. Per-owner breakdowns are a deliberate omission: add them only if the team has agreed how they will be used.
  • Quotes, products, and line items. Out of scope for now.

Rollback

Nothing to roll back: the audit only reads. To remove its output, delete the files it wrote under reports/.

GitHub 仓库

TomGranot/hubspot-admin-skills
路径: skills/hubspot-sales-audit
0
hubspothubspot-apihubspot-crmhubspot-integration
FAQ

常见问题

什么是 hubspot-sales-audit Skill?

hubspot-sales-audit 是一个 Claude Skill,作者为 TomGranot。Skill 将 Claude 按需加载的说明和资源打包,让 Claude 无需额外提示即可执行与 hubspot-sales-audit 相关的任务。

如何安装 hubspot-sales-audit?

使用本页的安装命令:将 hubspot-sales-audit 作为插件添加到 Claude Code,或将其仓库克隆到 skills 目录,然后重启 Claude 以加载该 Skill。

hubspot-sales-audit 属于哪个分类?

hubspot-sales-audit 属于设计分类。

hubspot-sales-audit 可以免费使用吗?

可以。hubspot-sales-audit 已收录在 AIMCP,可免费安装。

相关推荐技能

executing-plans
设计

该Skill用于当开发者提供完整实施计划时,以受控批次方式执行代码实现。它会先审阅计划并提出疑问,然后分批次执行任务(默认每批3个任务),并在批次间暂停等待审查。关键特性包括分批次执行、内置检查点和架构师审查机制,确保复杂系统实现的可控性。

查看技能
requesting-code-review
设计

该Skill可在完成任务、实现主要功能或合并代码前自动调度代码审查子代理,确保实现符合需求和计划。它支持通过指定git SHA范围进行精准的代码变更审查,帮助开发者在关键节点及时发现潜在问题。核心原则是"早审查、勤审查",适用于开发流程的各个关键阶段。

查看技能
connect-mcp-server
设计

这个Skill指导开发者如何将MCP服务器连接到Claude Code,支持HTTP、stdio和SSE三种传输协议。它涵盖了从安装配置到认证安全的完整流程,适用于集成GitHub、Notion、数据库等外部服务。当开发者需要添加集成、配置外部工具或提及MCP相关功能时,这个Skill能提供实用的操作指南。

查看技能
web-cli-teleport
设计

该Skill帮助开发者根据任务特性选择Claude Code的Web或CLI界面,并指导如何在两种环境间无缝迁移会话。它能分析任务复杂度、迭代需求等要素,推荐最优工作界面和工作流。关键特性包括会话状态管理、环境切换指导和上下文优化建议。

查看技能