# Discover event surfaces

> Discover event surfaces is an open-source agent skill for analytics and data. Turns a change brief into a ranked list of analytics events to instrument. It is available on Claude Code.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code
- **Website:** https://github.com/amplitude/mcp-marketplace/tree/main/plugins/amplitude/skills/discover-event-surfaces
- **Repository:** https://github.com/amplitude/mcp-marketplace
- **GitHub stars:** 50
- **License:** MIT
- **Skill name:** discover-event-surfaces
- **Collection:** https://github.com/amplitude/mcp-marketplace
- **Categories:** [analytics and data](https://ai-powered.com/categories/analytics-and-data)
- **Listing updated:** 2026-12-03

## About

This skill is the second step of an analytics instrumentation workflow. It takes a change brief YAML produced by a preceding diff-intake step and drafts an broad set of candidate analytics events for a code change. It asks the agent to read the affected components and follow their imports to trace the user journey, then map that journey into funnels with start, intermediate and end points.

Candidates are checked against the project's existing event taxonomy pulled from a connected Amplitude catalog, so duplicates and semantic overlaps are dropped and recorded. Each remaining event is filtered for decision value, outcome focus and stability across redesigns, then given a priority, an analysis recipe, a stakeholder-ready sentence and a concrete instrumentation point in a source file.

The skill expects a change brief YAML as input, access to an Amplitude project through MCP tools, and a codebase to read. It also relies on sibling skills for naming conventions and taxonomy guidance.

## When your agent uses it

> Given a change_brief YAML (output from diff-intake), generates an exhaustive list of candidate analytics events to instrument. Takes the perspective of an engineer with a PM mindset — surfaces everything worth considering so a PM can decide what actually matters. Use this as step 2 of the analytics instrumentation workflow, immediately after diff-intake produces a change_brief. Trigger whenever a user has a change_brief YAML and wants to know what analytics events to add, or asks "what should I track for this PR", "what events should I instrument", "generate event candidates", or any request to surface analytics coverage gaps for a code change.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/amplitude/mcp-marketplace/tree/HEAD/plugins/amplitude/skills/discover-event-surfaces)
- [License: MIT](https://github.com/amplitude/mcp-marketplace/tree/HEAD/plugins/amplitude/skills/discover-event-surfaces)

## Features

- **Journey tracing:** Reads the affected components and their references to map entry points, interactions, async boundaries and terminal states.
- **Funnel hypothesis:** Builds ordered funnels with start, intermediate and end steps tied to specific handlers.
- **Duplicate detection:** Compares candidates with existing events in the project taxonomy and drops overlapping ones.
- **Quality filtering:** Keeps only events that are decision-useful, outcome-focused and stable across UI redesigns.
- **Priority scoring:** Ranks events from critical to optional, keeping funnel bookends as critical.
- **Instrumentation guidance:** Names the source file and handler where each tracking call should be placed.

## Good for

- Generate analytics events for a pull request that adds a new feature
- Find analytics coverage gaps in a code change
- Decide which funnel steps to instrument in a multi-step onboarding flow
- Check whether a proposed event already exists in the project taxonomy

## Install

### Claude Code

This skill ships in the `amplitude` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add amplitude/mcp-marketplace
/plugin install amplitude@amplitude
```

Or copy only this skill to `~/.claude/skills/discover-event-surfaces`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/amplitude/mcp-marketplace.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/discover-event-surfaces &&
cp -R "$tmp/plugins/amplitude/skills/discover-event-surfaces" ~/.claude/skills/discover-event-surfaces &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/discover-event-surfaces` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/discover-event-surfaces` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/amplitude/mcp-marketplace.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/discover-event-surfaces &&
cp -R "$tmp/plugins/amplitude/skills/discover-event-surfaces" ~/.agents/skills/discover-event-surfaces &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/discover-event-surfaces` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/discover-event-surfaces` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/amplitude/mcp-marketplace.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/discover-event-surfaces &&
cp -R "$tmp/plugins/amplitude/skills/discover-event-surfaces" ~/.cursor/skills/discover-event-surfaces &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/discover-event-surfaces` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/amplitude/mcp-marketplace.git --path plugins/amplitude/skills/discover-event-surfaces
```

Or copy the folder to `~/.gemini/skills/discover-event-surfaces` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/discover-event-surfaces`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/amplitude/mcp-marketplace.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/discover-event-surfaces &&
cp -R "$tmp/plugins/amplitude/skills/discover-event-surfaces" ~/.copilot/skills/discover-event-surfaces &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/discover-event-surfaces` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/amplitude/mcp-marketplace.git
```

Then copy `mcp-marketplace/plugins/amplitude/skills/discover-event-surfaces` into your agent's skills folder as `discover-event-surfaces`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What does Discover event surfaces need to run?

It needs a change_brief YAML from the preceding diff-intake step, access to an Amplitude project through the connected catalog, and the codebase to read.

### When does Discover event surfaces trigger?

When a user has a change_brief YAML and asks what analytics events to add, what to track for a PR, or to generate event candidates.

### Does Discover event surfaces modify code or create events?

The skill's output is a YAML list of candidate events with instrumentation notes. The description does not say it edits code or creates events in Amplitude.

### How do I install Discover event surfaces in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/discover-event-surfaces to use it in all your projects, or to .claude/skills/discover-event-surfaces in one project. Or install the amplitude plugin, which includes it: /plugin marketplace add amplitude/mcp-marketplace, then /plugin install amplitude@amplitude.

### Does Discover event surfaces run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Discover event surfaces?

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

### What are the best alternatives to Discover event surfaces?

The closest alternatives to Discover event surfaces are Add analytics instrumentation, Instrument events, Taxonomy, Live data forensics and Product tracking edho ferdian.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Add analytics instrumentation](https://ai-powered.com/skills/add-analytics-instrumentation): Add analytics instrumentation is an open-source agent skill for analytics and data.
- [Instrument events](https://ai-powered.com/skills/instrument-events): Instrument events is an open-source agent skill for analytics and data.
- [Taxonomy](https://ai-powered.com/skills/taxonomy): Taxonomy is an open-source agent skill for analytics and data.
- [Live data forensics](https://ai-powered.com/skills/live-data-forensics): Live data forensics is an open-source agent skill for analytics and data.
- [Product tracking edho ferdian](https://ai-powered.com/skills/product-tracking-edho-ferdian): Product tracking edho ferdian is an open-source agent skill for analytics and data.
- [Discover analytics patterns](https://ai-powered.com/skills/discover-analytics-patterns): Discover analytics patterns is an open-source agent skill for analytics and data.
- [Daily brief](https://ai-powered.com/skills/daily-brief): Daily brief is an open-source agent skill for analytics and data.
- [Create chart](https://ai-powered.com/skills/create-chart): Create chart is an open-source agent skill for analytics and data.

---
Source: https://ai-powered.com/skills/discover-event-surfaces
