Token导航 LogoToken导航

Agent Skill · 开发

adk-debugger(adk 调试器)

adk-debugger 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

adk-debugger 是开发类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为执行命令;许可证信息还不明确,第三方扫描已通过,按安装量在开发类的 21,746 个 Skill 里排第 11,652。

总安装 1,648周安装 68GitHub Stars 11下载 539核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:adk-debugger(adk 调试器)
来源仓库:https://github.com/botpress/skills
仓库路径:skills/adk-debugger
安装命令:
npx skills add https://github.com/botpress/skills --skill adk-debugger
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/botpress/skills --skill adk-debugger

这个 Skill 是做什么的

开发类 Skill 面向写代码、改代码和排查问题,一般会读写仓库文件,部分还会执行构建或测试命令。

用于解析 Botpress ADK 生成的行为轨迹与日志数据。支持查询、过滤与解读工具调用、工作流执行与 LLM 推理过程。帮助定位未响应、错误参数与状态异常等问题根源。所有命令均支持 JSON 格式输出,便于程序化处理。adk-debugger 属于开发类 Skill,可作为该场景下的辅助能力补充。

来源仓库内路径:skills/adk-debugger

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/botpress/skills --skill adk-debugger;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要执行命令,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

adk-debugger 怎么安装?

在终端执行 npx skills add https://github.com/botpress/skills --skill adk-debugger。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

adk-debugger 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

adk-debugger 需要什么权限?

权限级别是执行命令。安装流程涉及命令执行,可能通过 npx skills add https://github.com/botpress/skills --skill adk-debugger 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

adk-debugger 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

adk-debugger 用的人多吗?

公开数据是累计安装 1,648 次,近一周安装 68 次,下载 539 次,GitHub 11 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

adk-debugger 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 需要执行命令,装到常用环境前要先评估影响面。
  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理开发类任务、又不想每次都手写提示词的人。

不太适合

  • 不能接受 Skill 在你机器上执行命令的人。
  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

开发类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
skill-vetter

技能审查员 · OpenClaw

8,779,018986操作浏览器MIT-0通过
ontology

本体论 · OpenClaw

6,636,960576只读MIT-0通过
entra-app-registration

内部应用程序注册 · Codex、Claude

6,631,872764接触敏感数据未明确通过
entra-app-registration

内部应用程序注册 · Codex、Claude

3,757,680201接触敏感数据未明确通过
nano-banana-pro

纳米香蕉专业版 · OpenClaw

3,526,898364接触敏感数据MIT-0有提醒
adk-debugger

adk 调试器 · 本页

1,64811执行命令未明确通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

ADK Debugger Skill

What is ADK Debugging?

Every ADK agent records its behavior as traces and logs — every conversation turn, tool call, LLM reasoning step, and error. These are the source of truth for understanding what your agent did and why.

The ADK CLI provides all the tools you need to debug. All commands support --format json for structured output, which you should always use when consuming output programmatically.

When to Use This Skill

Use this skill when the developer asks about:

  • Bot not working — not responding, wrong responses, unexpected behavior
  • Tool issues — wrong tool called, tool errors, hallucinated parameters
  • Workflow problems — stuck workflows, steps not executing, state issues
  • Reading traces/logs — how to query, filter, and interpret debug output
  • LLM misbehavior — hallucinations, refusals, looping, poor extraction
  • Build/deploy failures — validation errors, schema mismatches
  • Config issues — agent.json vs agent.local.json, integration setup
  • Post-fix verification — confirming a fix worked, writing regression evals

Trigger questions:

  • "My bot isn't responding"
  • "The wrong tool was called"
  • "My workflow is stuck"
  • "How do I read traces?"
  • "How do I check logs?"
  • "The LLM is hallucinating"
  • "Something broke after my last change"
  • "My deploy failed"
  • "adk check found errors"
  • "Summarize this trace"
  • "What happened in trace X?"
  • "Give me an overview of this conversation turn"
  • "Why did the bot do X in this trace?"
  • "Walk me through what happened"
  • "How do I debug this?"
  • "Summarize this conversation"
  • "Explain what happened in conversation X"
  • "Why did the bot respond that way?"
  • "Walk me through this conversation"
  • "What went wrong in this conversation?"

Available Documentation

FileContents
references/traces-and-logs.mdCLI debugging tools, log querying, trace structure, span types, onTrace hooks, reproduction with adk chat
references/common-failures.mdRuntime failure patterns — validation, bot not responding, tool errors, workflow stuck, integration failures, build errors, config confusion
references/llm-debugging.mdLLM behavior issues — wrong tool, hallucinated params, refusals, token limits, looping, reading model reasoning
references/debug-workflow.mdThe systematic 8-step debug loop: validate → reproduce → logs → traces → classify → fix → verify → prevent
references/trace-summarization.mdHow to fetch, walk, and summarize traces as free-form natural-language narratives — adapting depth to context
references/conversation-analysis.mdHow to summarize and explain full conversations — listing conversations, timeline analysis, correlating with traces, common patterns

