tmux

Control tmux sessions and panes for interactive CLI workflows.

5|Updated Jan 31, 2026
One-click install
npx skills add https://github.com/kcns008/clusterclaw --skill tmux-kcns008
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tmux
Source: https://github.com/kcns008/clusterclaw/tree/main/skills/tmux
Command: npx skills add https://github.com/kcns008/clusterclaw --skill tmux-kcns008

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires tmux, and includes scripts (resource) components.

What problem does it solve?

It removes the friction of managing interactive terminal programs by letting you inspect tmux sessions, send input safely, and capture live pane output without losing context.

Core Features & Use Cases

  • Interactive CLI Control: Drive shells, REPLs, and other TTY-bound tools that cannot be handled well by ordinary non-interactive execution.
  • Session Discovery and Monitoring: Find running tmux sessions, check whether they are attached or detached, and inspect recent pane history.
  • Safe Orchestration: Use isolated socket conventions and helper scripts to coordinate multiple long-running agent sessions reliably.
  • Use Case: A developer can launch several coding agents in parallel, monitor each pane for completion, and collect the output from the sessions that finish first.

Quick Start

Use the tmux skill to open or inspect a session, send the required keystrokes to the target pane, and capture the latest pane output when you need it.

Frequently Asked Questions about tmux

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

FAQPage Schema
How do I control interactive terminal sessions and send keystrokes from an AI agent?

To control interactive terminal sessions, you can use the tmux skill to remote-control panes, send safe keystrokes, and capture live TTY output without losing context. It uses shell helper scripts to manage isolated sockets and execute commands.

Can I manage long-running terminal tasks and monitor multiple agent sessions in parallel?

Yes, you can manage long-running terminal tasks by launching multiple coding agents in parallel tmux sessions. The skill supports session discovery to check if panes are attached or detached, and captures pane output to monitor for completion.

How do I capture pane output and inspect recent history from a live TTY on macOS or Linux?

To capture pane output from a live TTY, the skill uses shell scripts to inspect recent pane history and extract the latest terminal output. This allows you to retrieve results from long-running interactive CLI workflows on macOS or Linux.

Do I need tmux installed on PATH to use isolated socket management for shell scripting?

Yes, you need tmux installed on PATH to use this skill. It relies on tmux for isolated socket management, session discovery, and safe key sending to drive interactive shells, REPLs, and prompt-driven CLI tools.

What is the best way to drive TTY-bound tools and REPLs that fail with non-interactive execution?

The best way to drive TTY-bound tools is by using the tmux skill to remote-control interactive terminal programs. It applies safe orchestration to send input to target panes, overcoming the limitations of ordinary non-interactive execution.