setup
Skill by mixpanel
Sets up a Python environment for the mixpanel-headless library and its analysis packages. It then checks the install, the mp help command, and the Mixpanel credentials. Meant for users starting Mixpanel analysis or whose environment is missing or older than 0.4.0.
Install setup
Built from the published package, never by AI.
git clone --depth 1 https://github.com/mixpanel/mixpanel-headless /tmp/mixpanel-headless && mkdir -p ~/.claude/skills && cp -r /tmp/mixpanel-headless/mixpanel-plugin/skills/setup ~/.claude/skills/setupRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/mixpanel/mixpanel-headless /tmp/mixpanel-headless && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/mixpanel-headless/mixpanel-plugin/skills/setup ~/.gemini/antigravity-cli/skills/setupAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This setup skill creates a virtual environment at the plugin data path and installs mixpanel-headless 0.4.0 or newer into it. It also installs pandas, numpy, matplotlib, seaborn, networkx, anytree, scipy, and pyarrow. The script installs nothing outside that environment, so the global or system Python stays unchanged.
After installing, the script imports each package, runs mp help offline, checks the mp command, and reports which credentials it finds. The skill then reads the login state and tests the active account. Login and account problems are handed to the auth skill. It is for users setting up Mixpanel analysis, or whose plugin environment is missing or older than 0.4.0.
Written from the project's SKILL.md and checked against it.
What it can do
- Create plugin environmentCreates a virtual environment with uv venv, or with python3 -m venv if uv is not available.
- Install or upgrade libraryInstalls or upgrades mixpanel-headless to version 0.4.0 or newer.
- Verify imports and helpImports every package and runs mp help once, offline, to confirm the API reference works.
- Check credentialsReports which credentials the script finds and reads the session state.
- Test account connectionRuns an account test through the auth helper and reads the result.
What you need
- Python 3.10 or newer, or uv
- Python 3.11 or newer for pyarrow
- Mixpanel credentials
Try asking
- Set up my Mixpanel analysis environment
- Check that mixpanel-headless is at least version 0.4.0
- Test my active Mixpanel account connection
Good to know
- Does not handle login or account changes. Use the auth skill for those.
- Restart any Python kernel or notebook after an upgrade so it loads the new version.
- Installs only inside the plugin environment, not in global Python.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: mixpanel-plugin/skills/setup/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
Allowed tools: Bash(bash ${CLAUDE_SKILL_DIR}/scripts/setup.sh ${CLAUDE_PLUGIN_DATA}/venv) Bash(${CLAUDE_PLUGIN_DATA}/venv/bin/python ${CLAUDE_PLUGIN_ROOT}/skills/auth/scripts/auth_manager.py *)
Alternatives to setup
All alternatives →Guides an assistant through the Kaggle CLI, covering competitions, datasets, notebooks, models, benchmarks, authentication and quota. It is for people who use the kaggle command-line tool.
Generates Python code that uses BigQuery DataFrames (BigFrames) for data processing, analysis and machine learning on BigQuery. It is meant for Python data tasks, and the source says to use bigquery-basics for SQL-first workflows.
Discovers connected data sources and proposes loading options when a workspace lacks the data a question needs. Suited to users who want to connect database, warehouse or cloud sources from the chat.
Guides developers through enabling the Data Manager API, setting up Application Default Credentials, and installing its client libraries. Built for developers who are getting started with the API and need local environment and access setup.
Guides authoring and validating Apache Airflow DAGs for Managed Service for Apache Airflow (MSAA), formerly Cloud Composer. Built for developers who create or extend Airflow DAGs in these environments.
Extracts structured JSON data from over 40 websites, including Amazon, LinkedIn, Instagram, TikTok, Facebook and YouTube. Built on Bright Data's Web Data APIs, it returns product details, profiles, reviews, posts and comments from a URL.
Compare with kaggle-cli, bigquery-bigframes or data-loading
setup: common questions
Does setup change my system Python?
No. The script installs nothing outside the plugin's own virtual environment.
Does setup handle Mixpanel login?
No. Login, account, and project changes belong to the auth skill.
What if the package install fails?
The source says a network or package-index problem is the usual cause. On Debian and Ubuntu, the usual fix is uv or the python3-venv package.
How do I install setup?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is setup free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is setup safe to use?
It scores 52 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to setup?
Similar skills: kaggle-cli, bigquery-bigframes, data-loading, data-manager-api-setup.
