[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M79FRS4XY539EZ9VTM0ENDV5":3,"skill-same:01M79FRS4XY539EZ9VTM0ENDV5":52},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":25,"commitSha":26,"skillDirectory":27,"forksCount":14,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":6,"ownerDescription":30,"updatedAt":31,"install":32,"resources":45},"01M79FRS4XY539EZ9VTM0ENDV5","mixpanel-headless-setup",null,"This skill installs mixpanel_headless, pandas, numpy, matplotlib, seaborn, networkx, anytree, scipy (and pyarrow on Python 3.11+), then verifies Mixpanel credentials. It should be invoked when setting up a new environment for Mixpanel data analysis, when dependencies are missing, or when configuring service account or OAuth credentials for the first time.","zfifteen\u002Fskills-catalog","zfifteen","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F221906715?v=4","01M79CQFXDZM5J5CJTCECPFA66","Dionisio Alberto Lopez III","01M79CQFY4C62PN8A2T5KDAHGA",1,"MIT","https:\u002F\u002Fgithub.com\u002Fzfifteen\u002Fskills-catalog\u002Fblob\u002Fmain\u002Fskills\u002Fsetup\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: mixpanel-headless-setup\ndescription: This skill installs mixpanel_headless, pandas, numpy, matplotlib, seaborn, networkx, anytree, scipy (and pyarrow on Python 3.11+), then verifies Mixpanel credentials. It should be invoked when setting up a new environment for Mixpanel data analysis, when dependencies are missing, or when configuring service account or OAuth credentials for the first time.\ndisable-model-invocation: false\nallowed-tools: Bash\n---\n\n# mixpanel-headless — Setup\n\nInstall dependencies and verify credentials for CodeMode analytics.\n\n## Run Setup\n\nBefore running bundled scripts, set `SKILL_DIR` to the absolute path of this\n`skills\u002Fsetup` directory.\n\n```bash\nbash $SKILL_DIR\u002Fscripts\u002Fsetup.sh\n```\n\nThis will:\n1. Verify Python 3.10+ is available\n2. Install `mixpanel_headless`, `pandas`, `numpy`, `matplotlib`, `seaborn`, `networkx>=3.0`, `anytree>=2.8.0`, `scipy`, and `pyarrow>=17.0` on Python 3.11+ (tries uv, pip in order)\n3. Verify all packages import successfully (including pyarrow on 3.11+, networkx, anytree, and scipy)\n4. Check for configured Mixpanel credentials (single schema — Account → Project → Workspace)\n\n## Check Credentials\n\nAfter installation, check the active session:\n\n```bash\npython3 $SKILL_DIR\u002F..\u002Fmixpanelyst\u002Fscripts\u002Fauth_manager.py session\n```\n\nParse the JSON `state` field:\n- **`ok`** — credentials configured. Show `account.name` → project `project.id` and proceed to verification.\n- **`needs_account`** — no account configured. Read `next` for onboarding suggestions and follow \"If Credentials Are Missing\" below.\n- **`needs_project`** — account configured but no project pinned. Suggest `mp project list` then `mp project use \u003Cid>`.\n- **`error`** — show `error.message`. If `error.actionable` is true, the message names a concrete next command.\n\n## If Credentials Are Missing\n\nIf no credentials are configured, guide the user to one of these methods:\n\n### Recommended: `mp login`\n\nThe frictionless one-shot path. Tell the user to run:\n\n```bash\nmp login\n```\n\n`mp login` runs the right auth flow for the environment, derives the\naccount name from `\u002Fme`, and pins a default project. For laptops with a\nusable browser, this opens the PKCE flow; for environments with\n`MP_USERNAME` + `MP_SECRET` set, it skips the browser and uses the\nservice-account path; for `MP_OAUTH_TOKEN` set, it uses the static\nbearer.\n\nRegion behavior:\n- `service_account` and `oauth_token` paths probe `us → eu → in` when\n  `--region` is omitted.\n- `oauth_browser` (the bare-`mp login` default) defaults to `us`. EU and\n  India browser users must pass `--region eu` or `--region in`.\n\nUseful flags: `--name NAME`, `--region us|eu|in`, `--project ID`,\n`--service-account`, `--token-env VAR`, `--no-browser`, `--secret-stdin`.\n\n### Alternative: Guided Setup (explicit account add)\n\nUse the `mixpanel-auth` skill's account-add workflow for a\nstep-by-step walkthrough. The workflow never prompts for secrets in\nconversation — it instructs the user to run `mp account add ...`\nthemselves so the secret is read with hidden input. Use this path when\nthe user wants explicit control over the account name, region, and type\nat registration time.\n\n### Alternative: Service-Account Environment Variables (temporary)\n\nFor quick testing, set all four variables in the shell — the resolver\npicks them up directly without account registration:\n\n```bash\nexport MP_USERNAME=\"service-account-username\"\nexport MP_SECRET=\"service-account-secret\"\nexport MP_PROJECT_ID=\"12345\"\nexport MP_REGION=\"us\"  # or \"eu\", \"in\"\n```\n\n### Alternative: Raw OAuth Bearer Token (best for agents \u002F CI)\n\nIf the user has an OAuth 2.0 access token from another source, they can use\nit directly without the PKCE browser flow:\n\n```bash\nexport MP_OAUTH_TOKEN=\"\u003Cbearer-token>\"\nexport MP_PROJECT_ID=\"12345\"\nexport MP_REGION=\"us\"  # or \"eu\", \"in\"\n```\n\nThis is the recommended mode for non-interactive contexts. The full\nservice-account env-var set (`MP_USERNAME` + `MP_SECRET` + `MP_PROJECT_ID`\n+ `MP_REGION`) takes precedence when both sets are complete.\n\n## Remote Environment\n\nIf running inside a remote or sandboxed agent environment, credentials work differently:\n\n- **OAuth login and interactive account setup are NOT available** (no browser, no host terminal access)\n- Credentials must be configured on the **host machine** before starting the remote session\n\n### If No Credentials Found in the Remote Session\n\nTell the user:\n\n> No Mixpanel credentials found in this remote session.\n>\n> On your **host machine** (outside the remote session), run:\n> ```\n> mp account export-bridge --to ~\u002F.claude\u002Fmixpanel\u002Fauth.json\n> ```\n> This writes a v2 bridge file embedding your account record (and any\n> oauth_browser tokens) so the remote session can read your credentials\n> at startup.\n>\n> Then **start a new remote session** — credentials will be available automatically.\n\nDo NOT suggest the account-login or account-add interactive workflows — these won't work inside remote sessions without browser or terminal access.\n\n### If Bridge File Found But Token Expired\n\nThe library will auto-refresh the OAuth token via the on-disk refresh\ntoken (no browser needed). If refresh fails:\n\n> Your OAuth session has expired and could not be refreshed.\n> On your host machine, run:\n> ```\n> mp login --name personal             # re-authenticate (or `mp account login personal`)\n> mp account export-bridge --to ~\u002F.claude\u002Fmixpanel\u002Fauth.json\n> ```\n> Then start a new remote session.\n\n## Verify Everything Works\n\n```bash\npython3 $SKILL_DIR\u002F..\u002Fmixpanelyst\u002Fscripts\u002Fauth_manager.py account test\n```\n\nThe subcommand never raises — read `result.ok` to determine outcome.\n- `result.ok: true` → setup is complete; the user can ask analytics questions.\n- `result.ok: false` → suggest the `mixpanel-auth` account-test workflow for detailed diagnostics.\n\n## Post-Setup: Explore Your Data\n\nOnce authenticated, these slash commands help orient the user:\n\n- `mixpanel-auth` project-list workflow — discover all accessible projects via `\u002Fme`\n- `mixpanel-auth` session workflow — see active account \u002F project \u002F workspace\n- `mixpanel-auth` project-use workflow — switch to a different project\n- `mixpanel-auth` target-add workflow — save a named cursor position\n\nThe user can also construct a Workspace targeting a specific account \u002F project \u002F\nworkspace directly:\n\n```python\nimport mixpanel_headless as mp\n\nws = mp.Workspace()                                  # default session\nws = mp.Workspace(account=\"team\")                    # named account\nws = mp.Workspace(project=\"67890\")                   # explicit project (active account)\nws = mp.Workspace(account=\"team\", project=\"67890\")   # both axes\nws.use(project=\"98765\").events()                     # in-session switch (no re-auth)\n```\n\n_The mixpanelyst skill auto-triggers on analytics questions. For the analytical frameworks that guide investigations, see [analytical-frameworks.md](..\u002Fmixpanelyst\u002Freferences\u002Fanalytical-frameworks.md). For the complete Python API, see [python-api.md](..\u002Fmixpanelyst\u002Freferences\u002Fpython-api.md)._\n","# mixpanel-headless — Setup\n\nInstall dependencies and verify credentials for CodeMode analytics.\n\n## Run Setup\n\nBefore running bundled scripts, set `SKILL_DIR` to the absolute path of this\n`skills\u002Fsetup` directory.\n\n```bash\nbash $SKILL_DIR\u002Fscripts\u002Fsetup.sh\n```\n\nThis will:\n1. Verify Python 3.10+ is available\n2. Install `mixpanel_headless`, `pandas`, `numpy`, `matplotlib`, `seaborn`, `networkx>=3.0`, `anytree>=2.8.0`, `scipy`, and `pyarrow>=17.0` on Python 3.11+ (tries uv, pip in order)\n3. Verify all packages import successfully (including pyarrow on 3.11+, networkx, anytree, and scipy)\n4. Check for configured Mixpanel credentials (single schema — Account → Project → Workspace)\n\n## Check Credentials\n\nAfter installation, check the active session:\n\n```bash\npython3 $SKILL_DIR\u002F..\u002Fmixpanelyst\u002Fscripts\u002Fauth_manager.py session\n```\n\nParse the JSON `state` field:\n- **`ok`** — credentials configured. Show `account.name` → project `project.id` and proceed to verification.\n- **`needs_account`** — no account configured. Read `next` for onboarding suggestions and follow \"If Credentials Are Missing\" below.\n- **`needs_project`** — account configured but no project pinned. Suggest `mp project list` then `mp project use \u003Cid>`.\n- **`error`** — show `error.message`. If `error.actionable` is true, the message names a concrete next command.\n\n## If Credentials Are Missing\n\nIf no credentials are configured, guide the user to one of these methods:\n\n### Recommended: `mp login`\n\nThe frictionless one-shot path. Tell the user to run:\n\n```bash\nmp login\n```\n\n`mp login` runs the right auth flow for the environment, derives the\naccount name from `\u002Fme`, and pins a default project. For laptops with a\nusable browser, this opens the PKCE flow; for environments with\n`MP_USERNAME` + `MP_SECRET` set, it skips the browser and uses the\nservice-account path; for `MP_OAUTH_TOKEN` set, it uses the static\nbearer.\n\nRegion behavior:\n- `service_account` and `oauth_token` paths probe `us → eu → in` when\n  `--region` is omitted.\n- `oauth_browser` (the bare-`mp login` default) defaults to `us`. EU and\n  India browser users must pass `--region eu` or `--region in`.\n\nUseful flags: `--name NAME`, `--region us|eu|in`, `--project ID`,\n`--service-account`, `--token-env VAR`, `--no-browser`, `--secret-stdin`.\n\n### Alternative: Guided Setup (explicit account add)\n\nUse the `mixpanel-auth` skill's account-add workflow for a\nstep-by-step walkthrough. The workflow never prompts for secrets in\nconversation — it instructs the user to run `mp account add ...`\nthemselves so the secret is read with hidden input. Use this path when\nthe user wants explicit control over the account name, region, and type\nat registration time.\n\n### Alternative: Service-Account Environment Variables (temporary)\n\nFor quick testing, set all four variables in the shell — the resolver\npicks them up directly without account registration:\n\n```bash\nexport MP_USERNAME=\"service-account-username\"\nexport MP_SECRET=\"service-account-secret\"\nexport MP_PROJECT_ID=\"12345\"\nexport MP_REGION=\"us\"  # or \"eu\", \"in\"\n```\n\n### Alternative: Raw OAuth Bearer Token (best for agents \u002F CI)\n\nIf the user has an OAuth 2.0 access token from another source, they can use\nit directly without the PKCE browser flow:\n\n```bash\nexport MP_OAUTH_TOKEN=\"\u003Cbearer-token>\"\nexport MP_PROJECT_ID=\"12345\"\nexport MP_REGION=\"us\"  # or \"eu\", \"in\"\n```\n\nThis is the recommended mode for non-interactive contexts. The full\nservice-account env-var set (`MP_USERNAME` + `MP_SECRET` + `MP_PROJECT_ID`\n+ `MP_REGION`) takes precedence when both sets are complete.\n\n## Remote Environment\n\nIf running inside a remote or sandboxed agent environment, credentials work differently:\n\n- **OAuth login and interactive account setup are NOT available** (no browser, no host terminal access)\n- Credentials must be configured on the **host machine** before starting the remote session\n\n### If No Credentials Found in the Remote Session\n\nTell the user:\n\n> No Mixpanel credentials found in this remote session.\n>\n> On your **host machine** (outside the remote session), run:\n> ```\n> mp account export-bridge --to ~\u002F.claude\u002Fmixpanel\u002Fauth.json\n> ```\n> This writes a v2 bridge file embedding your account record (and any\n> oauth_browser tokens) so the remote session can read your credentials\n> at startup.\n>\n> Then **start a new remote session** — credentials will be available automatically.\n\nDo NOT suggest the account-login or account-add interactive workflows — these won't work inside remote sessions without browser or terminal access.\n\n### If Bridge File Found But Token Expired\n\nThe library will auto-refresh the OAuth token via the on-disk refresh\ntoken (no browser needed). If refresh fails:\n\n> Your OAuth session has expired and could not be refreshed.\n> On your host machine, run:\n> ```\n> mp login --name personal             # re-authenticate (or `mp account login personal`)\n> mp account export-bridge --to ~\u002F.claude\u002Fmixpanel\u002Fauth.json\n> ```\n> Then start a new remote session.\n\n## Verify Everything Works\n\n```bash\npython3 $SKILL_DIR\u002F..\u002Fmixpanelyst\u002Fscripts\u002Fauth_manager.py account test\n```\n\nThe subcommand never raises — read `result.ok` to determine outcome.\n- `result.ok: true` → setup is complete; the user can ask analytics questions.\n- `result.ok: false` → suggest the `mixpanel-auth` account-test workflow for detailed diagnostics.\n\n## Post-Setup: Explore Your Data\n\nOnce authenticated, these slash commands help orient the user:\n\n- `mixpanel-auth` project-list workflow — discover all accessible projects via `\u002Fme`\n- `mixpanel-auth` session workflow — see active account \u002F project \u002F workspace\n- `mixpanel-auth` project-use workflow — switch to a different project\n- `mixpanel-auth` target-add workflow — save a named cursor position\n\nThe user can also construct a Workspace targeting a specific account \u002F project \u002F\nworkspace directly:\n\n```python\nimport mixpanel_headless as mp\n\nws = mp.Workspace()                                  # default session\nws = mp.Workspace(account=\"team\")                    # named account\nws = mp.Workspace(project=\"67890\")                   # explicit project (active account)\nws = mp.Workspace(account=\"team\", project=\"67890\")   # both axes\nws.use(project=\"98765\").events()                     # in-session switch (no re-auth)\n```\n\n_The mixpanelyst skill auto-triggers on analytics questions. For the analytical frameworks that guide investigations, see [analytical-frameworks.md](..\u002Fmixpanelyst\u002Freferences\u002Fanalytical-frameworks.md). For the complete Python API, see [python-api.md](..\u002Fmixpanelyst\u002Freferences\u002Fpython-api.md)._\n",{"name":5,"description":7,"allowed-tools":24,"disable-model-invocation":20},"Bash","main","d9535210da9af28aa76bca80de80355197e1b6d6","skills\u002Fsetup","https:\u002F\u002Fgithub.com\u002Fzfifteen\u002Fskills-catalog","https:\u002F\u002Fgithub.com\u002Fzfifteen","I like to measure things.","2026-07-19 23:41:54",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add zfifteen\u002Fskills-catalog --skill mixpanel-headless-setup",{"tool":38,"command":39},"bunx","bunx skills add zfifteen\u002Fskills-catalog --skill mixpanel-headless-setup",{"tool":41,"command":42},"pnpm","pnpm dlx skills add zfifteen\u002Fskills-catalog --skill mixpanel-headless-setup","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fzfifteen\u002Fskills-catalog\u002Fblob\u002Fmain\u002Fskills\u002Fsetup\u002FSKILL.md",true,[46],{"path":47,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":50,"sourceHtmlUrl":51},"scripts\u002Fsetup.sh","SCRIPT","脚本",6101,"https:\u002F\u002Fgithub.com\u002Fzfifteen\u002Fskills-catalog\u002Fblob\u002Fmain\u002Fskills\u002Fsetup\u002Fscripts\u002Fsetup.sh",[53,60,67,74,83,90],{"skillNo":54,"name":55,"nameZh":6,"description":56,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":57,"categories":58,"keywords":59,"publishedAt":19},"01M79GXQ2PWPT2E4CJYHXVJ0YE","Zotero","Use Zotero Desktop from Codex to enable\u002Fprobe the local API, search a local Zotero library, list items\u002Fcollections\u002Ftags, export BibTeX, insert citation keys into LaTeX or Markdown drafts, read indexed full text when requested, and import BibTeX\u002FRIS records into Zotero through the connector server. Use when the user mentions Zotero, citations, references.bib, BibTeX export, local Zotero API, localhost:23119, or adding citations from a Zotero library.","https:\u002F\u002Fgithub.com\u002Fzfifteen\u002Fskills-catalog\u002Fblob\u002Fmain\u002Fskills\u002Fzotero\u002FSKILL.md",[],[],{"skillNo":61,"name":62,"nameZh":6,"description":63,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":66,"publishedAt":19},"01M79GXN85NETKBE06865CWK6Z","zoom-apps-sdk","Use when using Apps SDK.","https:\u002F\u002Fgithub.com\u002Fzfifteen\u002Fskills-catalog\u002Fblob\u002Fmain\u002Fskills\u002Fzoom-apps-sdk\u002FSKILL.md",[],[],{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":19},"01M79GXCYD7FGYS932J9N9RFFY","youtube","Obtain accurate, timestamped YouTube video transcripts (preferring manual captions over auto-generated) as the primary deliverable, then derive summaries, key claims, or notes from that transcript.  Use when the user provides a YouTube URL (or video ID) and wants the transcript, a faithful summary, key claims with attribution, timestamped notes, or \"what does this video actually say\".  The skill is transcript-first: never substitute metadata, title, description, or search snippets for the spoken content.  Triggers: \"youtube transcript\", \"get the transcript of this video\", \"summarize this youtube video\", \"what did they say in https:\u002F\u002Fyoutube.com\u002F...\", \"key claims from this talk\".","https:\u002F\u002Fgithub.com\u002Fzfifteen\u002Fskills-catalog\u002Fblob\u002Fmain\u002Fskills\u002Fyoutube\u002FSKILL.md",[],[],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":78,"licenseFileUrl":79,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":19},"01M79GX8EXHHYM566BKR7MS778","yeet","Publish local changes to GitHub by confirming scope, committing intentionally, pushing the branch, and opening a draft PR through the GitHub app from this plugin, with `gh` used only as a fallback where connector coverage is insufficient.","Apache-2.0","https:\u002F\u002Fgithub.com\u002Fzfifteen\u002Fskills-catalog\u002Fblob\u002Fmain\u002Fskills\u002Fyeet\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fzfifteen\u002Fskills-catalog\u002Fblob\u002Fmain\u002Fskills\u002Fyeet\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":19},"01M79GX2HFJPX84NMRE5VBTYX9","x-post-creator","Create X-ready post threads and co-located story packages from the active conversation or referenced project material. Use when the user says turn this into an X-post, \u002Fx-post, make this into an X thread, or wants plain-language social posts with supporting images saved to docs\u002Fx-posts\u002F[story-name]\u002F.","https:\u002F\u002Fgithub.com\u002Fzfifteen\u002Fskills-catalog\u002Fblob\u002Fmain\u002Fskills\u002Fx-post-creator\u002FSKILL.md",[],[],{"skillNo":91,"name":92,"nameZh":6,"description":93,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":19},"01M79GWXQT4HBT6QME6QSBZJFA","x-api","Search, read, and write X posts through the local X API MCP server (the same backend used by the Codex x-api skill). Use for searching X\u002Fx.com, reading threads and replies, creating lists, staging\u002Fpublishing posts for @alltheputs, finding high-visibility reply targets for research outreach, ingesting public context, or any request that mentions \u002Fx-api or \"search X\".","https:\u002F\u002Fgithub.com\u002Fzfifteen\u002Fskills-catalog\u002Fblob\u002Fmain\u002Fskills\u002Fx-api\u002FSKILL.md",[],[]]