tmux-background-tasks
Installation
SKILL.md
Tmux Background Tasks
If tmux is not installed, stop and ask the user to install it before proceeding.
Overview
Use tmux to run and manage long-lived commands in the background. Do not keep these tasks alive with the default process tool; always launch them in tmux so they survive across commands and can be reattached.
Workflow
-
Verify tmux is installed If tmux is missing, stop and ask the user to install it (e.g.,
brew install tmuxon macOS). Do not proceed until tmux is available. -
Pick a stable session name Use a predictable, unique name like
<repo>-<task>(e.g.,myapp-api,myapp-expo). -
Start or reuse the session Check for an existing session before starting a new one.