10xchengtu/harness-engineering/harness-engineering

Claude Code and agent skill by 10xchengtu/harness-engineering

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Set up and improve harness engineering (AGENTS.md, docs/, lint rules, eval systems, project-level prompt engineering) for AI-agent-friendly codebases. Triggers on: new/empty project setup for AI agents, AGENTS.md or CLAUDE.md creation, harness engineering questions, making agents work better on a codebase. ALSO triggers when users are frustrated or complaining about agent quality — e.g. 'the agent keeps ignoring conventions', 'it never follows instructions', 'why does it keep doing X', 'the agent is broken' — because poor agent output almost always signals harness gaps, not model problems. Covers: context engineering, architectural constraints, multi-agent coordination, evaluation, long-running agent harness, agent loops (autonomous operation, verifiers, stop conditions), agent memory (cross-session memory, consolidation), and diagnosis of agent quality issues.

Install

npx vskill@latest install 10xchengtu/harness-engineering/harness-engineering

SKILL.md

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
  7. If agents will run unattended (scheduled tasks, CI loops) → read references/08-loops.md; if agents should learn across sessions → read references/09-memory.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
LoopsVerifiers, stop conditions, guardrails, autonomous operation08-loops.md
MemoryCross-session memory, index-then-fetch, consolidation, forgetting09-memory.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

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
98
Repository forks
11
7-day trend score
23

Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 30 Apr 2026, 6 months ago.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/10xchengtu/harness-engineering/harness-engineering/badge)](https://verified-skill.com/skills/10xchengtu/harness-engineering/harness-engineering)

Something wrong with this skill or its page? Tell us.