multi-agent-harness
Skill1 starsChanged 22 days agoMITView on GitHub
Guide for using OpenCode multi-agent orchestration: parallel subagents, context persistence, and task distribution. Use when setting up or troubleshooting multi-agent workflows.
In this repository34 other files it gives its agents.
- academy-guideSkill
- agent-reachSkill
- algorithmic-artSkill
- artemis-mobileSkill
- auto-reviewSkill
- brand-guidelinesSkill
- business-short-form-reelsSkill
- canvas-designSkill
- claude-apiSkill
- depth-ui-reelSkill
- discernment-nudgeSkill
- doc-coauthoringSkill
- docxSkill
- educational-youtube-editorSkill
- free-llm-apisSkill
- frontend-designSkill
- goal-managementSkill
- internal-commsSkill
- mcp-builderSkill
- multi-agent-collaborationSkill
- opencode-models-guideSkill
- pdfSkill
- personal-broll-librarySkill
- personal-short-form-reelsSkill
- pptxSkill
- ranking-formatSkill
- skill-creatorSkill
- slack-gif-creatorSkill
- theme-factorySkill
- tutorial-videosSkill
- webapp-testingSkill
- web-artifacts-builderSkill
- xlsxSkill
- youtube-clipsSkill
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 3 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 31
Write plans to work/plan.md.
- Distinctive: line 33
Use claude-mem for cross-session memory.
- Distinctive: line 36
Re-reading files: Use foreground + intermediate files.
- Very specific: line 37
Lost context: Use claude-mem save_memory.
- Distinctive: line 38
Slow sequential: Ask for parallel execution explicitly.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Multi-Agent Harness (OpenCode)
Overview
OpenCode supports primary (orchestrator) and subagent (specialists) agents.
Subagents run in child sessions with fresh context. They can run foreground (blocking) or background (parallel).
Best Practices
- Use foreground for dependent tasks — waits for result, keeps in parent context.
- Use background for independent tasks — launches all at once, collects results later.
- Persist intermediate results — write to
work/plan.md,work/findings.md,work/done.md. - Use claude-mem — save durable notes (
save_memory/observation_add). - Keep tasks small — avoid context compaction.
- Preload context — use
instructionsinopencode.jsonc.
Agents (Joe Skills bundle)
- orchestrator (primary) — router
- planner, ui-designer, ux-researcher, frontend-dev, backend-dev, security-auditor, mcp-integrator, media-analyst, web-researcher, skill-scout, reviewer, coder, pentest-agent (subagents)
Parallel Execution
Ask orchestrator:
"Run ui-designer and frontend-dev in parallel to design+implement a navbar"
Orchestrator will use subagent with background=true.
Context Persistence
- Write plans to
work/plan.md. - Agents read
work/plan.mdinstead of re-scanning. - Use claude-mem for cross-session memory.
Troubleshooting
- Re-reading files: Use foreground + intermediate files.
- Lost context: Use claude-mem
save_memory. - Slow sequential: Ask for parallel execution explicitly.
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.

