google-agents-cli-adk-code
하는 일
이 스킬은 Google의 Agent Development Kit로 AI 에이전트 코드를 작성하기 위한 빠른 참고 자료입니다. 에이전트를 만들고 흔한 패턴의 예시를 원하는 개발자를 위한 스킬입니다.
사용하는 경우
- ✓Agent Development Kit로 AI 에이전트를 만들고 싶을 때.
- ✓ADK 에이전트에 도구, 콜백, 상태 관리를 추가해야 할 때.
- ✓ADK로 에이전트 워크플로, 승인, 메모리 예시를 보고 싶을 때.
스킬 링크
https://github.com/google/agents-cli/blob/main/skills/google-agents-cli-adk-code/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“Google ADK 에이전트에 도구와 콜백을 추가하는 방법을 알려 주고, 단계 사이에서 상태를 유지하는 방법도 보여 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
스킬은 에이전트 유형, 도구, 콜백, 상태에 맞는 참고 파일과 코드 예시를 에이전트에게 알려 줍니다. 또한 에이전트 코드를 쓰기 전에 프로젝트가 설정되어 있는지 확인하도록 합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
ADK Code Reference
Activate /google-agents-cli-workflow first for required development phases and scaffolding steps.
1. 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.
2. Prerequisites for Writing Code
Do NOT write agent code until a project is scaffolded.
- Verify project: run
agents-cli info(proceed if config exists). - New project: run
agents-cli scaffold create <name> --agent adk_python --deployment-target <target>— use--agent adk_gofor Go. - 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.
References
Use the cheatsheets for common patterns. For deep knowledge, fetch the docs index or inspect the installed package.
| Reference | Language | When to read |
|---|---|---|
references/recipes.md |
Python | Topic-indexed catalog of ADK reference recipes. Read in workflow Phase 1 — before scaffolding and before writing code — maps a capability to the recipe that implements it. |
references/adk-python.md |
Python | Core ADK API: Agent, tools, callbacks, plugins, state, artifacts, multi-agent systems, SequentialAgent / ParallelAgent / LoopAgent, custom BaseAgent, ManagedAgent (server-hosted first-party agents), A2A protocol, A2UI. Default for most agents. |
references/adk-python-workflows.md |
Python | Graph-based Workflow API (ADK Python 2.0): nodes, edges, fan-out/fan-in, HITL, parallel processing. Use when you need explicit graph topology. |
references/adk-python-live.md |
Python | Live and voice agents: Runner.run_live, LiveRequestQueue, model and regional availability, voice/speech_config, VAD, session limits, /run_live serving. Use for real-time voice or video agents. |
references/adk-go.md |
Go | Core ADK Go API: llmagent, tools, callbacks, plugins, state, artifacts, multi-agent systems, sequential/parallel/loop agents, custom agents, the runner, serving over HTTP, A2A protocol, and ambient triggers. Default for most agents. |
references/adk-go-workflows.md |
Go | Graph-based Workflow API: nodes, edges, fan-out/fan-in, HITL, parallel processing. Use when you need explicit graph topology. |
examples/ |
Go | Runnable upstream programs — the closest thing to a recipe catalog for Go. |
curl https://adk.dev/llms.txt |
Python | Docs index (every page title + URL). Fetch it, then WebFetch the specific page for anything beyond the cheatsheets. |
| Installed ADK package | Python | Exact signatures and symbols — inspect the source (see "Inspecting ADK Source Code" in references/adk-python.md). |
Related Skills
/google-agents-cli-workflow— Development workflow, coding guidelines, and operational rules/google-agents-cli-scaffold— Project creation and enhancement withagents-cli scaffold create/scaffold enhance/google-agents-cli-eval— Evaluation methodology, dataset schema, and the eval-fix loop/google-agents-cli-deploy— Deployment targets, CI/CD pipelines, and production workflows
자주 묻는 질문
Python뿐 아니라 Go도 되나요?
네, Python과 Go 모두에 대한 참고 자료가 있습니다.
프로젝트가 먼저 필요한가요?
네, 설명에 따르면 에이전트 코드를 쓰기 전에 agents 명령으로 프로젝트 뼈대를 먼저 만들어야 합니다.
예시는 어디에 있나요?
스킬 폴더의 참고 파일에 있으며, Go 예시는 상위 저장소에 있습니다.
상세 정보
작성자의 원본 설명
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).
repo: google/agents-cli
인기도
- GitHub 스타
- 6.3k
- 순위
- #14368
- 라이선스
- Apache-2.0
- 업데이트
- 2026. 10. 27.
댓글
- …
이 저장소의 다른 스킬
google-agents-cli-deploy
6.3k에이전트를 Google Cloud의 Agent Runtime, Cloud Run, GKE에 배포하고 시크릿, CI/CD, 문제 해결을 돕습니다.
google-agents-cli-eval
6.3k에이전트가 테스트 데이터셋과 점수 매기기로 AI 에이전트를 평가하고, 실패한 답변의 원인을 찾도록 돕습니다.
google-agents-cli-observability
6.3k에이전트가 배포된 AI 에이전트의 추적, 로깅, 모니터링을 Google Cloud에 설정해 동작을 확인하도록 돕습니다.
google-agents-cli-publish
6.3k에이전트가 배포된 AI 에이전트를 Gemini에 등록하고, Agent Registry에서 등록된 에이전트와 MCP 서버를 관리하도록 돕습니다.
비슷한 스킬
add-model-provider
394k에이전트가 안전한 설정 명령으로 새 AI 모델 제공자를 OpenClaw에 연결하고, API 키를 평문으로 두지 않으며, 실시간 테스트를 실행하도록 돕습니다.
acp-router
394k에이전트가 OpenClaw를 통해 Claude Code나 Cursor 같은 코딩 도우미에 작업을 전달해, 작업이 그 도구에서 실행되도록 돕습니다.
browser-automation
394k에이전트가 로그인, 탭, 페이지 응답이 멈췄을 때의 복구를 포함해 웹 페이지를 단계별로 조작하도록 가르칩니다.