adk-unit-design

adk-unit-design is a skill for Claude Code, Codex from joao-aires/agent-skills-public. It costs 181 tokens per session (698 once invoked), scanned A, a copy of adk-unit-design, MIT.

An as-built architecture document for one ADK code unit, meaning a class, method, or source file, written from the code that exists. It records execution, data movement, dependencies, extension points, and constraints in a Markdown file.

In plain words
What is it for?
Use it to document how one unit works and which surrounding code depends on it. It helps developers assess safe changes and maintenance risks.
Why use it?
It gives developers a reliable answer to what may break when they change the unit. It avoids confusing current behaviour with a proposed design.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to document how one unit works and which surrounding code depends on it. It helps developers assess safe changes and maintenance risks.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/joao-aires/agent-skills-public/adk-unit-design
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 joao-aires/agent-skills-public --skill adk-unit-design
Clone the repo
git clone --depth 1 https://github.com/joao-aires/agent-skills-public

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-unit-design

README.md
[![agentmods](https://agentmods.dev/badge/skills/joao-aires/agent-skills-public/adk-unit-design/github.svg)](https://agentmods.dev/skills/joao-aires/agent-skills-public/adk-unit-design)
Your own site
<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.

agentmods 80×15 button for adk-unit-design

Your own site · 80×15
<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>
Per session 181 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 698 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.
Origin 100% copy Near-identical to another mod 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.00181 $0.00698
Opus 5.5 $0.00072 $0.00279
Sonnet 5.5 $0.00036 $0.00140
Haiku 4.5 $0.00018 $0.00070

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

Security

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.

Origin

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.

plugins/ai-adk-development/skills/adk-unit-design/SKILL.md · 70 lines

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.

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.

Read the full file on GitHub · 70 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. 8d ago First seen · 70 lines · 181 tokens per session scan A da8ca332ec3f

Subscribe to this mod's changes

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.

Related

adk-unit-design compared with skills from other repositories

adk-unit-design next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
adk-unit-designjoao-aires/agent-skills-publicSkill25d agoMITA181Claude Code, Codex
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill102ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill396ktodayMITA36Claude Code
free-llm-apismnfst/awesome-free-llm-apisSkill15kyesterdayCC0-1.0A113Claude Code, Codex
systematic-debuggingobra/superpowersSkill331k4d agoMITA21Claude Code
next-cache-components-adoptionvercel/next.jsSkill144ktodayMITA95Claude Code