tmux

Manage tmux sessions, windows, and panes with scriptable commands.

Updated Aug 29, 2025
One-click install
npx skills add https://github.com/DDTully/dotfiles --skill tmux-ddtully
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tmux
Source: https://github.com/DDTully/dotfiles/tree/main/skills/.agent_skills/tmux
Command: npx skills add https://github.com/DDTully/dotfiles --skill tmux-ddtully

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

tmux enables persistent terminal sessions, allowing you to detach from a remote server and reattach later without losing work. It also supports multi-pane layouts and scriptable control, making automation and long-running tasks reliable across SSH disconnects.

Core Features & Use Cases

  • Session lifecycle management: create, attach, detach, rename, and kill sessions.
  • Window and pane orchestration: split, resize, navigate, and reorder panes and windows.
  • Automation and scripting: control tmux from shell scripts to orchestrate complex layouts.
  • Remote workflows: share sessions across SSH and keep workloads running.

Quick Start

Define a reproducible tmux session layout with named windows and panes, then attach to that session to begin work.

Frequently Asked Questions about tmux

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

FAQPage Schema
How do I keep terminal sessions running after SSH disconnects?

Persistent terminal sessions keep workflows running after SSH disconnects by allowing you to detach from a remote server and reattach later without losing work. tmux manages this session lifecycle so long-running jobs survive network drops.

What is the best way to automate multi-pane terminal layouts for development?

Automating multi-pane terminal layouts is best handled by scripting tmux commands from shell scripts. This orchestrates reproducible development environments by programmatically defining named windows, splitting panes, and configuring key bindings.

How do I manage multiple terminal panes in a remote server environment?

Managing multiple terminal panes in a remote server environment involves splitting, resizing, navigating, and reordering panes within windows. tmux orchestrates these layouts while keeping workloads persistent across SSH connections.

Can I script complex terminal window layouts non-interactively?

Yes, you can script complex terminal window layouts non-interactively. tmux supports non-interactive scripting of commands to orchestrate window and pane layouts, enabling automated creation of reproducible session configurations.

Do I need a specific shell environment to use a terminal multiplexer?

A terminal multiplexer operates independently of specific shell environments, requiring only a standard terminal interface. tmux manages sessions, windows, and panes at the terminal level, functioning across different shell environments without dependencies.

Why use a terminal multiplexer instead of standard SSH for long-running jobs?

A terminal multiplexer provides session persistence that standard SSH lacks, preventing long-running jobs from terminating on disconnect. tmux maintains process continuity by detaching active sessions and reattaching them upon reconnection.