К основному содержанию
скилл CX Codex

hubspot-marketing-audit — скилл для Claude Code: как установить

Скилл проводит read-only аудит маркетинговой базы HubSpot: находит платные неактивные контакты, ошибки доставляемости и пробелы в свойствах перед чисткой или миграцией.

Установить в Claude Code · Через Skills CLI (Vercel) Все способы и платформы ↓
npx skills add TomGranot/hubspot-admin-skills --skill hubspot-marketing-audit -a claude-code
Открыть на GitHub

Что делает hubspot-marketing-audit

Скрипт проверяет состояние базы HubSpot в режиме только чтения и не меняет записи. Он оценивает доставляемость по числу жёстких возвратов и глобальных отписок, фиксирует контакты без открытий и проверяет пропуски в свойствах. Сделки и воронки продаж этот профиль намеренно пропускает. Никаких изменений в портал утилита не вносит.

Для запуска нужен соседний скилл hubspot-audit, где лежит сам движок audit_portal.py, а также Python 3.10+ и пакетный менеджер uv. Без токена HUBSPOT_ACCESS_TOKEN в файле .env с правами на чтение контактов, компаний, списков, форм и автоматизаций запуск не сработает.

Итоговый отчёт падает в директорию reports/ в форматах Markdown и JSON. Внутри формируется таблица с рецептами, которая распределяет найденные проблемы по шагам исправления, от блокировки недоставляемых адресов до очистки лишних списков.

Какие задачи решает

  • найти платные маркетинговые контакты с жёсткими возвратами и отписками
  • выявить пропуски в этапах жизненного цикла и должностях для сегментации
  • посчитать заброшенные списки, формы и неактивные воркфлоу
  • подготовить базу HubSpot к чистке или миграции

Примеры запросов агенту

  • Запусти маркетинговый аудит HubSpot через uv run ../hubspot-audit/scripts/audit_portal.py --scope marketing
  • Проверь доставляемость базы контактов в HubSpot и составь отчёт в reports/
  • Найди контакты с жёсткими возвратами и глобальными отписками в HubSpot

Как установить hubspot-marketing-audit

1Через Skills CLI (Vercel)

npx skills add TomGranot/hubspot-admin-skills --skill hubspot-marketing-audit -a claude-code

2Вручную: положить файлы

~/.claude/skills/hubspot-marketing-audit/SKILL.md

Папка скилла целиком; для одного проекта — .claude/skills/hubspot-marketing-audit/

По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов

Вопросы о hubspot-marketing-audit

Как установить hubspot-marketing-audit в Claude Code?

Выполните в терминале команду npx skills add TomGranot/hubspot-admin-skills --skill hubspot-marketing-audit -a claude-code.

Что делает hubspot-marketing-audit?

Скилл запускает аудит маркетинговой части HubSpot без изменения данных. Он находит недоставляемые и невовлечённые контакты, проверяет заполненность ключевых полей и считает списки, формы и воркфлоу.

Что нужно подготовить перед запуском аудита?

Потребуются Python 3.10+, менеджер uv и установленный рядом скилл hubspot-audit со скриптом движка. Также в файле .env должен быть прописан HUBSPOT_ACCESS_TOKEN с правами на чтение контактов, компаний, списков, форм и автоматизаций.

Исходный текст

SKILL.md · MIT
---
name: hubspot-marketing-audit
description: "Audit the marketing side of a HubSpot portal: email deliverability, contact data completeness, engagement, lifecycle consistency, and list, workflow, and form sprawl. Read-only. Use when marketing ops owns the cleanup, before a re-engagement or migration project, or when the marketing contact bill keeps climbing."
license: MIT
metadata:
  author: tomgranot
  version: "1.0"
  category: audit-planning
---

# HubSpot Marketing Audit

A read-only audit of everything marketing operations owns in a HubSpot portal. It answers three questions: can we reach the people in this database, do we know enough about them to segment, and how much of what we pay for is dead weight.

