
Debug replay
Turns bug reports into numbered repro steps from Amplitude Session Replay data
Debug replay is an open-source agent skill for developer tools. It is available on Claude Code.
- Scripts
- None
- Platforms
- Claude Code
- GitHub stars
- 50
- Last commit
- License
- MIT
- Listing updated
Similar skills
About Debug replay
Debug Replay is an instruction set for investigating software bugs with Amplitude's Session Replay tools. The agent searches for sessions that logged an error, pulls the interaction timeline for each one (page navigations, clicks, inputs, scrolls), and compares those timelines to find the action sequence that tends to come before the failure.
The workflow confirms the error event exists in the project, optionally looks up a specific user, and checks recent deployments when an error spike needs context. The output is an engineering-style report with a bug summary, environment details, copy-ready reproduction steps, expected and actual behavior, replay links, and a confidence level based on how many sessions show the same path.
The skill depends on the Amplitude MCP tools for session replay, cohorts, taxonomy lookup and feature flag deployments. It has no bundled scripts and no tool restrictions are declared. Because DOM node IDs cannot be mapped to element names, interactions are described by position and sequence instead.
When your agent uses it
Turns bug reports into reproducible steps by finding error sessions in Amplitude Session Replay, extracting interaction timelines, and identifying the common action sequence that precedes the failure. Use when a user reports a bug, an error event spikes, someone says "how do I reproduce this", "what happened to user X", "repro steps", or you need to understand what a user did before an error occurred.
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
From a static check of its 1 file (10 KB) on GitHub on 4 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
This skill ships in the amplitude plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):
/plugin marketplace add amplitude/mcp-marketplace
/plugin install amplitude@amplitudeOr copy only this skill to ~/.claude/skills/debug-replay:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/amplitude/mcp-marketplace.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/debug-replay &&
cp -R "$tmp/plugins/amplitude/skills/debug-replay" ~/.claude/skills/debug-replay &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/debug-replay inside it instead.
Copy the skill folder to ~/.agents/skills/debug-replay to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/amplitude/mcp-marketplace.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/debug-replay &&
cp -R "$tmp/plugins/amplitude/skills/debug-replay" ~/.agents/skills/debug-replay &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/debug-replay inside it instead.
Copy the skill folder to ~/.cursor/skills/debug-replay to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/amplitude/mcp-marketplace.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/debug-replay &&
cp -R "$tmp/plugins/amplitude/skills/debug-replay" ~/.cursor/skills/debug-replay &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/debug-replay inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/amplitude/mcp-marketplace.git --path plugins/amplitude/skills/debug-replayOr copy the folder to ~/.gemini/skills/debug-replay yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/debug-replay:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/amplitude/mcp-marketplace.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/debug-replay &&
cp -R "$tmp/plugins/amplitude/skills/debug-replay" ~/.copilot/skills/debug-replay &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/debug-replay inside it instead.
Get the folder:
git clone --depth 1 https://github.com/amplitude/mcp-marketplace.gitThen copy mcp-marketplace/plugins/amplitude/skills/debug-replay into your agent's skills folder as debug-replay. Agents that support SKILL.md read one folder per skill.
What it does
- Error session search
- Finds replay sessions where a chosen error event or error message appears, filtered by user or time window.
- Interaction timeline extraction
- Decodes replays into navigations, clicks, inputs and scrolls for each matched session.
- Common path analysis
- Compares several timelines to isolate the shared action sequence leading up to a failure.
- Deployment correlation
- Checks recent deployments to see whether an error spike lines up with a release.
- Structured repro report
- Produces numbered steps, expected versus actual behavior, and replay links with a confidence rating.
Good for
- Turn a customer's bug report into step-by-step reproduction instructions
- Find out what a specific user did before a JavaScript error occurred
- Investigate a spike in TypeError events and identify the triggering flow
- Check whether a recent deployment lines up with a new error pattern
- Pull replay evidence for a bug ticket
Debug replay FAQ
What do I need to use Debug replay?
It relies on the Amplitude MCP tools for session replay, cohort lookup, taxonomy reading and deployment listing, plus a connected Amplitude project.
When does Debug replay trigger?
The description says it applies when a user reports a bug, an error event spikes, someone asks for repro steps, or the agent needs to know what a user did before an error.
Does Debug replay change anything in my project?
The skill describes read-only lookups of sessions, events, users and deployments. It does not describe writing data.
Can Debug replay name the exact button a user clicked?
No. Replay events return DOM node IDs, so the skill describes interactions by screen position, page and sequence.
How do I install Debug replay in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/debug-replay to use it in all your projects, or to .claude/skills/debug-replay in one project. Or install the amplitude plugin, which includes it: /plugin marketplace add amplitude/mcp-marketplace, then /plugin install amplitude@amplitude.
Does Debug replay 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 Debug replay?
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 Debug replay?
The closest alternatives to Debug replay are Investigate AI session, Diagnosing bugs, Debugging and error recovery, Debug issue and Debug.
Where this comes from
- Description: from the skill's own SKILL.md.
More from amplitude/mcp-marketplace

Breaks down an Amplitude chart to explain a spike, drop or unusual trend
- Open source
- 50 GitHub stars
- Analytics and data

Triages product errors across network failures, JS errors and error clicks
- Open source
- 50 GitHub stars
- Analytics and data

Scans Amplitude experiments, triages them by importance and reports on the key ones
- Open source
- 50 GitHub stars
- Analytics and data

Copies tracking-plan events between Amplitude projects via CSV import and branch review
- Open source
- 50 GitHub stars
- Analytics and data

Orchestrates batched audits of missing Amplitude event descriptions via worker subagents
- Open source
- 50 GitHub stars
- Analytics and data

Onboards you to Amplitude's Grok bot: connects MCP servers, checks project access, picks
- Open source
- 50 GitHub stars
- Analytics and data




