tmux

Send keystrokes and scrape pane output to control tmux sessions.

10|3|Updated Feb 21, 2026
One-click install
npx skills add https://github.com/openheron/openheron --skill tmux-openheron
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tmux
Source: https://github.com/openheron/openheron/tree/main/openheron/skills/tmux
Command: npx skills add https://github.com/openheron/openheron --skill tmux-openheron

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill allows for the remote control of terminal multiplexer (tmux) sessions, enabling automated interaction with command-line interfaces and efficient scraping of their output.

Core Features & Use Cases

  • Interactive CLI Control: Execute commands and interact with running applications within tmux panes.
  • Output Scraping: Capture and analyze the output from specific tmux panes for monitoring or data extraction.
  • Parallel Agent Orchestration: Run multiple coding agents or processes concurrently in separate tmux sessions for complex workflows.
  • Use Case: Automate the setup and monitoring of several development environments, each running a different microservice, within a single terminal window.

Quick Start

Use the tmux skill to create a new detached session named 'my-session' and run the command 'ls -l' inside its first pane.

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 sessions and scrape terminal output?

You can automate interactive CLI sessions and scrape terminal output by remotely controlling tmux. This allows you to send keystrokes to specific panes and capture the resulting output for monitoring or data extraction.

Can I run multiple coding agents in parallel using terminal sessions?

Yes, you can orchestrate multiple coding agents in parallel using tmux. By targeting specific panes and managing separate sessions, you can run concurrent processes and automate complex workflows within a single terminal window.

Do I need tmux installed to control terminal sessions for automation?

Yes, you need the tmux binary installed and accessible in your system's PATH to control terminal sessions for automation. This prerequisite allows the skill to create detached sessions and send keystrokes to interactive CLIs.

What is the best way to manage multiple detached terminal sessions for development environments?

The best way to manage multiple detached terminal sessions for development environments is using tmux session orchestration. You can automate the setup and monitoring of different microservices concurrently within a single terminal window.

How does sending keystrokes to a specific tmux pane work for scripting?

Sending keystrokes to a specific tmux pane for scripting works by targeting the pane directly within a detached session. This enables automated interaction with running command-line applications and precise output scraping.

Are there limitations when scraping output from interactive command-line interfaces?

Scraping output from interactive command-line interfaces is limited to what is visible in the targeted tmux pane. It requires the tmux binary and depends on the specific pane's current state for accurate data extraction.