google-agents-cli-adk-code
This skill should be used when the user wants to "write agent code", "build an agent with ADK", "add a tool", "create a callback", "define an agent", "use state management" — in a project that needs ADK (Agent Development Kit) API patterns and code examples. It provides a quick reference for agent types, tool definitions, orchestration patterns, callbacks, state management, the graph Workflow API, and reference recipes to study. Do NOT use for scaffolding (use google-agents-cli-scaffold) or deployment (use google-agents-cli-deploy).
Install
With your agent
Install OMGSkills skill "google/agents-cli:google-agents-cli-adk-code" into this agent's normal skills directory: call the OMGSkills MCP get_install_plan tool for your agent and run the script it returns (it installs only the pinned commit and verifies SKILL.md), and stop if MCP or the pin is unavailable. Do not overwrite or change existing skills without asking me.
Manual command
git clone https://github.com/google/agents-cli /tmp/agents-cli && ln -s /tmp/agents-cli/skills/google-agents-cli-adk-code ~/.claude/skills/google-agents-cli-adk-code
From README
ADK Code Reference Activate /google-agents-cli-workflow first. Study Recipes (No Project Needed) Python — read the topic index in references/recipes.md before answering "how do I build X". Worked implementations exist for: sandboxed/per-user code execution, agent-loadable SKILL.md skills, cross-session memory, approval gates before risky actions, tool guardrails, per-user credentials, and scheduled/event-driven runs. Go — read the upstream examples/. clone the repo and read the one matching the capability you need before implementing it. Prerequisites for Writing Code Do NOT write agent code until a project is scaffolded. Verify project: run agents-cli info (proceed if config exists). No project: load /google-agents-cli-workflow and agree the spec with the user (its Phase 0) before you scaffold. Existing code: run agents-cli scaffold enhance .. Quick Reference — Most Common Patterns See references/adk-python.md and references/adk-go.md for Python and Go code examples, respectively.
