Logo Hubspot Audit

Hubspot Audit

Cộng đồng
TomGranot
hubspot-audit

Kiểm tra toàn diện, chỉ đọc cổng HubSpot ở cả mảng marketing và bán hàng: cơ sở dữ liệu, khả năng gửi email, mức độ tương tác, người phụ trách, quy trình bán hàng, chất lượng giao dịch và việc theo dõi khách hàng. Chấm điểm từng hạng mục và đề xuất các kỹ năng để khắc phục vấn đề phát hiện được. Dùng khi bắt đầu dọn dẹp CRM, tiếp nhận một cổng mới hoặc kiểm tra tình trạng định kỳ hằng quý.

Add to TypingMind

Tổng quan

Nhà phát hànhTomGranot
Kho mãhubspot-admin-skills
Tên kỹ nănghubspot-audit
Sao
79
Bản fork
18
Tệp đi kèm
1
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 1 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được TomGranot công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Hubspot Audit trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/TomGranot/hubspot-admin-skills/tree/main/skills/hubspot-audit
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/TomGranot/hubspot-admin-skills.git /tmp/hubspot-admin-skills
mkdir -p .claude/skills
cp -r /tmp/hubspot-admin-skills/skills/hubspot-audit .claude/skills/hubspot-audit
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Hubspot Audit trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Hubspot Audit ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Hubspot Audit với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

HubSpot Portal Audit

Run a full diagnostic audit of a HubSpot portal. One read-only script collects the metrics, grades each dimension, and writes a report that opens with a prioritized list of skills to run.

One Engine, Three Lenses

The audit is a single engine (scripts/audit_portal.py) with a --scope flag. Every dimension is tagged shared, marketing, or sales:

ScopeRunsReportEntry point
full (default)shared + marketing + salesreports/hubspot-audit-{date}.mdthis skill
marketingshared + marketingreports/hubspot-marketing-audit-{date}.md/hubspot-marketing-audit
salesshared + salesreports/hubspot-sales-audit-{date}.md/hubspot-sales-audit

The shared dimensions run under every scope, so a marketing audit and a sales audit of the same portal agree on the numbers they have in common. Use this skill when you own the whole portal; hand a team the scoped audit when they only own one side.

Setup

  1. Get the API token. Check .env for HUBSPOT_ACCESS_TOKEN. If it is not set, ask the user for a read-scoped HubSpot access token and store it in .env:

    HUBSPOT_ACCESS_TOKEN=pat-na1-xxxxxxxx
  2. Run the audit. The script carries PEP 723 inline metadata and runs with uv, which resolves its dependencies automatically:

    bash
    uv run scripts/audit_portal.py              # full
    uv run scripts/audit_portal.py --scope marketing
    uv run scripts/audit_portal.py --scope sales

The script creates reports/ if needed and writes a markdown report plus a JSON twin (same name, .json) for other skills to read.

Audit Dimensions

Shared (every scope)

DimensionWhat it measuresGraded on
Database SizeTotal contacts, companies, dealsnot graded
Owner HealthUnowned contacts and companies; records still owned by deactivated ownersunowned + orphaned contacts
Company Data CompletenessCompanies missing domain, industry, countrymissing domain
DuplicatesFlagged for /merge-duplicate-companies (exact scans need full pagination)not graded

Marketing

DimensionWhat it measuresGraded on
Email DeliverabilityMarketing contacts, hard bounces, global unsubscribes, 3+ bounces, never emailedhard bounces + unsubscribes
Contact Data CompletenessContacts missing email, lifecycle stage, company, industry, country, job titlemissing lifecycle stage
Engagement HealthOpened in 90 days, never opened, last open over a year ago, current customers at the wrong lifecycle stagenever opened
List, Workflow & Form HealthTotal lists, workflows (active vs inactive), formsnot graded

Sales

DimensionWhat it measuresGraded on
Pipeline ConfigurationPipelines, deals per pipeline, empty pipelines, pipelines with more than 10 open stagesempty + bloated pipelines
Deal Data QualityOpen deals missing amount, close date, owner, or an associated contact; closed-lost deals with no loss reasonmissing amount + close date
Pipeline Hygiene & VelocityOpen deals with no activity in 60+ days, close dates in the past, no next activity; 90-day win ratestale + past-due deals
Sales Ownership & HandoffOpen deals owned by deactivated owners; SQL/Opportunity contacts with no owner; Opportunity contacts with no dealorphaned deals + unowned sales-stage contacts
Activity & Follow-upOpen and overdue tasks; leads and unowned leadsoverdue tasks

Thresholds (stale-deal window, win-rate window, stage limit) are in the # --- Configuration --- block at the top of the script.

API Technical Notes

  • Null checks: use the NOT_HAS_PROPERTY operator to find records where a property has never been set. HubSpot stores "never happened" as an absent property, not as 0 or an empty string.
  • Counting: the script counts with the Search API's total, which is exact even past the 10,000-result paging cap. Paging through more than 10,000 records requires segmenting the query.
  • Search limits: 5 requests per second, 5 filter groups per query, 6 filters per group. The script paces itself under the rate limit.
  • n/a is not zero: when the token cannot read an object (missing scope, or the hub is not purchased), the row shows n/a and the dimension grades ?. Fix the scope and re-run rather than reading it as clean.
  • Deactivated owners: the Owners API only returns them with archived=true.
  • Open deals: filtered with hs_is_closed = false, which works across every pipeline regardless of stage names.
  • Marketing contact status: hs_marketable_status is readable and filterable but read-only via API.
  • Not available by API: per-email open/click rates come from the marketing email statistics API or the UI; forecast accuracy and time-in-stage come from the UI's forecast and pipeline reports.

