Skip to content
Join free
Google Official

Agents CLI Claude skill

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.

$npx alyn-cli add agents-cli-claude
View this skill on GitHubgoogle/agents-cli/extensions/claude/template/.agents/skills/agents-cli-claude/SKILL.md
Pack stars
6,397
Pack installs
4.1M
Alyn Score
76/99
Updated
27 h ago
License
Apache-2.0

What is the Agents CLI Claude skill?

Agents CLI Claude is a ai engineering skill by Google for Claude Code, Cursor, Codex and other AI coding agents. 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.

The agent is a ClaudeAgentOptions exported as rootagent from app/agent.py. There is no google.adk dependency and no ADK runner. Other google-agents-cli- skills assume ADK; where they describe the agent itself, this skill wins.

When to use it

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.

What the SKILL.md covers

  • What ADK guidance maps to here
  • The contract
  • Adding a tool
  • Commands
  • Serving
  • Common mistakes
  • References
Author
Google
Pack
google/agents-cli (9 skills)
Category
AI engineering, #115 of 618
Alyn Score
76 / 99
Files
4, includes references
License
Apache-2.0
Last updated
27 h ago
Works with
Claude Code, Claude, Cursor, Codex, Gemini CLI, Copilot

Agents CLI Claude compared to similar skills

SkillAlyn ScoreGitHub starsUpdated
Agents CLI Claude · Google766.4k27 h ago
Azure Functions · managedcode6452411 days ago
Agent Platform Endpoint Management · Google8225k28 h ago
Adk Agent Builder · jeremylongshore732.9k33 h ago

Install Agents CLI Claude

Pick your agent. Every command is ready to paste.

$npx alyn-cli add agents-cli-claude

Detects your agents (Claude Code, Cursor, Codex and 70+ more) and installs to the right folder. Add -g to install globally.

$npx skills add google/agents-cli --skill agents-cli-claude

Or use the open skills CLI directly.

01

Install it

Run the command above, or upload the folder in Claude.

02

Ask naturally

Describe the task. Your agent loads agents-cli-claude when the request matches its description.

03

Name it if needed

If it does not trigger, say “use the agents-cli-claude skill”. In Codex, type $agents-cli-claude.

The skill itself

SKILL.md

FolderGitHub

Claude Agent SDK project (agents-cli)

The agent is a ClaudeAgentOptions exported as root_agent from app/agent.py. There is no google.adk dependency and no ADK runner. Other google-agents-cli-* skills assume ADK; where they describe the agent itself, this skill wins.

Experimental. Deploy to agent_runtime (limits: references/claude.md) or cloud_run. The model runs on Claude on Gemini platform and must be enabled in Model Garden.

What ADK guidance maps to here

ADK guidance This project
LlmAgent, Agent ClaudeAgentOptions(model=..., system_prompt=..., ...) assigned to root_agent
Agent(name=...) AGENT_NAME in app/app_utils/settings.py (ClaudeAgentOptions has no name); keep it equal to create_params.root_agent_name in agents-cli-manifest.yaml
google.adk.tools, FunctionTool @tool(...) async functions, served by create_sdk_mcp_server and passed in mcp_servers
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
ADK runner behind agents-cli run agents-cli run runs root_agent in process
agents-cli eval dataset synthesize, eval optimize Unavailable: both drive the agent through ADK. The command says so and exits
agents-cli eval generate --url (traces from a served agent) Unavailable: the server speaks A2A, not ADK's /run_sse. eval generate runs root_agent in process; the command refuses --url
ADK sessions Claude sessions, one per A2A conversation; scaffold with --session-type cloud_sql to keep them across instances

The contract

  • app/agent.py exports root_agent: ClaudeAgentOptions. Only it changes when you change the agent.
  • app/app_utils/claude.py runs it. Leave app/app_utils/ alone.
  • The served agent's own CLAUDE.md, .claude/ and .mcp.json go in agent_config/.
  • app/fast_api_app.py exposes app. Every deployment target runs uvicorn app.fast_api_app:app.

Adding a tool

@tool("lookup_order", "Look up an order by id.", {"order_id": str})
async def lookup_order(args: dict[str, Any]) -> dict[str, Any]:
    return {"content": [{"type": "text", "text": f"Order {args['order_id']}: shipped"}]}


