Back to Skills

tmux (Power Users)

Run long CLI tasks that persist through disconnects — deployments, migrations, and batch processing

DevelopmentComing Soon

What It Does

tmux gives your assistant persistent terminal sessions for tasks that take minutes or hours. Deployments, database migrations, batch processing, and build pipelines continue running even if you disconnect. The assistant manages sessions, tracks progress, and notifies you on completion.

Persistent SessionsBackground ExecutionProgress TrackingCompletion Alerts

In a Nutshell

💻
Persistent Sessions tasks survive disconnects and timeouts
⚙️
Background Execution manage multiple CLI processes simultaneously
📊
Progress Tracking monitor running tasks and get status updates
🔔
Completion Alerts get notified when long tasks finish

Use Cases

Deployments

Run deployment scripts that take 10+ minutes without worrying about connection drops

Database Migrations

Execute long-running migrations and schema changes with progress tracking

Data Processing

Process large datasets, run ETL pipelines, or batch operations in the background

Build Pipelines

Run build and compilation tasks that would otherwise time out in direct execution

How to Use

Step 1

Request a long-running task

Tell the assistant what to run — 'deploy this to staging' or 'run the database migration'. The assistant starts it in a persistent tmux session.

The assistant names sessions descriptively (e.g., 'deploy-staging-01') so you can track multiple tasks.

Step 2

Check progress

Ask 'how's the deployment going?' or 'status of my migration'. The assistant reads the tmux session output and reports back.

Step 3

Get results

When the task completes, the assistant sends a notification with the outcome — success, failure, or output summary.

Command Examples

You say:

Run this deploy script and notify me when it finishes

Assistant responds:

Started in tmux session 'deploy-01'. Estimated time: 12 minutes. I'll notify you on completion.

You say:

What's the status of my migration?

Assistant responds:

Session 'migration-prod': running for 8 minutes. Currently processing table 'events' (4 of 7). Estimated 5 minutes remaining.

You say:

Run a full test suite in the background

Assistant responds:

Started in tmux session 'tests-full'. Running 342 tests across 28 files. I'll send results when complete.

FAQ

Setup Requirements

Pro subscription
tmux installed on the server (pre-installed on Amplify infrastructure)
Tasks must be non-interactive (no user input prompts)