adk
Skill0 starsChanged 12 days agoApache-2.0View on GitHub
Entry point for Google ADK (Python, 2.x) agent and evaluation work. Discovers the project layout, ADK version, LLM backend, existing evalsets, criteria, results and coverage, shows what exists and what is missing, then routes to one focused skill. Use when the user says "adk", "evaluate my agent", "evalset", "golden trace", "trajectory", "eval criteria", "rubric", "pass@k", "LLM judge", "groundedness", "hallucination check", "safety eval", "user simulation", "conformance", "eval CI gate", "sub-agent", "multi-agent", "workflow agent", "eval history", "rename/delete/dedupe a case", "dev UI", asks what this plugin can do, or when the intent spans several of those. Don't use when the request already names one task - go straight to `/adk:eval-create`, `/adk:eval-criteria`, `/adk:eval-run`, `/adk:eval-analyze`, `/adk:eval-review`, `/adk:eval-ci`, `/adk:eval-simulation`, `/adk:agent-create`, `/adk:agent-review` or `/adk:agent-debug`.
- Reads credentials
In this repository10 other files it gives its agents.
- agent-createSkill
- agent-debugSkill
- agent-reviewSkill
- eval-analyzeSkill
- eval-ciSkill
- eval-createSkill
- eval-criteriaSkill
- eval-reviewSkill
- eval-runSkill
- eval-simulationSkill
The file
We split this skill into the rules it gives an agent
7 rules. About 0 are common, 5 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 37
Discover: Run it before saying anything about the project:
- Very specific: line 43
Add --no-probe to skip the interpreter check when you only need file facts.
- Very specific: line 55
Confirm: Ask with AskUserQuestion, then invoke the chosen skill with the Skill tool.
- Distinctive: line 80
When discovery reports a collection, or the request is about sub-agents or a monorepo, inventory them before choosing one:
- Distinctive: line 115
Never guess the layout, version or backend: Run the discovery script.
- Distinctive: line 116
An existing golden trace is a specification: Never edit one to make a failing test pass without saying so.
- Distinctive: line 120
Cite the source: when you explain an ADK behaviour, so the user can check.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
ADK agents and evaluations — start here
Everything this plugin does rests on one move: turning behaviour that currently exists only as an instruction — and as whatever the author remembers testing — into cases a machine replays on demand. Nothing else here is worth much until that exists, and once it does, most questions about the agent have an answer you can measure. So the first step is never advice: it is finding out what this project already has.
${CLAUDE_SKILL_DIR} is set by the skill runtime to this skill's own
directory. Use it verbatim in every command below; a sibling skill's scripts
are at ${CLAUDE_SKILL_DIR}/../<skill>/scripts/.
Flow
Discover. Run it before saying anything about the project:
python3 ${CLAUDE_SKILL_DIR}/scripts/discover.py <path> --format mdAdd
--no-probeto skip the interpreter check when you only need file facts.--focus layout,evalsetsnarrows the work. For the environment alone:python3 ${CLAUDE_SKILL_DIR}/scripts/check_env.py <agent-dir>.- Report. Show the user the
Found/Missing/Warningsblocks the script produced. Do not paraphrase the numbers; they are the evidence for every option you are about to offer. - Options. Offer the skills from the report's
Optionssection, each with its cost tier (freedeterministic,judgemodel calls,vertexVertex AI evaluation service). Exactly one is marked recommended. - Confirm. Ask with
AskUserQuestion, then invoke the chosen skill with theSkilltool. Nothing is written and no model call is paid for before that answer. Full protocol: interaction-protocol.md.
Route by intent
| The user wants | Skill |
a new agent, or eval scaffolding for one; ADK skills (SkillToolset), compaction, context design | /adk:agent-create |
| a review of an existing agent, ADK 2.x compatibility, "why won't adk find it" | /adk:agent-review |
| a fix for looping, stalling, wrong tool, flaky eval | /adk:agent-debug |
| eval cases written, a golden trace captured, a session turned into a test | /adk:eval-create |
| to choose metrics, set thresholds, write rubrics, add a judge | /adk:eval-criteria |
| evalsets and configs validated, coverage measured | /adk:eval-review |
| the suite run, repeated for pass@k, or conformance recorded | /adk:eval-run |
| results explained, reliability measured | /adk:eval-analyze |
| simulated users, personas, mocked tool backends | /adk:eval-simulation |
| a CI gate, merge rules (pass threshold, no regressions, budgets), or a read on evaluation maturity | /adk:eval-ci |
A request that names none of these is usually "is my agent any good?", which
starts with /adk:eval-review when cases exist and /adk:eval-create when they
do not.
Several agents in one repository
When discovery reports a collection, or the request is about sub-agents or a monorepo, inventory them before choosing one:
python3 ${CLAUDE_SKILL_DIR}/scripts/inventory.py <repo-root>One row per loadable agent: layout, app name, tools, cases by category, config
cost tier, last result, maturity level. Read down the maturity column and the
next piece of work names itself. A sub-agent can only be evaluated on its own
through the pytest path (/adk:eval-run --agent-name); adk eval has no such
option. run_registry.py --init turns the inventory into a batch manifest.
An adk-recipes Agent-Plugins skill layer (plugin.json, skills/*/EVAL.yaml)
is not an agent: discovery reports ENV014 and a plugin_layer fact instead of
a layout, and the inventory lists the layer after the agents with its cases,
rubric lines and assertion types. Send it to /adk:eval-review
(validate_eval_yaml.py); nothing runs it. An agents-cli project with
tests/eval/datasets/ (the voice recipe has two suites and two
eval_config_system*.yaml) is listed as agents_cli_datasets with its configs;
none of it is an ADK evalset.
What to tell the user when they ask what this can do
Six things, in the order they usually matter:
- Build an eval-ready agent, or add eval scaffolding to one that exists.
- Review the agent statically against ADK 2.x rules and a model policy.
- Write eval cases: happy path, edge, adversarial, memory, regression.
- Choose criteria from the 13 configurable ADK metrics, with thresholds and rubrics.
- Run them, locally or in CI, and read the results honestly.
- Measure reliability across repeated runs, and triage what fails.
Ground rules
- Never guess the layout, version or backend. Run the discovery script.
- An existing golden trace is a specification. Never edit one to make a failing test pass without saying so; add a sibling case instead.
- Say what a run costs before running it. Judge and Vertex metrics spend money per case per sample.
- Cite the source when you explain an ADK behaviour, so the user can check.
- A refused app name is a blocker, not style.
ENV015as an error meansadk run,adk webandadk evalcannot load the app directory (a hyphen, dot, space or non-ASCII letter; 2.13.0'sadk createwrites such names): offer the rename, with everyapp_namereference, before any eval work. As an info (a keyword, a leading digit) it loads today; mention it and move on. - Main-only findings keep the released verdict.
CFG077(aparallelismkey) andAGT082(memory tools inside anAgentTool) warn because 2.13.0, the latest release, ignores the key and isolates the memory; they become info only on a runner newer than 2.13.0. Say which version the warning is about.
References
| Question | File |
| How every skill in this plugin behaves | interaction-protocol.md |
| What each skill does, what it needs, what it costs | capability-map.md |
| The frame: discovery vs defense, three metric levels, the eval-driven loop | eval-engineering.md |
| The report format and finding-id scheme | gap-report-format.md |
Backends, .env, Vertex, picking a Python runner | environment.md |
The layouts ADK accepts, where eval files belong, the adk-recipes layers | layouts.md |
| ADK 1.x patterns and their 2.x replacements | adk-1x-to-2x-migration.md |
| What a word means here (trajectory, golden trace, quadrant) | glossary.md |
Scripts
| Command | Output | Exit codes |
scripts/discover.py <path> [--format json|md] [--focus ...] [--no-probe] | full gap report | 0 clean, 1 errors, 2 bad target |
scripts/check_env.py <agent-dir> [--json] [--config path] | runner, backend, criteria readiness | 0 ready, 1 blocked, 2 bad target |
scripts/inventory.py [repo-root] [--json] | every agent in a repository with its evaluation standing, plus any Agent-Plugins skill layer (EVAL.yaml cases, rubric lines, assertion types) | 0, 2 bad target |
Completion checklist
- Discovery was run, and its output shown to the user rather than summarized from memory.
- The ADK major version is known, or the user was told it could not be verified.
- Options were offered with cost tiers, and the user chose.
- The chosen skill was invoked, not re-implemented here.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

