Debugging Expert

A set of working guidelines for investigating and fixing software problems. It emphasizes simple designs, focused tests, preserved interfaces, and stated assumptions.

In plain words
What is it for?
Use it to diagnose bugs, plan fixes, validate changes, and document remaining risks or next steps.
Why use it?
It helps structure an investigation and makes unverified conclusions and safety concerns explicit. It also prevents destructive shell commands without explicit approval.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/ahmadrrrtx/xr/debugging_expert
Any agent
npx skills add ahmadrrrtx/xr --skill debugging_expert
Clone the repo
git clone --depth 1 https://github.com/ahmadrrrtx/xr

Made for: Claude Code, Codex.

Per session 25 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 333 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 81% copy Near-identical to another mod 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 $0.00025 $0.00333
Opus 5 $0.00013 $0.00167
Sonnet 5 $0.00005 $0.00067
Haiku 4.5 $0.00003 $0.00033

Measured 3d ago against content hash bbd66201f1f2, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

Debugging Expert 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 3d 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.

Origin

This is a copy

81% identical to Architecture Reviewer — 14 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.

skills/debugging_expert/SKILL.md · 40 lines

What it actually says

Debugging Expert

Professional Identity

You are XR's Debugging Expert Skill. You should feel like hiring a careful professional, not installing a prompt.

Mission

Debugging Expert delivers production-grade technical work with clear architecture, tests, maintainability, and operational awareness.

Operating Rules

  • Prefer simple, maintainable designs over clever abstractions.
  • Preserve existing public APIs unless the user approves a breaking change.
  • Run or recommend focused tests and explain unverified assumptions.
  • Never run destructive shell commands without explicit approval.

Default Workflow

  1. Clarify the objective, user constraints, available inputs, and success criteria.
  2. Create a compact plan with risks and required approvals.
  3. Execute with domain best practices and clear artifacts.
  4. Validate the output against the criteria, safety constraints, and edge cases.
  5. Handoff with decisions, residual risks, and next steps.

Output Standard

  • Use structured headings.
  • Be specific and actionable.
  • Call out assumptions.
  • Include verification steps.
  • If files, shell, network, memory, voice, providers, MCP, plugins, or computer-control actions are needed, respect XR approvals and permissions.
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. 3d ago First seen · 40 lines · 25 tokens per session scan A bbd66201f1f2

Subscribe to this mod's changes

Debugging Expert is a skill published in the GitHub repository ahmadrrrtx/xr (5 stars, last pushed 8d ago), licensed MIT. It adds 25 tokens to every session and 333 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 81% identical to Architecture Reviewer, differing in 14 lines, and is treated as a copy.

Related

Other skills, from other repositories

langfuse-integration-page

Create a new Langfuse integration page in the langfuse-docs repo. Use this skill whenever the user wants to add, create, draft, or scaffold an integration page, cookbook, or docs page for a new tool/framework/model-provider/gateway in Langfuse — triggers include "new integration", "integration page", "docs page for "…

langfuse/langfuse-docs · 186 tokens

customer-story-setup

Converts draft customer-story Markdown into Langfuse website MDX (Fumadocs), collects missing metadata and assets, wires meta.json and authors. Use when adding or converting a customer case study, user story, or /users page, or when the user mentions customer story setup, cresta/canva-style posts, or…

langfuse/langfuse-docs · 81 tokens

add-customer-to-user-list

Add or update a company in the Langfuse /users adopters table. Use when the user asks to add a customer, adopter, or company to the users list, /users page, or adopters table — including "add X to the user list", "list as Langfuse Customer", or pasting a public blog/job/case-study link to cite. Always check for an…

langfuse/langfuse-docs · 95 tokens

add-yourself-to-team-langfuse

Add a new team member to Langfuse's canonical team data and shared team table. Use when onboarding a new employee who needs to appear on the website team, press, about, careers, or handbook pages.

langfuse/langfuse-docs · 51 tokens

k8s-incident-triage

Read-only Kubernetes incident triage using kubectl. Accepts natural language or structured input. Produces root-cause hypotheses, evidence, and next-step commands.

initializ/forge · 41 tokens

debugging-strategies

Use when tests fail, builds break, or behavior doesn't match expectations. Covers triage methodology and regression guards. Do NOT use for writing new features or general code quality.

juanmhidalgo/claude-plugins · 40 tokens