Logo van Hubspot Audit

Hubspot Audit

Community
TomGranot
hubspot-audit

Voer een volledige, alleen-lezen audit uit van een HubSpot-portal, voor zowel marketing als sales: database, e-mailbezorging, betrokkenheid, eigenaren, pipelines, deal kwaliteit en opvolging. Beoordeel elk onderdeel en geef aan welke skills de gevonden problemen oplossen. Gebruik dit bij de start van een CRM-opschoning, bij het onboarden van een nieuwe portal of voor een periodieke gezondheidscheck per kwartaal.

Add to TypingMind

Overzicht

UitgeverTomGranot
Repositoryhubspot-admin-skills
Skillnaamhubspot-audit
Sterren
79
Forks
18
Meegeleverde bestanden
1
LicentieMIT
Links
  • Instructies in Markdown

    Het model laadt het bestand SKILL.md alleen als dat nodig is. Dat kost dus alleen tokens als een verzoek daadwerkelijk bij de skill past.

  • Werkt met elk LLM

    AI-skills bestaan uit instructies in gewone Markdown, niet uit aanbiederspecifieke code. Daardoor werken ze met GPT, Claude, Gemini, Grok of een lokaal model.

  • Meegeleverde bestanden: 1

    Scripts, sjablonen en referentiemateriaal die het model tijdens het werken kan lezen. De bestanden kunnen alleen worden gelezen en worden nooit uitgevoerd.

  • Open source

    Gepubliceerd door TomGranot op GitHub. Bekijk de bronbestanden voordat je de skill installeert.

Installatie

Installeer de AI-skill Hubspot Audit in TypingMind om deze met elk LLM te gebruiken, of voeg de skill toe aan een andere agent die SKILL.md kan lezen.

1

Installeren in TypingMind

TypingMind installeert een skill rechtstreeks vanuit de GitHub-map. De app leest SKILL.md, bundelt de bijbehorende bestanden en slaat het resultaat lokaal op.

  1. Open de app en ga naar Plug-ins → Skills.
  2. Kies "Installeren via GitHub".
  3. Plak de onderstaande URL van de skillmap en bevestig.
    https://github.com/TomGranot/hubspot-admin-skills/tree/main/skills/hubspot-audit
  4. Schakel de skill in voor elke chat waarin je de skill wilt kunnen gebruiken.
Plug-ins → Skills → Skill toevoegen → Via GitHub-URL. Plak vervolgens de map-URL en druk op Doorgaan.
2

Installeren in een andere agent

Elke agent die het Agent Skills-formaat kan lezen, kan deze skill gebruiken — kopieer de map naar de skillmap van die agent.

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
Start Claude Code na het kopiëren opnieuw op, zodat de nieuwe skill wordt herkend.

Gebruik deze skill in TypingMind

Schakel Hubspot Audit in voor een chat naar keuze in TypingMind en het model doet de rest. De naam en beschrijving staan in de systeemprompt. Zodra een verzoek bij de skill past, laadt het model zelf de volledige instructies. Je hoeft de skill nooit handmatig aan te roepen. Pas als het model de skill daadwerkelijk gebruikt, kost dat tokens.

Het model laadt Hubspot Audit automatisch zodra een verzoek erbij past.

Werkt met elk AI-model

AI-skills zijn gewone Markdown-instructies in plaats van aanbiederspecifieke code. Daardoor is Hubspot Audit niet gebonden aan het model waarvoor de skill is geschreven. Installeer de skill één keer in TypingMind en gebruik deze met GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama of een lokaal model dat je zelf draait — allemaal met je eigen API-sleutels.

  • Alleen geladen wanneer nodig

    De systeemprompt bevat alleen de naam en beschrijving. De instructies worden bij het eerste bijpassende verzoek opgehaald, dus een ongebruikte skill kost niets.

  • Wissel van model tijdens een chat

    Omdat de skill uit instructies bestaat en niet uit code, blijft deze werken als je van model wisselt — het volgende model leest hetzelfde SKILL.md-bestand.

