tmux

Control tmux sessions, send input, and capture output programmatically.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill allows for the remote control and monitoring of terminal multiplexer (tmux) sessions, enabling automated interaction with command-line interfaces and parallel execution of tasks.

Core Features & Use Cases

  • Remote Session Management: Create, attach to, and manage tmux sessions and panes.
  • Input Automation: Send keystrokes and commands to running tmux panes.
  • Output Scraping: Capture and analyze the output from tmux panes.
  • Use Case: Orchestrate multiple coding agents by launching them in separate tmux panes, sending them commands, and monitoring their progress.

Quick Start

Use the tmux skill to send the command 'ls -l' to the 'nanobot.sock' socket's 'shell' session.

Frequently Asked Questions about tmux

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

FAQPage Schema
How do I automate remote control of terminal multiplexer sessions?

Remote control of terminal multiplexer sessions is achieved by sending commands and keystrokes programmatically to running panes. This enables automated CLI tasks, parallel execution, and output capture across multiple sessions.

Can I orchestrate multiple coding agents in separate tmux sessions?

Yes, you can orchestrate multiple coding agents by launching them in separate tmux panes, sending input commands to each, and monitoring their progress through output scraping. This facilitates parallel execution of automated tasks.

What is the best way to capture output from a running tmux pane?

Capturing output from a tmux pane is done through programmatic output scraping, which retrieves and analyzes the text currently displayed in the session. This allows for monitoring command progress and automating responses to terminal output.

Do I need the tmux binary installed to manage sessions remotely?

Yes, the tmux binary must be installed and accessible in the system's PATH to enable remote session management and input automation. Without this dependency, the programmatic control of terminal panes cannot function.

How do I send keystrokes to a running terminal session for CLI automation?

Sending keystrokes to a running terminal session is performed by targeting a specific tmux pane and transmitting input data directly to it. This input automation allows you to control interactive command-line interfaces without manual intervention.

What are the limitations of using tmux for automated CLI tasks?

The primary limitation is the strict dependency on the tmux binary being present in the system PATH. Additionally, complex output scraping may require careful handling of terminal control characters and scrolling buffer behavior.