Check a Mixpanel Headless Session with Codex
Interpret a Mixpanel Headless session response and detect when account or project selection is still needed.
中文Setup for Codex (Mixpanel Headless plugin)
Use Python and the complete Mixpanel Headless plugin, including the sibling mixpanelyst script. A real session check requires your own installed and authorized sandbox.
- In Codex, open /plugins and install Mixpanel Headless. Use the full plugin package so its sibling skills and references are available.
- Invoke the bundled skill as $mixpanel-auth in a scratch workspace. Keep the example on the local or demo inputs described below.
Example task
Invoke $mixpanel-auth with a local JSON fixture containing schema_version=1 and state='needs_project'. Ask it to return the next human action using no project guesses or requests for credentials.Expected result
The output explains that a project must be selected, keeps the account and project identifiers unspecified, and does not treat the fixture as an authenticated live session.
Upstream documentation
Original SKILL.md on GitHub · MIT license · Source reviewed
Frequently asked question
Why install the whole plugin for this skill?
The authentication workflow invokes a helper inside the bundled mixpanelyst folder. The plugin package preserves that reference together with the setup documentation.