google-agents-cli-adk-code logo

google-agents-cli-adk-code

Agent Skill

A reference skill for agents writing code with the Google Agent Development Kit (ADK). Use it for agent definitions, tools, callbacks, orchestration, and state patterns in a project that has already been scaffolded.

ADK code writingAgent implementationTool and callback patternsAgent orchestration and state

Last reviewed: · Source pinned to commit 896e471

  • Official. Written and maintained by the company or project behind the service the skill works with, so usually kept in step with it. Not audited by us.

  • Community. Written and maintained by an independent developer or group, not by the company behind the service. The company has not reviewed it, and updates depend on its author.

Maintainer not verified: we have not confirmed who maintains this skill. Treat it like a community skill until you have checked.

About this skill

This skill is a coding reference for implementing agents with Google's Agent Development Kit. It points agents to Python and Go examples for agent APIs, tools, callbacks, orchestration, state, and graph workflows. Reach for it when you are adding ADK agent code to an existing scaffolded project or studying a recipe before implementation. It is not the project scaffolding or deployment guide, and it asks agents to activate the workflow skill first.

What it does

  • Directs agents to the Python recipe index before answering how to build a capability, and to a matching upstream Go example for Go work.
  • Requires checking that a project is scaffolded before writing agent code.
  • Points to Python and Go references for core ADK APIs, tools, callbacks, plugins, state, artifacts, and multi-agent systems.
  • Identifies language-specific workflow references for graph topology, fan-out and fan-in, human approval, and parallel processing.
  • Points to specialized Python references for live and voice agents, and to recipes for capabilities such as memory, credentials, and scheduled runs.

Who it's for

  • Developers using a coding agent to write Google ADK code in an already scaffolded project.
  • People looking up ADK implementation patterns or reference recipes before coding.

How to use it

Use when you want an agent to write ADK code, define an agent, add a tool or callback, or work with state management. Activate the Google Agents CLI workflow skill first. For project scaffolding or deployment, use the corresponding companion skill instead.

Example request
In my scaffolded ADK project, show me how to define a Python agent with a custom tool and callback, using the skill's reference examples.

Good to know before you use it

  • Requires a scaffolded project before writing agent code.
  • Does not cover scaffolding or deployment.
  • Python recipes and reference files are included; Go examples are upstream.
  • The skill requires the agents-cli command-line tool.
Before you installA skill's instructions steer your AI agent, so a few minutes of checking is worth it.
Security checklistSix checks before you add a skill to your agent

Skills are not only code. A harmful skill can be written in plain sentences that a code scanner does not flag. Research on public skill registries has found skills with malicious instructions and scripts.

  1. Read the skill itself. A skill is a folder with a SKILL.md file and sometimes scripts. The SKILL.md is not just documentation: it is text your AI agent follows. Read it, and read every script, before you install. Be wary of instructions that do not fit the stated task, such as reading keys or .env files, sending data elsewhere, or fetching code from the internet while it runs.
  2. Look for scripts. A skill that only contains text is far less risky than one that runs scripts on your computer. Check which files the folder contains and what each script does.
  3. Check the source. Make sure the repository belongs to the author or vendor you expect, and beware of lookalike names. Install the exact version (commit) you reviewed, and read changes before you upgrade.
  4. Use the least access that works. Run a new skill in a test project or sandbox first, without your production credentials, and keep your agent’s confirmation prompts switched on for actions that write, delete, send or spend.
  5. Have it scanned. Several tools check skills for known risks before you install: the security audits shown on each skill’s page on skills.sh (from partners such as Snyk and Socket), Snyk’s Skill Inspector, and the open-source Cisco Skill Scanner. Use them as one layer, not as proof.
  6. Ask an AI model to review it, with care. Asking an LLM to read the skill and report anything suspicious before you install it is a useful extra check, and it is what many people do. It is not a guarantee: the reviewer reads text that may have been written to manipulate it, so give it the skill as data to analyse, never let it run anything, and combine it with a scanner and your own reading. A pass is not proof that a skill is safe.

Scanners to try: skills.sh audits, Snyk Skill Inspector and Cisco Skill Scanner (open source).

Who published this skill?Pinned source: google/agents-cli

The pinned source is the GitHub repository google/agents-cli. Check that this is the author or company you expect.

Published by the vendor
Written and maintained by the company or project behind the service the skill works with. It is usually kept in step with that service, but this describes who maintains it, not that it has been audited by us.
Community skill
Written and maintained by an independent developer or group, not by the company behind the service it works with. It can be excellent and widely used, but the company has not reviewed it and updates depend on its author, who can stop at any time.
How installing a skill works

A skill is a folder. Your agent finds it in a skills folder: for example, Claude Code reads skills from a skills folder in your project or in your home folder, and other agents have their own location, so check your agent's documentation for the exact place.

In general you either copy the skill folder from its source (at the commit pinned on this page) into that folder, or use your agent's own command for adding skills. After installing, ask your agent to list its skills to confirm it was picked up.

We do not show a ready-made install command for each skill: a command that is copied wrongly or changed is a way to install something else, so take it only from the source itself, after you have read the checklist above.

This page is general information, not security or legal advice, and listing a skill is not an endorsement or a security review. We do not create, host, install or run skills, and listing details can be out of date, so check the source. You use skills at your own risk. See the section on third-party products in our Terms of Service.