Swarmux
Agent-first tmux async task orchestration CLI
npx -y skills add ghillb/swarmux --skill swarmuxAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 6 stars6 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Use this skill when you need tmux-first local task orchestration for coding agents - task submission, start, inspect, attach, wait, watch, reconcile, stop, and prune. Prefer for multi-task local runs requiring machine-readable control and operator tmux visibility.
SKILL.md
2.6 KB, as published. Nobody here has run it
Swarmux
Use swarmux as the control plane for local coding tasks.
Setup reference: docs/getting-started.md
Primary interface
Task management is the main interface.
submitcreates a task recorddispatchsubmits and starts in one stepstartlaunches a queued tasklistshows tasksshowopens one taskattachenters a task sessionwaitblocks until a task reaches target stateswatchstreams task status and logslogsprints stored logsset-reflinks tasks to PRs or issuesreconcilerepairs crashed or lost sessionsstop,done, andfailchange task lifecycle stateprunecleans up finished work
When to use
- User asks to run multiple coding tasks locally with tmux visibility.
- User wants an agent control plane with JSON outputs for task lifecycle commands.
- User needs lifecycle control for running tasks, task recovery, or cleanup.
- User needs backend-backed task state (
filesdefault, optionalbeadsviabd). - User wants inspectable local execution instead of hidden/background orchestration.
Agent command model
- Runtime command is provided by task payload
commandand executed as-is in tmux. - Do not assume Codex-only runtime; Codex is a common example, not a hard requirement.
Invariants
- Prefer
--output jsonfor all machine consumption. - Prefer raw payload input with
--jsonor--json-filefor mutating commands. - Use
--dry-runbefore real mutations when validating a payload or workflow. - Treat
schemaas the source of truth for command shape. - Never bypass
swarmuxwith ad hoc tmux or git worktree commands unless you are repairing a broken session.
Workflow
- Run
swarmux doctor. - Run
swarmux init. - Inspect command shapes with
swarmux --output json schema. - Submit or dispatch tasks with raw JSON payloads or tmux-friendly flags.
- Use
list,show,attach,wait, andwatchfor supervision. - Use
stop,done,fail,set-ref,reconcile, andprunefor explicit control.
Safety
- Inputs are validated defensively because agents hallucinate paths and identifiers.
logsis sanitized by default; use--rawonly when needed.pruneis dry-run by default. Add--applyonly when intentional.- The beads backend is optional. Default backend is
files.