Mixpanel for Openclaw

A powerful AI agent skill for querying Mixpanel analytics, including funnels, retention, segmentation, and event tracking via REST API.

ivangdavila
v1.0.1
Feb 25, 2026
0
1.1k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install mixpanel

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install mixpanel using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Mixpanel?

The Mixpanel skill for Openclaw Skills enables AI agents to interface directly with the Mixpanel Query API to extract actionable product insights. It streamlines the process of analyzing user behavior, allowing agents to perform complex operations like funnel analysis and retention tracking without manual API configuration.

This skill provides a structured framework for managing analytics requests, ensuring that developers can quickly retrieve event counts, segment user profiles, and export raw data. By integrating this into Openclaw Skills, teams can automate their data-driven decision-making processes and maintain a local history of performed queries and insights.

Mixpanel Use Cases

  • Analyzing conversion rates through multi-step funnels to identify drop-off points.
  • Measuring user retention cohorts to understand long-term product engagement.
  • Segmenting user profiles based on specific behaviors or demographic properties.
  • Exporting raw event data for deeper audit logs or external data processing.
  • Running custom JQL (JavaScript Query Language) scripts for complex data transformations.

How Mixpanel Works

  1. The agent authenticates using a Mixpanel Service Account via secure environment variables.
  2. Commands are issued to the Mixpanel Query or Export API endpoints using curl.
  3. The skill utilizes jq to parse and format the resulting JSON data for clear presentation.
  4. Relevant query results and project metadata are stored in a local memory directory for persistence.
  5. High-level analysis is performed by synthesizing multiple API responses into cohesive reports.

Mixpanel Setup

To integrate this skill with Openclaw Skills, you must first configure your Mixpanel Service Account credentials as environment variables:

export MP_SERVICE_ACCOUNT="your-service-account"
export MP_SERVICE_SECRET="your-service-secret"
export MP_PROJECT_ID="your-project-id"

Ensure that both curl and jq are installed on your system. On first use, the skill will initialize the local directory at ~/mixpanel/ to manage its memory and saved queries.

Mixpanel Data Schema & Taxonomy

The skill organizes its local state and cached data using the following structure:

File/Directory Purpose
~/mixpanel/memory.md Tracks project IDs, saved query summaries, and general insights.
~/mixpanel/queries/ Stores reusable JQL (JavaScript Query Language) files for complex analysis.
Environment Vars Securely stores API credentials outside of the file system.

Mixpanel Advanced Features

  • Support for Mixpanel JQL to run complex, server-side JavaScript queries on your data.
  • Automated cohort-based filtering for targeted user profile analysis.
  • Rate limit awareness to handle Mixpanel API constraints effectively.
  • Local query caching to reduce redundant API calls and improve agent response times.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*