Skip to content

/agent-harness-evaluation

Use when benchmarking, replaying, regression-testing, diagnosing, comparing, or release-gating an LLM agent harness across tasks, providers, policies, failures, restarts, cancellation, or context pressure, including inside broader rollout work. Not for literature surveys,

From plugin
plug-n-skills
9173 skills
Install
$ npx -y skills add Xopoko/plug-n-skills --skill agent-harness-evaluation --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/agent-harness-evaluation

Context preview

The summary Claude sees to decide when to auto-load this skill.

Use when benchmarking, replaying, regression-testing, diagnosing, comparing, or release-gating an LLM agent harness across tasks, providers, policies, failures, restarts, cancellation, or context pressure, including inside broader rollout work. Not for literature surveys,

SKILL.md

agent-harness-evaluation.SKILL.md
name: agent-harness-evaluation
description: Use when benchmarking, replaying, regression-testing, diagnosing, comparing, or release-gating an LLM agent harness across tasks, providers, policies, failures, restarts, cancellation, or context pressure, including inside broader rollout work. Not for literature surveys, generic unit tests, prompt/model-only benchmarks, or harness design without an empirical evaluation deliverable.

Agent Harness Evaluation

Bundled commands use `$PLUGIN_ROOT` (`$env:PLUGIN_ROOT` in PowerShell; same path suffix) for the plugin root. Set it once: use the host's plugin-root variable when defined (Claude Code: `PLUGIN_ROOT="$CLAUDE_PLUGIN_ROOT"`), otherwise the absolute path of this skill folder's `../..`.

Evaluate the behavior of the complete agent system, not just the final model answer. Use deterministic post-state and trace evidence wherever possible; use judgment only for residual qualitative questions.

Read `$PLUGIN_ROOT/references/agent-harness-evaluation.md` for suite and reporting guidance and `$PLUGIN_ROOT/references/agent-harness-contracts.md` for artifact, state, and event contracts. Use `$PLUGIN_ROOT/references/agent-harness-landscape.md` only when comparing systems or provider capability surfaces.

Evidence Boundaries

  • Model output is not proof that a side effect was authorized, executed, durable, or correct.
  • A transcript is not a checkpoint and cannot prove restart or recovery behavior.
  • Prompt instructions, skills, and scanners do not prove sandbox or policy enforcement.
  • Do not infer exactly-once behavior from a clean run. Test duplicate delivery, idempotency, reconciliation, and partial effects.
  • Compare providers by declared capabilities and degraded paths; do not score silent adapter substitutions as equivalent behavior.
  • Evaluate multi-agent behavior only when delegation is part of the frozen system and justified by the workload.

Evaluation Workflow

1. **State a falsifiable claim.** Define the behavior under test, population and workload, metric, threshold, allowed regressions, counterfactual, cheapest discriminator, and stop rule. Mark plan-only work as a plan, not a successful run. 2. **Freeze the complete system tuple.** Record harness revision; provider, model, and sampling configuration; prompts and skills; tool schemas and fixtures; policy, permissions, approvals, and sandbox; context, memory, checkpoint, and compaction settings; budgets, timeouts, retries, cancellation, and delegation; environment and dependency versions; scenario corpus; and evaluator/oracle versions. 3. **Build the scenario suite.** Include happy path, stateful multi-step work, policy denial, tool errors and malformed results, timeouts, context pressure, restart from checkpoint, cancellation, untrusted input or prompt injection, and at least one noncoding workload. Add duplicate delivery and partial-effect cases when side effects exist. 4. **Define oracles before trials.** Prefer deterministic post-state assertions plus event and policy invariants. When determinism is impossible, use a documented procedure or blinded human rubric. Use an LLM judge only as a secondary signal, with calibration cases and judge disagreement reported. 5. **Run repeated trials.** Predeclare trial count, seeds or sampling controls, order, warm/cold state, and retry treatment. Report single-trial pass rate, `pass@k` (at least one success) and `pass^k` (all trials succeed) separately. If trials are dependent, report empirical grouped rates and do not apply independence formulas as facts. 6. **Capture causal traces.** Preserve typed state transitions, event and correlation IDs, capability negotiation, tool requests/results, policy decisions, checkpoints, budgets, timings, cancellation, recovery, and terminal reason. Redact secrets and personal data with a versioned rule while retaining stable hashes and causal structure. 7. **Use paired ablations.** Compare baseline and candidate on matched scenarios and trial controls. Change one named factor at a time where feasible; otherwise disclose the confounder. Separate quality, reliability, safety, latency, and cost effects. 8. **Attribute failures conservatively.** Classify evidence as model, harness control, provider adapter, tool, policy, context/memory, persistence/recovery, evaluator, infrastructure, or unknown. Do not assign root cause from the final answer alone. 9. **Apply release gates.** Enforce predeclared thresholds for task correctness, invariant violations, policy bypass, restart/cancel behavior, reliability, latency, and cost. Block release on critical safety regressions, invalid traces, incomplete required scenarios, or unexplained baseline regressions.

Adjacent Routes

  • Use `agent-harness-engineering` when the primary deliverable is a harness design or implementation change rather than empirical evidence.
  • Use `architecture-intelligence` for broader architecture fitness, topology, or conformance questions outside harness behavior.
  • Use `context-density` to measure and redesign context placement or compression; use this skill to evaluate its end-to-end harness impact.
  • Use `scientific-research` for scholarly surveys, literature review, or evidence synthesis.
  • Use `codex-cli` or `claude-code` for vendor-specific commands, configuration, logs, hooks, or session diagnostics.
  • Use `capability-synthesizer` for broad external-first discovery and synthesis of evaluation skills, plugins, datasets, or public implementations.

Evaluation Artifacts And Gate

Before execution, produce an evaluation plan with `schema: agent_harness.evaluation_plan.v1` as defined in `$PLUGIN_ROOT/references/agent-harness-contracts.md`. After execution, produce one or more results with `schema: agent_harness.run_result.v1`; each result links the frozen system tuple and scenario to outcomes, trace evidence, failure attribution, usage, and artifact versions. Aggregate those results into the plan's metrics, ablations, uncertaint

Read more
Ships withplug-n-skills

Ready-to-install skills and plugins that make coding agents better at real development work. Plug'n Skills is a library of plugin packs for Codex, Claude Code, Cursor, and other coding agents.

Get the whole plugin, auto-invoked