multi-agent-workflow
Skill19 starsChanged 7 months agoMITView on GitHub
Use when implementing features with multiple AI agents working together
4 other projects use a version of this.
Adopted by
Most recently taken up by
- ANAMIZED/LRSItheir own version, first seen Aug 17, 2026
- ANAMIZED/Server-OStheir own version, first seen Aug 15, 2026
- Minions-Land/Soup_Drinkingtheir own version, first seen Apr 5, 2026
- Lazily01/openclaw-skillstheir own version, first seen Mar 6, 2026
Other versions4 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 4
- Minions-Land/Soup_Drinking★ 4same name
- ANAMIZED/LRSI★ 1same name
- ANAMIZED/Server-OS★ 1same name
- Lazily01/openclaw-skills★ 1same 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 repository13 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- adding-adaptersSkill
- adding-adaptersSkill
- agent-handoffSkill
- brainstormingSkill
- broker-collaborationSkill
- code-reviewSkill
- debuggingSkill
- parallel-agentsSkill
- test-driven-developmentSkill
- token-efficient-contextSkill
- using-skillsSkill
The file
We split this skill into the rules it gives an agent
8 rules. 0 are common, 6 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 4 edited versions we read keep these.
6
Distinctive
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 87
Use cliagents' delegation tools:
- Distinctive: line 97
Use shared memory to pass information between agents:
- Distinctive: line 111
Parallel when possible: Use parallel patterns for independent work
- Distinctive: line 113
Validate incrementally: Check each agent's output before proceeding
- Very specific: line 117
Use run_workflow for common patterns:
- Distinctive: line 126
If an agent times out: Increase timeout or use async mode
- Distinctive: line 127
If an agent fails: Retry or fall back to another agent
- Distinctive: line 128
If agents disagree: Escalate to supervisor agent for resolution
“Common” is measured: kept by at least 6 in 10 of the 4 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
Multi-Agent Workflow
Orchestrate complex tasks across multiple AI agents, each contributing their strengths.
Agent Roles
| Agent | Strengths | Best For |
| Claude Code | File editing, MCP tools, code generation | Implementation, refactoring |
| Gemini CLI | Web search, large context, fast | Research, documentation |
| Codex CLI | Sandbox execution, code review | Testing, security review |
Workflow Patterns
Pattern 1: Sequential Pipeline
Each agent builds on the previous one's output:
Gemini (Research) → Claude (Implement) → Codex (Review) → Claude (Fix)Use when: Tasks have clear dependencies between phases
Example workflow:
- Gemini researches the API/library to use
- Claude implements based on research findings
- Codex reviews for bugs and security
- Claude fixes any issues found
Pattern 2: Parallel Specialization
Multiple agents work on different aspects simultaneously:
┌─ Claude (Bug Review)
Task ────┼─ Gemini (Security Review)
└─ Codex (Performance Review)Use when: Independent reviews or analyses can happen concurrently
Example workflow:
- Send the same code to all three agents
- Each focuses on their specialty
- Combine findings at the end
Pattern 3: Supervisor-Worker
One agent coordinates others:
Claude (Supervisor)
├─ delegates to → Gemini (Research subtask)
├─ delegates to → Codex (Test subtask)
└─ integrates resultsUse when: Complex tasks need coordination and integration
Implementation Steps
Step 1: Plan the Workflow
Define the task and identify which agents should participate:
const workflow = {
task: "Implement user authentication",
phases: [
{ role: "research", agent: "gemini-cli", input: "Research OAuth2 best practices" },
{ role: "implement", agent: "claude-code", input: "Implement based on research" },
{ role: "test", agent: "codex-cli", input: "Write and run security tests" },
{ role: "fix", agent: "claude-code", input: "Fix any issues found" }
]
};Step 2: Execute with Handoffs
Use cliagents' delegation tools:
delegate_task role="research" adapter="gemini-cli" message="Research OAuth2..."
delegate_task role="implement" adapter="claude-code" message="[Research results] Implement..."
delegate_task role="test" adapter="codex-cli" message="[Implementation] Test..."Step 3: Share Context
Use shared memory to pass information between agents:
store_artifact: Save implementation plans, code outputsshare_finding: Report bugs, security issues, suggestionsget_shared_findings: Retrieve what other agents discovered
Step 4: Integrate Results
Combine outputs from all agents into the final deliverable.
Best Practices
- Clear handoff messages: Include all context the next agent needs
- Use shared memory: Store artifacts and findings for other agents
- Parallel when possible: Use parallel patterns for independent work
- Single source of truth: Let one agent own the final integration
- Validate incrementally: Check each agent's output before proceeding
Predefined Workflows
Use run_workflow for common patterns:
code-review: Parallel bug + security + performance reviewfeature: Plan → implement → testbugfix: Analyze → fix → testresearch: Research → document
Error Handling
- If an agent times out: Increase timeout or use async mode
- If an agent fails: Retry or fall back to another agent
- If agents disagree: Escalate to supervisor agent for resolution
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.

