What problem does it solve?
MCP telemetry records the action an agent took per call ($mcp_intent), but never the goal the user started with, so there is no way to answer "why do people use this tool?" from raw events. This Skill reconstructs each session's starting intention from its opening tool calls, clusters those goals into a named taxonomy, and publishes the result as a shareable PostHog notebook.
Core Features & Use Cases
- Corpus construction with skew control: HogQL queries build a per-session corpus of opening tool calls with caller and org attribution, filtering out setup wizards, staff traffic, and other automated programs that would otherwise dominate the taxonomy.
- Facet extraction and canonicalization: Bundled scripts extract per-session facets with gpt-4.1-mini, collapse freely-worded labels onto a shared vocabulary via embeddings, and audit near-duplicate intentions by cosine similarity.
- Notebook publication recipe: Step-by-step guidance assembles a multi-cell PostHog notebook (SQL corpus, Python facet frames, per-org joins, concentration checks) with privacy safeguards that keep raw customer intent text out of shareable cells.
- Use Case: An analyst asks "what are users actually trying to do with workflows-create?" The Skill pulls 90 days of sessions, labels each session's starting goal, clusters them into themes like maintenance and recurring reporting, and publishes a notebook showing that a fifth of a create tool's usage is actually debugging and repair.
Quick Start
Ask the agent to build a starting-point taxonomy for a specific MCP tool, for example: "Analyze why people use the workflows-create MCP tool over the last 90 days and publish the goal taxonomy as a PostHog notebook."