feat: add /lfg-ext — external delegate LFG (Codex/Gemini/OpenCode in parallel worktrees)
Summary
Adds /lfg-ext, a new workflow command that runs CE planning and review but replaces /ce:work swarm with external AI coding tools (Codex, Gemini CLI, OpenCode) running in isolated git worktrees.
Motivation
Users with Max20 plans burn tokens on CE swarm agents during execution. For teams that already have Codex, Gemini CLI, or OpenCode installed, delegating execution to those tools is free and often faster — while still getting CE's planning depth and review quality.
How it works
/ce:plan → /deepen-plan → [commit plan] → [worktrees + external delegates in parallel] → /ce:review
- Runs
/ce:plan+/deepen-planas normal - Plan is committed (worktrees see git history only, not the working tree)
- Tasks decomposed by file independence — one worktree per task via
worktree-manager.sh - External tools launched in parallel (backgrounded)
- Merges worktrees, runs
/ce:review
Key design decisions
- Uses
worktree-manager.shfrom the existinggit-worktreeskill — no new dependencies - Tool availability check before starting — graceful fallback to
/slfgif no external tools installed - Decision table for
/lfg-extvs/slfg— clear guidance on when to use each - OpenCode sandbox note — documents that OpenCode blocks writes outside its worktree (use Codex for those tasks)
Validated against
A real Rust feature implementation (.env file copying + .gitignore management in a worktree manager CLI). Codex implemented the feature from a CE plan. 4/4 tests passed, cargo clippy clean on first run.
Gotcha discovered during testing
Worktrees only see committed git history. If /ce:plan writes the plan file but it isn't committed before worktree-manager.sh create, delegates can't find the plan. Step 3 (commit plan) is explicit in the command for this reason.
Files changed
commands/lfg-ext.md— new command.claude-plugin/plugin.json— version 2.38.1 → 2.39.0, commands 22 → 23CHANGELOG.md— 2.39.0 entryREADME.md— commands count + table entry.claude-plugin/marketplace.json— version + description sync
that is cool!
Coming from you, that means a lot — thanks Kieran.