How to Answer

  1. "How do I read traces/logs?" → Read traces-and-logs.md for CLI commands and trace structure
  2. Something is broken, known pattern → Read common-failures.md for the matching failure pattern
  3. LLM is misbehaving → Read llm-debugging.md for the matching behavior issue
  4. Systematic investigation needed → Read debug-workflow.md and follow the 8-step loop
  5. "Summarize this trace" / "What happened?" → Read trace-summarization.md for how to fetch, walk, and narrate traces
  6. "Summarize this conversation" / "Explain what happened" → Read conversation-analysis.md for multi-turn conversation summaries and explanations
  7. After fixing, need to prevent regression → Point to the adk-evals skill for writing evals

Quick Reference

The Debug Loop

symptom → validate (adk check) → reproduce (adk chat) → logs (adk logs) → traces (adk traces) → root cause → fix → verify

CLI Commands (always use --format json)

adk check --format json                         # offline validation
adk logs error --format json                     # recent errors
adk logs --follow --format json                  # stream live
adk traces --format json                         # recent traces
adk traces --conversation-id <id> --format json  # specific conversation
adk chat --single "msg" --format json            # test message
adk dev --non-interactive --format json          # structured dev output
adk conversations --format json                  # list recent conversations
adk conversations show <id> --format json        # conversation timeline
adk conversations show <id> --include-llm --format json  # timeline with LLM reasoning

Span Types

TypeWhat It Shows
thinkLLM reasoning — why it chose an action
tool_callTool invocation — name, input, output, success/error
code_execution_exceptionRuntime error — message and stack trace
endConversation turn completed

Prerequisites Check

Before debugging, verify:

  • Project valid? Run adk check --format json — fix any reported issues first
  • Dev server running? adk dev (or adk dev --non-interactive --format json for structured output)
  • Bot linked? agent.json exists with botId and workspaceId (created by adk link)
  • Dev bot created? agent.local.json has devId (set automatically by the first adk dev run)
  • Integration configured? Check Control Panel at localhost:3001 for unconfigured integrations

Critical Patterns

✅ Run adk check before debugging runtime issues

# CORRECT — catch config/schema problems offline first
adk check --format json
# Then debug runtime issues

❌ Skipping offline validation

# WRONG — jumping straight to runtime debugging wastes time on config issues
adk traces --format json  # might be chasing a config problem

✅ Use --format json on all CLI commands

# CORRECT — structured output for reliable parsing
adk logs error --format json
adk traces --format json
adk chat --single "test" --format json

❌ Parsing human-readable output

# WRONG — human-readable format is for display, not parsing
adk logs error
adk traces

✅ Use adk logs error to filter errors

# CORRECT — focused error scan
adk logs error --format json
adk logs warning since=1h --format json

❌ Scrolling through all output

# WRONG — too much noise, easy to miss the actual error
adk logs --format json  # 50 entries of everything

✅ Use onTrace hooks for programmatic monitoring

// CORRECT — structured, automated trace analysis
hooks: {
  onTrace: ({ trace }) => {
    if (trace.type === "tool_call" && !trace.success) {
      console.error(`[TOOL ERROR] ${trace.tool_name}`, trace.error);
    }
  }
}

❌ Only checking console output

// WRONG — console.log in handlers misses the structured trace data
handler: async (input) => {
  console.log("tool called");  // not useful for debugging
}

✅ Write a regression eval after fixing

// CORRECT — prevents the bug from coming back
export default new Eval({
  name: 'fix-order-lookup',
  type: 'regression',
  conversation: [{ user: 'Look up order 123', assert: { tools: [{ called: 'lookupOrder' }] } }],
})

❌ Fixing and moving on

// WRONG — the same bug will return and you'll debug it again

Example Questions

Basic:

  • "My bot isn't responding — how do I figure out why?"
  • "How do I check for errors in my ADK project?"
  • "What's the difference between agent.json and agent.local.json?"

Intermediate:

  • "The bot called createTicket instead of lookupTicket — how do I fix this?"
  • "My workflow starts but the second step never runs"
  • "How do I see what the LLM was thinking when it made a decision?"
  • "Integration actions are failing with auth errors"

Advanced:

  • "How do I set up onTrace hooks for automated error detection?"
  • "The model loops on the same tool call — how do I add a guardrail?"
  • "How do I monitor tool call performance with timing metrics?"
  • "How do I systematically debug a multi-step workflow failure?"

Response Format

Match depth to the question.

Simple questions ("how do I check logs?", "what are trace spans?")

Answer directly — one sentence + the CLI command or concept. Don't run the full debug loop for informational questions.

Active debugging ("my bot is broken", "X isn't working")

Follow the full loop:

  1. Check prerequisites — verify dev server, config files, project validation
  2. Start with adk check --format json — rule out offline issues
  3. Reproduce — use adk chat --single "msg" --format json to create a clean reproduction
  4. Read the evidence — adk logs error --format json for quick scan, adk traces --format json for details
  5. Identify the root cause — point to the specific span, log entry, or config issue
  6. Suggest a targeted fix — reference the appropriate failure pattern doc
  7. Verify — re-run the reproduction, confirm clean output
  8. Write a regression eval — load the adk-evals skill and generate the eval file automatically

平台分布

Codex

36.74%
按下载量换算198

Claude

31.9%
按下载量换算172

Cursor

17.24%
按下载量换算93

Gemini CLI

9.83%
按下载量换算53

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/botpress/skills --skill adk-debugger 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills