debug_error

debug_error is a skill for Claude Code, Codex from ahmadrrrtx/xr. It costs 0 tokens per session (108 once invoked), scanned A, original, MIT.

A debugging workflow that reads an error message or stack trace, checks the files involved, and identifies the likely root cause.

In plain words
What is it for?
Use it to investigate application errors, inspect implicated files, research unfamiliar messages, and prepare a fix as a diff for review.
Why use it?
It helps turn an unfamiliar error into a specific explanation and a proposed code change. It can also search for the exact error when its cause is unclear.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to investigate application errors, inspect implicated files, research unfamiliar messages, and prepare a fix as a diff for review.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ahmadrrrtx/xr/debug_error
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 ahmadrrrtx/xr --skill debug_error
Clone the repo
git clone --depth 1 https://github.com/ahmadrrrtx/xr

Made for: Claude Code, 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 debug_error

README.md
[![agentmods](https://agentmods.dev/badge/skills/ahmadrrrtx/xr/debug_error/github.svg)](https://agentmods.dev/skills/ahmadrrrtx/xr/debug_error)
Your own site
<a href="https://agentmods.dev/skills/ahmadrrrtx/xr/debug_error"><img src="https://agentmods.dev/badge/skills/ahmadrrrtx/xr/debug_error/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 debug_error

Your own site · 80×15
<a href="https://agentmods.dev/skills/ahmadrrrtx/xr/debug_error"><img src="https://agentmods.dev/badge/skills/ahmadrrrtx/xr/debug_error.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 108 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 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.00000 $0.00108
Opus 5.5 $0.00000 $0.00043
Sonnet 5.5 $0.00000 $0.00022
Haiku 4.5 $0.00000 $0.00011

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

Security

Grade A, and why

debug_error 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.

skills/debug_error/SKILL.md · 14 lines

What it actually says

Debug Error

  1. Read the stack trace / error message provided.
  2. list_dir and read_file the implicated files.
  3. Identify the root cause; if unfamiliar, web_search the exact error.
  4. Propose a fix as a diff (write_file is approval-gated in agent mode).
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 · 14 lines · 0 tokens per session scan A 8da940456e82

Subscribe to this mod's changes

debug_error is a skill published in the GitHub repository ahmadrrrtx/xr (6 stars, last pushed 2d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 108 tokens. 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.

Related

Other skills, from other repositories

mcp-apps-builder

MANDATORY for ALL MCP server work - mcp-use framework best practices and patterns. READ THIS FIRST before any MCP server work, including: Creating new MCP servers Modifying existing MCP servers (adding/updating tools, resources, prompts, widgets) Debugging MCP server issues or errors Reviewing MCP server code for…

Shubhamsaboo/awesome-llm-apps · 139 tokens

html-ppt-zhangzara-block-frame

Rescuing a messy startup deck into a board-grade system — the diagnosis, the page grammar, and the rebuilt proof pages. Built as a decision-grade design craft deck for founders, exec presenter.

nexu-io/open-design · 51 tokens

build-test

Run the project's build / typecheck / lint / test commands and emit the build.passing + tests.passing signals devloop convergence reads.

nexu-io/open-design · 31 tokens

patch-edit

Apply one rewrite-plan step at a time as small reviewable file edits, never rewriting whole files when a localised change suffices.

nexu-io/open-design · 30 tokens

smiles-validation

Strict SMILES validation, structural comparison, and modification verification. Catches invalid LLM-generated molecules.

synthetic-sciences/openscience · 24 tokens

neuron-monitoring

Monitor Neuron AI agents and workflows with events observability, logging, and performance analysis. Use this skill whenever the user mentions debugging, monitoring, observability, performance analysis, tracing, or needs to understand why an agent is behaving a certain way. Also trigger for tasks involving agent…

neuron-core/neuron-ai · 80 tokens