From hubspot-admin
Standardizes HubSpot deal pipelines: removes test deals, fills missing amounts/close dates, and coordinates with Salesforce sync.
How this skill is triggered — by the user, by Claude, or both
Slash command
/hubspot-admin:cleanup-dealsThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Standardize deal data to make pipeline reporting accurate. Test deals, missing amounts, and stale opportunities distort forecasts and pipeline metrics.
Standardize deal data to make pipeline reporting accurate. Test deals, missing amounts, and stale opportunities distort forecasts and pipeline metrics.
HUBSPOT_ACCESS_TOKEN in .env) with crm.objects.deals.read and crm.objects.deals.write scopesuvIf deals are synced from Salesforce:
hs_salesforceopportunityid property.Confirm with the user before starting:
Pull deal metrics via the CRM Search API:
import os, requests
from dotenv import load_dotenv
load_dotenv()
TOKEN = os.environ["HUBSPOT_ACCESS_TOKEN"]
BASE = "https://api.hubapi.com"
HEADERS = {"Authorization": f"Bearer {TOKEN}", "Content-Type": "application/json"}
def deal_count(prop, operator):
resp = requests.post(f"{BASE}/crm/v3/objects/deals/search", headers=HEADERS, json={
"filterGroups": [{"filters": [{"propertyName": prop, "operator": operator}]}],
"limit": 1,
})
resp.raise_for_status()
return resp.json()["total"]
no_amount = deal_count("amount", "NOT_HAS_PROPERTY")
no_close = deal_count("closedate", "NOT_HAS_PROPERTY")
Record: total deals, deals per pipeline stage, deals missing amount, deals missing close date, stale deals (open with no activity in 60+ days).
amount and work with sales to fill in values or mark as lost.amount and closedate as mandatory deal properties to prevent future gaps.npx claudepluginhub tomgranot/hubspot-admin-skills --plugin hubspot-adminAutomates and audits HubSpot deal pipeline operations including stage automation loops, stale-deal safe-close logic, forecast reconciliation, property drift detection, quota dashboard cache-busting, and multi-pipeline duplicate detection.
Manages HubSpot CRM deals including search, creation, updates, pipeline stages, forecasting, and revenue tracking. Useful for sales pipeline operations.
Updates deal records in CRM pipelines — move stages, change values, add notes. Supports Salesforce, HubSpot, Zoho, and Pipedrive with validation against invalid stage skips.