cleanup-lists
Installation
SKILL.md
Cleanup Lists
Audit HubSpot lists to remove clutter. Unused lists slow down the UI, confuse team members, and can mask the lists that actually matter.
Prerequisites
- A HubSpot private app access token (
HUBSPOT_ACCESS_TOKENin.env) withcrm.lists.read(andcrm.lists.writefor deletion) - Python 3.10+ with
uv - Note: Lists API access may return 403 on some plan tiers. If so, perform the audit manually in the UI.
Step-by-Step Instructions
Stage 1: Plan
Confirm with the user before starting:
- Delete outright, or prefix with "[ARCHIVE]" first and delete next quarter?
- Any lists that must never be touched (suppression lists, compliance segments, active campaign audiences)?