adk-style

adk-style is a skill for Claude Code, Codex from google/adk-python. It costs 187 tokens per session (790 once invoked), scanned A, original, Apache-2.0.

A set of coding rules for the ADK Python toolkit, covering file visibility, imports, type annotations, data models, formatting, documentation, logging, asynchronous input and output, and tests.

In plain words
What is it for?
Use it when writing or editing ADK source files or unit tests, especially when deciding where code belongs and how it should be structured.
Why use it?
It helps code match the project's conventions and pass automated checks used before changes are accepted.

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 writing or editing ADK source files or unit tests, especially when deciding where code belongs and how it should be structured.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/google/adk-python/adk-style
About the project

Agent Development Kit is a Python framework for building, evaluating, deploying, and coordinating AI agents as software applications. Developers use it to compose workflows, delegate tasks between specialized agents, manage state, and connect agents to tools while choosing supported models and deployment environments. The catalogue add-ons provide workflows for using the toolkit.

google/adk-python · 21,864 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-python --skill adk-style
Clone the repo
git clone --depth 1 https://github.com/google/adk-python

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-style

README.md
[![agentmods](https://agentmods.dev/badge/skills/google/adk-python/adk-style/github.svg)](https://agentmods.dev/skills/google/adk-python/adk-style)
Your own site
<a href="https://agentmods.dev/skills/google/adk-python/adk-style"><img src="https://agentmods.dev/badge/skills/google/adk-python/adk-style/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-style

Your own site · 80×15
<a href="https://agentmods.dev/skills/google/adk-python/adk-style"><img src="https://agentmods.dev/badge/skills/google/adk-python/adk-style.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 187 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 790 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
  • 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.00187 $0.00790
Opus 5.5 $0.00075 $0.00316
Sonnet 5.5 $0.00037 $0.00158
Haiku 4.5 $0.00019 $0.00079

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

Security

Grade A, and why

adk-style 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 7d 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-style/SKILL.md · 47 lines

How it starts

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

ADK Style Guide

Conventions for src/google/adk/ and tests/unittests/. Most are enforced by a pre-commit hook or a CI job, so a violation blocks the PR rather than surfacing in review. Read the one reference for the topic you are touching.

Pick a reference

Task Reference
Adding a .py file; deciding public vs private; __init__.py and __all__ visibility.md
Writing import lines; relative vs absolute; circular imports; TYPE_CHECKING; lazy imports imports.md
Annotating args and returns; AgentMode vs raw mode strings; _NodePathBuilder, _BranchPath, and build_node; Optional vs | None; keyword-only args; isinstance; asserts; mypy; # type: ignore and cast typing.md
Defining a Pydantic model, validator, private attribute, or on-wire payload pydantic.md
Indentation, line length, quotes; running the formatter; what each hook checks formatting.md
Writing a docstring or an explanatory comment documentation.md
Emitting a log record; naming the module logger; picking a level logging.md
Anything that performs I/O — network, disk, database async.md
Where a new file goes; license header; where its test goes and what to call it file-organization.md
Writing or restructuring a unit test; the testing_utils fakes testing.md

A check failed — where to look

Failing check Reference
check-new-py-prefix visibility.md
compliance-checks logging.md (logger name), typing.md (from __future__ import annotations), imports.md (cli/ import direction)
pyink, isort, ruff, addlicense, codespell formatting.md
Mypy Check CI job typing.md
tests/unittests/test_import_loading.py imports.md

Read the full file on GitHub · 47 lines

Files

What ships with it

10 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. 7d ago Changed a6cdd06b8cf5
  2. 13d ago Changed · +1 lines 6eee291fc5b5
  3. 1mo ago First seen · 46 lines · 187 tokens per session scan A e7e4eba3530c

Subscribe to this mod's changes

adk-style is a skill published in the GitHub repository google/adk-python (21,864 stars, last pushed today), licensed Apache-2.0. It adds 187 tokens to every session and 790 once invoked, about $0.0007 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-08-30.