policy-evaluation

Validates agent policies and prompts through deterministic checks, cold evals, and grader controls.

1|Updated Sep 11, 2026
One-click install
npx skills add https://github.com/rebuildup/my-web-2026 --skill policy-evaluation-rebuildup
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: policy-evaluation
Source: https://github.com/rebuildup/my-web-2026/tree/main/skills/policy-evaluation
Command: npx skills add https://github.com/rebuildup/my-web-2026 --skill policy-evaluation-rebuildup

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Agent policies, Skills, and prompts often look correct on paper but fail when a fresh agent interprets them in a cold context. This Skill provides a rigorous methodology to verify that policy changes actually produce the intended behavior, instead of relying on the author's own re-reading or plausible-sounding answers. ## Core Features & Use Cases - Deterministic vs. latent separation: Classify each rule into machine-checkable constraints (file existence, schema, command executability) versus judgment-dependent behavior that requires cold evaluation with a fresh agent. - Grader self-controls: Enforce negative, regression, and positive control fixtures so a grader that cannot separate known-good from known-bad answers is never trusted as quality evidence. - Comparative latent evaluation: Run paired baseline-vs-candidate comparisons with condition parity, blind judging, identity pinning, and hard-failure release gates. - Context budget monitoring: Track always-on instruction growth against a checked-in baseline via bash evals/policy-evaluation/context-budget.sh. - Use Case: After rewriting a routing rule in your agent policy, use this Skill to decide whether the change needs a repo-local eval, build scenario fixtures with controls, run a cold-context eval on a fresh agent, and report completion evidence including model identity and known limitations. ## Quick Start Ask the agent to evaluate whether your latest policy or prompt change is correctly interpreted by a fresh agent using deterministic checks and cold-context evals.

Frequently Asked Questions about policy-evaluation

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I test whether an AI agent follows my policy correctly?

Split the policy into deterministic rules verified by scripts and latent rules verified by cold evals. Give a fresh agent only the minimal policy and a realistic scenario, then grade its externalized decisions against control fixtures.

What is a cold eval for agent prompts?

A cold eval runs a fresh agent with no prior conversation context, passing only the minimum policy needed for the scenario. It hides the author's reasoning and expected answers so the result measures whether the policy text alone produces the intended behavior.

How do I know if my eval grader is trustworthy?

Require three controls: a negative control that must fail, a regression control capturing a past real failure that must fail, and a positive control that must pass. If the grader cannot separate these, its scores are not valid quality evidence.

When should I add an eval for a policy change?

Add a repo-local eval when wording alone cannot prove behavior preservation, when model generation differences could shift interpretation, when critical safety or delivery invariants are involved, or when the same rule was previously misunderstood. Skip evals for typo fixes.

Can I compare two prompt versions with a single score?

No. Use paired comparative evaluation on the same task distribution with matched models, settings, rubrics, and trial counts. Blind the condition labels for judges and treat blocker findings as hard failures rather than offsetting them with weighted totals.

What are the limitations of deterministic checks for agent behavior?

Deterministic checks only cover machine-verifiable constraints like file existence, schemas, and command executability. They cannot prove an agent reads and correctly applies judgment-heavy rules, which is why latent cold evals remain necessary.