Help us improve
Share bugs, ideas, or general feedback.
A public harness design skill derived from Claude Code-inspired runtime patterns.
npx claudepluginhub dadwadw233/claude-code-harnessA single-skill package for generating harness blueprints for agentic systems.
Share bugs, ideas, or general feedback.
Turn an agent idea into a real harness blueprint.
claude-code-harness is a public skill and plugin package for developers who want to design the runtime around an agent, not just the prompt inside it.
It is inspired by Claude Code's harness design and generalized into a reusable pattern language for building agentic systems with clearer request assembly, tighter control loops, safer tool boundaries, and stronger recovery behavior.
This project is unofficial. It is not affiliated with Anthropic.
A harness is the layer that turns a model into an operating system for work.
It decides:
flowchart LR
U["User / Host"]
RA["Request Assembly<br/>instructions + context + tools + history"]
TL["Turn Loop<br/>gather → think → act → verify"]
TP["Tool Plane<br/>capabilities + permissions"]
MP["Memory Plane<br/>context + durable memory + compaction"]
TR["Transcript / Recovery<br/>logs + resume + continuity"]
EP["Extension Plane<br/>plugins + MCP + subagents"]
U --> RA --> TL
TL --> TP
TL --> MP
TL --> TR
TP --> TL
MP --> TL
TR --> TL
EP --> TL
Most agent projects still stop at one of these weak states:
This repo is meant to force a higher bar.
The question it keeps asking is:
What is the harness here, exactly?
This repository currently ships one skill:
claude-code-harnessThe skill helps you produce a harness blueprint for an agentic system. It pushes you to specify the runtime planes that are usually hand-waved away.
| Plane | What the skill forces you to define |
|---|---|
| Request assembly | instruction sources, system/user context, tool exposure, transcript normalization |
| Turn loop | gather, decide, act, verify, stop/retry/escalate |
| Tool plane | capability contracts, permission gates, success criteria, rollback story |
| Memory plane | active context, retrieval, durable memory, compaction |
| Recovery plane | transcript, resumability, partial work, continuity |
| Human control | approvals, visibility, interruption, auditability |
| Extension plane | plugins, MCP, subagents, future expansion points |
Use this skill when you need to answer questions like:
Do not use it when you only need:
claude-code-philosophyclaude-code-philosophy is broader. It helps people design better agentic products in general.
claude-code-harness is narrower and sharper. It is specifically about the runtime architecture around the model:
If claude-code-philosophy asks “what kind of agent product should this become?”, this repo asks “what harness must exist for that product to actually work?”
When the skill is doing its job, the result should look like a blueprint, not a pep talk.
The default output shape includes: