---
title: Behavioral Evals Skill for Claude Code
canonical: https://skillselion.com/skills/google-gemini/gemini-cli/behavioral-evals
content_type: text/markdown
description: "Guidance for creating, running, fixing, and promoting behavioral evaluations."
---

# Behavioral Evals Skill

Title: Behavioral Evals Skill for Claude Code

> Guidance for creating, running, fixing, and promoting behavioral evaluations.

Canonical: https://skillselion.com/skills/google-gemini/gemini-cli/behavioral-evals

Guidance for creating, running, fixing, and promoting behavioral evaluations.

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

## Key facts

- Installs: 306
- GitHub stars: 109,201
- Author: google-gemini
- Repository: google-gemini/gemini-cli
- Install command: `npx skills add https://github.com/google-gemini/gemini-cli --skill behavioral-evals`
- Last updated: November 27, 2026

## What Behavioral Evals does

Guidance for creating, running, fixing, and promoting behavioral evaluations. Use when verifying agent decision logic, debugging failures, debugging prompt steering, or adding workspace r...

How do I apply behavioral-evals using the workflow in its SKILL.md?

Working behavioral-evals setup aligned with the documented patterns and constraints.

Best for: Developers following the behavioral-evals skill for the tasks it documents.

Not for: Tasks outside the behavioral-evals scope described in SKILL.md.

- ## 🔄 Workflow Decision Tree
- **Does a prompt/tool change need validation?**
- *No* -> Normal integration tests.
- **Is it UI/Interaction heavy?**
- *Yes* -> Use `appEvalTest` (`AppRig`). See **[creating.md](references/creating.md)**.

## SKILL.md

## Behavioral Evals

### Overview

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](file:///Users/abhipatel/code/gemini-cli/docs/evals/README.md)**.

---

### 🔄 Workflow Decision Tree

1.  **Does a prompt/tool change need validation?**
    *   *No* -> Normal integration tests.
    *   *Yes* -> Continue below.
2.  **Is it UI/Interaction heavy?**
    *   *Yes* -> Use `appEvalTest` (`AppRig`). See **[creating.md](references/creating.md)**.
    *   *No* -> Use `evalTest` (`TestRig`). See **[creating.md](references/creating.md)**.
3.  **Is it a new test?**
    *   *Yes* -> Set policy to `USUALLY_PASSES`.
    *   *No* -> `ALWAYS_PASSES` (locks in regression).
4.  **Are you fixing a failure or promoting a test?**
    *   *Fixing* -> See **[fixing.md](references/fixing.md)**.
    *   *Promoting* -> See **[promoting.md](references/promoting.md)**.

---

### 📋 Quick Checklist

#### 1. Setup Workspace
Seed the workspace with necessary files using the `files` object to simulate a realistic scenario (e.g., NodeJS project with `package.json`).
*   *Details in **[creating.md](references/creating.md)***

#### 2. Write Assertions
Audit agent decisions using `rig.setBreakpoint()` (AppRig only) or index verification on `rig.readToolLogs()`.
*   *Details in **[creating.md](references/creating.md)***

#### 3. Verify
Run single tests locally with Vitest. Confirm stability locally before relying on CI workflows.
*   *See **[evals/README.md](file:///Users/abhipatel/code/gemini-cli/docs/evals/README.md)** for running commands.*

---

### 📦 Bundled Resources

Detailed procedural guides:
*   **[creating.md](references/creating.md)**: Assertion strategies, Rig selection, Mock MCPs.
*   **[fixing.md](references/fixing.md)**: Step-by-step automated investigation, architecture diagnosis guidelines.
*   **[promoting.md](references/promoting.md)**: Candidate identification criteria and threshold guidelines.

## Behavioral Evals FAQ

### What does behavioral-evals do?

Guidance for creating, running, fixing, and promoting behavioral evaluations. Use when verifying agent decision logic, debugging failures, debugging prompt steering, or adding workspace r...

### When should I use behavioral-evals?

Invoke when Guidance for creating, running, fixing, and promoting behavioral evaluations. Use when verifying agent decision logic, debugging failures, d.

### Is behavioral-evals safe to install?

Review the Security Audits panel on this page before installing in production.

## Machine access

- [Sitemap](https://skillselion.com/sitemap.xml)
- [llms.txt](https://skillselion.com/llms.txt)
- [llms-full.txt](https://skillselion.com/llms-full.txt)
- [Developer resources](https://skillselion.com/developers)
- [OpenAPI spec](https://skillselion.com/openapi.json)
- [MCP handshake](https://skillselion.com/.well-known/mcp)
- [API catalog](https://skillselion.com/.well-known/api-catalog)
- [AI catalog](https://skillselion.com/.well-known/ai-catalog.json)
- [Pricing](https://skillselion.com/pricing.md)
- [Auth](https://skillselion.com/auth.md)
- [AGENTS.md](https://skillselion.com/AGENTS.md)
- [Contact](https://skillselion.com/contact)
- [Home](https://skillselion.com/)
