Loading...
Loading...
Unified portfolio dashboard. Traffic, revenue, errors - all products at a glance. Weekly traction check in 2 minutes. Auto-invoke when: user asks about metrics, traction, analytics, revenue across products.
npx skill4agent add phrazzld/claude-config dashboard┌──────────────────────────────────────────────────────────────────┐
│ MISTYSTEP PORTFOLIO - Week of Jan 20 │
├──────────────────────────────────────────────────────────────────┤
│ Product │ Visits │ Δ │ Revenue │ Errors │ Status │
├──────────────────────────────────────────────────────────────────┤
│ Volume │ 892 │ ↑147%│ $45.00 │ 0 │ ⚠️ SIGNAL │
│ Heartbeat │ 234 │ ↑ 12%│ $0.00 │ 2 │ 🟢 │
│ Scry │ 45 │ ↓ 5%│ $0.00 │ 0 │ 🟢 │
│ Crondle │ 156 │ → 0%│ $0.00 │ 0 │ 🟢 │
│ ... │ │ │ │ │ │
├──────────────────────────────────────────────────────────────────┤
│ TOTAL │ 2,847 │ ↑ 34%│ $127.00 │ 3 │ │
└──────────────────────────────────────────────────────────────────┘
⚠️ Volume showing unusual growth (+147%)
Investigate: What's driving traffic?products.yaml# Via PostHog MCP (preferred - Claude can query directly)
# Or via CLI:
curl -s "https://app.posthog.com/api/projects/${PROJECT_ID}/insights/trend/" \
-H "Authorization: Bearer $POSTHOG_API_KEY" \
-d '{"events": [{"id": "$pageview"}], "date_from": "-7d"}'
# For specific breakdown by referrer:
curl -s "https://app.posthog.com/api/projects/${PROJECT_ID}/insights/trend/" \
-H "Authorization: Bearer $POSTHOG_API_KEY" \
-d '{"events": [{"id": "$pageview"}], "breakdown": "$referrer", "date_from": "-7d"}'# Requires STRIPE_SECRET_KEY env var
stripe balance_transactions list --created[gte]=$LAST_WEEK --limit=100
# Or for specific product revenue:
stripe invoices list --created[gte]=$LAST_WEEK --status=paid# Requires SENTRY_AUTH_TOKEN env var
curl -s "https://sentry.io/api/0/projects/${ORG}/${PROJECT}/stats/" \
-H "Authorization: Bearer $SENTRY_AUTH_TOKEN"--html~/dashboard.html~/.claude/skills/dashboard/products.yamlproducts:
- name: Volume
domain: volume.app
posthog_project_id: 12345 # Changed from vercel_project_id
stripe_product_id: prod_xxx
sentry_project: volume
- name: Heartbeat
domain: heartbeat.app
posthog_project_id: 12345
stripe_product_id: prod_yyy
sentry_project: heartbeat
# ... more products# PostHog - for traffic analytics (preferred)
POSTHOG_API_KEY=phx_xxx
POSTHOG_PROJECT_ID=12345
# Stripe - for revenue
STRIPE_SECRET_KEY=sk_live_xxx
# Sentry - for errors (optional)
SENTRY_AUTH_TOKEN=xxx
SENTRY_ORG=mistystep# Weekly check (terminal output)
/dashboard
# Export to HTML for browser
/dashboard --html
# Check specific product only
/dashboard volume/dashboard/double-down/observability/marketing-status/stripe/double-down