tmux

Manage background processes in tmux windows with commands.

59|5|Updated Jun 21, 2025
One-click install
npx skills add https://github.com/bdsqqq/dots --skill tmux-bdsqqq
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tmux
Source: https://github.com/bdsqqq/dots/tree/main/user/amp/skills/tmux
Command: npx skills add https://github.com/bdsqqq/dots --skill tmux-bdsqqq

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides quick patterns to run and monitor long-running tasks in tmux windows, helping you keep background processes organized.

Core Features & Use Cases

  • Window management: Create, name, and control tmux windows for concurrent tasks.
  • Process spawning: Start and send commands to windows; keep outputs separated.
  • Inspection: Capture pane output for status checks.

Quick Start

Ensure you are inside a tmux session, then create and run a command in a new window:

  • tmux new-window -n "name" -d
  • tmux send-keys -t "name" "command" C-m
  • tmux capture-pane -p -t "name"

Frequently Asked Questions about tmux

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run multiple background processes in separate tmux windows?

Create new tmux windows with `tmux new-window -n "name" -d`, then send commands to each window using `tmux send-keys -t "name" "command" C-m`. This keeps processes isolated and organized in separate panes.

Can I automate spawning and monitoring long-running tasks in tmux?

Yes. Automate process management by scripting tmux commands to spawn windows, send commands, and capture output. Use `tmux capture-pane -p -t "name"` to inspect process status without manual checking.

What's the best way to keep servers and build processes organized?

Use tmux window management to run servers, builds, and watchers concurrently in named windows. This separates output streams and lets you control, monitor, and interrupt each task independently.

Do I need to be inside a tmux session to manage background processes?

Yes, you must be running within an active tmux session. The Skill operates on windows and panes within your current session to launch, send commands, and capture outputs.

How do I check the output of a running process in a tmux window?

Capture pane output with `tmux capture-pane -p -t "window-name"`. This retrieves the current state of the window without interrupting the process running inside it.