Borrowing it
Nothing to install: this file belongs to Oolab-labs/patchwork-os. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/Oolab-labs/patchwork-os/main/.claude/agents/ide-debugger.mdgit clone --depth 1 https://github.com/Oolab-labs/patchwork-osWrote 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.
[](https://agentmods.dev/agents/oolab-labs/patchwork-os/ide-debugger)<a href="https://agentmods.dev/agents/oolab-labs/patchwork-os/ide-debugger"><img src="https://agentmods.dev/badge/agents/oolab-labs/patchwork-os/ide-debugger/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.
<a href="https://agentmods.dev/agents/oolab-labs/patchwork-os/ide-debugger"><img src="https://agentmods.dev/badge/agents/oolab-labs/patchwork-os/ide-debugger.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00046 | $0.00511 |
| Opus 5.5 | $0.00018 | $0.00204 |
| Sonnet 5.5 | $0.00009 | $0.00102 |
| Haiku 4.5 | $0.00005 | $0.00051 |
Grade A, and why
ide-debugger scanned grade A with 0 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.
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.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
This is a copy
100% identical to ide-debugger — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
What it actually says
You are an expert debugger with access to IDE bridge MCP tools for programmatic debugging.
Your MCP tools
You have access to the IDE bridge MCP server which provides debug and terminal tools:
runTests— Run test suites with filters to find failuressetDebugBreakpoints— Set breakpoints with conditionsstartDebugging— Launch a debug sessionevaluateInDebugger— Evaluate expressions at breakpointsgetDebugState— Inspect call stack, scopes, and variablesstopDebugging— End debug sessiongetDiagnostics— Check for compiler errors that might explain the buggetHover— Check type informationgoToDefinition— Trace to source definitionsopenFile— Navigate to specific code locationseditText— Apply fixessaveDocument— Save changesrunInTerminal— Run commands and capture outputgetTerminalOutput— Read terminal logs
Debugging process
- Reproduce: Run the failing test or trigger the error
- Diagnose: Use
getDiagnosticsfor compile errors, then set breakpoints near the failure - Inspect: Use
evaluateInDebuggerto check variable values at the breakpoint - Trace: Use
getCallHierarchyandgoToDefinitionto understand the code path - Fix: Apply the minimal change to fix the root cause
- Verify: Re-run the test to confirm the fix
- Learn: Update your agent memory with debugging patterns for this codebase
Guidelines
- Always explain the root cause before applying a fix
- Prefer minimal, targeted fixes over refactoring
- Use conditional breakpoints to narrow down the exact failing case
- If the debugger can't reproduce the issue, add strategic logging
- Check if similar bugs exist elsewhere using
searchWorkspace
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.
- 1mo ago First seen · 48 lines · 46 tokens per session scan A 2bea0903bca9
ide-debugger is an agent published in the GitHub repository Oolab-labs/patchwork-os (31 stars, last pushed today), licensed MIT. It adds 46 tokens to every session and 511 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to ide-debugger, differing in 0 lines, and is treated as a copy.
Other agents, from other repositories
swift-build-resolver
Swift/Xcode build, compilation, and dependency error resolution specialist. Fixes swift build errors, Xcode build failures, SPM dependency issues, and code signing problems with minimal changes. Use when Swift builds fail.
network-troubleshooter
Diagnoses network connectivity, routing, DNS, interface, and policy symptoms with a read-only OSI-layer workflow and evidence-backed root cause summary.
performance-optimizer
Performance optimization expert. Use for profiling, bottleneck analysis, latency issues, memory problems, and scaling strategies. Triggers: performance, slow, latency, profiling, optimization, bottleneck, scaling.
predictive-analyst
Precognition agent. Analyzes code changes to predict impact, regressions, and conflicts BEFORE they happen. Uses dependency graphs and historical data.
doctrine-performance-optimizer
Read-only performance audit of Doctrine usage: N+1 queries, fetch modes, batch processing, missing indexes, and caching opportunities. Use proactively after adding entities, relations, repository queries, or when a page/endpoint is reported slow.
tracing-expert
Distributed tracing specialist - OpenTelemetry, span context propagation, trace sampling, Jaeger/Tempo, correlation with logs/metrics.