Skip to content
cccskills
FreePublished on GitHub

harness-eval

Structured SE task evaluation using 15 benchmark definitions from claude-code-harness research

The English summary is being prepared. Showing the original description.

See how to install

Files included (1)

  • SKILL.md6.1 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

Harness Eval — Structured SE Task Benchmark

Purpose

Evaluate agent quality using 15 structured software engineering task definitions with quantitative scoring. Based on research from revfactory/claude-code-harness which demonstrated 60% improvement (49.5 → 79.3 points) through structured pre-configuration.

Usage

/omcustom:harness-eval                    # Run all 15 benchmarks
/omcustom:harness-eval --preset quick     # Run top 5 high-impact benchmarks
/omcustom:harness-eval --task api-design  # Run specific task benchmark

Quality Dimensions

DimensionWeightDescription
Test Coverage30%Unit test count, edge case coverage, assertion quality
Architecture Design25%Separation of concerns, dependency management, scalability
Error Handling25%Input validation, error propagation, recovery strategies
Extensibility20%Plugin points, configuration flexibility, API surface

15 SE Task Benchmark Suite

#TaskCategoryKey Evaluation Criteria
1API DesignArchitectureRESTful conventions, versioning, error responses
2Data ModelingArchitectureSchema normalization, relationships, indexing
3Authentication FlowSecurityToken management, session handling, OWASP compliance
4Test Suite CreationQualityCoverage breadth, assertion quality, edge cases
5Error HandlerReliabilityError classification, recovery, user feedback
6Logging SystemObservabilityStructured logging, levels, correlation IDs
7Configuration ManagerOperationsEnv-based config, validation, secrets handling
8CLI ToolUXArgument parsing, help text, exit codes
9Database MigrationDataReversibility, data preservation, zero-downtime
10Cache LayerPerformanceInvalidation strategy, TTL, cache-aside pattern
11Queue ConsumerReliabilityIdempotency, retry logic, dead letter handling
12Middleware ChainArchitectureComposability, ordering, short-circuiting
13File ProcessorI/OStreaming, error recovery, format validation
14Webhook HandlerIntegrationSignature verification, retry tolerance, idempotency
15Rate LimiterSecurityAlgorithm choice, distributed state, fairness

Scoring Rubric

Each task is scored 0-100 across the 4 quality dimensions:

Score = (test_coverage × 0.30) + (architecture × 0.25) + (error_handling × 0.25) + (extensibility × 0.20)

Score Thresholds

Score RangeGradeInterpretation
80-100AProduction-ready, well-structured
60-79BFunctional with minor gaps
40-59CWorks but needs improvement
0-39DSignificant structural issues

Presets

all (default)

Run all 15 tasks. Full evaluation ~45 minutes.

quick

Run top 5 high-impact tasks (1, 3, 4, 5, 12). Quick evaluation ~15 minutes.

Integration with evaluator-optimizer

This skill provides preset rubrics for the evaluator-optimizer pipeline:

/omcustom:harness-eval → loads rubric → evaluator-optimizer executes → scoring → report

The evaluator-optimizer skill's pre_negotiation phase accepts harness-eval rubric dimensions as sprint contract criteria.

Output

Results saved to .claude/outputs/sessions/{YYYY-MM-DD}/harness-eval-{HHmmss}.md with per-task scores and aggregate grade.

Tool: Writing artifacts under .claude/outputs/

CC sensitive-path check inspects tool target paths and triggers permission prompts on .claude/ regardless of bypassPermissions and allow rules (refs: #960, #961, #978, #981, #1016).

To write harness-eval results under .claude/outputs/sessions/:

  1. Write the artifact body to /tmp/harness-eval-$(date +%H%M%S).md first (Write tool target = /tmp, no sensitive-path trigger)
  2. Use a /tmp/*.sh Bash script to move/copy the file under .claude/outputs/sessions/$(date +%Y-%m-%d)/ (Bash target = /tmp, script-internal cp to .claude/ is not audited)
  3. Read-only Bash on .claude/outputs/ (e.g., cat, head, wc) is allowed for verification

Reference: feedback_sensitive_path_tmp_bypass.md, R006 sensitive-path handling, #1016, #1045.

4-Metric Quantitative Layer (added v0.113.0, #1025)

The 15 benchmark tasks defined here measure task correctness (pass/fail). For agent efficiency comparison and trajectory analysis, layer the 4-metric framework on top:

  • correctness — existing benchmark pass/fail (unchanged)
  • step_ratio — observed_steps / ideal_steps (efficiency)
  • tool_call_ratio — observed_tool_calls / ideal_tool_calls (efficiency)
  • latency_ratio — observed_latency / ideal_latency (efficiency)

Workflow

  1. Run benchmark task → collect correctness result + trajectory (steps, tool_calls, latency)
  2. Compare against ideal trajectory annotation (see agent-eval-framework skill)
  3. Phase 1 gate: correctness MUST pass; Phase 2 gate: efficiency comparison among passing variants

Ideal Trajectory per Benchmark

For each of the 15 benchmark tasks, an ideal trajectory should be authored. Annotation schema:

task_id: <benchmark-id>
capability: <category>
ideal:
  steps: <int>
  tool_calls: <int>
  latency_seconds: <float>

Cross-references

  • Skill: agent-eval-framework (4-metric framework definition)
  • Guide: guides/agent-eval/README.md (measurement methodology)
  • Issue: #1025

Attribution

Evaluation framework based on research by revfactory/claude-code-harness. Adapted for oh-my-customcode's evaluator-optimizer pipeline with permission.

Related Guide

  • guides/harness-engineering/ — 하네스 엔지니어링 통합 가이드 (Benchmark Evaluation Layer 관점에서 harness-eval 위치)

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Pre-action boundary checking — validates agent tool calls against declared capabilities and task contracts

The English summary is being prepared. Showing the original description.

baekenough/second-brain15Updated Oct 8, 2026

Auto-detect project context and optimize harness — deactivate unused agents/skills, suggest missing experts, generate project profile

The English summary is being prepared. Showing the original description.

baekenough/second-brain15Updated Oct 8, 2026

Adversarial code review using attacker mindset — trust boundary, attack surface, business logic, and defense evaluation

The English summary is being prepared. Showing the original description.

baekenough/second-brain15Updated Oct 8, 2026

Apache Airflow best practices for DAG authoring, testing, and production deployment

The English summary is being prepared. Showing the original description.

baekenough/second-brain15Updated Oct 8, 2026

Alembic migration patterns for naming conventions, safety checks, expand-contract, env.py configuration, and CI integration

The English summary is being prepared. Showing the original description.

baekenough/second-brain15Updated Oct 8, 2026

Pre-routing ambiguity analysis — scores request clarity and asks clarifying questions when needed (inspired by ouroboros)

The English summary is being prepared. Showing the original description.

baekenough/second-brain15Updated Oct 8, 2026

See all skills by baekenough

Report a problem with this skill