tmux

Send keystrokes and scrape output from tmux sessions.

4|2|Updated Feb 26, 2026
One-click install
npx skills add https://github.com/Clawdi-AI/openclaw --skill tmux-clawdi-ai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tmux
Source: https://github.com/Clawdi-AI/openclaw/tree/main/skills/tmux
Command: npx skills add https://github.com/Clawdi-AI/openclaw --skill tmux-clawdi-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill allows for programmatic control of tmux terminal sessions, enabling automated interaction with command-line applications and monitoring of long-running processes.

Core Features & Use Cases

  • Remote CLI Interaction: Send keystrokes and commands to running applications within tmux panes.
  • Output Scraping: Capture and analyze output from processes running in tmux sessions.
  • Session Management: Create, select, and kill tmux sessions and windows.
  • Use Case: Monitor a long-running data processing job in a tmux session, automatically send approval prompts when they appear, and scrape the final output.

Quick Start

Use the tmux skill to send the command 'ls -l' followed by Enter to the 'shared' tmux session.

Frequently Asked Questions about tmux

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

FAQPage Schema
How do I automate keystrokes and send commands to a running tmux session?

To automate keystrokes in a tmux session, you can use this tool to programmatically send commands and keystrokes to specific panes. This enables remote CLI interaction and automated control of running terminal applications.

Can I scrape and capture output from a background process running in a terminal pane?

Yes, you can scrape and capture output from background processes running in terminal panes. This tool facilitates output scraping from tmux sessions to monitor long-running jobs and analyze interactive CLI results.

Do I need the tmux binary installed to programmatically manage terminal sessions?

Yes, you need the tmux binary installed and accessible in your system's PATH to manage terminal sessions. This prerequisite allows the tool to create, select, and kill tmux sessions and windows programmatically.

What is the best way to monitor a long-running data processing job in a CLI environment?

The best way to monitor a long-running data processing job is by using tmux session management to run it in a pane, scrape the output periodically, and automatically send approval prompts when they appear in the terminal.

How does interactive CLI management work for background processes in terminal environments?

Interactive CLI management for background processes works by sending targeted keystrokes to tmux panes and scraping the resulting output. This allows you to monitor and interact with long-running terminal applications programmatically.