adk-sample-creator

adk-sample-creator is a skill for Claude Code, Codex from google/adk-go. It costs 94 tokens per session (1,584 once invoked), scanned A, original, Apache-2.0.

A skill for creating runnable Go examples in the ADK repository. ADK is a toolkit for building agents, and each example includes its code, instructions, diagram, and index entry.

In plain words
What is it for?
Use it when adding or reworking an ADK example for workflows, tools, registries, model backends, or servers.
Why use it?
It provides the repository structure and documentation needed for examples that teach one agent feature and actually run.

Skill for Claude CodeCodex ✓ vendor

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

Good fit Use it when adding or reworking an ADK example for workflows, tools, registries, model backends, or servers.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/google/adk-go/adk-sample-creator
About the project

Agent Development Kit for Go is a Go framework for building, evaluating, deploying, and coordinating AI agents through code. Developers use it to define agent logic, connect tools, compose multi-agent systems, and deploy applications in cloud environments, while retaining compatibility with models and frameworks beyond Gemini. The catalogue entries provide skills and instructions for working with ADK Go.

google/adk-go · 8,884 stars · on GitHub · google.github.io

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add google/adk-go --skill adk-sample-creator
Clone the repo
git clone --depth 1 https://github.com/google/adk-go

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for adk-sample-creator

README.md
[![agentmods](https://agentmods.dev/badge/skills/google/adk-go/adk-sample-creator/github.svg)](https://agentmods.dev/skills/google/adk-go/adk-sample-creator)
Your own site
<a href="https://agentmods.dev/skills/google/adk-go/adk-sample-creator"><img src="https://agentmods.dev/badge/skills/google/adk-go/adk-sample-creator/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for adk-sample-creator

Your own site · 80×15
<a href="https://agentmods.dev/skills/google/adk-go/adk-sample-creator"><img src="https://agentmods.dev/badge/skills/google/adk-go/adk-sample-creator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 94 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,584 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Snyk pass 7 Sept 2026
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00094 $0.01584
Opus 5.5 $0.00038 $0.00634
Sonnet 5.5 $0.00019 $0.00317
Haiku 4.5 $0.00009 $0.00158

Measured 1mo ago against content hash 8ed13d015490, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

adk-sample-creator scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.agents/skills/adk-sample-creator/SKILL.md · 140 lines

How it starts

The opening of the file, as written. The whole thing — 140 lines — stays where its author put it; the contents beside it link to each section on GitHub.

ADK Go sample creator

An example earns its place by teaching one thing faster than the package docs can. It must run. Two families set the standard, and which one you are writing decides several of the choices below:

  • Engine samples — examples/workflow/*. They exercise ADK itself, need nothing beyond the binary and sometimes a model, and their subject is the shape of a graph.
  • Integration samples — examples/agentregistry/*. They talk to a live external service, so they carry cloud prerequisites, credentials, failures worth unwrapping, and output that depends on the reader's own project.

Copy the shape of the nearer family rather than inventing one.

examples/README.md documents an older launcher API (ParseAndRun, FormatSyntax). Follow the templates here, not that file.

Layout

examples/<area>/<name>/
├── main.go
└── README.md

lower_snake directory names (hitl_simple), nested by theme once a family grows (routing/llm, dynamic/hitl). When the area keeps an index table — examples/workflow/README.md and examples/agentregistry/README.md do — add a row with the same columns as its neighbours, including LLM?. Most areas keep none, and none is needed.

main.go

Copy templates/main.go.tmpl: it carries the Apache 2.0 header the goheader linter demands, the package doc line, and the launcher wiring. context.Background() is correct there — main is an entrypoint, and it stays banned in library code.

full.NewLauncher() serves console, which is the default, plus web and its api, a2a, webui, pubsub and eventarc sublaunchers. When anything is deferred, move the body into run(ctx) error and let main do the log.Fatal.

Each of these has cost a review round:

  • Pick a versioned model, not a -latest alias, in any sample whose README documents the Vertex AI path: Vertex does not serve the aliases, so the documented instructions would fail at model construction. gemini-3.5-flash answers on both backends.
  • A required variable is read plainly and checked for empty, failing with a message that names it; cmp.Or(os.Getenv("X"), "default") is for the optional ones, and hides a missing value if you reach for it first. Watch for a variable a neighbouring library also reads: GOOGLE_CLOUD_LOCATION steers genai and the Agent Registry client, so a region meant for the model silently moves the catalog lookup.
  • log.SetFlags(0) when the output is a transcript. Otherwise every line carries a timestamp, and a README that omits it is showing output the code cannot produce.
  • log.Fatal only from main. Inside a body that defers a close, it skips the defer.
  • Render API failures as something actionable — unwrap the typed error and keep the part that identifies the fix (see explain in the agentregistry samples), rather than printing the service's whole JSON envelope.
  • Comments say WHY. Never narrate the next line.

Read the full file on GitHub · 140 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 140 lines · 94 tokens per session scan A 8ed13d015490

Subscribe to this mod's changes

adk-sample-creator is a skill published in the GitHub repository google/adk-go (8,884 stars, last pushed today), licensed Apache-2.0. It adds 94 tokens to every session and 1,584 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-02.

Related

Other skills, from other repositories

adk-agent-builder

Builds ADK (Agent Development Kit) Python agents: LLM agents with tools, graph workflows of function and agent nodes, conditional routing, fan-out and join, schema-validated delegation between agents, human-in-the-loop pauses, and pytest coverage for all of it. Use when asked to create an agent or a workflow, add a…

google/adk-python · 177 tokens

adk-style

Python style and codebase conventions for ADK (Agent Development Kit): private-by-default file visibility, imports, type hints, Pydantic v2 models, formatting, docstrings, logging, async I/O, file and test layout, and unit test structure. Use when writing or editing ADK source or tests, deciding whether a new file or…

google/adk-python · 187 tokens

google-agents-cli-adk-code

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…

google/agents-cli · 128 tokens

adk-verify-snippets

Checks that every Python code block in a Markdown file actually compiles and runs, by extracting each block to a temporary file, executing it in an isolated subprocess, and writing a pass/fail report with per-snippet coverage. Use when the user asks to verify, test, or validate the code samples in a README, a guide…

google/adk-python · 149 tokens

adk-setup

Sets up a local ADK Python development environment in a git clone of the open-source adk-python repository: a uv virtual environment, all dependency extras, pre-commit hooks, and a first unit-test run. Runs only when explicitly requested, never on its own. Use when asked to set up, bootstrap, or repair a development…

google/adk-python · 146 tokens

authoring-go-sdk-tasks

Writes Airflow task logic in Go using the Airflow Go SDK. Use when the user wants to implement Airflow tasks in Go, asks about BundleProvider/RegisterDags, the bundlev1 Registry/Dag interfaces, registering Go tasks (AddTask/AddTaskWithName), dependency injection by parameter type (context.Context, sdk.TIRunContext…

astronomer/agents · 165 tokens