tmux

Send keystrokes and capture output from tmux sessions.

147|11|Updated Feb 7, 2026
One-click install
npx skills add https://github.com/CrawlScript/MMClaw --skill tmux-crawlscript
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tmux
Source: https://github.com/CrawlScript/MMClaw/tree/main/mmclaw/skills/tmux
Command: npx skills add https://github.com/CrawlScript/MMClaw --skill tmux-crawlscript

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires tmux, and includes references (resource) components.

What problem does it solve?

This Skill allows for the remote control of tmux sessions, enabling users to send keystrokes and scrape pane output, which is essential for managing AI agent sessions interactively.

Core Features & Use Cases

  • Session Monitoring: Keep an eye on AI agent sessions running within tmux.
  • Interactive Input: Send commands and text to running applications in tmux panes.
  • Output Scraping: Retrieve output from long-running processes for analysis.
  • Pane Navigation: Programmatically switch between windows and panes.
  • Use Case: You can use this skill to send a command to an agent running in a specific tmux session to update its status or to retrieve the last 20 lines of output from a debugging session.

Quick Start

Use the tmux skill to send the command 'ls -l' to the 'mmclaw-main' session.

Frequently Asked Questions about tmux

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

FAQPage Schema
How do I send keystrokes to a tmux session remotely?

To send keystrokes to a tmux session remotely, you target the named session and dispatch text or commands directly to its panes. This enables interactive CLI control and remote management of running terminal applications.

What is the best way to capture pane output from long-running terminal processes?

The best way to capture pane output is by remotely interacting with the tmux session to scrape the terminal screen. This retrieves output directly from long-running processes for subsequent analysis or monitoring.

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

Yes, you need the tmux binary installed and accessible in the system's PATH to control sessions programmatically. The remote control mechanism relies entirely on this local terminal multiplexer dependency.

Can I monitor AI agent sessions running within tmux?

Yes, you can monitor AI agent sessions running within tmux by sending status update commands and scraping pane output. This facilitates interactive remote control over your automated workflows.

How do I switch between windows and panes in a remote terminal environment?

You switch between windows and panes in a remote terminal environment by sending specific navigation keystrokes to the tmux session. This allows programmatic switching for targeted data scraping and interactive input.