Skillinstructies

Dit is de inhoud van SKILL.md die het model laadt. Lees deze vóór de installatie — een skill bestaat uit instructies die je model zal volgen.

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

Meegeleverde bestanden

Zolang de skill geladen is, leest het model deze bestanden als dat nodig is. Het model kan ze alleen lezen; ze worden nooit uitgevoerd.

Veelgestelde vragen

Wat doet de AI-skill Hubspot Audit?

Voer een volledige, alleen-lezen audit uit van een HubSpot-portal, voor zowel marketing als sales: database, e-mailbezorging, betrokkenheid, eigenaren, pipelines, deal kwaliteit en opvolging. Beoordeel elk onderdeel en geef aan welke skills de gevonden problemen oplossen. Gebruik dit bij de start van een CRM-opschoning, bij het onboarden van een nieuwe portal of voor een periodieke gezondheidscheck per kwartaal.

Waarom Hubspot Audit gebruiken in TypingMind?

Omdat je deze skill één keer installeert en met elk model kunt gebruiken. Hubspot Audit bestaat uit gewone Markdown in plaats van aanbiederspecifieke code. Dezelfde skill werkt dus met GPT-5, Claude, Gemini, Grok of een lokaal model. Ook als je midden in een chat van model wisselt, blijft de skill werken. TypingMind werkt met je eigen API-sleutels, dus je betaalt aanbieders rechtstreeks in plaats van een abonnement per gebruikersplek af te sluiten. Je skills en chats blijven in je eigen opslag.

Hoe installeer ik Hubspot Audit in TypingMind?

Open Plug-ins → Skills → Installeren vanaf GitHub in TypingMind en plak https://github.com/TomGranot/hubspot-admin-skills/tree/main/skills/hubspot-audit. TypingMind leest het bestand SKILL.md, bundelt de bijbehorende bestanden en installeert het geheel als een skill die je per chat kunt inschakelen.

Welke AI-modellen kunnen Hubspot Audit gebruiken?

Elk model dat je in TypingMind koppelt. AI-skills bestaan uit gewone Markdown-instructies in plaats van aanbiederspecifieke code. GPT, Claude, Gemini, Grok en lokale modellen kunnen deze skill dus allemaal laden wanneer een verzoek erbij past.

Hoeveel AI-modellen kan ik met Hubspot Audit gebruiken?

Zoveel als je wilt. Je kunt Hubspot Audit gebruiken met elk model dat skills ondersteunt, zoals GPT, Claude, Gemini, Grok, DeepSeek, Mistral of Llama. Allemaal in TypingMind met je eigen API-sleutels.

Is de AI-skill Hubspot Audit gratis?

Ja. Deze skill is door TomGranot op GitHub gepubliceerd onder de licentie MIT. Je betaalt alleen je eigen AI-aanbieder voor de tokens die je gebruikt.

Wat zijn AI-skills?

Een AI-skill is een herbruikbare bundel instructies die een AI-model leert hoe het één specifieke taak moet uitvoeren. De skill volgt het open Agent Skills-formaat: het bestand SKILL.md bevat de naam en beschrijving van de skill. Daarnaast kan de skill scripts, sjablonen of referentiebestanden bevatten die het model nodig heeft. Het model leest de instructies alleen als je verzoek bij de skill past. Een geïnstalleerde skill kost dus niets zolang deze niet wordt gebruikt.

Waarin verschillen AI-skills van plug-ins of MCP-servers?

Een plug-in of MCP-server geeft een model nieuwe tools om aan te roepen: code die ergens wordt uitgevoerd en een resultaat teruggeeft. Een AI-skill geeft het model juist kennis en een werkwijze: hoe het een taak moet aanpakken, welke stappen het moet volgen en hoe goede uitvoer eruitziet. Skills bestaan uit gewone Markdown en hebben dus geen server, API-sleutel of runtime nodig. Ze werken met elk model.

Bekijk alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