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.
npx skills add joao-aires/agent-skills-public --skill adk-unit-designgit clone --depth 1 https://github.com/joao-aires/agent-skills-publicWrote 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.
[](https://agentmods.dev/skills/joao-aires/agent-skills-public/adk-unit-design)<a href="https://agentmods.dev/skills/joao-aires/agent-skills-public/adk-unit-design"><img src="https://agentmods.dev/badge/skills/joao-aires/agent-skills-public/adk-unit-design/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.
<a href="https://agentmods.dev/skills/joao-aires/agent-skills-public/adk-unit-design"><img src="https://agentmods.dev/badge/skills/joao-aires/agent-skills-public/adk-unit-design.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00181 | $0.00698 |
| Opus 5.5 | $0.00072 | $0.00279 |
| Sonnet 5.5 | $0.00036 | $0.00140 |
| Haiku 4.5 | $0.00018 | $0.00070 |
Grade A, and why
adk-unit-design 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 8d 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.
This is a copy
100% identical to adk-unit-design — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 70 lines — stays where its author put it; the contents beside it link to each section on GitHub.
ADK code unit design
A unit design documents a code unit as implemented, the way a unit test exercises it as implemented. Nothing proposed or aspirational belongs in one. The reader is deciding what they may safely change, so answer "what breaks if I touch this?" — not "how do I call this?".
Inputs
Require the source file, or a class or method named inside it. Also read, when they exist: the base classes and interfaces the unit implements, its unit tests (the best evidence of intended behaviour), and example usage.
Analyse before writing
Answer each of these from the source. Anything the code does not show stays out of the document — do not infer a design intent from a name.
- Purpose and intended use of the unit.
- Execution flow, and the data that flows in and out.
- Upstream dependencies, and which classes depend on this unit.
- Extension surfaces: abstract methods, hooks, callbacks, configurable fields.
- Constraints — what a subclass or caller must not change, and why.
- Operational limitations.
Where the document goes
Mirror the source path under docs/design/, one directory per unit, document
named index.md. Drop the leading underscore of a private module:
| Source | Design document |
|---|---|
src/google/adk/workflow/_function_node.py |
docs/design/workflow/function_node/index.md |
src/google/adk/events/event.py |
docs/design/events/event/index.md |
If a document already exists at that path, update it in place and keep the existing wording wherever the code has not changed, so the diff shows only what the change actually altered.
docs/design/ does not exist in this repository yet — the first design document
creates it. docs/guides/ is the established sibling tree; match its directory
shape.
Link to GitHub, not to local paths
These documents render on GitHub, where a local filesystem path is dead.
Rewrite {repo_root}/src/google/adk/{topic}/{unit}.py#L93 as
https://github.com/google/adk-python/blob/main/src/google/adk/{topic}/{unit}.py#L93.
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.
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.
- 8d ago First seen · 70 lines · 181 tokens per session scan A da8ca332ec3f
adk-unit-design is a skill published in the GitHub repository joao-aires/agent-skills-public (2 stars, last pushed 5d ago), licensed MIT. It adds 181 tokens to every session and 698 once invoked, about $0.0007 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to adk-unit-design, differing in 0 lines, and is treated as a copy.
adk-unit-design compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| adk-unit-designjoao-aires/agent-skills-public | Skill | 2 | 5d ago | MIT | A | 181 | Claude Code, Codex |
| imagegenopenai/codex | Skill | 137k | today | Apache-2.0 | A | 113 | Codex |
| playwright-climicrosoft/playwright | Skill | 102k | today | Apache-2.0 | A | 19 | Claude Code |
| browser-automationopenclaw/openclaw | Skill | 396k | today | MIT | A | 36 | Claude Code |
| free-llm-apismnfst/awesome-free-llm-apis | Skill | 15k | yesterday | CC0-1.0 | A | 113 | Claude Code, Codex |
| systematic-debuggingobra/superpowers | Skill | 331k | 4d ago | MIT | A | 21 | Claude Code |
| next-cache-components-adoptionvercel/next.js | Skill | 144k | today | MIT | A | 95 | Claude Code |