tmux

Send keystrokes to and scrape output from tmux panes for interactive CLI control.

Updated Jan 26, 2026
One-click install
npx skills add https://github.com/caiazzop/clawdbot-personal-assistant --skill tmux-caiazzop
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tmux
Source: https://github.com/caiazzop/clawdbot-personal-assistant/tree/main/skills/tmux
Command: npx skills add https://github.com/caiazzop/clawdbot-personal-assistant --skill tmux-caiazzop

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill allows for interactive control of command-line interfaces (CLIs) running in remote tmux sessions, enabling real-time monitoring and manipulation of their output and input.

Core Features & Use Cases

  • Interactive CLI Management: Send keystrokes to and scrape output from tmux panes.
  • Parallel Agent Orchestration: Run multiple coding agents (like Codex or Claude Code) concurrently in separate tmux sessions for complex development tasks.
  • Use Case: Debugging a complex application by running different components or tests in separate, monitored tmux panes, allowing you to see live output and interact with specific processes as needed.

Quick Start

Use the tmux skill to send the command 'ls -l' to the 'my-session:0.0' pane.

Frequently Asked Questions about tmux

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

FAQPage Schema
How do I control interactive CLIs in remote tmux sessions?

You can control interactive CLIs in remote tmux sessions by using scripts that send keystrokes to specific panes and scrape the output in real time. This enables direct manipulation of running processes.

Can I run multiple coding agents in parallel using tmux?

Yes, you can run multiple coding agents concurrently by orchestrating them across separate tmux sessions. This allows you to monitor live output and interact with specific agents as they execute complex development tasks.

What is the best way to monitor output from a remote tmux pane?

The best way to monitor output from a remote tmux pane is by scraping the pane output using dedicated helper scripts. This provides real-time visibility into the process running inside the session.

Do I need specific environment variables to automate tmux session management?

Yes, automating tmux session management requires specific environment variables for socket configuration along with the tmux binary. These settings ensure the scripts can properly connect to and control the target sessions.

How do I send commands like 'ls -l' to a specific tmux pane?

To send a command like 'ls -l' to a specific tmux pane, you target the pane using its session identifier, such as 'my-session:0.0', and send the keystrokes through the tmux skill's control scripts.

When should I use tmux for orchestrating coding agents instead of running them directly?

You should use tmux for orchestrating coding agents when you need to run multiple agents concurrently in separate monitored panes. This approach is ideal for debugging complex applications by viewing live output and interacting with specific processes simultaneously.