adk-debug

adk-debug is a skill for Claude Code, Codex from google/adk-python. It costs 191 tokens per session (899 once invoked), scanned A, original, Apache-2.0.

A debugging guide for ADK (Agent Development Kit) agents that examines sessions, events, tool calls, and the exact request sent to the language model.

In plain words
What is it for?
Use it to reproduce failures with the ADK command line, inspect event logs and traces, investigate ignored tools or tool errors, and diagnose hangs.
Why use it?
It helps identify whether a problem comes from routing, a tool, the model request, or the agent’s runtime behavior.

Skill for Claude CodeCodex ✓ vendor

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents; installed under .agents/ (shared by several agents).

Good fit Use it to reproduce failures with the ADK command line, inspect event logs and traces, investigate ignored tools or tool errors, and diagnose hangs.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/google/adk-python/adk-debug
About the project

Agent Development Kit is a Python framework for building, evaluating, deploying, and coordinating AI agents as software applications. Developers use it to compose workflows, delegate tasks between specialized agents, manage state, and connect agents to tools while choosing supported models and deployment environments. The catalogue add-ons provide workflows for using the toolkit.

google/adk-python · 22,456 stars · on GitHub · google.github.io

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 google/adk-python --skill adk-debug
Clone the repo
git clone --depth 1 https://github.com/google/adk-python

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 adk-debug

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

agentmods 80×15 button for adk-debug

Your own site · 80×15
<a href="https://agentmods.dev/skills/google/adk-python/adk-debug"><img src="https://agentmods.dev/badge/skills/google/adk-python/adk-debug.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 191 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 899 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.00191 $0.00899
Opus 5.5 $0.00076 $0.00360
Sonnet 5.5 $0.00038 $0.00180
Haiku 4.5 $0.00019 $0.00090

Measured 14d ago against content hash 0d244184e8b6, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

adk-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 14d 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

Copies of this mod

1 near-identical copy found in the catalogue:

  • adk-debug — 100% identical, 7 lines differ
.agents/skills/adk-debug/SKILL.md · 68 lines

How it starts

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

Debugging ADK agents

Two entry points. Default to adk run: one process, no server, and --jsonl output that pipes straight into grep or python3. Switch to adk web when you need the browser UI, a persisted session you can click through, or the trace endpoints that expose the exact LLM request.

First moves

  1. Reproduce headlessly: adk run --jsonl {agent_dir} "{query}". Without --jsonl, adk run prints only text parts — tool calls and tool errors are invisible. The first two stdout lines are log-setup notices, not JSON; keep the events with grep '^{'.
  2. Read the log file. adk run writes to /tmp/agents_log/agent.latest.log and nothing to the terminal; adk web does the opposite. See logs-and-traces.md.
  3. Match the symptom in failure-modes.md before reading source — most reports are one of a handful of known shapes.
  4. If the text is fine but the routing is not, dump the events and read author, branch, nodeInfo.path, and actions — event-flow.md.
  5. If the model itself misbehaved, read what it actually received from the trace rather than guessing from the agent definition — logs-and-traces.md.

References

  • cli-run.md — adk run flags, the JSONL event shape, multi-turn and human-in-the-loop resume, exit codes, driving a Runner from Python.
  • web-api.md — starting adk web, listing and reading sessions over HTTP, posting test messages to /run or /run_sse.
  • logs-and-traces.md — log levels and where each command writes them, the trace endpoints, span attributes, and the env vars that control whether prompts appear in spans.
  • failure-modes.md — ADK-specific symptoms with the cause and a concrete check for each.
  • event-flow.md — how an invocation becomes events, callback order, the event fields that matter, and where each stage lives in the source.

Read the full file on GitHub · 68 lines

Files

What ships with it

5 files 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. 14d ago Changed · +1 lines 0d244184e8b6
  2. 3mo ago First seen · 67 lines · 191 tokens per session scan A 141e9442ee9f

Subscribe to this mod's changes

adk-debug is a skill published in the GitHub repository google/adk-python (22,456 stars, last pushed today), licensed Apache-2.0. It adds 191 tokens to every session and 899 once invoked, about $0.0008 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-30.

Related

adk-debug compared with skills from other repositories

adk-debug next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
adk-debuggoogle/adk-pythonSkill22ktodayApache-2.0A191Claude Code, Codex
rubber-duckkirodotdev/KiroCrewSkill5.2ktodayApache-2.0A161Claude Code, Codex
debug-gatewaykirodotdev/KiroCrewSkill5.2ktodayApache-2.0A63Claude Code, Codex
ai-discoverkirodotdev/KiroCrewSkill5.2ktodayApache-2.0A83Claude Code, Codex
debugging-websocket-issuesAgentWorkforce/relaySkill1.2ktodayApache-2.0A54Claude Code
api-debugmetaspartan/cybaraSkill417d agoMITA28Claude Code, Codex
perf-agentoyi77/1ai-skillsSkill19yesterdayMITA22Claude Code