interactive-debugging

interactive-debugging is a skill for Codex from denysdovhan/agents. It costs 97 tokens per session (1,323 once invoked), scanned B, original, MIT.

A workflow for debugging problems that only become clear while an application is running. It uses temporary instrumentation, reproduction, logs, and verification to investigate timing, state, browser, and event-order issues.

In plain words
What is it for?
Use it to investigate intermittent failures, async timeouts, incorrect state, client behavior, or event-order bugs by collecting runtime data and then removing the temporary debugging setup.
Why use it?
Static code inspection may not reveal what happened during a timeout, race condition, or stale update. Runtime evidence helps confirm the cause before changing the code.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Use it to investigate intermittent failures, async timeouts, incorrect state, client behavior, or event-order bugs by collecting runtime data and then removing the temporary debugging setup.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/denysdovhan/agents/interactive-debugging
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add denysdovhan/agents --skill interactive-debugging
Clone the repo
git clone --depth 1 https://github.com/denysdovhan/agents

Made for: Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for interactive-debugging

README.md
[![agentmods](https://agentmods.dev/badge/skills/denysdovhan/agents/interactive-debugging/github.svg)](https://agentmods.dev/skills/denysdovhan/agents/interactive-debugging)
Your own site
<a href="https://agentmods.dev/skills/denysdovhan/agents/interactive-debugging"><img src="https://agentmods.dev/badge/skills/denysdovhan/agents/interactive-debugging/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for interactive-debugging

Your own site · 80×15
<a href="https://agentmods.dev/skills/denysdovhan/agents/interactive-debugging"><img src="https://agentmods.dev/badge/skills/denysdovhan/agents/interactive-debugging.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 97 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,323 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 2 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00097 $0.01323
Opus 5.5 $0.00039 $0.00529
Sonnet 5.5 $0.00019 $0.00265
Haiku 4.5 $0.00010 $0.00132

Measured 1mo ago against content hash 8aea6b6e7efe, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

interactive-debugging scanned grade B with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/debug_server.js, scripts/debug_server.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Sends data to an external URLmediumData exfiltration

A POST to an outside endpoint may be telemetry or may be exfiltration; either way the mod talks to somewhere, and you should know where.

fetch("http://localhost:3333/debug", { method: "POST",

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- Verify it with `curl http://localhost:3333/health`.
skills/interactive-debugging/SKILL.md · 152 lines

How it starts

The opening of the file, as written. The whole thing — 152 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Interactive Debugging

Use this skill to run a debug loop: hypothesize, instrument, reproduce, inspect runtime logs, fix, verify, and clean up.

Required Paths

  • Debug server: .debug/debug_server.*
  • Debug log: .debug/debug.log
  • Default endpoint: http://localhost:3333/debug

The bundled servers in this skill's scripts/ directory (next to this SKILL.md, not in the project being debugged) are intentionally thin. They accept POST /debug, append the raw request body to .debug/debug.log with a timestamp, and return ok.

Steps

Step 1: Understand the Bug

  • Read the relevant code before changing anything.
  • State 1-3 concrete hypotheses that runtime data can prove or disprove.
  • Do not jump to a fix before collecting data unless the cause is already proven.

Step 2: Create the Debug Server

  • Create .debug/ in the project under debug.
  • Copy the matching bundled server from this skill's scripts/ directory to .debug/debug_server.js or .debug/debug_server.py in the project.
  • For another language, create the smallest equivalent server at .debug/debug_server.<ext>.
  • Keep the server thin: no schemas, dashboards, persistence, extra routes, or broad utilities.

Step 3: Start the Debug Server

Run it from the project root:

node .debug/debug_server.js 3333
python3 .debug/debug_server.py 3333
  • The server is a long-running foreground process; start it in the background (or another terminal) so it does not block your shell.
  • Use another port only if 3333 is occupied.
  • Verify it with curl http://localhost:3333/health.
  • Clear .debug/debug.log before reproduction if it already exists.

Step 4: Instrument the Code

  • Add the fewest probes needed to test the hypotheses.
  • Wrap every probe or probe block in matching debug region markers:
// #region DEBUG
fetch("http://localhost:3333/debug", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    event: "function-entry",
    traceId,
    value,
  }),
}).catch(() => {});
// #endregion DEBUG

Read the full file on GitHub · 152 lines

Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 152 lines · 97 tokens per session scan B 8aea6b6e7efe

Subscribe to this mod's changes

interactive-debugging is a skill published in the GitHub repository denysdovhan/agents (18 stars, last pushed 2mo ago), licensed MIT. It adds 97 tokens to every session and 1,323 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it B with 2 findings (sends data to an external url, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

fix

Fix issues end-to-end across data pipelines (Airflow/dbt), app stack (backend/frontend), and infra (CI/CD, Terraform, K8s). Scout → diagnose → apply at root cause → verify with fresh evidence → add regression guard. Use for failing DAGs, dbt test failures, 5xx, UI regressions, GH Actions failures, terraform drift…

vanducng/skills · 97 tokens

debug

Debug systematically across software, data pipelines, infrastructure, and analytics. Find root cause and produce verified evidence - for bugs, test failures, CI/CD breakage, K8s/Cloud incidents, dbt/Airflow pipeline failures, schema drift, freshness violations, dashboard wrong-numbers, and performance issues.…

vanducng/skills · 89 tokens

scenario

Generate comprehensive edge cases and test scenarios by decomposing a feature or file across 12 risk dimensions, or blast-radius review a change with --diff: what breaks beyond the diff, proven by running real code. Use for pre-implementation risk discovery, QA planning, regression design, exhaustive edge-case…

vanducng/skills · 114 tokens

swc-plugin-compatibility

Diagnose and fix Lingui SWC plugin compatibility errors with Next.js, Vite, Rspack, or other SWC runtimes. Use when seeing errors like "failed to invoke plugin", "failed to run Wasm plugin transform", "Failed to deserialize program received from host", "Failed to execute SWC plugin", "out of bounds memory access", or…

lingui/skills · 114 tokens

atomic-code-edits

Apply localized code replacements when only a small part of a file changes, preserving surrounding implementation and review context.

alivirgo/Major-AI-Skills · 26 tokens

binary-file-suppression

Detect binary, compiled, and media files before text ingestion so agent context contains readable source and metadata.

alivirgo/Major-AI-Skills · 26 tokens