installskill

Skills / google/agents-cli

google-agents-cli-adk-code

Quick reference for ADK agent code: agent types, tools, callbacks, state management and the Workflow API.

Pinned commit
ea7a3c9003d1Committed 2026-11-24
Files
7142 KB
License
Apache-2.0
Snapshot taken
2026-11-28
Description from the skill
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).

This is the text your agent reads to decide when to use the skill.

Install

Choose your agent. Pinned commands install exactly the commit this page describes.

Skill directory .claude/skills/Claude Code · Official docs

Does not read the shared .agents/skills directory. A skill must land in .claude/skills, or arrive inside a plugin.

GitHub CLIpinned

$ gh skill install google/agents-cli skills/google-agents-cli-adk-code --agent claude-code --pin ea7a3c9003d11514c5ba5a46a7ceaffb333e5b76

gh picks the directory for the agent, names the folder after the source directory (google-agents-cli-adk-code), and writes source metadata into the SKILL.md frontmatter, so the content hash below will not match. Check the github-tree-sha it records instead: it should read c4618344782786208752df2d1cd1cee27be4c92f.

skills CLIpinned

$ npx skills add google/agents-cli@ea7a3c9003d11514c5ba5a46a7ceaffb333e5b76 --skill google-agents-cli-adk-code -a claude-code --copy

Downloads and runs the skills package from npm. --copy writes real files instead of symlinks. The CLI sends anonymous telemetry unless DISABLE_TELEMETRY=1 is set, and that setting also turns off its audit lookups.

Plain gitpinned

$ tmp=$(mktemp -d)
$ git clone --quiet https://github.com/google/agents-cli.git "$tmp"
$ git -C "$tmp" checkout --quiet ea7a3c9003d11514c5ba5a46a7ceaffb333e5b76
$ mkdir -p .claude/skills
$ cp -R "$tmp/skills/google-agents-cli-adk-code" .claude/skills/google-agents-cli-adk-code

No extra tooling. Files land byte for byte as published in .claude/skills/google-agents-cli-adk-code, so the content hash below can be checked directly.

Check what landed

Run this after installing. It prints one SHA-256 for the whole directory. If your installer reported a different directory, cd there instead.

$ cd .claude/skills/google-agents-cli-adk-code && find . -type f -print0 | LC_ALL=C sort -z | xargs -0 shasum -a 256 | shasum -a 256

Expected743677be205aacb2232bd32835972ef8590e43fc23a88d192b7046a87724509b

It matches only when the files are byte for byte as published. A difference means something changed: by the installer, by you, or upstream.

What is inside

Pattern matches in the files, each linked to its line. A match is a place to read, not a verdict, and no match is not proof of absence.

Docs · 6SKILL.md · 1

Runs commands3

Code that spawns other processes, or shell code blocks in the instructions.

0 in scripts · 3 in docs and other text files

Network access3

Calls that fetch from or send to a remote host.

0 in scripts · 3 in docs and other text files

Installs packages4

Commands that pull and run third-party packages at use time.

0 in scripts · 4 in docs and other text files

Reads env or credentials7

References to environment variables, tokens, keys or credential files.

0 in scripts · 7 in docs and other text files

Privileged or destructiveNo match

sudo, recursive deletes, permission changes and similar commands.

Dynamic or encoded codeNo match

eval, exec, base64 decoding and remote-script piping, which hide what runs.

Outside hosts mentioned

Hostnames of every URL in the text files.

  • adk.dev×40
  • github.com×17
  • ai.google.dev×4
  • docs.cloud.google.com×2
  • my-mcp-server.example.com×2
  • 127.0.0.1×1
  • cloud.google.com×1
  • pkg.go.dev×1
  • www.googleapis.com×1

Entries worth a second look

No symlinks, submodules, hidden files, archives, compiled files or unscanned files.

File manifest

Every file in the skill directory at the pinned commit.

Content hash
743677be205aacb2232bd32835972ef8590e43fc23a88d192b7046a87724509b
Git tree SHA
c4618344782786208752df2d1cd1cee27be4c92f
PathKindSizeSHA-256
SKILL.mdSKILL.md4.3 KB10ccd81eeba7cf3b…
references/adk-go-workflows.mdDocs18 KB41ebd08daf020d9d…
references/adk-go.mdDocs23 KB90400e4719716504…
references/adk-python-live.mdDocs34 KB7c768d443d2eb33a…
references/adk-python-workflows.mdDocs17 KBd9f7e80e30a07c87…
references/adk-python.mdDocs37 KBd79c4d0e89400dfe…
references/recipes.mdDocs9.2 KB8b1915f9c7fef3ad…

Spec and portability

Checked against the Agent Skills specification.

Frontmatter
Parses as YAML
Name matches directory
Yes
Name uses lowercase letters, digits and hyphens
Yes
Description length
538limit 1,024 characters
SKILL.md body
53 linesthe spec suggests under 500 lines
Fields outside the spec
None
License field
None declared
License file
None declared
Repository license
LICENSE (Apache-2.0)

Change history

No changes recorded since the first snapshot on 2026-11-28.

Follow changes to this skill in a feed reader: Atom feed · all skills

Get an email when this skill changes

Email alerts are not built yet. Leave your address and we will write to you once, when they are. The feed above works today.

We store your address, the name of this skill and the date. It is used for nothing else.