Skip to content
Skill

Interactive debugging

Guides the agent through a hypothesis-driven runtime debugging loop with temporary probes

Interactive debugging is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
JavaScript, Python
Platforms
Claude Code, Codex, Cursor
GitHub stars
21
Last commit
License
MIT
Listing updated

Similar skills

About Interactive debugging

This skill walks the agent through a debug cycle: form hypotheses, add a thin local HTTP logging server, insert temporary probes wrapped in DEBUG region markers, ask the user to reproduce the problem, then read the captured log to confirm or reject each hypothesis. Once a fix is verified, the agent is directed to remove all probes, stop the server and delete the debug files.

Bundled JavaScript and Python servers accept POST requests on a default localhost port and append each request body with a timestamp to a log file inside a .debug folder in the project. The skill also includes dependency-free probe snippets for other languages and guidance on choosing event names, correlation IDs and compact values while avoiding secrets or private data.

It expects Node.js or Python to run the included server, a project the agent can edit, and a user willing to reproduce the issue on demand.

When your agent uses it

Use this skill when debugging runtime behavior requires live data from the running app, temporary instrumentation, or hypothesis verification through logs. Trigger for async timeouts, stale or incorrect state updates, race conditions, event ordering bugs, intermittent failures, browser/client behavior that static inspection cannot explain, or any issue where the agent should create a local debug HTTP server, insert temporary probes, ask the user to reproduce, inspect .debug/debug.log, then remove all debug instrumentation and assets.

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 6 files (19 KB) on GitHub on 1 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 dd-skills plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add denysdovhan/skills
/plugin install dd-skills@dd-skills

Or copy only this skill to ~/.claude/skills/interactive-debugging:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/denysdovhan/skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/interactive-debugging &&
cp -R "$tmp/skills/interactive-debugging" ~/.claude/skills/interactive-debugging &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/interactive-debugging inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/interactive-debugging to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/denysdovhan/skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/interactive-debugging &&
cp -R "$tmp/skills/interactive-debugging" ~/.agents/skills/interactive-debugging &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/interactive-debugging inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/interactive-debugging to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/denysdovhan/skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/interactive-debugging &&
cp -R "$tmp/skills/interactive-debugging" ~/.cursor/skills/interactive-debugging &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/interactive-debugging inside it instead.

Cursor docs on skills

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

gemini skills install https://github.com/denysdovhan/skills.git --path skills/interactive-debugging

Or copy the folder to ~/.gemini/skills/interactive-debugging yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/interactive-debugging:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/denysdovhan/skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/interactive-debugging &&
cp -R "$tmp/skills/interactive-debugging" ~/.copilot/skills/interactive-debugging &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/interactive-debugging inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/denysdovhan/skills.git

Then copy skills/skills/interactive-debugging into your agent's skills folder as interactive-debugging. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Hypothesis-driven debug loop
Walks through stating hypotheses, instrumenting, reproducing, reading logs and verifying a fix.
Local debug log server
Provides thin JavaScript and Python servers that append posted probe data to a log file.
Region-marked temporary probes
Shows how to wrap instrumentation in DEBUG region markers for several languages.
Safe probe data guidance
Explains which event names, IDs and values to log and which sensitive data to exclude.
Full cleanup procedure
Removes probes, stops the server and deletes debug assets, with a search to verify removal.
Log reading checklist
Offers patterns for interpreting missing events, ordering, duplicates and swallowed errors.

Good for

  • Track down a race condition causing stale state in a web app
  • Find out why an async request intermittently times out
  • Trace event ordering in browser client code that static reading cannot explain
  • Add temporary logging to verify a hypothesis, then remove it cleanly

Interactive debugging FAQ

What does the skill need to run?

The bundled servers are JavaScript (Node.js) and Python, so one of those runtimes is needed for the included servers. For other languages the agent creates an equivalent minimal server.

Does Interactive debugging leave debug code in my project?

No. The workflow ends with removing every DEBUG region, stopping the server and deleting the .debug files, then verifying with a search.

When does the skill trigger?

It is meant for runtime issues such as async timeouts, stale state, race conditions, intermittent failures and client behavior that static inspection cannot explain.

How do I install Interactive debugging in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/interactive-debugging to use it in all your projects, or to .claude/skills/interactive-debugging in one project. Or install the dd-skills plugin, which includes it: /plugin marketplace add denysdovhan/skills, then /plugin install dd-skills@dd-skills.

Does Interactive debugging run scripts?

Yes. It runs JavaScript and Python scripts. No network calls were found in its 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 Interactive debugging?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

What are the best alternatives to Interactive debugging?

The closest alternatives to Interactive debugging are Diagnosing bugs, Diagnostic reasoning, Probe debugging, Agent introspection debugging and Debug.

Where this comes from

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

More from denysdovhan/skills

  1. Keeps a shared decision journal in .agents/log so agents remember why choices were made

    • Open source
    • 21 GitHub stars
    • Knowledge and memory
  2. Guides an agent to make focused git commits with repo-matched messages

    • Open source
    • 21 GitHub stars
    • Developer tools
  3. Applies readability rules to code you write, review or refactor in any language

    • Open source
    • 21 GitHub stars
    • Developer tools