Agent skill

Mixpanel Automation

by davepoon in davepoon/buildwithclaude

Automate Mixpanel tasks via Rube MCP (Composio): events, segmentation, funnels, cohorts, user profiles, JQL queries.

MITAuto-check passedProductivity & Automation

Install Mixpanel Automation

skills CLI
$ npx skills add davepoon/buildwithclaude --skill mixpanel-automation -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install davepoon/buildwithclaude mixpanel-automation --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/davepoon/buildwithclaude.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/all-skills/skills/mixpanel-automation .claude/skills/mixpanel-automation && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
mixpanel-automation
GitHub stars
3.6k
Used in
7 other repos
Token cost
~2.2k tokens
SKILL.md length
996 words
Files
1
Skills in repo
247
Repo updated
First seen
Licence
MIT

At a glance

Automate Mixpanel tasks via Rube MCP (Composio): events, segmentation, funnels, cohorts, user profiles, JQL queries.

  • Works in 6 steps: Aggregate Event Data → Run Segmentation Queries → Analyze Funnels → …
  • Tasks that involve App automation through connectors
  • SKILL.md covers Prerequisites, Setup, Core Workflows and Common Patterns, plus 2 more sections
  • Reaches rube.app

What it does

Mixpanel Automation is an agent skill from davepoon/buildwithclaude. Automate Mixpanel tasks via Rube MCP (Composio): events, segmentation, funnels, cohorts, user profiles, JQL queries. Always search tools first for current schemas.

Its SKILL.md is about 2.2k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Productivity & Automation, covering App automation through connectors. It works with Mixpanel and Composio. The repository describes itself as: A single hub to find Claude Skills, Agents, Commands, Hooks, Plugins, and Marketplace collections to extend Claude Code, Claude Desktop, Agent SDK and OpenClaw. The licence is MIT.

When your agent uses it

  • Tasks that involve App automation through connectors

Example prompts

  • “/mixpanel-automation”

Workflow steps

6 steps, taken from the step headings in SKILL.md.

  1. Aggregate Event Data
  2. Run Segmentation Queries
  3. Analyze Funnels
  4. Manage User Profiles
  5. Manage Cohorts
  6. Run JQL and Insight Queries

What it can do on your machine

Read from SKILL.md and the folder at commit 616deb5. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • rube.app

    Also links to:

    • composio.dev

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Mixpanel Automation loads about 2.2k tokens when it runs. Until then it costs about 46 tokens; SKILL.md has 996 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~46
When it runs · the whole SKILL.md, loaded when a task matches
~2.2k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from davepoon/buildwithclaude at commit 616deb5, republished under its MIT licence (© davepoon). 996 words, ~2,184 tokens.

