cleanup-dashboards — скилл для Claude Code: чистка дашбордов HubSpot
Наводит порядок в дашбордах HubSpot: находит заброшенные, дубли и тестовые, помогает свести отчёты к нескольким рабочим экранам.
npx skills add TomGranot/hubspot-admin-skills --skill cleanup-dashboards -a claude-codeЧто делает cleanup-dashboards
Скилл разбирает завалы в разделе Reports > Dashboards. Сначала вы составляете таблицу всех дашбордов: имя, владелец, число отчётов, дата последнего просмотра. Дальше скилл подсказывает, что помечать на удаление: не открывали больше 90 дней, дубли по метрикам, названия с «test» или «copy of», личные дашборды уволенных, дефолтные без правок.
Внутри четыре этапа — инвентаризация, отбор кандидатов, переименование и общение с командой, откат. Скриптов нет. HubSpot не даёт API для дашбордов, поэтому всё делается руками в интерфейсе, и скилл ведёт вас по шагам вместо автоматизации. Нужны права на управление дашбордами и ответы коллег о том, чем они реально пользуются. Без этого список кандидатов на удаление останется догадкой.
Удалённые дашборды не восстановить. Отчёты внутри них при удалении остаются, так что перед чисткой достаточно снять скриншот или записать состав. Скилл советует держать 5-10 основных дашбордов и закрепить за каждым владельца.
Какие задачи решает
- собрать список всех дашбордов с владельцами и датой просмотра
- отсеять дубли, тестовые и брошенные дашборды
- свести пересекающиеся отчёты в один рабочий экран
- ввести понятные имена вида
[Team] - Purpose - подготовить откат перед удалением дашбордов
Примеры запросов агенту
- Пройди по дашбордам HubSpot и составь таблицу: имя, владелец, число отчётов, когда последний раз смотрели
- Отметь дашборды, которые не открывали 90 дней, и предложи, что с ними делать
- Помоги переименовать оставшиеся дашборды по схеме
[Team] - Purpose
Как установить cleanup-dashboards
1Через Skills CLI (Vercel)
npx skills add TomGranot/hubspot-admin-skills --skill cleanup-dashboards -a claude-code2Вручную: положить файлы
~/.claude/skills/cleanup-dashboards/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/cleanup-dashboards/
1Через Skills CLI (Vercel)
npx skills add TomGranot/hubspot-admin-skills --skill cleanup-dashboards -a codex2Вручную: положить файлы
.agents/skills/cleanup-dashboards/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add TomGranot/hubspot-admin-skills --skill cleanup-dashboards -a cursor2Вручную: положить файлы
.cursor/skills/cleanup-dashboards/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install TomGranot/hubspot-admin-skills cleanup-dashboards2Вручную: положить файлы
.github/skills/cleanup-dashboards/SKILL.md1Через Skills CLI (Vercel)
npx skills add TomGranot/hubspot-admin-skills --skill cleanup-dashboards -a gemini-cli2Командой платформы
gemini skills install https://github.com/TomGranot/hubspot-admin-skills --path skills/cleanup-dashboardsВручную: положить файлы
.devin/skills/cleanup-dashboards/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add TomGranot/hubspot-admin-skills --skill cleanup-dashboards -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о cleanup-dashboards
Как установить cleanup-dashboards в Claude Code?
Выполните npx skills add TomGranot/hubspot-admin-skills --skill cleanup-dashboards -a claude-code. Файл скилла появится по пути ~/.claude/skills/cleanup-dashboards/SKILL.md.
Что делает cleanup-dashboards?
Проводит аудит дашбордов HubSpot по четырём этапам: инвентаризация, поиск кандидатов на удаление, переименование и план отката. Помогает убрать дубли и заброшенные экраны.
Можно ли автоматизировать чистку через API?
Нет, HubSpot не предоставляет API для дашбордов. Все действия выполняются вручную в разделе Reports > Dashboards.
Исходный текст
SKILL.md · MIT
--- name: cleanup-dashboards description: "Audit and consolidate HubSpot reporting dashboards. Identifies unused, duplicate, or outdated dashboards. Must be performed manually — no dashboard API is available." license: MIT metadata: author: tomgranot version: "1.1" category: ongoing-maintenance --- # Cleanup Dashboards Audit HubSpot dashboards to remove clutter and consolidate reporting. Too many dashboards means nobody uses any of them effectively. ## Important Limitation HubSpot does not provide a Dashboard API. This entire process must be performed manually in the HubSpot UI under Reports > Dashboards. ## Prerequisites - HubSpot portal access with dashboard management permissions - Input from team members on which dashboards they actively use ## Step-by-Step Instructions ### Stage 1: Before — Inventory All Dashboards 1. Navigate to Reports > Dashboards in HubSpot. 2. Create a spreadsheet listing every dashboard: - Name, owner/creator, number of reports, last viewed date (if visible), purpose ### Stage 2: Execute — Identify Candidates for Removal Flag dashboards matching any of these criteria: 1. **Not viewed** in 90+ days (check with the owner first) 2. **Duplicate** dashboards covering the same metrics 3. **Test dashboards** (names containing "test", "draft", "copy of") 4. **Personal dashboards** belonging to departed employees 5. **Default dashboards** that were never customized Consolidation targets: - Merge dashboards with overlapping report widgets into a single comprehensive dashboard. - Aim for 5-10 core dashboards maximum (e.g., Marketing Overview, Sales Pipeline, Email Health, Data Quality, Executive Summary). ### Stage 3: After — Clean Up and Reorganize 1. Delete confirmed unused dashboards. 2. Rename remaining dashboards with a clear naming convention (e.g., `[Team] - Purpose`). 3. Set appropriate sharing/visibility for each dashboard. 4. Communicate changes to the team — share links to the consolidated dashboards. ### Stage 4: Rollback - Deleted dashboards cannot be restored. - Before deleting, screenshot each dashboard or note which reports it contained. - Individual reports within a dashboard are not deleted when the dashboard is removed — they remain available for re-use. ## Tips - Assign a dashboard owner for each core dashboard — someone responsible for keeping it current. - Review dashboards quarterly as part of the database cleanup routine. - If a report on a dashboard shows stale or broken data, fix the underlying report rather than creating a new dashboard.
© tomgranot · MIT · TomGranot/hubspot-admin-skills