Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

auth

Skill by mixpanel

Manages Mixpanel credentials for the mixpanel_headless library and the mp CLI. It checks the active session, adds and switches accounts, runs OAuth login, and changes the active project and workspace.

  • Score 52
  • 19 stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install auth

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/auth ~/.claude/skills/auth

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install auth in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

The auth skill manages Mixpanel credentials through a script called auth_manager.py. It checks the active session and reports whether an account or project is missing. It also lists, adds, tests and switches accounts, runs OAuth login, and changes the active project and workspace. Saved targets combine an account, a project and an optional workspace, and can be applied in one step.

Each subcommand prints one JSON object, which the assistant reads and presents in plain words. The skill does not ask for secrets in the chat. For service accounts, the user runs the add command in their own terminal so the secret is entered with hidden input. It is meant for users whose Mixpanel credentials are missing or failing, or who need to log in from the EU or India region. Library installation is handled by the setup skill, and analytics questions by mixpanelyst.

Written from the project's SKILL.md and checked against it.

What it can do

  • Session checkShows the active account, project and workspace, or what is missing.
  • One-shot loginGuides the user through mp login, which picks the auth flow and sets a default project.
  • Account list, add and testLists configured accounts, guides adding one, and tests the connection.
  • Account switchingSwitches the active account, or starts an OAuth browser login for an account.
  • Project list and useLists accessible projects and pins the one to use.
  • Workspace list and useLists workspaces in the active project and pins one as active.
  • Saved targetsLists, adds and applies targets that combine account, project and workspace.

What you need

  • A Mixpanel account with access to a project
  • Credentials for a service account, or an OAuth browser login
  • The plugin environment created by the setup skill
  • A terminal for hidden secret input when adding a service account

Try asking

  • Which Mixpanel project am I on right now?
  • My Mixpanel calls return 401 unauthorized. Help me fix the login.
  • Switch my Mixpanel account to the team account.

Good to know

  • Commands must be run with the full interpreter path, because mp is often not on the PATH.
  • Service account secrets must be entered by the user in their own terminal, not in the chat.
  • Browser login for EU or India users needs an explicit region flag.
  • Only commands matching the pre-approved pattern run without extra approval.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: mixpanel-plugin/skills/auth/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

Allowed tools: Bash(${CLAUDE_PLUGIN_DATA}/venv/bin/python ${CLAUDE_PLUGIN_ROOT}/skills/auth/scripts/auth_manager.py *)

Alternatives to auth

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

auth: common questions

How do I log in to Mixpanel from the EU or India region?

Pass --region eu or --region in to mp login. The browser login path uses the us region by default.

Does this skill store my API secret in the chat?

No. The skill tells the user to enter a service account secret with hidden input in their own terminal, and not to pass secrets as command-line arguments.

What should I use after credentials work?

The source says to use the mixpanelyst skill for analytics questions once credentials work.

How do I install auth?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is auth free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is auth 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 auth?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

Add to stack

Loading.