[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M74B3ZR8DDTTJ22YD4TTSB2Y":3,"skill-same:01M74B3ZR8DDTTJ22YD4TTSB2Y":61},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":30,"ownerDescription":31,"updatedAt":32,"install":33,"resources":46},"01M74B3ZR8DDTTJ22YD4TTSB2Y","agents-cli-claude",null,"Use when working in this project — adding tools, editing the agent, running, evaluating, serving or deploying it — or when guidance mentions ADK, LlmAgent, google.adk, adk web, or an ADK runner. This project is a Claude Agent SDK agent scaffolded by agents-cli, so ADK-specific instructions do not apply.","google\u002Fagents-cli-extensions","google","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F1342004?v=4","01M698VYEFDM0VJBZDYYJ2T83S","Google","01M74B2C1A2PXHR3PMMTP7X3KD",4,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fagents-cli-extensions\u002Fblob\u002Fmain\u002Fcore\u002Fclaude\u002Ftemplate\u002F.agents\u002Fskills\u002Fagents-cli-claude\u002FSKILL.md",[],[],"2026-11-11 15:11:14",false,"---\nname: agents-cli-claude\ndescription: >\n  Use when working in this project — adding tools, editing the agent, running,\n  evaluating, serving or deploying it — or when guidance mentions ADK, LlmAgent,\n  google.adk, adk web, or an ADK runner. This project is a Claude Agent SDK\n  agent scaffolded by agents-cli, so ADK-specific instructions do not apply.\n---\n\n# Claude Agent SDK project (agents-cli)\n\nThe agent is a `ClaudeAgentOptions` exported as `root_agent` from\n`app\u002Fagent.py`. There is no `google.adk` dependency and no ADK runner. Other\n`google-agents-cli-*` skills assume ADK; where they describe the agent itself,\nthis skill wins.\n\n**Experimental.** Deploy to agent_runtime (limits: `references\u002Fclaude.md`) or cloud_run.\nThe model runs on Claude on Gemini platform and must be enabled in Model Garden.\n\n## What ADK guidance maps to here\n\n| ADK guidance | This project |\n|---|---|\n| `LlmAgent`, `Agent` | `ClaudeAgentOptions(model=..., system_prompt=..., ...)` assigned to `root_agent` |\n| `Agent(name=...)` | `AGENT_NAME` in `app\u002Fapp_utils\u002Fsettings.py` (`ClaudeAgentOptions` has no name); keep it equal to `create_params.root_agent_name` in `agents-cli-manifest.yaml` |\n| `google.adk.tools`, `FunctionTool` | `@tool(...)` async functions, served by `create_sdk_mcp_server` and passed in `mcp_servers` |\n| `adk web`, `agents-cli playground` | Unavailable (no SDK dev UI). Use `agents-cli run`, or `uv run uvicorn app.fast_api_app:app --port 8080` |\n| ADK runner behind `agents-cli run` | `agents-cli run` runs `root_agent` in process |\n| `agents-cli eval dataset synthesize`, `eval optimize` | Unavailable: both drive the agent through ADK. The command says so and exits |\n| `agents-cli eval generate --url` (traces from a served agent) | Unavailable: the server speaks A2A, not ADK's `\u002Frun_sse`. `eval generate` runs `root_agent` in process; the command refuses `--url` |\n| ADK sessions | Claude sessions, one per A2A conversation; scaffold with `--session-type cloud_sql` to keep them across instances |\n\n## The contract\n\n- `app\u002Fagent.py` exports `root_agent: ClaudeAgentOptions`. Only it changes when\n  you change the agent.\n- `app\u002Fapp_utils\u002Fclaude.py` runs it. Leave `app\u002Fapp_utils\u002F` alone.\n- The served agent's own `CLAUDE.md`, `.claude\u002F` and `.mcp.json` go in `agent_config\u002F`.\n- `app\u002Ffast_api_app.py` exposes `app`. Every deployment target runs\n  `uvicorn app.fast_api_app:app`.\n\n## Adding a tool\n\n```python\n@tool(\"lookup_order\", \"Look up an order by id.\", {\"order_id\": str})\nasync def lookup_order(args: dict[str, Any]) -> dict[str, Any]:\n    return {\"content\": [{\"type\": \"text\", \"text\": f\"Order {args['order_id']}: shipped\"}]}\n\n\nserver = create_sdk_mcp_server(name=\"orders\", tools=[lookup_order])\n\nroot_agent = ClaudeAgentOptions(\n    ...,\n    mcp_servers={\"orders\": server},\n    tools=[],  # no built-in Claude Code tools\n    allowed_tools=[\"mcp__orders__lookup_order\"],  # mcp__\u003Cserver>__\u003Ctool>\n)\n```\n\nA tool missing from `allowed_tools` is not available to the agent. Subagents (`agents=`\nor `agent_config\u002F.claude\u002Fagents\u002F`) run through the built-in `Agent` tool: add `\"Agent\"` to both\n`tools` and `allowed_tools`. Built-in tools\n(`WebFetch`, `WebSearch`, `Read`, `Bash`, ...) go in both `tools` and `allowed_tools`;\nkeep `Bash` and file-editing tools out of a served agent unless the user asks.\n\n## Commands\n\n```bash\nagents-cli install                  # uv sync\nagents-cli run \"hello\"              # run root_agent in process; prints a session id\nagents-cli run \"and?\" --session-id \u003Cid>   # continue that conversation\nagents-cli eval generate --dataset tests\u002Feval\u002Fdatasets\u002Fbasic-dataset.json -o tests\u002Feval\u002Foutput\u002F\nagents-cli eval grade --traces tests\u002Feval\u002Foutput\u002F\u003Cdataset>.json --config tests\u002Feval\u002Feval_config.yaml\nagents-cli deploy\nagents-cli scaffold enhance -d cloud_run --cicd-runner github_actions   # add infra later\n```\n\n`run`, `eval generate`, `publish gemini`, `playground`, `eval dataset` and\n`eval optimize` are overridden by `agents-cli-extension.yaml` at the project root.\nPrefix any command with `AGENTS_CLI_DISABLE_OVERRIDES=1` to reach the built-in instead.\n\n## Serving\n\nA2A: JSON-RPC at `POST \u002Fa2a\u002Fapp`, card at `\u002Fa2a\u002Fapp\u002F.well-known\u002Fagent-card.json`,\nhealth at `\u002Fhealth`; over A2A, text streams as it is generated. On Agent Runtime, also\n`:query` and `:streamQuery` (new sessions and turns), which `agents-cli run --mode adk`\nand an ingress Agent Gateway use. See `references\u002Fclaude.md` for sessions, telemetry\nand deployment.\n\n## Common mistakes\n\n- Renaming `root_agent` or `app`, which breaks `run`, eval and deploy.\n- Leaving `tools` unset: the agent then gets every built-in Claude Code tool.\n- Using a model id that is not enabled on Gemini platform for the project.\n- Reaching for `eval dataset synthesize` or `eval optimize`: they need ADK.\n  Write cases into `tests\u002Feval\u002Fdatasets\u002F` and use `eval generate` + `eval grade`.\n- Expecting `\u002Frun_sse` or ADK's REST session routes; this server serves A2A and\n  Agent Runtime's `:query` \u002F `:streamQuery`.\n\n## References\n\n- `references\u002Fclaude.md` — how a turn runs, model access, project settings, sessions,\n  calling other agents, telemetry and logs.\n- `references\u002Fmigrate-claude-agent.md` — moving an existing Claude Agent SDK agent into\n  this project and onto GCP.\n- `references\u002Fmigrate-from-aws.md` — extra migration steps for an agent running on AWS.\n","# Claude Agent SDK project (agents-cli)\n\nThe agent is a `ClaudeAgentOptions` exported as `root_agent` from\n`app\u002Fagent.py`. There is no `google.adk` dependency and no ADK runner. Other\n`google-agents-cli-*` skills assume ADK; where they describe the agent itself,\nthis skill wins.\n\n**Experimental.** Deploy to agent_runtime (limits: `references\u002Fclaude.md`) or cloud_run.\nThe model runs on Claude on Gemini platform and must be enabled in Model Garden.\n\n## What ADK guidance maps to here\n\n| ADK guidance | This project |\n|---|---|\n| `LlmAgent`, `Agent` | `ClaudeAgentOptions(model=..., system_prompt=..., ...)` assigned to `root_agent` |\n| `Agent(name=...)` | `AGENT_NAME` in `app\u002Fapp_utils\u002Fsettings.py` (`ClaudeAgentOptions` has no name); keep it equal to `create_params.root_agent_name` in `agents-cli-manifest.yaml` |\n| `google.adk.tools`, `FunctionTool` | `@tool(...)` async functions, served by `create_sdk_mcp_server` and passed in `mcp_servers` |\n| `adk web`, `agents-cli playground` | Unavailable (no SDK dev UI). Use `agents-cli run`, or `uv run uvicorn app.fast_api_app:app --port 8080` |\n| ADK runner behind `agents-cli run` | `agents-cli run` runs `root_agent` in process |\n| `agents-cli eval dataset synthesize`, `eval optimize` | Unavailable: both drive the agent through ADK. The command says so and exits |\n| `agents-cli eval generate --url` (traces from a served agent) | Unavailable: the server speaks A2A, not ADK's `\u002Frun_sse`. `eval generate` runs `root_agent` in process; the command refuses `--url` |\n| ADK sessions | Claude sessions, one per A2A conversation; scaffold with `--session-type cloud_sql` to keep them across instances |\n\n## The contract\n\n- `app\u002Fagent.py` exports `root_agent: ClaudeAgentOptions`. Only it changes when\n  you change the agent.\n- `app\u002Fapp_utils\u002Fclaude.py` runs it. Leave `app\u002Fapp_utils\u002F` alone.\n- The served agent's own `CLAUDE.md`, `.claude\u002F` and `.mcp.json` go in `agent_config\u002F`.\n- `app\u002Ffast_api_app.py` exposes `app`. Every deployment target runs\n  `uvicorn app.fast_api_app:app`.\n\n## Adding a tool\n\n```python\n@tool(\"lookup_order\", \"Look up an order by id.\", {\"order_id\": str})\nasync def lookup_order(args: dict[str, Any]) -> dict[str, Any]:\n    return {\"content\": [{\"type\": \"text\", \"text\": f\"Order {args['order_id']}: shipped\"}]}\n\n\nserver = create_sdk_mcp_server(name=\"orders\", tools=[lookup_order])\n\nroot_agent = ClaudeAgentOptions(\n    ...,\n    mcp_servers={\"orders\": server},\n    tools=[],  # no built-in Claude Code tools\n    allowed_tools=[\"mcp__orders__lookup_order\"],  # mcp__\u003Cserver>__\u003Ctool>\n)\n```\n\nA tool missing from `allowed_tools` is not available to the agent. Subagents (`agents=`\nor `agent_config\u002F.claude\u002Fagents\u002F`) run through the built-in `Agent` tool: add `\"Agent\"` to both\n`tools` and `allowed_tools`. Built-in tools\n(`WebFetch`, `WebSearch`, `Read`, `Bash`, ...) go in both `tools` and `allowed_tools`;\nkeep `Bash` and file-editing tools out of a served agent unless the user asks.\n\n## Commands\n\n```bash\nagents-cli install                  # uv sync\nagents-cli run \"hello\"              # run root_agent in process; prints a session id\nagents-cli run \"and?\" --session-id \u003Cid>   # continue that conversation\nagents-cli eval generate --dataset tests\u002Feval\u002Fdatasets\u002Fbasic-dataset.json -o tests\u002Feval\u002Foutput\u002F\nagents-cli eval grade --traces tests\u002Feval\u002Foutput\u002F\u003Cdataset>.json --config tests\u002Feval\u002Feval_config.yaml\nagents-cli deploy\nagents-cli scaffold enhance -d cloud_run --cicd-runner github_actions   # add infra later\n```\n\n`run`, `eval generate`, `publish gemini`, `playground`, `eval dataset` and\n`eval optimize` are overridden by `agents-cli-extension.yaml` at the project root.\nPrefix any command with `AGENTS_CLI_DISABLE_OVERRIDES=1` to reach the built-in instead.\n\n## Serving\n\nA2A: JSON-RPC at `POST \u002Fa2a\u002Fapp`, card at `\u002Fa2a\u002Fapp\u002F.well-known\u002Fagent-card.json`,\nhealth at `\u002Fhealth`; over A2A, text streams as it is generated. On Agent Runtime, also\n`:query` and `:streamQuery` (new sessions and turns), which `agents-cli run --mode adk`\nand an ingress Agent Gateway use. See `references\u002Fclaude.md` for sessions, telemetry\nand deployment.\n\n## Common mistakes\n\n- Renaming `root_agent` or `app`, which breaks `run`, eval and deploy.\n- Leaving `tools` unset: the agent then gets every built-in Claude Code tool.\n- Using a model id that is not enabled on Gemini platform for the project.\n- Reaching for `eval dataset synthesize` or `eval optimize`: they need ADK.\n  Write cases into `tests\u002Feval\u002Fdatasets\u002F` and use `eval generate` + `eval grade`.\n- Expecting `\u002Frun_sse` or ADK's REST session routes; this server serves A2A and\n  Agent Runtime's `:query` \u002F `:streamQuery`.\n\n## References\n\n- `references\u002Fclaude.md` — how a turn runs, model access, project settings, sessions,\n  calling other agents, telemetry and logs.\n- `references\u002Fmigrate-claude-agent.md` — moving an existing Claude Agent SDK agent into\n  this project and onto GCP.\n- `references\u002Fmigrate-from-aws.md` — extra migration steps for an agent running on AWS.\n",{"name":5,"description":7},"main","eaca42bdb4a9f4a1cd41f8941c681cd5fe24318d","core\u002Fclaude\u002Ftemplate\u002F.agents\u002Fskills\u002Fagents-cli-claude",0,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fagents-cli-extensions","https:\u002F\u002Fgithub.com\u002Fgoogle","https:\u002F\u002Fopensource.google\u002F","Google ❤️ Open Source","2026-11-10 21:14:32",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add google\u002Fagents-cli-extensions --skill agents-cli-claude",{"tool":39,"command":40},"bunx","bunx skills add google\u002Fagents-cli-extensions --skill agents-cli-claude",{"tool":42,"command":43},"pnpm","pnpm dlx skills add google\u002Fagents-cli-extensions --skill agents-cli-claude","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fagents-cli-extensions\u002Fblob\u002Fmain\u002Fcore\u002Fclaude\u002Ftemplate\u002F.agents\u002Fskills\u002Fagents-cli-claude\u002FSKILL.md",true,[47,53,57],{"path":48,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":51,"sourceHtmlUrl":52},"references\u002Fclaude.md","REFERENCE","参考文档",19502,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fagents-cli-extensions\u002Fblob\u002Fmain\u002Fcore\u002Fclaude\u002Ftemplate\u002F.agents\u002Fskills\u002Fagents-cli-claude\u002Freferences\u002Fclaude.md",{"path":54,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":55,"sourceHtmlUrl":56},"references\u002Fmigrate-claude-agent.md",21478,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fagents-cli-extensions\u002Fblob\u002Fmain\u002Fcore\u002Fclaude\u002Ftemplate\u002F.agents\u002Fskills\u002Fagents-cli-claude\u002Freferences\u002Fmigrate-claude-agent.md",{"path":58,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":59,"sourceHtmlUrl":60},"references\u002Fmigrate-from-aws.md",7993,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fagents-cli-extensions\u002Fblob\u002Fmain\u002Fcore\u002Fclaude\u002Ftemplate\u002F.agents\u002Fskills\u002Fagents-cli-claude\u002Freferences\u002Fmigrate-from-aws.md",[62],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":19},"01M74B4MBKVZGBJ07BQSX52XXK","agents-cli-langchain","Use when working in this project — adding tools, editing the agent, running, evaluating, serving or deploying it — or when guidance mentions ADK, LlmAgent, google.adk, adk web, or an ADK runner. This project is LangChain\u002FLangGraph scaffolded by agents-cli, so ADK-specific instructions do not apply.","https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fagents-cli-extensions\u002Fblob\u002Fmain\u002Fcore\u002Flangchain\u002Ftemplate\u002F.agents\u002Fskills\u002Fagents-cli-langchain\u002FSKILL.md",[],[]]