tmux

Manage local or remote tmux sessions via a private socket.

Updated Feb 13, 2026
One-click install
npx skills add https://github.com/chengyihua/nanobot-ts --skill tmux-chengyihua
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tmux
Source: https://github.com/chengyihua/nanobot-ts/tree/main/skills/tmux
Command: npx skills add https://github.com/chengyihua/nanobot-ts --skill tmux-chengyihua

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Coordinating interactive tmux sessions across multiple panes and windows is tedious and error-prone, hindering quick debugging and automation.

Core Features & Use Cases

  • Isolate and control tmux sessions via a private socket for non-invasive automation.
  • Send keystrokes to specific panes and capture pane output for monitoring or debugging.
  • Attach to or detach from sessions to monitor progress or resume work later.

Quick Start

Create a private tmux socket, start a named session, and attach to it for interactive control.

Frequently Asked Questions about tmux

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

FAQPage Schema
How do I automate interactive terminal workflows and capture pane output from remote sessions?

You can automate interactive terminal workflows by using a private tmux socket to isolate sessions, sending keystrokes to specific panes, and scraping the pane output for debugging or monitoring long-running tasks.

What is the best way to coordinate multiple panes and windows in a tmux session for automation?

The best way to coordinate multiple panes is by using a private tmux socket that allows non-invasive automation to send commands and capture output across isolated sessions without interfering with manual terminal work.

Do I need a specific tmux installation to use private sockets for session isolation?

You need the standard tmux binary present in your system's PATH to use private sockets. The binary provides the underlying functionality required to create isolated sessions and manage pane interactions.

How to send keystrokes to a specific pane and monitor live output for debugging?

To send keystrokes and monitor live output, start a named tmux session using a private socket, direct your commands to the target pane, and scrape the resulting pane output to debug interactive CLI workflows or live REPLs.

Can I attach to or detach from a remote tmux session to check on automated long-running tasks?

You can attach to or detach from remote tmux sessions at any time. This allows you to monitor the progress of automated long-running tasks or resume interactive work later without disrupting the underlying processes.

Why use a private socket for tmux session management instead of the default server?

Using a private socket for tmux session management provides non-invasive isolation. This prevents automated scripts from conflicting with your default terminal server, ensuring safe keystroke injection and output scraping.