ai-agents-debugging-playbook

ai-agents-debugging-playbook is a skill for Claude Code from rjmurillo/ai-agents. It costs 124 tokens per session (6,234 once invoked), scanned A, original, MIT.

A symptom-based guide for diagnosing recurring repository failures, such as blocked pushes, failed generated-file checks, plugin version errors, coverage limits, hook exits, and non-compliant sessions.

In plain words
What is it for?
Use it to triage a failed check, understand why a push or tool call was blocked, investigate a red CI result, or interpret a hook error.
Why use it?
It gives each failure a first command, a small experiment to separate likely causes, a fix path, and a warning about common traps.

Skill for Claude Code

Written for Claude Code: PreToolUse hook event. Also seen: reads .claude/ paths; mentions .claude-plugin; mentions AGENTS.md.

Part of the project-toolkit plugin — 125 skills, 25 commands, 33 agents, 5 hooks shipped together

Good fit Use it to triage a failed check, understand why a push or tool call was blocked, investigate a red CI result, or interpret a hook error.

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

Made for: Claude Code.

Or install project-toolkit, the plugin that ships this one along with the rest of its 125 skills, 25 commands, 33 agents, 5 hooks.

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 ai-agents-debugging-playbook

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/rjmurillo/ai-agents/ai-agents-debugging-playbook"><img src="https://agentmods.dev/badge/skills/rjmurillo/ai-agents/ai-agents-debugging-playbook.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 124 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,234 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00124 $0.06234
Opus 5.5 $0.00050 $0.02494
Sonnet 5.5 $0.00025 $0.01247
Haiku 4.5 $0.00012 $0.00623

Measured today against content hash 194fc56abbf0, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ai-agents-debugging-playbook 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 today.

The scan reads SKILL.md. This mod also ships 1 executable file (tests/test_structure_ai_agents_debugging_playbook.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.

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.

.claude/skills/ai-agents-debugging-playbook/SKILL.md · 173 lines

How it starts

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

ai-agents Debugging Playbook

Symptom-first triage for this repository's known failure modes. Every row below was earned by a real incident; the retro path is cited so you can read the full story. The playbook answers one question: given this symptom, what is the FIRST command to run, what experiment discriminates between causes, and what trap has already cost someone real time here?

Vocabulary used once: a "guard" is a PreToolUse or pre-push hook that can block an action (exit 2 blocks, exit 0 allows). A "drift gate" is a CI check that fails when a generated tree no longer matches its canonical source. A "discriminating experiment" is one cheap action whose outcome splits the hypothesis space in two.

Triggers

  • triage this failure
  • why is my push blocked
  • debug this CI red
  • what does this gate failure mean
  • hook blocked my tool call

When NOT To Use This Skill

You want Use instead
The full history of an incident (root cause, evidence, what changed) ai-agents-failure-archaeology
To measure something (budgets, telemetry, drift as a number) ai-agents-diagnostics-toolkit
Evidence standards, test layout, how to write the missing test ai-agents-validation-and-qa
The catalog of every env var, marker, and escape hatch ai-agents-config-catalog
How the harness itself behaves (payload shapes, plugin roots) agent-harness-reference
Fix a NON_COMPLIANT session log Hand-edit against .agents/schemas/session-log.schema.json, re-run scripts/validate_session_json.py
Resolve merge conflicts Agent: merge-resolver
Query agent JSONL event logs observability

Read the full file on GitHub · 173 lines

Files

What ships with it

1 file 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. today Changed 194fc56abbf0
  2. 4d ago Changed · +1 lines 6dd99e21909b
  3. 15d ago Changed 5893e503ef0d
  4. 16d ago Changed a6cebc38d95d
  5. 17d ago Changed · +12 lines efe12c9b8461
  6. 20d ago Changed · +6 lines ea2ef7a74880
  7. 22d ago Changed 037aff4620c9
  8. 1mo ago Changed · +2 lines ed449e48a2c7
  9. 1mo ago Changed 7a0677a9fbdf
  10. 1mo ago First seen · 152 lines · 124 tokens per session scan A 6a89af761d6f

Subscribe to this mod's changes

ai-agents-debugging-playbook is a skill published in the GitHub repository rjmurillo/ai-agents (48 stars, last pushed today), licensed MIT. It adds 124 tokens to every session and 6,234 once invoked, about $0.0005 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-09-03.