From adk-agent-builder
Use this skill when the user wants to create a new ADK 2.0 LlmAgent or Agent in Python. Triggers on: "scaffold an ADK agent", "create a Gemini agent", "new LlmAgent", "build an ADK agent that uses tools", "google-adk agent starter", "set up a root_agent". Generates a runnable agent.py with google.adk.agents.Agent or LlmAgent, model selection (gemini-2.5-flash by default), instruction, description, and a tools=[] list ready for binding. Do NOT use for multi-agent coordinator setups (use coordinator-subagent-pattern) or workflow agents (use workflow-agent-scaffold).
How this skill is triggered — by the user, by Claude, or both
Slash command
/adk-agent-builder:llm-agent-scaffoldThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Generate a single-agent ADK 2.0 starter file using `google.adk.agents.Agent` (or `LlmAgent`).
Generate a single-agent ADK 2.0 starter file using google.adk.agents.Agent (or LlmAgent).
agent.py they can run with adk web or adk runcoordinator-subagent-patternworkflow-agent-scaffoldagent-config-no-codegemini-2.5-flash; alternatives: gemini-2.5-pro, Claude via LiteLLM)google_search, custom function tools, MCP tools)# agent.py
from google.adk.agents import Agent
from google.adk.tools import google_search
root_agent = Agent(
name="search_assistant",
model="gemini-2.5-flash",
description="An assistant that can search the web for current information.",
instruction=(
"You are a helpful research assistant. Use the google_search tool "
"to find authoritative information. Cite sources with URLs."
),
tools=[google_search],
)
pip install google-adk --pre
adk web # launches debug UI on localhost
adk run agent.py
Agent → LlmAgent for explicit base class (identical behavior in 2.0)output_key="result" to persist final output to session statetools=[google_search] with custom function tools (see function-tool-author skill in adk-tools)After generating, verify:
root_agent (ADK CLI convention)model string matches a current Gemini/Gemma/Claude identifierinstruction is unambiguous and ≤ ~500 tokensnpx claudepluginhub healthcare-ai-consulting-llc/adk-2-toolkit --plugin adk-agent-builderGuides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.