[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M698Y8QMCBMW9MZB0A7KF1T4":3,"skill-same:01M698Y8QMCBMW9MZB0A7KF1T4":102},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":18,"categories":19,"keywords":30,"publishedAt":51,"linkOnly":52,"markdownContent":53,"markdownBody":54,"frontMatter":55,"refName":56,"commitSha":57,"skillDirectory":58,"forksCount":59,"repositoryHtmlUrl":60,"repositoryHomepageUrl":61,"ownerHtmlUrl":62,"ownerBlogUrl":63,"ownerDescription":64,"updatedAt":65,"install":66,"resources":79},"01M698Y8QMCBMW9MZB0A7KF1T4","adk-debug","ADK 智能体调试","Diagnoses misbehaving ADK agents by inspecting sessions, events, tool calls, and the exact request that reached the model. Covers the `adk run` CLI and the `adk web` dev server with its session, trace, and debug HTTP endpoints. Use when an agent returns the wrong answer, ignores a tool or swallows a tool error, hangs, loops, emits raw JSON instead of calling tools, is not discovered by `adk web`, when a sub-agent cannot see the parent conversation, or when you need the LLM request\u002Fresponse, token counts, or logs for a run. Don't use for how ADK is designed internally (use `adk-architecture`), for building a new agent or workflow (use `adk-agent-builder`), for environment or dependency setup failures (use `adk-setup`), or for lint and style nits (use `adk-style`).","通过检查会话、事件、工具调用以及到达模型的确切请求，诊断行为异常的 ADK 智能体。涵盖 `adk run` 命令行工具和 `adk web` 开发服务器及其会话、追踪和调试 HTTP 端点。当智能体返回错误答案、忽略工具或吞掉工具错误、挂起、循环、输出原始 JSON 而不调用工具、未被 `adk web` 发现、子智能体看不到父对话，或需要某次运行的 LLM 请求\u002F响应、token 计数或日志时使用。不用于 ADK 内部设计原理（使用 `adk-architecture`）、不用于构建新智能体或工作流（使用 `adk-agent-builder`）、不用于环境或依赖设置失败（使用 `adk-setup`），也不用于 lint 和风格问题（使用 `adk-style`）。","google\u002Fadk-python","google","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F1342004?v=4","01M698VYEFDM0VJBZDYYJ2T83S","Google","01M698XZC2HCATT8VD5VAVZDTP",22217,"Apache-2.0",null,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fadk-python\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fadk-debug\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQ6TQZN6R52WBJ9H8NRMQM","软件开发工程师","PROFESSION","适用职业",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BRSRYQ3M8N5063NNQPF2B1","调试与故障排查","SCENARIO","使用场景",[31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50],"adk debug","adk","debug","when","cli","request","you","loops","error","new agent","conversation","builder","dependency","model","how","server","logs","run","architecture","workflow","2026-11-10 10:12:30",false,"---\nname: adk-debug\ndescription: >-\n  Diagnoses misbehaving ADK agents by inspecting sessions, events, tool calls,\n  and the exact request that reached the model. Covers the `adk run` CLI and the\n  `adk web` dev server with its session, trace, and debug HTTP endpoints. Use\n  when an agent returns the wrong answer, ignores a tool or swallows a tool\n  error, hangs, loops, emits raw JSON instead of calling tools, is not\n  discovered by `adk web`, when a sub-agent cannot see the parent conversation,\n  or when you need the LLM request\u002Fresponse, token counts, or logs for a run.\n  Don't use for how ADK is designed internally (use `adk-architecture`), for\n  building a new agent or workflow (use `adk-agent-builder`), for environment or\n  dependency setup failures (use `adk-setup`), or for lint and style nits (use\n  `adk-style`).\n---\n\n# Debugging ADK agents\n\nTwo entry points. Default to `adk run`: one process, no server, and `--jsonl`\noutput that pipes straight into `grep` or `python3`. Switch to `adk web` when\nyou need the browser UI, a persisted session you can click through, or the\ntrace endpoints that expose the exact LLM request.\n\n## First moves\n\n1. Reproduce headlessly: `adk run --jsonl {agent_dir} \"{query}\"`. Without\n   `--jsonl`, `adk run` prints only text parts — tool calls and tool errors are\n   invisible.\n2. Read the log file. `adk run` writes to `\u002Ftmp\u002Fagents_log\u002Fagent.latest.log` and\n   nothing to the terminal; `adk web` does the opposite. See\n   [logs-and-traces.md](references\u002Flogs-and-traces.md).\n3. Match the symptom in [failure-modes.md](references\u002Ffailure-modes.md) before\n   reading source — most reports are one of a handful of known shapes.\n4. If the text is fine but the routing is not, dump the events and read\n   `author`, `branch`, `nodeInfo.path`, and `actions` —\n   [event-flow.md](references\u002Fevent-flow.md).\n5. If the model itself misbehaved, read what it actually received from the\n   `call_llm` span rather than guessing from the agent definition —\n   [logs-and-traces.md](references\u002Flogs-and-traces.md).\n\n## References\n\n- [cli-run.md](references\u002Fcli-run.md) — `adk run` flags, the JSONL event shape,\n  multi-turn and human-in-the-loop resume, exit codes, driving a `Runner` from\n  Python.\n- [web-api.md](references\u002Fweb-api.md) — starting `adk web`, listing and reading\n  sessions over HTTP, posting test messages to `\u002Frun_sse`.\n- [logs-and-traces.md](references\u002Flogs-and-traces.md) — log levels and where\n  each command writes them, the trace endpoints, span attributes, and the env\n  vars that control whether prompts appear in spans.\n- [failure-modes.md](references\u002Ffailure-modes.md) — ADK-specific symptoms with\n  the cause and a concrete check for each.\n- [event-flow.md](references\u002Fevent-flow.md) — how an invocation becomes events,\n  callback order, the event fields that matter, and where each stage lives in\n  the source.\n\n## Ground rules\n\n- Leave sessions in place when you finish. The user may still want to open them\n  in the web UI, and `adk web` has no undelete.\n- Delete any throwaway agent you created for a repro, unless the user asked to\n  keep it.\n- Reach for a unit test in `tests\u002Funittests\u002F` when the bug is inside one\n  component, and for a sample under `contributing\u002Fsamples\u002F` (see\n  `adk-sample-creator`) when it only reproduces with runner, agent, and workflow\n  wired together.\n","# Debugging ADK agents\n\nTwo entry points. Default to `adk run`: one process, no server, and `--jsonl`\noutput that pipes straight into `grep` or `python3`. Switch to `adk web` when\nyou need the browser UI, a persisted session you can click through, or the\ntrace endpoints that expose the exact LLM request.\n\n## First moves\n\n1. Reproduce headlessly: `adk run --jsonl {agent_dir} \"{query}\"`. Without\n   `--jsonl`, `adk run` prints only text parts — tool calls and tool errors are\n   invisible.\n2. Read the log file. `adk run` writes to `\u002Ftmp\u002Fagents_log\u002Fagent.latest.log` and\n   nothing to the terminal; `adk web` does the opposite. See\n   [logs-and-traces.md](references\u002Flogs-and-traces.md).\n3. Match the symptom in [failure-modes.md](references\u002Ffailure-modes.md) before\n   reading source — most reports are one of a handful of known shapes.\n4. If the text is fine but the routing is not, dump the events and read\n   `author`, `branch`, `nodeInfo.path`, and `actions` —\n   [event-flow.md](references\u002Fevent-flow.md).\n5. If the model itself misbehaved, read what it actually received from the\n   `call_llm` span rather than guessing from the agent definition —\n   [logs-and-traces.md](references\u002Flogs-and-traces.md).\n\n## References\n\n- [cli-run.md](references\u002Fcli-run.md) — `adk run` flags, the JSONL event shape,\n  multi-turn and human-in-the-loop resume, exit codes, driving a `Runner` from\n  Python.\n- [web-api.md](references\u002Fweb-api.md) — starting `adk web`, listing and reading\n  sessions over HTTP, posting test messages to `\u002Frun_sse`.\n- [logs-and-traces.md](references\u002Flogs-and-traces.md) — log levels and where\n  each command writes them, the trace endpoints, span attributes, and the env\n  vars that control whether prompts appear in spans.\n- [failure-modes.md](references\u002Ffailure-modes.md) — ADK-specific symptoms with\n  the cause and a concrete check for each.\n- [event-flow.md](references\u002Fevent-flow.md) — how an invocation becomes events,\n  callback order, the event fields that matter, and where each stage lives in\n  the source.\n\n## Ground rules\n\n- Leave sessions in place when you finish. The user may still want to open them\n  in the web UI, and `adk web` has no undelete.\n- Delete any throwaway agent you created for a repro, unless the user asked to\n  keep it.\n- Reach for a unit test in `tests\u002Funittests\u002F` when the bug is inside one\n  component, and for a sample under `contributing\u002Fsamples\u002F` (see\n  `adk-sample-creator`) when it only reproduces with runner, agent, and workflow\n  wired together.\n",{"name":5,"description":7},"main","8cd3b12c8a5d658c5e0d3ea0731d8be34a092a4a",".agents\u002Fskills\u002Fadk-debug",4356,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fadk-python","https:\u002F\u002Fgoogle.github.io\u002Fadk-docs\u002F","https:\u002F\u002Fgithub.com\u002Fgoogle","https:\u002F\u002Fopensource.google\u002F","Google ❤️ Open Source","2026-11-14 14:38:36",{"source":9,"skillName":5,"commands":67,"prompt":77,"zipAvailable":78},[68,71,74],{"tool":69,"command":70},"npx","npx skills add google\u002Fadk-python --skill adk-debug",{"tool":72,"command":73},"bunx","bunx skills add google\u002Fadk-python --skill adk-debug",{"tool":75,"command":76},"pnpm","pnpm dlx skills add google\u002Fadk-python --skill adk-debug","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fadk-python\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fadk-debug\u002FSKILL.md",true,[80,86,90,94,98],{"path":81,"resourceType":82,"resourceTypeDesc":83,"sizeBytes":84,"sourceHtmlUrl":85},"references\u002Fcli-run.md","REFERENCE","参考文档",5007,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fadk-python\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fadk-debug\u002Freferences\u002Fcli-run.md",{"path":87,"resourceType":82,"resourceTypeDesc":83,"sizeBytes":88,"sourceHtmlUrl":89},"references\u002Fevent-flow.md",4681,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fadk-python\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fadk-debug\u002Freferences\u002Fevent-flow.md",{"path":91,"resourceType":82,"resourceTypeDesc":83,"sizeBytes":92,"sourceHtmlUrl":93},"references\u002Ffailure-modes.md",5400,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fadk-python\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fadk-debug\u002Freferences\u002Ffailure-modes.md",{"path":95,"resourceType":82,"resourceTypeDesc":83,"sizeBytes":96,"sourceHtmlUrl":97},"references\u002Flogs-and-traces.md",4352,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fadk-python\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fadk-debug\u002Freferences\u002Flogs-and-traces.md",{"path":99,"resourceType":82,"resourceTypeDesc":83,"sizeBytes":100,"sourceHtmlUrl":101},"references\u002Fweb-api.md",3505,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fadk-python\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fadk-debug\u002Freferences\u002Fweb-api.md",[103,136,165,192,214,224],{"skillNo":104,"name":105,"nameZh":106,"description":107,"descriptionZh":108,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":109,"categories":110,"keywords":117,"publishedAt":51},"01M698ZJNXJCE7T81AK0Y5R01D","bigquery-graph","BigQuery 图查询分析","Skill for Graph Query Language (GQL) or SQL\u002FPGQ queries against a property graph.\nIncludes path finding, multi-hop traversal, topological connection, shortest path,\nnode reachability, edge connectivity, and semantic graph queries.","针对属性图使用图查询语言（GQL）或 SQL\u002FPGQ 进行查询的技能。包括路径查找、多跳遍历、拓扑连接、最短路径、节点可达性、边连通性和语义图查询。","https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fadk-python\u002Fblob\u002Fmain\u002Fsrc\u002Fgoogle\u002Fadk\u002Fintegrations\u002Fbigquery\u002Fskills\u002Fbigquery-graph\u002FSKILL.md",[111,114],{"categoryNo":112,"categoryName":113,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BQGD4CMBM6B4PWSM1NXGT9","数据分析与报告",{"categoryNo":115,"categoryName":116,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQGD5CX980XNXCJKQF70BY","数据分析师",[118,119,120,10,121,32,122,123,124,125,126,127,128,129,130,131,132,133,134,135],"graph","bigquery","bigquery graph","for","sql","edge","graph query","hop","node","queries","language","query","connectivity","gql","semantic","multi","connection","path",{"skillNo":137,"name":138,"nameZh":139,"description":140,"descriptionZh":141,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":142,"categories":143,"keywords":146,"publishedAt":51},"01M698ZEVMRDDFX2MH3GHQGSNW","bigquery-ai-ml","BigQuery AI 与机器学习分析","Leverages BigQuery's built-in machine learning and GenAI capabilities for advanced data analytics. Use when you need to write SQL queries that perform time-series forecasting, predict values, detect outliers or anomalies, find key drivers, perform semantic search or vector search, classify text, calculate similarity, summarize content, translate language, evaluate models, filter by semantic conditions, measure the causal effect of an intervention, compute correlations between columns, detect change points or structural breaks, extract trend or seasonality components, or leverage generative AI capabilities in BigQuery. Do not use for general BigQuery dataset, table, or job management requests.","利用 BigQuery 内置的机器学习与生成式 AI 能力进行高级数据分析。当您需要编写 SQL 查询以执行时间序列预测、数值预测、异常值或异常检测、寻找关键驱动因素、语义搜索或向量搜索、文本分类、相似度计算、内容摘要、语言翻译、模型评估、按语义条件筛选、衡量干预措施的因果效应、计算列之间的相关性、检测变化点或结构性突变、提取趋势或季节性成分，或利用 BigQuery 中的生成式 AI 能力时使用。不适用于常规的 BigQuery 数据集、表或作业管理请求。","https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fadk-python\u002Fblob\u002Fmain\u002Fsrc\u002Fgoogle\u002Fadk\u002Fintegrations\u002Fbigquery\u002Fskills\u002Fbigquery-ai-ml\u002FSKILL.md",[144,145],{"categoryNo":112,"categoryName":113,"taxonomyType":28,"taxonomyTypeDesc":29},{"categoryNo":115,"categoryName":116,"taxonomyType":23,"taxonomyTypeDesc":24},[147,119,148,149,150,34,151,37,152,153,154,155,156,157,158,10,159,160,32,161,162,163,164],"ai ml","ml","bigquery ai ml","vector","generative","advanced","dataset","leverage","structural","time","effect","search","summarize","genai","generative ai","translate","components","capabilities",{"skillNo":166,"name":167,"nameZh":168,"description":169,"descriptionZh":170,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":171,"categories":172,"keywords":177,"publishedAt":51},"01M698ZCN6SZ9SJ8E9970M47FQ","code-review-skill","代码审查与定制反馈","Reviews code with feedback tailored to the developer's profile in session state.","审查代码，并根据会话状态中开发者的个人画像提供量身定制的反馈。","https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fadk-python\u002Fblob\u002Fmain\u002Fcontributing\u002Fsamples\u002Fenvironment_and_skills\u002Fskills_inject_state\u002Fskills\u002Fcode-review-skill\u002FSKILL.md",[173,174],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":175,"categoryName":176,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BQJH394GT47X57A9Q8G7HX","测试与质量保障",[178,179,180,181,182,183,184,185,186,187,188,189,190,191],"review skill","code","code review skill","review","code review","session","state","developer","feedback","profile","with","session state","reviews","true",{"skillNo":193,"name":194,"nameZh":195,"description":196,"descriptionZh":197,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":198,"categories":199,"keywords":205,"publishedAt":51},"01M698ZAMH02NSGXMR533ETWYW","weather-skill","天气信息查询","A skill that provides weather information based on reference data.","基于参考数据提供天气信息的技能。","https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fadk-python\u002Fblob\u002Fmain\u002Fcontributing\u002Fsamples\u002Fenvironment_and_skills\u002Fskills_agent\u002Fskills\u002Fweather-skill\u002FSKILL.md",[200,203],{"categoryNo":201,"categoryName":202,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQ6TP62FHWG6FJGZZNMV37","通用知识岗位",{"categoryNo":204,"categoryName":195,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BS42SN6BM7HM22FFSAX20J",[206,207,208,209,210,211,212,213],"weather skill","weather","data","reference","speed","get","wind","information",{"skillNo":215,"name":194,"nameZh":195,"description":216,"descriptionZh":217,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":218,"categories":219,"keywords":222,"publishedAt":51},"01M698Z8QFDZ713E03589BHEG5","A skill that provides weather information based on reference data and scripts.","基于参考数据和脚本提供天气信息的技能。","https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fadk-python\u002Fblob\u002Fmain\u002Fcontributing\u002Fsamples\u002Fenvironment_and_skills\u002Fskills\u002Fskills\u002Fweather-skill\u002FSKILL.md",[220,221],{"categoryNo":201,"categoryName":202,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":204,"categoryName":195,"taxonomyType":28,"taxonomyTypeDesc":29},[207,206,213,212,223,211,210,209,208],"scripts",{"skillNo":225,"name":194,"nameZh":195,"description":196,"descriptionZh":226,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":227,"categories":228,"keywords":235,"publishedAt":51},"01M698Z6P1NZFW6A6V342AWZPR","一种基于参考数据提供天气信息的技能。","https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fadk-python\u002Fblob\u002Fmain\u002Fcontributing\u002Fsamples\u002Fenvironment_and_skills\u002Flocal_environment_skill\u002Fskills\u002Fweather-skill\u002FSKILL.md",[229,232],{"categoryNo":230,"categoryName":231,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQ6TRAEZFJ43R95HPEBJYG","知识工作者",{"categoryNo":233,"categoryName":234,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BRK8296DVQW3GCBXC89NVG","网页搜索与信息研究",[206,207,209,213,208]]