tmux

Send keystrokes and scrape pane output to control tmux sessions.

5|Updated Feb 26, 2026
One-click install
npx skills add https://github.com/lidge-jun/cli-jaw-skills --skill tmux-lidge-jun
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tmux
Source: https://github.com/lidge-jun/cli-jaw-skills/tree/main/tmux
Command: npx skills add https://github.com/lidge-jun/cli-jaw-skills --skill tmux-lidge-jun

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill allows you to programmatically interact with and manage tmux sessions, enabling automated control over terminal applications and the scraping of their output.

Core Features & Use Cases

  • Session Management: Create, kill, rename, and navigate tmux sessions, windows, and panes.
  • Input Simulation: Send keystrokes and commands to running processes within tmux.
  • Output Scraping: Capture the output from tmux panes for analysis or logging.
  • Use Case: Automate the process of sending commands to multiple long-running worker processes managed in separate tmux panes, and then collect their status updates.

Quick Start

Use the tmux skill to send the command 'y' followed by Enter to the 'worker-3' session.

Frequently Asked Questions about tmux

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

FAQPage Schema
How do I automate sending keystrokes to a running interactive CLI in a tmux session?

To automate sending keystrokes to a running interactive CLI in a tmux session, you can use this Skill to simulate input and send commands directly to active terminal panes. It programmatically manages sessions and inputs data into long-running processes.

Can I capture and scrape output from specific tmux panes for logging and analysis?

Yes, you can capture and scrape output from specific tmux panes for logging and analysis. This Skill enables output scraping by extracting the visible text from targeted terminal panes, allowing you to collect status updates from worker processes.

Does this tmux automation tool require any specific environment setup or dependencies?

This tmux automation tool requires the 'tmux' binary to be installed and accessible in your environment. No other dependencies are needed, making it straightforward to integrate into existing terminal workflows on systems where tmux is already present.

What is the best way to manage multiple long-running worker processes in separate terminal panes?

The best way to manage multiple long-running worker processes in separate terminal panes is using this Skill's session management capabilities. It automates the process of sending commands to various panes and aggregating their status updates for centralized monitoring.

Can I use this Skill to manage Claude Code sessions within a tmux environment?

Yes, you can use this Skill to manage Claude Code sessions within a tmux environment. It facilitates monitoring, inputting data, and controlling these interactive CLI sessions by sending keystrokes and scraping pane output directly.

Are there limitations when scraping terminal output from interactive CLI applications via tmux?

When scraping terminal output from interactive CLI applications via tmux, limitations include capturing only the currently visible pane content rather than full command history. It is constrained by what is displayed in the terminal viewport during the active session.