Download SKILL.mdSave it as .claude/skills/mixpanel-automation/SKILL.md (or your agent's skills folder).
name
mixpanel-automation
description
Automate Mixpanel tasks via Rube MCP (Composio): events, segmentation, funnels, cohorts, user profiles, JQL queries. Always search tools first for current schemas.
requires.mcp
rube
category
analytics

Mixpanel Automation via Rube MCP

Automate Mixpanel product analytics through Composio's Mixpanel toolkit via Rube MCP.

Toolkit docs: composio.dev/toolkits/mixpanel

Prerequisites

  • Rube MCP must be connected (RUBE_SEARCH_TOOLS available)
  • Active Mixpanel connection via RUBE_MANAGE_CONNECTIONS with toolkit mixpanel
  • Always call RUBE_SEARCH_TOOLS first to get current tool schemas

Setup

Get Rube MCP: Add https://rube.app/mcp as an MCP server in your client configuration. No API keys needed — just add the endpoint and it works.

  1. Verify Rube MCP is available by confirming RUBE_SEARCH_TOOLS responds
  2. Call RUBE_MANAGE_CONNECTIONS with toolkit mixpanel
  3. If connection is not ACTIVE, follow the returned auth link to complete Mixpanel authentication
  4. Confirm connection status shows ACTIVE before running any workflows

Core Workflows

1. Aggregate Event Data

When to use: User wants to count events, get totals, or track event trends over time

Tool sequence:

  1. MIXPANEL_GET_ALL_PROJECTS - List projects to get project ID [Prerequisite]
  2. MIXPANEL_AGGREGATE_EVENT_COUNTS - Get event counts and aggregations [Required]

Key parameters:

  • event: Event name or array of event names to aggregate
  • from_date / to_date: Date range in 'YYYY-MM-DD' format
  • unit: Time granularity ('minute', 'hour', 'day', 'week', 'month')
  • type: Aggregation type ('general', 'unique', 'average')
  • where: Filter expression for event properties

Pitfalls:

  • Date format must be 'YYYY-MM-DD'; other formats cause errors
  • Event names are case-sensitive; use exact names from your Mixpanel project
  • where filter uses Mixpanel expression syntax (e.g., properties["country"] == "US")
  • Maximum date range may be limited depending on your Mixpanel plan
2. Run Segmentation Queries

When to use: User wants to break down events by properties for detailed analysis

Tool sequence:

  1. MIXPANEL_QUERY_SEGMENTATION - Run segmentation analysis [Required]

Key parameters:

  • event: Event name to segment
  • from_date / to_date: Date range in 'YYYY-MM-DD' format
  • on: Property to segment by (e.g., properties["country"])
  • unit: Time granularity
  • type: Count type ('general', 'unique', 'average')
  • where: Filter expression
  • limit: Maximum number of segments to return

Pitfalls:

  • The on parameter uses Mixpanel property expression syntax
  • Property references must use properties["prop_name"] format
  • Segmentation on high-cardinality properties returns capped results; use limit
  • Results are grouped by the segmentation property and time unit
3. Analyze Funnels

When to use: User wants to track conversion funnels and identify drop-off points

Tool sequence:

  1. MIXPANEL_LIST_FUNNELS - List saved funnels to find funnel ID [Prerequisite]
  2. MIXPANEL_QUERY_FUNNEL - Execute funnel analysis [Required]

Key parameters:

  • funnel_id: ID of the saved funnel to query
  • from_date / to_date: Date range
  • unit: Time granularity
  • where: Filter expression
  • on: Property to segment funnel by
  • length: Conversion window in days

Pitfalls:

  • funnel_id is required; resolve via LIST_FUNNELS first
  • Funnels must be created in Mixpanel UI first; API only queries existing funnels
  • Conversion window (length) defaults vary; set explicitly for accuracy
  • Large date ranges with segmentation can produce very large responses
4. Manage User Profiles

When to use: User wants to query or update user profiles in Mixpanel

Tool sequence:

  1. MIXPANEL_QUERY_PROFILES - Search and filter user profiles [Required]
  2. MIXPANEL_PROFILE_BATCH_UPDATE - Update multiple user profiles [Optional]

Key parameters:

  • where: Filter expression for profile properties (e.g., properties["plan"] == "premium")
  • output_properties: Array of property names to include in results
  • page: Page number for pagination
  • session_id: Session ID for consistent pagination (from first response)
  • For batch update: array of profile updates with $distinct_id and property operations

Pitfalls:

  • Profile queries return paginated results; use session_id from first response for consistent paging
  • where uses Mixpanel expression syntax for profile properties
  • BATCH_UPDATE applies operations ($set, $unset, $add, $append) to profiles
  • Batch update has a maximum number of profiles per request; chunk larger updates
  • Profile property names are case-sensitive
Show full SKILL.md (431 more words)Show less
5. Manage Cohorts

When to use: User wants to list or analyze user cohorts

Tool sequence:

  1. MIXPANEL_COHORTS_LIST - List all saved cohorts [Required]

Key parameters:

  • No required parameters; returns all accessible cohorts
  • Response includes cohort id, name, description, count

Pitfalls:

  • Cohorts are created and managed in Mixpanel UI; API provides read access
  • Cohort IDs are numeric; use exact ID from list results
  • Cohort counts may be approximate for very large cohorts
  • Cohorts can be used as filters in other queries via where expressions
6. Run JQL and Insight Queries

When to use: User wants to run custom JQL queries or insight analyses

Tool sequence:

  1. MIXPANEL_JQL_QUERY - Execute a custom JQL (JavaScript Query Language) query [Optional]
  2. MIXPANEL_QUERY_INSIGHT - Run a saved insight query [Optional]

Key parameters:

  • For JQL: script containing the JQL JavaScript code
  • For Insight: bookmark_id of the saved insight
  • project_id: Project context for the query

Pitfalls:

  • JQL uses JavaScript-like syntax specific to Mixpanel
  • JQL queries have execution time limits; optimize for efficiency
  • Insight bookmark_id must reference an existing saved insight
  • JQL is a legacy feature; check Mixpanel documentation for current availability

Common Patterns

ID Resolution

Project name -> Project ID:

1. Call MIXPANEL_GET_ALL_PROJECTS
2. Find project by name in results
3. Extract project id

Funnel name -> Funnel ID:

1. Call MIXPANEL_LIST_FUNNELS
2. Find funnel by name
3. Extract funnel_id
Mixpanel Expression Syntax

Used in where and on parameters:

  • Property reference: properties["property_name"]
  • Equality: properties["country"] == "US"
  • Comparison: properties["age"] > 25
  • Boolean: properties["is_premium"] == true
  • Contains: "search_term" in properties["name"]
  • AND/OR: properties["country"] == "US" and properties["plan"] == "pro"
Pagination
  • Event queries: Follow date-based pagination by adjusting date ranges
  • Profile queries: Use page number and session_id for consistent results
  • Funnel/cohort lists: Typically return complete results without pagination

Known Pitfalls

Date Formats:

  • Always use 'YYYY-MM-DD' format
  • Date ranges are inclusive on both ends
  • Data freshness depends on Mixpanel ingestion delay (typically minutes)

Expression Syntax:

  • Property references always use properties["name"] format
  • String values must be quoted: properties["status"] == "active"
  • Numeric values are unquoted: properties["count"] > 10
  • Boolean values: true / false (lowercase)

Rate Limits:

  • Mixpanel API has rate limits per project
  • Large segmentation queries may time out; reduce date range or segments
  • Use batch operations where available to minimize API calls

Response Parsing:

  • Response data may be nested under data key
  • Event data is typically grouped by date and segment
  • Numeric values may be returned as strings; parse explicitly
  • Empty date ranges return empty objects, not empty arrays

Quick Reference

TaskTool SlugKey Params
List projectsMIXPANEL_GET_ALL_PROJECTS(none)
Aggregate eventsMIXPANEL_AGGREGATE_EVENT_COUNTSevent, from_date, to_date, unit
SegmentationMIXPANEL_QUERY_SEGMENTATIONevent, on, from_date, to_date
List funnelsMIXPANEL_LIST_FUNNELS(none)
Query funnelMIXPANEL_QUERY_FUNNELfunnel_id, from_date, to_date
Query profilesMIXPANEL_QUERY_PROFILESwhere, output_properties, page
Batch update profilesMIXPANEL_PROFILE_BATCH_UPDATE(profile update objects)
List cohortsMIXPANEL_COHORTS_LIST(none)
JQL queryMIXPANEL_JQL_QUERYscript
Query insightMIXPANEL_QUERY_INSIGHTbookmark_id

Powered by Composio

© davepoon, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in plugins/all-skills/skills/mixpanel-automation of davepoon/buildwithclaude.

Open the folder on GitHubat commit 616deb5

Used in 7 other repositories

We found 17 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 7 other GitHub owners. This page covers the copy in davepoon/buildwithclaude, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Mixpanel Automation next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Mixpanel Automation compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Mixpanel Automation this skilldavepoon/buildwithclaude3.6k7 repos~2.2kAutomated safety check: PassMIT
Composioyc-software/qm15k—~1.6kAutomated safety check: PassMIT
Connect Apps with ComposioComposioHQ/awesome-claude-skills77k3 repos~557Automated safety check: PassNone
Abuselpdb AutomationComposioHQ/awesome-claude-skills77k3 repos~738Automated safety check: PassNone
Accredible Certificates AutomationComposioHQ/awesome-claude-skills77k3 repos~790Automated safety check: PassNone
Composio Cloud Toolsquarqlabs/argus279—~543Automated safety check: PassApache-2.0

Similar skills

  • Composio

    yc-software/qm

    Show the app connection picker or setup widget when users ask to connect apps, reopen setup, or need an app that isn't connected yet.

    15k GitHub stars~1.6k tokensUpdated today
    Productivity & AutomationAuto-check passed
  • Connect Apps with Composio

    ComposioHQ/awesome-claude-skills

    Connects an agent to 1000+ external apps through the Composio Tool Router plugin, so it can actually send emails, create issues and post messages instead of only drafting them.

    77k GitHub starsUsed in 3 repos~557 tokens
    Productivity & AutomationAuto-check passed
  • Abuselpdb Automation

    ComposioHQ/awesome-claude-skills

    Automate Abuselpdb tasks via Rube MCP (Composio). An agent skill from ComposioHQ/awesome-claude-skills.

    77k GitHub starsUsed in 3 repos~738 tokens
    Productivity & AutomationAuto-check passed
  • Accredible Certificates Automation

    ComposioHQ/awesome-claude-skills

    Automate Accredible Certificates tasks via Rube MCP (Composio).

    77k GitHub starsUsed in 3 repos~790 tokens
    Productivity & AutomationAuto-check passed
  • Composio Cloud Tools

    quarqlabs/argus

    Routes requests to external SaaS apps such as GitHub, Gmail, Google Calendar, Slack, Notion and Linear through cloud tools, with safeguards on irreversible actions.

    279 GitHub stars~543 tokensUpdated 4 mo ago
    Productivity & AutomationAuto-check passed
  • Active Campaign Automation

    ComposioHQ/awesome-claude-skills

    Automate ActiveCampaign tasks via Rube MCP (Composio). An agent skill from ComposioHQ/awesome-claude-skills.

    77k GitHub starsUsed in 3 repos~758 tokens
    Productivity & AutomationAuto-check passed

More from davepoon/buildwithclaude

All 247 skills in this repo
  • iOS Hig Design Guide

    davepoon/buildwithclaude

    Build, update, and apply iOS design specifications using Apple Human Interface Guidelines (HIG) source data.

    3.6k GitHub stars~735 tokensUpdated yesterday
    Auto-check passed
  • Video Downloader

    davepoon/buildwithclaude

    Download YouTube videos with customizable quality and format options.

    3.6k GitHub starsUsed in 1 repo~871 tokens
    Auto-check passed
  • Qwen Vision

    davepoon/buildwithclaude

    A skill your agent uses when the user asks to "analyze video", "watch this video", "what happens in this video", "describe this clip", "review this footage", "classify these videos", "compare…

    3.6k GitHub stars~1.2k tokensUpdated yesterday
    Auto-check passed
  • Atlas Cloud Media

    davepoon/buildwithclaude

    Discover Atlas Cloud image and video models, inspect their live schemas, and submit one confirmed media generation request with bounded GET polling.

    3.6k GitHub stars~852 tokensUpdated yesterday
    Auto-check passed
  • Browser Extension Launch

    davepoon/buildwithclaude

    面向没有编程经验的用户,把想法做成可试用的浏览器插件,并完成检查、商店材料、审核提交和上线验证;也用于继续已有插件、排错和发布新版。用户说“帮我做个插件”“把插件上架”“继续我的插件”时使用。普通网站开发、仅查询插件知识不触发。

    3.6k GitHub stars~1.5k tokensUpdated yesterday
    Auto-check passed
  • Slack Gif Creator

    davepoon/buildwithclaude

    Toolkit for creating animated GIFs optimized for Slack, with validators for size constraints and composable animation primitives.

    3.6k GitHub starsUsed in 12 repos~4.3k tokens
    Auto-check passed

Questions about Mixpanel Automation

What does Mixpanel Automation do?

Automate Mixpanel tasks via Rube MCP (Composio): events, segmentation, funnels, cohorts, user profiles, JQL queries. Mixpanel Automation is an agent skill from davepoon/buildwithclaude. Automate Mixpanel tasks via Rube MCP (Composio): events, segmentation, funnels, cohorts, user profiles, JQL queries.

When should I use Mixpanel Automation?

Mixpanel Automation fits situations like: tasks that involve App automation through connectors.

How do I install Mixpanel Automation in Claude Code?

Run `npx skills add davepoon/buildwithclaude --skill mixpanel-automation -a claude-code`. Or copy the skill folder (plugins/all-skills/skills/mixpanel-automation in davepoon/buildwithclaude) into .claude/skills/mixpanel-automation in your project. Claude Code loads it when a task matches its description.

How do I install Mixpanel Automation in Codex?

Run `npx skills add davepoon/buildwithclaude --skill mixpanel-automation -a codex`. Or copy the skill folder (plugins/all-skills/skills/mixpanel-automation in davepoon/buildwithclaude) into .agents/skills/mixpanel-automation in your project. Codex loads it when a task matches its description.

Can I use Mixpanel Automation in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add davepoon/buildwithclaude --skill mixpanel-automation -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/mixpanel-automation, .gemini/skills/mixpanel-automation, .github/skills/mixpanel-automation and .opencode/skills/mixpanel-automation in your project.

What does Mixpanel Automation need to run?

SKILL.md names no scripts, command-line tools or credentials: Mixpanel Automation is instructions for the agent only.

Does Mixpanel Automation access the network?

SKILL.md names 2 domains. In commands or code: rube.app; the agent is likely to contact it when it follows the instructions. As links in the text: composio.dev. This is read from the text; nothing was executed.

Is Mixpanel Automation safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Mixpanel Automation use?

Mixpanel Automation is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Mixpanel Automation use?

About 2.2k tokens (SKILL.md is roughly 8.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Mixpanel Automation?

Skills that share tags, products or a category with Mixpanel Automation: Composio (yc-software/qm, 15k stars), Connect Apps with Composio (ComposioHQ/awesome-claude-skills, 77k stars), Abuselpdb Automation (ComposioHQ/awesome-claude-skills, 77k stars) and Accredible Certificates Automation (ComposioHQ/awesome-claude-skills, 77k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Mixpanel Automation?

davepoon (a GitHub user) maintains it in davepoon/buildwithclaude, which has 3,610 GitHub stars. The repository holds 247 skills in this directory. The repository was last updated on October 9, 2026.

Source: davepoon/buildwithclaude on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.