plugins/all-skills/skills/mixpanel-automation/SKILL.md
Automate Mixpanel tasks via Rube MCP (Composio): events, segmentation, funnels, cohorts, user profiles, JQL queries. Always search tools first for current schemas.
npx skillsauth add davepoon/buildwithclaude mixpanel-automationInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Automate Mixpanel product analytics through Composio's Mixpanel toolkit via Rube MCP.
Toolkit docs: composio.dev/toolkits/mixpanel
RUBE_MANAGE_CONNECTIONS with toolkit mixpanelRUBE_SEARCH_TOOLS first to get current tool schemasGet 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.
RUBE_SEARCH_TOOLS respondsRUBE_MANAGE_CONNECTIONS with toolkit mixpanelWhen to use: User wants to count events, get totals, or track event trends over time
Tool sequence:
MIXPANEL_GET_ALL_PROJECTS - List projects to get project ID [Prerequisite]MIXPANEL_AGGREGATE_EVENT_COUNTS - Get event counts and aggregations [Required]Key parameters:
event: Event name or array of event names to aggregatefrom_date / to_date: Date range in 'YYYY-MM-DD' formatunit: Time granularity ('minute', 'hour', 'day', 'week', 'month')type: Aggregation type ('general', 'unique', 'average')where: Filter expression for event propertiesPitfalls:
where filter uses Mixpanel expression syntax (e.g., properties["country"] == "US")When to use: User wants to break down events by properties for detailed analysis
Tool sequence:
MIXPANEL_QUERY_SEGMENTATION - Run segmentation analysis [Required]Key parameters:
event: Event name to segmentfrom_date / to_date: Date range in 'YYYY-MM-DD' formaton: Property to segment by (e.g., properties["country"])unit: Time granularitytype: Count type ('general', 'unique', 'average')where: Filter expressionlimit: Maximum number of segments to returnPitfalls:
on parameter uses Mixpanel property expression syntaxproperties["prop_name"] formatlimitWhen to use: User wants to track conversion funnels and identify drop-off points
Tool sequence:
MIXPANEL_LIST_FUNNELS - List saved funnels to find funnel ID [Prerequisite]MIXPANEL_QUERY_FUNNEL - Execute funnel analysis [Required]Key parameters:
funnel_id: ID of the saved funnel to queryfrom_date / to_date: Date rangeunit: Time granularitywhere: Filter expressionon: Property to segment funnel bylength: Conversion window in daysPitfalls:
funnel_id is required; resolve via LIST_FUNNELS firstlength) defaults vary; set explicitly for accuracyWhen to use: User wants to query or update user profiles in Mixpanel
Tool sequence:
MIXPANEL_QUERY_PROFILES - Search and filter user profiles [Required]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 resultspage: Page number for paginationsession_id: Session ID for consistent pagination (from first response)$distinct_id and property operationsPitfalls:
session_id from first response for consistent pagingwhere uses Mixpanel expression syntax for profile properties$set, $unset, $add, $append) to profilesWhen to use: User wants to list or analyze user cohorts
Tool sequence:
MIXPANEL_COHORTS_LIST - List all saved cohorts [Required]Key parameters:
id, name, description, countPitfalls:
where expressionsWhen to use: User wants to run custom JQL queries or insight analyses
Tool sequence:
MIXPANEL_JQL_QUERY - Execute a custom JQL (JavaScript Query Language) query [Optional]MIXPANEL_QUERY_INSIGHT - Run a saved insight query [Optional]Key parameters:
script containing the JQL JavaScript codebookmark_id of the saved insightproject_id: Project context for the queryPitfalls:
bookmark_id must reference an existing saved insightProject 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
Used in where and on parameters:
properties["property_name"]properties["country"] == "US"properties["age"] > 25properties["is_premium"] == true"search_term" in properties["name"]properties["country"] == "US" and properties["plan"] == "pro"page number and session_id for consistent resultsDate Formats:
Expression Syntax:
properties["name"] formatproperties["status"] == "active"properties["count"] > 10true / false (lowercase)Rate Limits:
Response Parsing:
data key| Task | Tool Slug | Key Params | |------|-----------|------------| | List projects | MIXPANEL_GET_ALL_PROJECTS | (none) | | Aggregate events | MIXPANEL_AGGREGATE_EVENT_COUNTS | event, from_date, to_date, unit | | Segmentation | MIXPANEL_QUERY_SEGMENTATION | event, on, from_date, to_date | | List funnels | MIXPANEL_LIST_FUNNELS | (none) | | Query funnel | MIXPANEL_QUERY_FUNNEL | funnel_id, from_date, to_date | | Query profiles | MIXPANEL_QUERY_PROFILES | where, output_properties, page | | Batch update profiles | MIXPANEL_PROFILE_BATCH_UPDATE | (profile update objects) | | List cohorts | MIXPANEL_COHORTS_LIST | (none) | | JQL query | MIXPANEL_JQL_QUERY | script | | Query insight | MIXPANEL_QUERY_INSIGHT | bookmark_id |
Powered by Composio
tools
Assesses the current state of the startup project and recommends what to focus on next. Use when there is a need or a question from the user to understand what the next steps are or what to focus on next.
data-ai
Use at the start of any conversation about a startup idea, product validation, founder strategy, or work inside a `startup/` workspace. Establishes file conventions, voice-input handling, subagent dispatch rules, and how to update each artifact safely. Activate before invoking any other startup-superpowers skill.
tools
Manages the founder's survey-based validation — crafting the right questions, deploying a survey to the internet, and analyzing results against hypotheses. Use when the founder wants to run a survey, create survey questions, validate hypotheses at scale, check how a survey is going, understand whether a survey is the right tool right now, or deploy a question set to get quantitative signal. Also bring this up if you believe that creating a survey to collect quantitative evidence may be useful at this point.
development
Guides the founder through designing and optionally building the simplest MVP or prototype that validates their current hypotheses. Use when the founder wants to build something to test assumptions, discusses what to build next, wants to interpret results from a live MVP, or is deciding whether the current approach is still right. Also use when a founder proposes something to build — the skill will check whether the proposed form is the simplest thing that generates honest signal.