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

Mixpanel Analytics

skill-diversioteam-agent-skills-marketplace-mixpanel-analytics · by DiversioTeam

Mixpanel analytics tracking implementation + review skill for Django optimo_analytics: add events and audit for PII safety, schema design, and code quality.

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

Install

$ agentstack add skill-diversioteam-agent-skills-marketplace-mixpanel-analytics

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

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

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-diversioteam-agent-skills-marketplace-mixpanel-analytics)

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 Analytics? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

MixPanel Analytics Skill

When to Use This Skill

Use this Skill in the Django4Lyfe backend when working with MixPanel analytics tracking in the optimo_analytics module:

  • /mixpanel-analytics:implement – to implement new MixPanel tracking events

or update existing ones following established patterns (7-step checklist).

  • /mixpanel-analytics:review – to review MixPanel implementations for

correctness, PII protection, and adherence to Django4Lyfe standards.

Example Prompts

Implement Mode

  • "Use /mixpanel-analytics:implement to add a new event for tracking when a

user completes their profile setup."

  • "Run /mixpanel-analytics:implement svc.surveys.reminder_sent to add tracking

for survey reminder notifications."

  • "Implement MixPanel tracking for the new HRIS CSV validation feature using

/mixpanel-analytics:implement."

Review Mode

  • "Run /mixpanel-analytics:review staged to check my staged MixPanel changes

for PII violations and pattern compliance."

  • "Use /mixpanel-analytics:review branch to audit all analytics changes on

this feature branch."

  • "Review the entire optimo_analytics module with /mixpanel-analytics:review all."

Modes

This Skill behaves differently based on how it is invoked:

  • implement mode – invoked via /mixpanel-analytics:implement:
  • Guides implementation of new MixPanel events through 7 steps.
  • Creates constants, schemas, registry entries, service methods, and tests.
  • Enforces PII protection and code patterns.
  • review mode – invoked via /mixpanel-analytics:review:
  • Audits existing implementations for compliance.
  • Checks PII protection, schema design, service patterns, and test coverage.
  • Generates structured review reports with severity tags.

Environment & Context Gathering

When this Skill runs, gather context first:

# Git context
git branch --show-current
git status --porcelain
git diff --cached --name-only | grep -E "optimo_analytics|mixpanel"

# Analytics module stats
grep -c "^    [A-Z_]* = " optimo_analytics/constants.py 2>/dev/null || echo "0"
grep -c "^class Mxp" optimo_analytics/schemas.py 2>/dev/null || echo "0"
grep -c "MixPanelEvent\." optimo_analytics/registry.py 2>/dev/null || echo "0"
ls -1 optimo_analytics/service/*.py 2>/dev/null | xargs -I{} basename {} .py

Read key reference files:

  • optimo_analytics/AGENTS.md – module-level rules and PII guidelines
  • optimo_analytics/schemas.py – existing schema patterns
  • optimo_analytics/service/AGENTS.md – service layer patterns
  • optimo_analytics/tests/AGENTS.md – test patterns
  • optimo_core/models/login_attribution.py – CTA attribution enums (SlackButtonChoices, SlackTabChoices, TeamsButtonChoices) and URL helpers
  • optimo_analytics/docs/LoginCTA_AttributionTestingGuide.md – CTA attribution testing scenarios
  • optimo_analytics/docs/BackendMixpanelTestingGuideV2.md – Survey lifecycle & MAP event testing scenarios

Type gate policy:

  • Detect Python type checker in this order unless repo docs/CI differ:

ty, then pyright, then mypy.

  • If ty is configured, it is mandatory and blocking.
  • For touched files, do not accept "baseline acceptable" type-check outcomes.
  • Read local typing policy docs when present (for example

docs/python-typing-3.14-best-practices.md, TY_MIGRATION_GUIDE.md).


Implementation Mode

For the full templates and step-by-step implementation checklist, use:

  • [references/implementation.md](references/implementation.md)

Checklist (summary):

  1. Add event constant (optimo_analytics/constants.py)
  2. Create schema (optimo_analytics/schemas.py)
  3. Register schema (optimo_analytics/registry.py)
  4. Add tracking helper (optimo_analytics/service/{domain}.py)
  5. Export helper (optimo_analytics/service/__init__.py)
  6. Add tests (optimo_analytics/tests/)
  7. Integrate call site in business logic

Critical Rules (Do Not Violate)

  • PII: never send names/emails/phones/addresses; identifiers are UUID strings; organization_name is allowed but never logged.
  • Fire-and-forget: keyword-only args + try/except wrapper; never let tracking break business logic.
  • Event names: {prefix}.{object}.{action}[.error]; do not encode execution context (e.g., "cron") in the event name.
  • distinct_id: user UUID → org_slack_/apikey_/webhook_; never a raw org UUID.
  • Timestamps: Unix ms (datetime_to_timestamp_ms()), not ISO strings.
  • is_cron_job: only when tracking-time must align with the original action; include cron_execution_timestamp when set.

Review Mode

For the full checklist, automated checks, and report template, use:

  • [references/review.md](references/review.md)

Summary checklist:

  • [P0] PII protection
  • [P1] Event registration completeness
  • [P1] Schema design + types
  • [P1] Service method patterns
  • [P2] Test coverage
  • [P2] Naming, timestamps, is_cron_job, distinct_id, exports

References

  • Implementation templates: [references/implementation.md](references/implementation.md)
  • Review checklist + report template: [references/review.md](references/review.md)

Compatibility Notes

This Skill is designed to work with both Claude Code and OpenAI Codex.

  • Claude Code: install the corresponding plugin and use its slash commands (see plugins/mixpanel-analytics/commands/).
  • Codex: install the Skill directory and invoke name: mixpanel-analytics.

For installation, see this repo's README.md.

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.