server = create_sdk_mcp_server(name="orders", tools=[lookup_order])

root_agent = ClaudeAgentOptions(
    ...,
    mcp_servers={"orders": server},
    tools=[],  # no built-in Claude Code tools
    allowed_tools=["mcp__orders__lookup_order"],  # mcp__<server>__<tool>
)

A tool missing from allowed_tools is not available to the agent. Subagents (agents= or agent_config/.claude/agents/) run through the built-in Agent tool: add "Agent" to both tools and allowed_tools. Built-in tools (WebFetch, WebSearch, Read, Bash, ...) go in both tools and allowed_tools; keep Bash and file-editing tools out of a served agent unless the user asks.

Commands

agents-cli install                  # uv sync
agents-cli run "hello"              # run root_agent in process; prints a session id
agents-cli run "and?" --session-id <id>   # continue that conversation
agents-cli eval generate --dataset tests/eval/datasets/basic-dataset.json -o tests/eval/output/
agents-cli eval grade --traces tests/eval/output/<dataset>.json --config tests/eval/eval_config.yaml
agents-cli deploy
agents-cli scaffold enhance -d cloud_run --cicd-runner github_actions   # add infra later

run, eval generate, publish gemini, playground, eval dataset and eval optimize are overridden by agents-cli-extension.yaml at the project root. Prefix any command with AGENTS_CLI_DISABLE_OVERRIDES=1 to reach the built-in instead.

Serving

A2A: JSON-RPC at POST /a2a/app, card at /a2a/app/.well-known/agent-card.json, health at /health; over A2A, text streams as it is generated. On Agent Runtime, also :query and :streamQuery (new sessions and turns), which agents-cli run --mode adk and an ingress Agent Gateway use. See references/claude.md for sessions, telemetry and deployment.

Common mistakes

  • Renaming root_agent or app, which breaks run, eval and deploy.
  • Leaving tools unset: the agent then gets every built-in Claude Code tool.
  • Using a model id that is not enabled on Gemini platform for the project.
  • Reaching for eval dataset synthesize or eval optimize: they need ADK. Write cases into tests/eval/datasets/ and use eval generate + eval grade.
  • Expecting /run_sse or ADK's REST session routes; this server serves A2A and Agent Runtime's :query / :streamQuery.

References

  • references/claude.md — how a turn runs, model access, project settings, sessions, calling other agents, telemetry and logs.
  • references/migrate-claude-agent.md — moving an existing Claude Agent SDK agent into this project and onto GCP.
  • references/migrate-from-aws.md — extra migration steps for an agent running on AWS.

Tips for Agents CLI Claude

  • • Start a fresh session after installing so your agent picks up the new skill.
  • • It bundles reference files. The agent reads them only when needed, so they cost no context until then.
  • • It is part of a pack with 9 skills. Install only the ones you need with --skill to keep triggers precise.
  • • If two skills overlap, mention the one you want by name.

Questions about Agents CLI Claude

What does the Agents CLI Claude skill do?

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.

How do I install Agents CLI Claude?

Run "npx alyn-cli add agents-cli-claude" in your project. The Alyn CLI installs it for Claude Code, Cursor, Codex and 70+ other agents. In Claude on the web, upload the skill folder as a ZIP under Customize > Skills.

Does Agents CLI Claude work in Cursor and Codex?

Yes. Agents CLI Claude uses the open SKILL.md format, so it works in Claude Code, Claude, Cursor, OpenAI Codex, Gemini CLI, GitHub Copilot and other agents that support agent skills.

When should I use the Agents CLI Claude skill?

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.

What is inside the Agents CLI Claude skill?

The SKILL.md covers What ADK guidance maps to here, The contract, Adding a tool, Commands, Serving, Common mistakes, and the skill folder has 4 files.

What is a good alternative to Agents CLI Claude?

Azure Functions by managedcode is the highest-ranked similar skill from another creator, with an Alyn Score of 64 compared to 76 for Agents CLI Claude.

Is Agents CLI Claude free?

Agents CLI Claude is open source on GitHub under the Apache-2.0 license. It is free to install; check the license before commercial use.

Who made Agents CLI Claude?

Agents CLI Claude is published by Google in the google/agents-cli repository, together with 8 other skills.

Similar skills. From other creators.