# google-agents-cli-adk-code

> Claude/Codex skill by [@google](https://github.com/google) · 6.3k stars · 572k installs · Updated 2026-11-04

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).

Tags: adk, agent-development-kit, agents, coding-agent, gemini, gemini-enterprise-agent-platform, generative-ai, google-cloud

## Install

```sh
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.

## Links

- HTML page: https://omgskills.com/library/google/agents-cli/google-agents-cli-adk-code/
- GitHub: https://github.com/google/agents-cli
- Author: [@google](https://github.com/google)

## More from this repo

- [google-agents-cli-publish](https://omgskills.com/library/google/agents-cli/google-agents-cli-publish/index.md) — This skill should be used when the user wants to "publish an agent", "publish my ADK agent", "register an agent with...
   - [@google](https://github.com/google) · 6k stars
