tmux

Send keystrokes and scrape output from tmux sessions.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill allows you to interact with and manage remote command-line interface (CLI) sessions, making it easier to run and monitor long-running or interactive tasks on remote servers.

Core Features & Use Cases

  • Remote CLI Management: Execute commands, send keystrokes, and capture output from tmux sessions.
  • Parallel Agent Orchestration: Run multiple AI agents or coding tasks concurrently in separate tmux panes.
  • Use Case: You need to run a long-training machine learning model on a remote server. Use this Skill to start a tmux session, launch the training script, and monitor its progress, even if your local connection drops.

Quick Start

Use the tmux skill to start a new detached session named 'my-session' and run the command 'htop' inside it.

Frequently Asked Questions about tmux

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

FAQPage Schema
How do I control remote CLI sessions and keep long-running scripts alive after disconnecting?

You can control remote CLI sessions by starting a detached tmux session and executing commands inside it. This allows long-running or interactive tasks to continue executing on the server even if your local connection drops.

Can I run multiple coding agents in parallel using tmux?

Yes, parallel agent orchestration is supported by running multiple AI agents or coding tasks concurrently in separate tmux panes. This enables simultaneous execution and monitoring of interactive CLI workflows within isolated sessions.

Do I need tmux installed to use remote session management and scripting features?

Yes, remote session management requires the 'tmux' binary to be installed and available in the system's PATH. Without this prerequisite installed on the target environment, the helper scripts cannot send keystrokes or scrape pane output.

How do I automate waiting for specific text patterns in a remote CLI session?

You can automate text pattern monitoring by using provided helper scripts designed to wait for specific text patterns within tmux pane output. This allows your automation workflows to pause until an expected string or completion message appears in the session.

What's the best way to monitor an interactive command-line interface on a remote server?

The best way to monitor an interactive CLI is to start a named tmux session, launch your command, and scrape the pane output remotely. This approach captures real-time output and supports sending keystrokes to interact with the interface.

What are the limitations of automating remote execution with tmux sessions?

Limitations of tmux session automation include relying entirely on the 'tmux' binary being in the system PATH and the complexity of scraping pane output for interactive CLIs. If the binary is missing or the CLI interface changes unexpectedly, automation scripts may fail to capture accurate output.