## Why This Matters

Marketing pays for contacts by the tier and earns deliverability by the send. A database full of bounced, unsubscribed, and never-engaged contacts costs money on one side and sender reputation on the other, and both problems stay invisible until someone counts. This audit counts.

## How It Relates to the Other Audits

This skill is a lens on the same engine that powers `/hubspot-audit` and `/hubspot-sales-audit`. It runs the **shared** dimensions (database size, owner health, company data, duplicates) plus the **marketing** dimensions, and skips pipelines and deals entirely. Because the shared dimensions are computed by the same code under every scope, the numbers here match what the sales team sees in their audit.

| If you own | Run |
|------------|-----|
| Marketing only | this skill |
| Sales only | `/hubspot-sales-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 contacts, companies, owners, lists, forms, and `automation`
- Python 3.10+ with [`uv`](https://github.com/astral-sh/uv)

No Marketing Hub tier is required to run the audit. Rows that need a feature the portal does not have 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`).

```bash
uv run ../hubspot-audit/scripts/audit_portal.py --scope marketing
```

Output: `reports/hubspot-marketing-audit-{YYYY-MM-DD}.md` and a `.json` twin.

## What It Measures

| Dimension | Metrics | Graded on |
|-----------|---------|-----------|
| Email Deliverability | Marketing contacts, hard bounces, global unsubscribes, 3+ bounces, never emailed | hard bounces + unsubscribes |
| Contact Data Completeness | Missing email, lifecycle stage, company, industry, country, job title | missing lifecycle stage |
| Engagement Health | Opened in 90 days, never opened, last open over a year ago, current customers at the wrong stage | never opened |
| List, Workflow & Form Health | Total lists, active vs inactive workflows, forms | not graded |
| *Shared:* Owner Health, Company Data, Database Size, Duplicates | see `/hubspot-audit` | |

## Reading the Results

The script produces counts and a prescription. The interpretation is the part that needs a person, or Claude with context:

1. **Start with what is billed but unreachable.** Hard-bounced and globally unsubscribed contacts that are still marketing contacts are pure cost. These are P0 for a reason: the fix is safe, fast, and pays for itself.
2. **Separate "never emailed" from "never opened".** Never emailed is often fine (sales-owned contacts, recent imports). Never opened after many sends is a ghost contact and a deliverability liability.
3. **Check Apple Mail Privacy Protection before trusting opens.** Machine opens inflate open-based engagement. If the "opened in 90 days" share looks too healthy, use clicks as the engagement signal when deciding who to sunset.
4. **Read completeness against how you segment.** A missing job title only matters if you segment or score on it. Ask which properties drive lists, scoring, and routing, and weigh those gaps first.
5. **Treat asset counts as a prompt, not a verdict.** The audit reports how many lists, workflows, and forms exist. Whether 300 lists is sprawl depends on the team; the cleanup skills do the per-asset analysis.

## From Findings to Fixes

The report's Prescription table maps each finding to its skill. The usual marketing order:

| Order | Skill | Fixes |
|-------|-------|-------|
| 1 | `/delete-no-email-contacts` | Contacts that can never be emailed |
| 2 | `/suppress-hard-bounced`, `/suppress-global-unsubscribes` | Billed contacts you cannot or must not email |
| 3 | `/suppress-ghost-contacts` | Never-engaged contacts dragging down reputation |
| 4 | `/fix-lifecycle-stages`, `/enrich-company-name`, `/enrich-industry`, `/backfill-geo-data` | Gaps that block segmentation |
| 5 | `/create-icp-tiers`, `/build-lead-scoring`, `/build-smart-lists` | Targeting, once the data supports it |
| 6 | `/bounce-monitoring-workflow`, `/engagement-suppression-workflow`, `/new-contact-hygiene-workflow` | Keeping it fixed |
| 7 | `/cleanup-lists`, `/cleanup-forms`, `/cleanup-workflows` | Asset sprawl |

