Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
10xchengtu avatar

Harness Engineering

  • 111 installs
  • 95 repo stars
  • Updated August 2, 2026
  • 10xchengtu/harness-engineering

harness-engineering is an agent skill that scaffolds and improves AGENTS.md, docs, lint rules, constraints, and evaluation systems for developers who need AI agents to follow project conventions consistently.

About

harness-engineering is an agent skill from 10xChengTu/harness-engineering that treats the harness as the operating system for coding agents—model as CPU, context window as RAM. Install with npx skills add 10xChengTu/harness-engineering/skills/harness-engineering. The skill guides full project setup, AGENTS.md scaffolding, context engineering, constraint guardrails, multi-agent architecture, eval feedback loops, long-running task handoffs, and diagnosis when agents ignore conventions. It includes 7 reference modules consulted on demand, from 01-project-setup.md through 07-diagnosis.md. Core principle: start simple and add harness complexity only when the model cannot succeed alone. Reach for harness-engineering when agent output quality problems trace to missing context, linters, or feedback—not model size.

  • Covers 7 reference modules from project setup through diagnosis
  • Scaffolds AGENTS.md, docs/, linters, and eval feedback loops
  • Diagnoses agent failures as harness gaps not model limitations
  • Documents multi-agent coordination and long-running task handoffs
  • Installable via npx skills add with English and Chinese variants

Harness Engineering by the numbers

  • 111 all-time installs (skills.sh)
  • Ranked #4,020 of 16,546 AI & Agent Building skills by installs in the Skillselion catalog
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/10xchengtu/harness-engineering --skill harness-engineering

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs111
repo stars95
Last updatedAugust 2, 2026
Repository10xchengtu/harness-engineering

How do you make coding agents follow project conventions?

Run harness-engineering to scaffold AGENTS.md, docs/, lint guardrails, and eval feedback loops when agents ignore your codebase conventions.

Who is it for?

Developers onboarding Claude Code, Cursor, or Codex to a repo where agents repeatedly violate architecture, style, or workflow conventions.

Skip if: Teams satisfied with ad-hoc CLAUDE.md prompts and no structured constraints, evals, or progressive context design.

When should I use this skill?

A developer says agents keep ignoring conventions, needs AGENTS.md setup, or wants to diagnose harness gaps instead of switching models.

What you get

AGENTS.md entry point, docs/ information architecture, linter constraints, eval grading loops, and diagnosis notes for agent quality gaps.

  • AGENTS.md scaffold
  • docs/ structure
  • Eval and constraint patterns

By the numbers

  • Includes 7 reference modules for harness layers
  • Provides 2 installable skills: English and Chinese variants

Files

SKILL.mdMarkdownGitHub ↗

Harness Engineering

Harness = the operating system for AI agents working on your project. Model is CPU, context window is RAM, harness is OS.

Core Principle

Start simple, add complexity only when needed. Every harness component encodes an assumption about what the model can't do alone. Pressure-test these assumptions — they expire as models improve. Build for deletion.

When This Skill Activates

SignalAction
Empty/new project→ Full project setup (Section 1)
User frustrated with agent→ Diagnose & fix harness gaps (Section 7)
Existing project needs improvement→ Assess & incrementally improve
Explicit harness question→ Reference relevant sections

Workflow

For New Projects

1. Assess — What's the project? Tech stack? Team size? How will agents be used? 2. Setup — Create foundational harness files → read references/01-project-setup.md 3. Context — Design information architecture → read references/02-context-engineering.md 4. Constraints — Add guardrails and linters → read references/03-constraints.md 5. Evaluate — Set up feedback loops → read references/05-eval-feedback.md 6. If project involves multi-agent or long tasks → read references/04-multi-agent.md, references/06-long-running.md

For Diagnosis (Agent Not Performing Well)

1. Read references/07-diagnosis.md immediately 2. Identify which harness layer is failing 3. Apply targeted fix from the relevant reference

For Incremental Improvement

Assess current harness maturity, identify weakest layer, improve one layer at a time.

Harness Layers (Quick Reference)

LayerWhatReference
Project SetupAGENTS.md, docs/, directory conventions01-project-setup.md
Context EngineeringWhat info agents see, progressive disclosure, working state02-context-engineering.md
Constraints & GuardrailsLinters, type systems, architecture enforcement, safe autonomy03-constraints.md
Multi-Agent ArchitectureAgent separation, coordination protocols, delegation patterns04-multi-agent.md
Eval & FeedbackTesting, grading, GC agents, observability05-eval-feedback.md
Long-Running TasksProgress tracking, context resets, handoff artifacts06-long-running.md
DiagnosisWhen agents fail — identify root cause in harness, not model07-diagnosis.md

Self-Update Protocol

When you discover a new reusable harness pattern during a project:

1. Identify which reference file it belongs to (or if it needs a new one) 2. Add the pattern with: what it solves, when to use it, how to implement it 3. Keep it concise — no fluff, just the pattern

Related skills

How it compares

Use harness-engineering instead of prompt tweaks alone when recurring agent mistakes point to missing docs, constraints, or eval feedback infrastructure.

FAQ

What is harness engineering in harness-engineering?

harness-engineering defines harness as the operating system for AI agents on a codebase—AGENTS.md, docs, linters, constraints, and eval systems that determine whether agents produce reliable output.

How many modules does harness-engineering include?

harness-engineering includes 7 reference modules covering project setup, context engineering, constraints, multi-agent architecture, eval feedback, long-running tasks, and diagnosis of agent underperformance.

When should harness-engineering trigger?

harness-engineering triggers on new project agent setup, AGENTS.md creation, harness questions, and frustration like agents ignoring conventions—routing to diagnosis before blaming the model.

AI & Agent Buildingintegrationsdocstesting

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.