Evaluating Agent Outcomes
ASecurityRepository-independent evaluation of delegated agent work: assesses a delivery against a work contract (criterion-level pass/fail/unverified, failure conditions, budget, authorization), checks evidence validity, selects proportionate verification, measures cost with missing data kept unknown, classifies human interventions, and records and retrieves specific lessons. Use when orchestrating-agent-work needs findings after a worker returns, or to gate a benchmark before model calls. Not an orch...
- 8 stars
- 0 votes
- 0 copies
- 4 views
- Added November 9, 2026
Works with
Security analysis
100/100Pro scans all 19 files and shows the line behind each finding
npx -y skills add richfrem/agent-plugins-skills --skill evaluating-agent-outcomes --agent claude-codeAre you the author of Evaluating Agent Outcomes?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/richfrem-evaluating-agent-outcomes)---
name: evaluating-agent-outcomes
plugin: agent-orchestration
description: >
Repository-independent evaluation of delegated agent work: assesses a delivery against a work contract
(criterion-level pass/fail/unverified, failure conditions, budget, authorization), checks evidence validity,
selects proportionate verification, measures cost with missing data kept unknown, classifies human
interventions, and records and retrieves specific lessons. Use when orchestrating-agent-work needs findings
after a worker returns, or to gate a benchmark before model calls. Not an orchestrator and never grants authority.
allowed-tools: Bash, Read, Write
---
# Evaluating Agent Outcomes (`evaluating-agent-outcomes`)
The evaluator supplies **findings**; the orchestrator decides. Scores and passing checks never expand authorization.
## Contents
- [Constraints](#constraints) • [Quick Start](#quick-start) • [Defaults](#defaults) • [References](#references)
## Constraints
- **Findings only**: `complete` is true only when every required criterion passes and no failure condition fired. A numeric score cannot change it.
- **Unknown is not zero**: missing usage, interventions or telemetry are reported as unknown with coverage.
- **Bounded storage**: records go to an explicit store inside a declared root (default `<root>/.agent-work/records.jsonl`); never to a global ledger.
- **One implementation**: reusable logic lives in `scripts/` (`eval_core.py` gates and records, `scoring.py`, `accounting.py`, `usage_measure.py`, `outcome_eval.py`, `lessons.py`); consumers supply profiles, policy and storage and import it (Sanctuary does). Do not re-implement scoring or accounting in a consumer.
- **Scope**: this skill evaluates ordinary work. Project policy (research verdicts, governance, budgets, dashboards) belongs to the consuming repository's own skill.
## Quick Start
```bash
python3 scripts/outcome_eval.py validate contract.json
python3 scripts/outcome_eval.py assess contract.json --root . [--evidence evidence.json] # exit 0 only if complete
python3 scripts/lessons.py --root . find "restricted PATH worker launch" # before dispatch
python3 scripts/lessons.py --root . add --trigger ... --failure ... --evidence ... --action ... --verification ... --limits ...
python3 scripts/outcome_eval.py assess contract.json # optional rubric scores via scoring.py (assets/rubrics/pr-review.json)
python3 scripts/eval_cli.py --root . validity benchmark.json # include a "claim" object for claim-specific validity # fixtures | pilot | validity | intervention | repair | invest | summary
```
## Workflow
1. Before dispatch: `lessons.py find`. 2. After a worker returns: `outcome_eval.py assess` and hand findings to the orchestrator. 3. Before model benchmarks: `eval_cli.py fixtures|pilot`; after: `validity`. 4. Record `intervention` / `repair` / `lessons.py add|use` from observed events.
## Verification
```bash
python3 -m pytest tests -q
```
## Defaults
Small by default: acceptance, evidence, resource use, blockers. A rubric is optional (`assets/rubrics/pr-review.json` is an example profile). Deterministic checks first; bounded model review only where assertions cannot settle the question.
## References
- [work-contract.md](references/work-contract.md) — contract, findings and record formats, storage rules.
- [scoring-and-accounting.md](references/scoring-and-accounting.md) — Profile-driven scoring, cost tiers, usage ledger folding, usage measurement; what consumers keep.
- [gates.md](references/gates.md) — fixtures, output-contract pilot, benchmark validity cap, interventions, repair recurrence, investment accounting.
Files in this skill
- SKILL.md
- assets/rubrics/pr-review.json
- evals/evals.json
- references/gates.md
- references/scoring-and-accounting.md
- references/work-contract.md
- scripts/accounting.py
- scripts/eval_cli.py
- scripts/eval_core.py
- scripts/lessons.py
- scripts/outcome_eval.py
- scripts/scoring.py
- scripts/usage_measure.py
- tests/fixtures/agy_usage.json
- tests/fixtures/claude_usage.txt
- tests/fixtures/claude_usage_resetless.txt
- tests/fixtures/sanctuary-contribution-v1.json
- tests/test_eval.py
- tests/test_scoring_accounting.py
Attribution
Related skills
View all in ai-agents →Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.