Assets
Test Data
24 chapters · 60 min
Gemini
Chapter 3 of 24
Guidance for creating, running, fixing, and promoting behavioral evaluations.
1 minute · 196 words · 7 sections
Behavioral evaluations (evals) are tests that validate the agent’s decision-making (e.g., tool choice) rather than pure functionality. They are critical for verifying prompt changes, debugging steerability, and preventing regressions.
[!NOTE] Single Source of Truth: For core concepts, policies, running tests, and general best practices, always refer to evals/README.md.
appEvalTest (AppRig). See creating.md (opens in a new tab).evalTest (TestRig). See creating.md (opens in a new tab).USUALLY_PASSES.ALWAYS_PASSES (locks in regression).Seed the workspace with necessary files using the files object to simulate a realistic scenario (e.g., NodeJS project with package.json).
Audit agent decisions using rig.setBreakpoint() (AppRig only) or index verification on rig.readToolLogs().
Run single tests locally with Vitest. Confirm stability locally before relying on CI workflows.
Detailed procedural guides:
Install this repository
npx skills add google-gemini/gemini-cliSkills install per repository, not per chapter — the CLI has no documented per-skill form, so we do not print one.
Guidance for creating, running, fixing, and promoting behavioral evaluations. Use when verifying agent decision logic, debugging failures, debugging prompt steering, or adding workspace regression tests.
The verbatim description from this skill’s front matter — the string an agent matches on to decide whether to load it.
main, last pushed 10 August 2026.SKILL.md, not by matching a directory convention. 5 distinct layouts observed: .gemini/skills/*/SKILL.md, packages/core/src/skills/builtin/*/SKILL.md, packages/sdk/test-data/skills/*/SKILL.md, tools/caretaker-agent/cloudrun/triage-worker/.gemini/skills/*/SKILL.md, tools/gemini-cli-bot/.gemini/skills/*/SKILL.md.h1 and no skipped levels:/google-gemini/gemini-cli.md, and each chapter at its own .md URL.6 files · 15 KB
Everything this skill ships beside its prose. All of it is set here, as subchapters of chapter 3.
Documentation the agent loads on demand, rather than up front.
Templates, schemas and fixtures the skill draws on.