coding-agent
Installation
SKILL.md
Coding Agent
Spawn a background agent when work can be done independently. For parallel write tasks, use separate git worktrees or directories.
Tmux Loop
Use remain-on-exit on so finished output stays capturable.
tmux new-session -d -s NAME -c DIR "COMMAND" \; set remain-on-exit on
tmux capture-pane -t NAME -p -S -
tmux display-message -t NAME -p '#{pane_dead}' # 1 means exited
tmux display-message -t NAME -p '#{pane_dead_status}' # exit code
tmux kill-session -t NAME
Poll one-shot agents with: