eval-harness-skill

eval-harness-skill is a skill for Claude Code, Codex from darellchua2/opencode-config-template. It costs 24 tokens per session (1,338 once invoked), scanned C, original, Apache-2.0.

An evaluation framework for judging code, agent skills, and implementations against defined criteria. It produces scores and written feedback about what meets the bar and what does not.

In plain words
What is it for?
Use it to define quality criteria, run evaluations, score results, find gaps, and track improvement over time.
Why use it?
It replaces informal review with repeatable checks and clear evidence. It also helps compare results across iterations or enforce quality gates before a pull request or deployment.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions OpenCode.

Good fit Use it to define quality criteria, run evaluations, score results, find gaps, and track improvement over time.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/darellchua2/opencode-config-template/eval-harness-skill
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add darellchua2/opencode-config-template --skill eval-harness-skill
Clone the repo
git clone --depth 1 https://github.com/darellchua2/opencode-config-template

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for eval-harness-skill

README.md
[![agentmods](https://agentmods.dev/badge/skills/darellchua2/opencode-config-template/eval-harness-skill/github.svg)](https://agentmods.dev/skills/darellchua2/opencode-config-template/eval-harness-skill)
Your own site
<a href="https://agentmods.dev/skills/darellchua2/opencode-config-template/eval-harness-skill"><img src="https://agentmods.dev/badge/skills/darellchua2/opencode-config-template/eval-harness-skill/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for eval-harness-skill

Your own site · 80×15
<a href="https://agentmods.dev/skills/darellchua2/opencode-config-template/eval-harness-skill"><img src="https://agentmods.dev/badge/skills/darellchua2/opencode-config-template/eval-harness-skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 24 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,338 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00024 $0.01338
Opus 5.5 $0.00010 $0.00535
Sonnet 5.5 $0.00005 $0.00268
Haiku 4.5 $0.00002 $0.00134

Measured 2mo ago against content hash 20ce7f61e981, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade C, and why

eval-harness-skill scanned grade C with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

9. **Iteration safety**: bounded-by-default (`Iterations: 25`); safety blocks `.env`, `node_modules/`, `rm -rf`, `git push --force`. See `autoresearch-core-skill/references/iteration-safety.md`.
skills/eval-harness-skill/SKILL.md · 80 lines

How it starts

The opening of the file, as written. The whole thing — 80 lines — stays where its author put it; the contents beside it link to each section on GitHub.

What I do

Structured evaluation framework: define measurable criteria → run checks → score 0-10 per criterion → report pass/fail vs thresholds → suggest improvements for failures. Unlike verification-loop-skill (gate execution), this skill owns scoring rubrics and thresholds.

Trigger phrases: "evaluate this code", "run eval", "score this implementation", "quality check", "benchmark against criteria".

Default Criteria (0-10 each, thresholds customizable per run)

Criterion Threshold Key questions
Correctness 7 Does it do what it should? Edge cases? Error paths?
Code Quality 7 Conventions, readability, abstractions without over-engineering
Test Coverage 7 Tests present? Edge cases covered? Maintainable?
Performance 6 Efficient algorithms, no wasted computation, caching where applicable
Security 7 Input validation, no injection, proper authn/authz

Score ranges: 9-10 excellent · 7-8 good · 5-6 adequate · 3-4 below standard · 1-2 poor · 0 failed. Overall = sum + percentage; verdict from thresholds.

Scope Variants

Single file · module/directory · skill output (skill:<name>) · PR diff (pr:<num>) · acceptance criteria (issue:<num>).

Workflow

  1. Define criteria for the target (use defaults, add domain-specific ones). Criteria must be measurable ("functions under 20 lines", not "clean code") and consistent across comparable runs.
  2. Execute: static analysis (lint, types, complexity) → pattern/anti-pattern checks → test run + coverage → score each criterion → gap analysis.
  3. Report: per-criterion table (score / threshold / status) + overall + per-failure findings with concrete fix suggestions (priority, effort, expected impact).
  4. Gate semantics: evaluations can gate PRs — a failed critical criterion blocks merge. Judge trends across runs, not absolute scores; note exceptions when a criterion doesn't apply.

Criteria starters: code quality — naming per language convention, function ≤20 lines, cyclomatic <10, no silent catches, DRY. Skill effectiveness — task completion, output production-readiness, consistency, graceful failure, integration. Acceptance criteria — each criterion checked with evidence, no partial completions, no regressions.

Read the full file on GitHub · 80 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago Changed · -205 lines 20ce7f61e981
  2. 3mo ago First seen · 285 lines · 24 tokens per session scan C e21f0f540be1

Subscribe to this mod's changes

eval-harness-skill is a skill published in the GitHub repository darellchua2/opencode-config-template (6 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 24 tokens to every session and 1,338 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

eval-harness-skill compared with skills from other repositories

eval-harness-skill next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
eval-harness-skilldarellchua2/opencode-config-templateSkill62mo agoApache-2.0C24Claude Code, Codex
toolsskillberry-ai/cap-evolveSkill715d agoApache-2.0A81Claude Code
agent-optimizeskillberry-ai/cap-evolveSkill715d agoApache-2.0A73Claude Code
hill-climbskillberry-ai/cap-evolveSkill715d agoApache-2.0A126Claude Code
agent-optimizeskillberry-ai/cap-evolveSkill715d agoApache-2.0A89Claude Code
gepaskillberry-ai/cap-evolveSkill715d agoApache-2.0A111Claude Code
diagnoseskillberry-ai/cap-evolveSkill715d agoApache-2.0A97Claude Code