am-will/swarms/parallel-task-tmux
Claude Code and agent skill by am-will/swarms
- community
Checking that the SKILL.md file is still in the repository.
Only to be triggered by explicit /parallel-task-tmux commands. Dependency-aware parallel plan execution that launches each unblocked Codex worker in a live tmux pane, keeps pane output visible in real time, and shrinks the layout by closing panes as tasks complete.
Install
npx vskill@latest install am-will/swarms/parallel-task-tmuxSKILL.md
Parallel Task Executor (tmux Live Workers)
Run dependency-ordered plan execution like parallel-task, but route each worker through codex exec inside tmux panes so progress is visible in real time.
Use this skill when you want:
- Live visibility into each running worker
- A tiled worker view that expands as tasks launch
- Automatic pane cleanup that shrinks the layout as tasks finish
Execution Model
- Parse the plan and compute unblocked tasks by
depends_on. - Build one worker prompt file per task.
- Launch one tmux pane per task via
scripts/tmux_spawn_worker.sh. - Monitor status/logs and reap completed panes via
scripts/tmux_reap_completed.sh. - Validate completed tasks before advancing to the next dependency wave.
- Repeat until all requested tasks are complete.
Preflight
Run these checks before launching workers:
Resolve the skill directory once so helper script paths are stable:
Fail fast if SKILL_ROOT is empty.
Initialize one run directory per execution:
Plan Parsing and Scheduling
Mirror parallel-task behavior:
- Parse task sections (for example
### T1:). - Extract task id, title,
depends_on, location, description, acceptance criteria, validation. - Filter to requested subset and required dependencies if the user passes a subset.
- Launch only tasks whose dependencies are complete.
Worker Prompt Contract
Create one prompt file per task at:
$RUN_ROOT/prompts/<TASK_ID>.md
Use the same task context and completion requirements as parallel-task:
- Read the working plan and relevant files before coding.
- Default to TDD RED phase first using a
tdd_test_writersubagent, or explicitly recordreason_not_testablewith an alternative verification contract. - Treat RED-phase tests (or approved non-testable verification plan) as the implementation contract.
- Implement acceptance criteria.
- Keep edits atomic.
- Run the exact new/updated test commands until GREEN, or run the documented alternative verification and capture evidence.
- Commit only task-scoped files.
- Update the plan status/log/files after the commit.
- Return modified files, criteria coverage, and RED -> GREEN or non-testable verification evidence.
Launching tmux Workers
When running inside tmux, prefer in-place splits so the user can keep chatting in the current Codex pane while workers appear beside it.
In-place mode (recommended inside tmux):
Detached session mode (for non-tmux shells):
Behavior:
- In split-current mode, launches workers as new panes in the current tmux window.
- In detached mode, creates tmux session/window if missing.
- Re-tiles panes after each launch so the grid expands live.
- Streams
codex execoutput live in each pane while also writing logs tologs/<TASK_ID>.log. - Tracks pane ids in
task_map.tsvfor deterministic cleanup.
In detached mode, if not already attached, print:
Monitoring and Pane Reaping
During each wave, monitor active panes:
Collect completed workers and close their panes:
This is what gives the expand/shrink behavior:
- Launching tasks adds panes and expands the tile grid.
- Reaping completed tasks kills panes and shrinks the grid.
Inspect logs before accepting a task:
Validation and Wave Control
For each completed task:
- Verify files changed as expected.
- Verify plan status/log/files fields were updated.
- Verify RED -> GREEN test evidence or explicit
reason_not_testableplus concrete alternative verification output. - Mark task complete in orchestrator state only after verification passes.
- Retry failed tasks with corrected prompts when needed.
Launch the next wave only when all tasks in the current wave are verified complete.
Finalization
After all tasks are complete:
- Run final validation commands from the plan.
- Confirm no pending tasks remain.
- Provide an execution summary with completed, failed, retried tasks, modified files, and verification evidence.
Leave the tmux session alive by default for auditability. Only kill it if the user asks:
Error Handling
- Missing task ids in subset: list valid task ids from the parsed plan.
tmuxunavailable: stop and instruct user to install tmux.- Worker exits non-zero: inspect log, repair prompt/context, relaunch task.
- No status updates: verify pane is still running; if dead without status line, relaunch.
- Parse failure: report parser assumptions and request corrected plan format.
Example Usage
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/parallel-task-tmux/SKILL.md
Popularity
- Repository stars
- 147
- Repository forks
- 7
- 7-day trend score
- 25
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 20 Mar 2026, 8 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/am-will/swarms/parallel-task-tmux)