agent-harness
Skill9 starsChanged 3 months agoMITView on GitHub
8 other projects use a version of this.
Adopted by
Most recently taken up by
- vcompagnucci/skillstheir own version, first seen Oct 1, 2026
- netresearch/agent-harness-skilltheir own version, first seen Sep 30, 2026
- SUNRNEHUI/agent-harnesstheir own version, first seen Aug 27, 2026
- Hassaan146/claude-skillstheir own version, first seen Jul 25, 2026
- redleafluan/claude-skillstheir own version, first seen Jul 13, 2026
- berekvolgyipeter/dotclaudetheir own version, first seen Jun 26, 2026
Other versions8 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 8
- Hassaan146/claude-skills★ 18same name
- netresearch/agent-harness-skill★ 5same name
- SUNRNEHUI/agent-harness★ 4same name
- berekvolgyipeter/dotclaude★ 2same name
- oornnery/agents★ 1same name
- blixxurd/context-agent-harnesses★ 0same name
- redleafluan/claude-skills★ 0same name
- vcompagnucci/skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository109 other files it gives its agents.
- AGENTS.mdAGENTS.md
- docs/agents.mdAGENTS.md
- agent/CLAUDE.mdCLAUDE.md
- CLAUDE.mdCLAUDE.md
- router/CLAUDE.mdCLAUDE.md
- .agents/skills/llms.txtllms.txt
- auto-fixSkill
- brain-dumpSkill
- industrial-brutalist-uiSkill
- changelog-enforcerSkill
- checkpoint-strategySkill
- context-primeSkill
- cooldown-resumeSkill
- council-reviewSkill
- data-quality-auditSkill
- debug-tracerSkill
- dependency-auditSkill
- deslopSkill
- docs-syncSkill
- duplicate-threadSkill
- email-triageSkill
- fabric-patternsSkill
- feature-flagSkill
- git-hygieneSkill
- graphifySkill
- implementation-plannerSkill
- insightsSkill
- issue-resolverSkill
- learn-ruleSkill
- local-ai-querySkill
- lr-schedule-advisorSkill
- minimalist-uiSkill
- modularity-reviewSkill
- full-output-enforcementSkill
- parallel-agentsSkill
- parallel-worktreesSkill
- prompt-librarySkill
- prompt-transparencySkill
- pro-workflowSkill
- redesign-existing-projectsSkill
- release-readinessSkill
- replay-learningsSkill
- repo-memory-updaterSkill
- repowise-intelligenceSkill
- researchSkill
- resource-panelSkill
- risky-module-reviewSkill
- sandboxed-execSkill
- scope-guardSkill
- self-improveSkill
- session-handoffSkill
- skill-composerSkill
- smart-commitSkill
- high-end-visual-designSkill
- stitch-design-tasteSkill
- system-prompt-auditSkill
- task-alive-updatesSkill
- task-scoperSkill
- design-taste-frontendSkill
- test-first-executorSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
1 rule. 0 are common, 1 is distinctive, and 0 are very specific to this project.
0
Common
Most of the 6 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 57
Write a precise task description including:
“Common” is measured: kept by at least 6 in 10 of the 6 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Skill: agent-harness
Purpose
Build and run a structured agent harness — an outer loop that gives an LLM a defined set of tools (capabilities) and drives it to task completion. Based on the architecture from the OpenAI Agents SDK blog post: an Agent is a for-loop with an LLM running tools until done.
When to Use
- You need an agent that can take multi-step autonomous action on a complex task.
- You want to define explicit tool capabilities (shell, file I/O, search, etc.) and constrain the agent to them.
- You're building an internal coding agent, research agent, or workflow agent.
Architecture
┌─────────────────────────────────────────────┐
│ HARNESS │
│ │
│ ┌──────────┐ ┌────────────────────────┐ │
│ │ Task │───▶│ Agent Loop │ │
│ │ Input │ │ while not done: │ │
│ └──────────┘ │ action = LLM(state) │ │
│ │ result = tool(action)│ │
│ │ state.update(result) │ │
│ └────────────┬───────────┘ │
│ │ │
│ ┌────────────────────────────▼───────────┐ │
│ │ CAPABILITIES │ │
│ │ shell_exec | file_read | file_write │ │
│ │ web_search | sandboxed_exec | ... │ │
│ └────────────────────────────────────────┘ │
└─────────────────────────────────────────────┘Key Concepts
| Term | Definition |
| Agent | LLM + tool loop running until a stop condition |
| Harness | The scaffolding around the agent: tools, state, loop control |
| Capability | A stateful, bound set of tools for a specific agent instance |
| Stop condition | Criteria that ends the loop: task_complete, max_steps, error |
| Sandbox | Isolated execution env — use sandboxed-exec skill |
Usage
@agent-harness
task: <what the agent should accomplish>
capabilities: [shell, file_read, file_write, search]
max_steps: <N, default 20>
sandbox: <true|false, default true>
stop_on: <task_complete|max_steps|first_success>Steps (for Claude to follow)
Step 1 — Define the task clearly
Write a precise task description including:
- Goal (what does "done" look like?)
- Constraints (what must NOT be done?)
- Available context (files, APIs, data)
Step 2 — Select capabilities
Choose from:
shell— run shell commands (sandboxed ifsandbox: true)file_read— read workspace filesfile_write— write files (with confirmation ifsandbox: false)search— web or codebase searchtest_runner— run the test suite and parse resultsgit— git operations (status, diff, commit)
Step 3 — Run the agent loop
iteration = 0
while iteration < max_steps:
thought = reason_about_current_state(task, history)
action = select_tool(thought, capabilities)
result = execute(action, sandbox=sandbox)
history.append({thought, action, result})
if stop_condition_met(result, task):
break
iteration += 1Step 4 — Report outcome
Produce a structured report (see Output Format).
Output Format
AGENT HARNESS REPORT
====================
Task : <task>
Capabilities: <list>
Sandbox : <true|false>
Steps taken : <N> / <max>
Stop reason : <task_complete | max_steps | error>
EXECUTION TRACE
---------------
[Step 1] Thought: ...
Action : shell("ls -la")
Result : ...
[Step 2] Thought: ...
Action : file_write("solution.py", ...)
Result : ✅ written
...
FINAL OUTCOME
-------------
<Summary of what was accomplished>
<Files created or modified>
<Remaining work if any>Safety Rules
- Always sandbox untrusted or generated code before writing to workspace.
- Confirm destructive actions (delete, overwrite) with the user.
- Cap iterations — never run unbounded loops.
- Log every step — maintain the execution trace for auditability.
- Fail loudly — surface errors immediately rather than silently skipping.
Combining with Other Skills
sandboxed-exec— safe execution environment per stepparallel-agents— fan out to multiple harness instancestest-first-executor— drive the harness with failing tests as the goaldebug-tracer— use when the harness hits an unexpected errorscope-guard— prevent the harness from drifting out of scope
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

