From da74f0b945da16cfd635fb60d3a22db0184b193c Mon Sep 17 00:00:00 2001 From: rUv Date: Sat, 7 Feb 2026 18:49:17 +0000 Subject: [PATCH] Checkpoint: File edits MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Automatic checkpoint created by Claude Code - Branch: feature/codex-integration - Timestamp: 2026-02-07T18:49:17Z - Changes: 1 file(s) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- .claude/skills/dual-mode/README.md | 49 +++++++++++++++++++++++++----- 1 file changed, 41 insertions(+), 8 deletions(-) diff --git a/.claude/skills/dual-mode/README.md b/.claude/skills/dual-mode/README.md index 6f0d240710..26cf79b5e4 100644 --- a/.claude/skills/dual-mode/README.md +++ b/.claude/skills/dual-mode/README.md @@ -6,14 +6,13 @@ Optional skills for orchestrating Claude Code and headless Codex workers togethe | Skill | File | Purpose | |-------|------|---------| -| `dual-spawn` | dual-spawn.md | Spawn headless Codex workers from Claude Code | -| `dual-coordinate` | dual-coordinate.md | Coordinate hybrid Claude+Codex workflows | -| `dual-collect` | dual-collect.md | Collect results from headless workers | +| `/dual-spawn` | dual-spawn.md | Spawn headless Codex workers from Claude Code | +| `/dual-coordinate` | dual-coordinate.md | Coordinate hybrid Claude+Codex workflows | +| `/dual-collect` | dual-collect.md | Collect results from headless workers | ## Quick Start -### From Claude Code (Interactive) - +### Spawn Parallel Workers ``` /dual-spawn "Implement auth module" --workers 3 ``` @@ -21,17 +20,51 @@ Optional skills for orchestrating Claude Code and headless Codex workers togethe This spawns 3 headless Codex workers in background. ### Collect Results - ``` /dual-collect --namespace results ``` -### Full Workflow - +### Full Hybrid Workflow ``` /dual-coordinate --workflow hybrid_development --task "Build user API" ``` +## Workflow Examples + +### Feature Implementation +```bash +# 1. Spawn implementation workers +/dual-spawn "Implement user CRUD API" --workers 2 --type coder + +# 2. Spawn test writer +/dual-spawn "Write tests for user API" --workers 1 --type tester + +# 3. Collect all results +/dual-collect --format detailed +``` + +### Documentation Sprint +```bash +/dual-spawn "Document all API endpoints" --workers 4 --type docs +/dual-collect --namespace results +``` + +## Related Agents + +See `.claude/agents/dual-mode/` for agent definitions: +- `dual-orchestrator` - Hybrid workflow orchestration +- `codex-coordinator` - Parallel worker coordination +- `codex-worker` - Headless execution worker + +## How It Works + +1. **Skills** define the command interface (what you type) +2. **Agents** define the behavior and capabilities +3. **Memory** provides coordination between workers +4. **MCP tools** handle the underlying operations + +All workers share memory via claude-flow MCP tools for seamless coordination. + ## Installation Skills are pre-installed in `.claude/skills/dual-mode/`.