# exploring-mcp-tool-original-user-motive

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.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Windsurf (Devin Desktop), Claude.ai · 148 installs · ★ 101 repo stars
- Author: PostHog
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/PostHog/ai-plugin/tree/HEAD/skills/exploring-mcp-tool-original-user-motive/SKILL.md
- Updated: 2026-10-24
- Security check: automated, 2026-11-17 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/exploring-mcp-tool-original-user-motive

## What it 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.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add PostHog/ai-plugin --skill exploring-mcp-tool-original-user-motive -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/exploring-mcp-tool-original-user-motive/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/exploring-mcp-tool-original-user-motive/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add PostHog/ai-plugin --skill exploring-mcp-tool-original-user-motive -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/exploring-mcp-tool-original-user-motive/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add PostHog/ai-plugin --skill exploring-mcp-tool-original-user-motive -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/exploring-mcp-tool-original-user-motive/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install PostHog/ai-plugin skills/exploring-mcp-tool-original-user-motive
```

2. **Manually: put the files in place**
- File: `.github/skills/exploring-mcp-tool-original-user-motive/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add PostHog/ai-plugin --skill exploring-mcp-tool-original-user-motive -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/PostHog/ai-plugin --path skills/exploring-mcp-tool-original-user-motive
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/exploring-mcp-tool-original-user-motive/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add PostHog/ai-plugin --skill exploring-mcp-tool-original-user-motive -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/PostHog/ai-plugin/tree/HEAD/skills/exploring-mcp-tool-original-user-motive/SKILL.md

## When to use it
- 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
- Find out why users start sessions with the `workflow` MCP tool and publish the categories in a PostHog notebook.
- Group sessions that call the `search` MCP tool by their starting goal, and show each category's size and share.
- Build a taxonomy of starting goals for the `analytics` MCP tool over the last 90 days.

## Similar
- [find-the-original-image](https://affpapa.org/en/nevibecode/skills/find-the-original-image.md) — skill · 56600 installs
- [data-and-original-research](https://affpapa.org/en/nevibecode/skills/data-and-original-research.md) — skill · 1200 installs
- [Original Pictures](https://affpapa.org/en/nevibecode/mcp/original-pictures.md) — MCP server
- [exploring-data-catalog](https://affpapa.org/en/nevibecode/skills/exploring-data-catalog.md) — skill · 7500 installs
- [gitnexus-exploring](https://affpapa.org/en/nevibecode/skills/gitnexus-exploring.md) — skill · 1900 installs
- [parallel-exploring](https://affpapa.org/en/nevibecode/skills/parallel-exploring.md) — skill · 511 installs

From the same set: [posthog/ai-plugin](https://affpapa.org/en/nevibecode/by/posthog/ai-plugin.md) — 82 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