Run `/hubspot-implementation-plan` to turn the report into a phased plan with dependencies and effort estimates.

## What This Audit Does Not Cover

- **Campaign and channel performance.** Per-email open and click rates, attribution, and ad spend live in the marketing email statistics API and HubSpot's reports. This audit is about the database those campaigns run on.
- **Content and SEO.** Pages, blogs, and CTAs are out of scope.
- **Consent and legal basis.** The audit counts unsubscribes; it does not assess whether your consent model is compliant.

## Rollback

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

© tomgranot · MIT · TomGranot/hubspot-admin-skills

Похожие скиллы

Все скиллы по теме «Маркетинг и контент» →
seo-audit coreyhaines31 Скилл проводит технический и on-page аудит сайта: краулинг, индексация, Core Web Vitals, метатеги, hreflang. Пригодится, когда трафик упал или страницы застряли на второй выдаче. CX Codex +1 238 500установок programmatic-seo coreyhaines31 Скилл помогает планировать генерацию сотен посадочных страниц на базе шаблонов и структурированных данных. Позволяет избежать санкций поисковиков за пустой контент. CX Codex +1 150 800установок copy-editing coreyhaines31 Правит уже написанный маркетинговый текст: убирает речевые штампы, чистит формулировки и обновляет устаревшие страницы. Для нового текста с нуля не подходит. CX Codex +1 149 800установок marketing-ideas coreyhaines31 Скилл помогает подобрать маркетинговые идеи для SaaS или другого программного продукта с учётом этапа развития и доступных ресурсов. Пригодится, когда непонятно, с какого канала начать. CX Codex +1 147 400установок sales-enablement coreyhaines31 Скилл для ИИ-агента, который собирает презентации, one-pager'ы, скрипты демо и документы для отработки возражений. Пригодится, когда команда продаж просит материалы, а не очередную презентацию о продукте. CX Codex +1 119 400установок revops coreyhaines31 Скилл помогает проектировать RevOps: вести лидов по этапам, считать скоринг и выстраивать передачу из маркетинга в продажи. Нужен для CRM-процессов. CX Codex +1 114 000установок

Из того же набора37

quarterly-database-cleanup Скилл проверяет качество данных в HubSpot, активность контактов и состояние списков, затем формирует отчёт с сравнением кварталов. Пригодится для регулярной очистки CRM. CX Codex +1 ★ 78звёзд репо new-contact-hygiene-workflow Создаёт в HubSpot воркфлоу, который при появлении контакта ставит стадию жизненного цикла и подтягивает компанию с отраслью. CX Codex +1 ★ 78звёзд репо merge-duplicate-companies Находит дубликаты компаний в HubSpot по доменам и названиям, готовит CSV-отчёты и помогает спланировать объединение записей. CX Codex +1 ★ 78звёзд репо lifecycle-progression-workflow Скилл помогает создать в HubSpot четыре workflow для перехода контактов от лида до клиента. Переходы запускаются по событиям в воронке продаж. CX Codex +1 ★ 78звёзд репо hubspot-implementation-plan Скилл превращает отчёт аудита HubSpot в план очистки портала по этапам. Помогает расставить задачи по приоритету и учесть зависимости и способы автоматизации. CX Codex +1 ★ 78звёзд репо fix-lifecycle-stages Находит контакты и компании без lifecycle stage в HubSpot, исправляет запрещённые стадии и выравнивает воронку через API. CX Codex +1 ★ 78звёзд репо enrich-industry Скилл помогает скопировать отрасль из связанной компании в карточки контактов HubSpot. Пригодится для сегментации контактов по отраслям. CX Codex +1 ★ 78звёзд репо enrich-company-name Копирует название компании из связанной записи в пустое поле контакта HubSpot. Пригодится, если сегментация и токены персонализации ломаются из-за пустых значений. CX Codex +1 ★ 78звёзд репо

Спонсоры проекта

Компании, которые помогают держать аналитику открытой