tmux

Send keystrokes and capture pane output from tmux sessions.

Updated Feb 1, 2026
One-click install
npx skills add https://github.com/NJUxlj/openclaw --skill tmux-njuxlj
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tmux
Source: https://github.com/NJUxlj/openclaw/tree/main/skills/tmux
Command: npx skills add https://github.com/NJUxlj/openclaw --skill tmux-njuxlj

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill allows for the remote control of tmux sessions, enabling the sending of keystrokes and scraping of pane output, which is essential for managing interactive command-line interfaces.

Core Features & Use Cases

  • Interactive CLI Management: Monitor and interact with long-running processes within tmux, such as AI coding assistants.
  • Input Automation: Send commands and text to specific panes or windows in a tmux session.
  • Output Scraping: Capture and analyze the output from tmux panes for status checks or data collection.
  • Use Case: You can use this Skill to send a command to a specific worker session in tmux to fix a bug, or to check the status of all your AI coding sessions by scraping their output.

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 interactive CLI commands in a tmux session?

To automate interactive CLI commands in a tmux session, you can programmatically send keystrokes and capture pane output. This enables remote input automation and output scraping for managing long-running terminal tasks.

What is the best way to monitor long-running processes in tmux?

Monitoring long-running processes in tmux is achieved by capturing and analyzing pane output. You can scrape terminal data from specific panes to check the status of interactive sessions or AI coding assistants.

Do I need the tmux binary installed to control sessions programmatically?

Yes, you need the tmux binary installed and accessible on your system to control sessions programmatically. This Skill relies on the local tmux environment to send commands and scrape output from panes.

How do I send keystrokes to a specific window or pane in tmux?

You can send keystrokes to a specific window or pane in tmux by targeting the session name. For example, send a command followed by Enter directly to a worker session to automate input.

Can I scrape output from multiple AI coding sessions running in tmux?

Yes, you can scrape output from multiple AI coding sessions running in tmux. By capturing pane output across different sessions, you can collect data and check the operational status of your interactive assistants.