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.
npx skills add karellen/karellen-rr-mcp --skill rr-debuggit clone --depth 1 https://github.com/karellen/karellen-rr-mcpWrote 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/skills/karellen/karellen-rr-mcp/rr-debug)<a href="https://agentmods.dev/skills/karellen/karellen-rr-mcp/rr-debug"><img src="https://agentmods.dev/badge/skills/karellen/karellen-rr-mcp/rr-debug/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/skills/karellen/karellen-rr-mcp/rr-debug"><img src="https://agentmods.dev/badge/skills/karellen/karellen-rr-mcp/rr-debug.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.00031 | $0.00920 |
| Opus 5.5 | $0.00012 | $0.00368 |
| Sonnet 5.5 | $0.00006 | $0.00184 |
| Haiku 4.5 | $0.00003 | $0.00092 |
Grade A, and why
rr-debug 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 2mo 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.
How it starts
The opening of the file, as written. The whole thing — 103 lines — stays where its author put it; the contents beside it link to each section on GitHub.
rr Reverse Debugging Workflow
Use this skill when the user wants to debug a crash, segfault, test failure, or any bug where the cause isn't obvious from reading the code.
Prerequisites
rrandgdbmust be installed and on PATH- Linux x86-64 only
perf_event_paranoidmust be <= 1:sysctl kernel.perf_event_paranoid- The program should be compiled with debug symbols (
-g, preferably-O0or-Og)
Workflow
1. Record the Failure
Generate a random trace directory name under the project directory to keep traces local
and avoid cluttering ~/.local/share/rr/:
rr_record(command=["./failing_test"], trace_dir="<project>/rr-trace-<random>")
Pass working_directory if the command needs to run from a specific directory.
Pass env for additional environment variables (e.g., {"MALLOC_CHECK_": "3"}).
2. Identify the Right Process (Multi-Process Traces)
If the recorded command spawns child processes (test harnesses, build systems, etc.), the default replay targets the root process, which is usually NOT what you want.
rr_ps(trace_dir="<trace>")
Look for the actual program binary in the command column. Use exit codes to identify the crashing process: negative codes indicate signals (-11 = SIGSEGV, -6 = SIGABRT).
3. Start Replay
rr_replay_start(trace_dir="<trace>", pid=<pid>)
Always pass pid for multi-process recordings.
4. Navigate to the Bug
- For crashes/signals:
rr_continue()stops automatically at the signal - For logic bugs: set breakpoints first with
rr_breakpoint_set(), thenrr_continue() - For assertion failures:
rr_breakpoint_set("abort")orrr_breakpoint_set("__assert_fail"), thenrr_continue()
5. Examine State
rr_backtrace()to see the call stackrr_locals()to see local variablesrr_evaluate("expr")to evaluate expressionsrr_select_frame(N)to inspect caller frames without steppingrr_source_lines()to see source code at the current position
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.
- 2mo ago First seen · 103 lines · 31 tokens per session scan A 863230887186
rr-debug is a skill published in the GitHub repository karellen/karellen-rr-mcp (3 stars, last pushed 19d ago), licensed Apache-2.0. It adds 31 tokens to every session and 920 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
x64dbg-mcp-server
You are controlling x64dbg through MCP tools.
debug-live
Guides root-cause investigations with debugging capabilities by setting breakpoints, starting a debug session, stepping through execution, inspecting variables, and tracing symptoms back to their origin. Prefer it for runtime bugs, failing tests, exceptions, crashes, hangs, wrong/null values, and unexpected output…
agentsight-bugfix
A five-stage workflow for fixing bugs in AgentSight: understand the report, reproduce the problem, find its cause, make a small code change, and verify the result. AgentSight is a system that observes and analyses agent activity.
keynobi
Use for Android work that needs state kept between calls - Gradle builds with their errors and history, logcat streaming and filtering, crashes and deobfuscated stack traces, app exit reasons, launch times, debug sessions that record each install and what followed, and UI automation on the running app - through the…
Z.A.E.B.A.L.: profanity-triggered self-audit for agents
Use when the agent loops on the same mistake and the user is visibly frustrated. Z.A.E.B.A.L. treats profanity as an audit signal: stop, disprove the wrong belief, escalate repeated failures to an external auditor. Also use for requested hook setup on Linux or Windows. Select the target process OS and install only the…
use-siteation-debugbar
Inspect Magento requests through SiteationDebugBar's MCP server. Use when asked why a page is slow, what a request did, which queries or observers ran, or to explain an error on a Magento store running this module.