What problem does it solve?
Validating changes to prompts, tools, or agent architecture is difficult because standard integration tests verify functionality, not the agent's underlying decision-making. This Skill provides a structured workflow to write, debug, and stabilize behavioral evaluations that audit tool trajectories and prevent regressions in agent steerability.
Core Features & Use Cases
- Rig Selection: Choose between
evalTest (subprocess) for standard workspace tests and appEvalTest (in-process) for UI or breakpoint-heavy scenarios.
- Assertion Strategies: Audit agent decisions using breakpoints, tool log inspection, and mock MCP facades to verify efficiency and correctness.
- Failure Investigation & Fixing: Diagnose failing evals by reading trajectory logs, adjusting system prompts in
snippets.ts, and verifying stability across multiple Gemini models.
- Promotion Workflow: Incubate new tests under the
USUALLY_PASSES policy and promote them to ALWAYS_PASSES after achieving 100% stability across nightly runs.
Quick Start
Use the behavioral-evals skill to create a new USUALLY_PASSES eval test that verifies the agent reads a file before writing to it.