Scripts

Script paths are relative to this skill's directory. Run them from your project directory so .env, data/, and reports/ resolve there: prefix each path with wherever this skill is installed (skills/hubspot-audit/ in a clone of the repo).

StageScriptRun with
Audit (read-only)scripts/audit_portal.pyuv run scripts/audit_portal.py [--scope full|marketing|sales]

If a portal needs a check the script does not cover, add a dimension function with the right tag rather than writing a separate one-off script. The offline tests in tests/test_audit_portal.py run against a fake API and need no portal.

MCP note: if HubSpot's MCP server is connected (see /connect-hubspot-mcp), use it for spot-checks while auditing: opening sample records behind a suspicious count is faster than writing one-off queries. The counting queries themselves stay in the script for reproducibility.

Grading Rubric

GradeMeaningCriteria
AHealthy< 5% of records affected
BMinor issues5-15% of records affected
CNeeds attention15-30% of records affected
DSignificant problems30-50% of records affected
FCritical> 50% of records affected
?UnknownThe metric could not be read

The script grades each dimension on the metric named in the tables above. Treat the grade as a starting point: a portal with 40 open deals and 3 stale ones is in a different place than one with 4,000 and 300, even though both grade B.

Report Structure

markdown
# HubSpot CRM Audit Report

**Date:** YYYY-MM-DD
**Scope:** full

## Executive Summary

| Dimension | Lens | Grade |
|---|---|---|
| Owner Health | shared | C |
| Email Deliverability | marketing | D |
| Deal Data Quality | sales | B |

## Prescription

| # | Skill | Why | Records | Priority |
|---|---|---|---|---|
| 1 | `/delete-no-email-contacts` | Contacts missing email | X,XXX | P0 |
| 2 | `/suppress-hard-bounced` | Hard bounced | X,XXX | P0 |

## 1. Database Size
...one section per dimension, each a Metric | Count | % table...

Skill Prescription

The script builds the prescription itself: every metric with a non-zero count that maps to a fix skill becomes a row, each skill appears once, and rows are ordered by priority (P0 first), then by record count.

After the script finishes:

Step 1: Read the Report

Read the generated markdown report. Do not re-derive counts by hand; the report and its JSON twin are the source of truth.

Step 2: Present the Ordered Prescription

Present the prescription as a numbered action list grouped by urgency, with the real counts:

markdown
## Your Cleanup Prescription

### Immediate (P0)
1. `/delete-no-email-contacts`: X,XXX contacts with no email are inflating your bill
2. `/reassign-deactivated-owners`: XX open deals belong to people who have left

### Next (P1)
3. `/cleanup-deals`: XXX open deals have no amount or close date
...

Add judgment the script cannot: which findings share a root cause, which are expected for this business, and what order respects dependencies (enrichment before scoring, ownership before routing).

Step 3: Handle Missing Skills

If the audit reveals a problem that no existing skill covers, do the following:

  1. Tell the user clearly: "This audit found an issue that isn't covered by any existing skill: [description]."

  2. Offer to create it on the spot: "I can create a new skill for this right now. It would be called /[suggested-name] and would handle [brief description]."

  3. Ask about contributing upstream: "Would you like to contribute this new skill back to the community? If yes, I'll:

    • Create the skill in skills/[name]/SKILL.md
    • Fork the repo (if not already forked)
    • Push the new skill to your fork
    • Open a pull request to tomgranot/hubspot-admin-skills

    This helps everyone who uses these skills in the future."

  4. If the user agrees, create the skill following the standard SKILL.md format, commit it, and open the PR.

  5. If the user declines the upstream contribution, still create the skill locally so they can use it.

Step 4: Suggest Next Step

End with:

Ready to start? Run `/hubspot-implementation-plan` to generate a full phased plan,
or jump straight to the first skill in your prescription.

After Running

  • Print the file path of the saved report
  • Present the ordered skill prescription (Step 2 above)
  • Highlight the top 3 most critical findings
  • Flag any findings that have no matching skill (Step 3 above)
  • Suggest running /hubspot-implementation-plan for the full phased plan

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Hubspot Audit làm được gì?

Kiểm tra toàn diện, chỉ đọc cổng HubSpot ở cả mảng marketing và bán hàng: cơ sở dữ liệu, khả năng gửi email, mức độ tương tác, người phụ trách, quy trình bán hàng, chất lượng giao dịch và việc theo dõi khách hàng. Chấm điểm từng hạng mục và đề xuất các kỹ năng để khắc phục vấn đề phát hiện được. Dùng khi bắt đầu dọn dẹp CRM, tiếp nhận một cổng mới hoặc kiểm tra tình trạng định kỳ hằng quý.

Vì sao nên dùng Hubspot Audit trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Hubspot Audit là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Hubspot Audit trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/TomGranot/hubspot-admin-skills/tree/main/skills/hubspot-audit. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Hubspot Audit?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Hubspot Audit với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Hubspot Audit với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Hubspot Audit có miễn phí không?

Có. Kỹ năng này được TomGranot phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