AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Mixpanel

skill-ashish7802-awesome-api-skills-mixpanel · by ashish7802

A Claude skill from ashish7802/awesome-api-skills.

No reviews yet
0 installs
28 views
0.0% view→install

Install

$ agentstack add skill-ashish7802-awesome-api-skills-mixpanel

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-ashish7802-awesome-api-skills-mixpanel)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
2mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Mixpanel? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Mixpanel API Skill

Quick Start

Mixpanel tracks user behavior across platforms. Use the official Node.js SDK to accurately record server-side events, avoiding client-side ad-blocker discrepancies.

npm install mixpanel

Common Workflows

Server-Side Tracking

Track revenue events or highly secure state changes (e.g., Account Upgrades) exclusively on the backend via mixpanel.track(). Frontend tracking is unreliable for billing metrics.

Production Patterns

User Profiles

Keep user traits updated via mixpanel.people.set(). Synchronize fields like 'Plan Type', 'Lifetime Value', and 'Last Login' to enable powerful cohort analysis in the Mixpanel dashboard.

Error Recovery

Handle network failures when sending batch events. If using the HTTP API directly rather than the SDK, implement robust exponential backoff. The Node SDK fails silently on network errors by default to prevent crashing.

Security Notes

Mixpanel relies on a Project Token. Server-side integrations should also utilize the API Secret for administrative actions (like bulk deletions). Never expose the API Secret to clients.

Performance Considerations

Use mixpanel.track_batch() if you are importing historical data or processing thousands of events in a chron job to avoid rate limits and reduce network latency.

Testing Guidance

Initialize the SDK with a separate test Project Token for your staging environment to prevent test events from corrupting your production analytics data.

Troubleshooting

If events appear in Mixpanel with the wrong chronological order, ensure you are passing the exact UNIX timestamp in the properties payload if events are heavily delayed.

References

Related Skills

  • [PostHog](/skills/posthog)

Why use this skill

Use this when your agent works with mixpanel — structured patterns beat pasted docs and prevent common hallucinations.

AI pitfalls

  • Using outdated SDK or API versions from training data
  • Inventing environment variable names
  • Omitting error handling and retry logic

Production checklist

  • [ ] Secrets in environment variables, not source code
  • [ ] Error handling and logging in place
  • [ ] Rate limits and timeouts configured

Related skills

  • [posthog](../posthog/SKILL.md) — related to

> Last Verified: 2026-07-02

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.