tmux

Manage Windows and panes to run and monitor parallel tasks in Bash-enabled tmux sessions.

Updated Jan 16, 2026
One-click install
npx skills add https://github.com/jeninh/ampskills-dotfile --skill tmux-jeninh
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tmux
Source: https://github.com/jeninh/ampskills-dotfile/tree/main/.agents/skills/tmux
Command: npx skills add https://github.com/jeninh/ampskills-dotfile --skill tmux-jeninh

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill streamlines the management of multiple terminal tasks by leveraging tmux to create and orchestrate several windows and panes, allowing long-running processes to run in parallel without blocking your main workflow.

Core Features & Use Cases

  • Spawn new tmux windows or panes for separate tasks (servers, watchers, builds) without losing context.
  • Send commands to specific tmux targets and capture their output for logging and monitoring.
  • Detach/reattach sessions for persistent task management across sessions and reboots.

Quick Start

  • Create a new detached window named "dev" and run a command: tmux new-window -n "dev" -d tmux send-keys -t "dev" "npm start" C-m
  • List windows and attach to the session: tmux list-windows tmux attach -t main

Frequently Asked Questions about tmux

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

FAQPage Schema
How do I run multiple terminal tasks in parallel without blocking my main workflow?

Terminal multiplexing with tmux lets you spawn new windows and panes for separate tasks, allowing long-running processes like servers and watchers to run in parallel without blocking your main workflow.

What is the best way to send commands to a specific tmux window and capture its output?

Use tmux send-keys to direct commands to specific windows or panes, then capture the pane output for logging and monitoring. This enables automated command execution and output tracking across parallel tasks.

How do I keep terminal sessions running after disconnecting or rebooting?

You can detach and reattach tmux sessions to maintain persistent terminal task management across disconnects and reboots. This preserves long-running processes and allows you to reconnect to your exact working environment without losing context.

Can I use tmux for development and ops workflows on any platform?

Tmux requires a Bash-enabled environment with the tmux package installed to function. It applies to development and ops workflows requiring persistent terminal sessions and quick task switching across compatible platforms.

How do I create a detached tmux window and run a command inside it?

Use tmux new-window -n "name" -d to create a detached window, then pass commands using tmux send-keys -t "name" "command" C-m. This spawns the task in the background without attaching to the session.