tmux

Send keystrokes and capture pane output to remote-control tmux sessions.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Remote-control tmux sessions to automate interactive CLIs by sending keystrokes and scraping pane output for reproducible workflows.

Core Features & Use Cases

  • Remote control of tmux sessions to automate repeated CLI tasks
  • Capture and monitor pane output across multiple sessions for debugging
  • Use cases include running long-running commands, coding sessions, and interactive demos

Quick Start

Create a private socket, start a detached tmux session, and attach to interact with panes.

Frequently Asked Questions about tmux

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

FAQPage Schema
How do I automate interactive CLI tasks using tmux session management?

Tmux session management allows remote control of interactive CLIs by sending keystrokes to detached panes and scraping pane output for reproducible workflows. This enables remote control of interactive command-line interfaces without manual intervention.

Can I capture and monitor pane output across multiple tmux sessions?

Yes, you can capture and monitor pane output across multiple tmux sessions for debugging and coding workflows. The Skill orchestrates sessions using an isolated socket directory to track concurrent terminal activity deterministically.

Do I need tmux installed locally to control remote terminal sessions?

Yes, tmux must be installed and available on your PATH. The Skill relies on the tmux binary to create a private socket directory, start detached sessions, and execute discovery and text-waiting scripts.

How do I wait for specific text output in an automated tmux pane?

You can wait for specific text output in an automated tmux pane by using the provided wait-for-text script. This utility monitors the target pane and pauses execution until the expected text appears, ensuring deterministic task completion.

What is the best way to run long-running commands in isolated tmux environments?

The best way to run long-running commands is by using an isolated socket directory for deterministic task execution. This approach prevents interference between concurrent sessions, ensuring coding sessions and interactive demos run reliably.

How do I discover existing tmux sessions managed by a private socket?

You can discover existing tmux sessions managed by a private socket by running the provided find-sessions script. This utility queries the isolated socket directory to list active sessions and panes available for remote control and output capture.