exploring-mcp-tool-original-user-motive — Claude Code skill
The exploring-mcp-tool-original-user-motive Claude Code skill builds a taxonomy of the goals users had before reaching an MCP tool. It groups session openings and publishes the categories in a PostHog notebook.
no license 148 installs ★ 101 updated 2026-10-24
npx skills add PostHog/ai-plugin --skill exploring-mcp-tool-original-user-motive -a claude-codeWhat exploring-mcp-tool-original-user-motive does
The skill infers why a user started an MCP session from its opening tool calls. It groups similar goals into categories, with counts, shares, and facet breakdowns, then publishes the results as a PostHog notebook.
The agent labels goals by reading sessions in sequence. scripts/extract_facets.py handles mechanical facets, but can reduce a goal to a description of the actions taken. The skill is intended for PostHog staff reviewing their own telemetry; customer-agent access or unattended runs require a real control.
What it helps with
- identify the goal behind sessions that reach an MCP tool
- group session-start goals into named categories
- publish an MCP usage taxonomy in a PostHog notebook
Example prompts for the agent
- Find out why users start sessions with the
workflowMCP tool and publish the categories in a PostHog notebook. - Group sessions that call the
searchMCP tool by their starting goal, and show each category's size and share. - Build a taxonomy of starting goals for the
analyticsMCP tool over the last 90 days.
How to install exploring-mcp-tool-original-user-motive
1Skills CLI (Vercel)
npx skills add PostHog/ai-plugin --skill exploring-mcp-tool-original-user-motive -a claude-code2Manually: put the files in place
~/.claude/skills/exploring-mcp-tool-original-user-motive/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/exploring-mcp-tool-original-user-motive/
1Skills CLI (Vercel)
npx skills add PostHog/ai-plugin --skill exploring-mcp-tool-original-user-motive -a codex2Manually: put the files in place
.agents/skills/exploring-mcp-tool-original-user-motive/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add PostHog/ai-plugin --skill exploring-mcp-tool-original-user-motive -a cursor2Manually: put the files in place
.cursor/skills/exploring-mcp-tool-original-user-motive/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install PostHog/ai-plugin skills/exploring-mcp-tool-original-user-motive2Manually: put the files in place
.github/skills/exploring-mcp-tool-original-user-motive/SKILL.md1Skills CLI (Vercel)
npx skills add PostHog/ai-plugin --skill exploring-mcp-tool-original-user-motive -a gemini-cli2Platform CLI
gemini skills install https://github.com/PostHog/ai-plugin --path skills/exploring-mcp-tool-original-user-motiveManually: put the files in place
.devin/skills/exploring-mcp-tool-original-user-motive/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add PostHog/ai-plugin --skill exploring-mcp-tool-original-user-motive -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about exploring-mcp-tool-original-user-motive
How do I install exploring-mcp-tool-original-user-motive in Claude Code?
Run npx skills add PostHog/ai-plugin --skill exploring-mcp-tool-original-user-motive -a claude-code. The skill file is at ~/.claude/skills/exploring-mcp-tool-original-user-motive/SKILL.md.
What does exploring-mcp-tool-original-user-motive do?
It infers the goal behind each session from its opening MCP calls, groups those goals, and publishes the taxonomy in a PostHog notebook.
What does exploring-mcp-tool-original-user-motive require?
It queries MCP telemetry in PostHog and is intended for PostHog staff to run with human oversight. It is not intended for customer agents or unattended runs.