managing-hubspot
Installation
SKILL.md
HubSpot Management Skill
Monitor and manage HubSpot CRM, marketing, and sales operations.
MANDATORY: Discovery-First Pattern
Always discover account info and object schemas before querying CRM data.
Phase 1: Discovery
#!/bin/bash
HS_API="https://api.hubapi.com"
AUTH="Authorization: Bearer ${HUBSPOT_ACCESS_TOKEN}"
echo "=== Account Info ==="
curl -s -H "$AUTH" "$HS_API/account-info/v3/details" | \
jq -r '"Portal ID: \(.portalId)\nCompany: \(.companyName // "N/A")\nTimezone: \(.timeZone)\nCurrency: \(.companyCurrency)"'