Claude-skill-registry heap
Analyze user behavior via Heap API. Query events, users, and funnels.
install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data/heap" ~/.claude/skills/majiayu000-claude-skill-registry-heap-5203e5 && rm -rf "$T"
manifest:
skills/data/heap/SKILL.mdsource content
Heap
Product analytics.
Environment
export HEAP_APP_ID="xxxxxxxxxx" export HEAP_API_KEY="xxxxxxxxxx"
Track Event (Server-side)
curl -X POST "https://heapanalytics.com/api/track" \ -H "Content-Type: application/json" \ -d '{"app_id": "'$HEAP_APP_ID'", "identity": "user@example.com", "event": "Purchase", "properties": {"amount": 99}}'
Add User Properties
curl -X POST "https://heapanalytics.com/api/add_user_properties" \ -H "Content-Type: application/json" \ -d '{"app_id": "'$HEAP_APP_ID'", "identity": "user@example.com", "properties": {"plan": "premium"}}'
Query API
curl "https://heapanalytics.com/api/partner/v1/events?app_id=$HEAP_APP_ID" \ -H "Authorization: Bearer $HEAP_API_KEY"
Links
- Dashboard: https://heapanalytics.com
- Docs: https://developers.heap.io