tmux

Send keystrokes to tmux panes and capture pane output.

1|Updated Apr 28, 2026
One-click install
npx skills add https://github.com/seasonmac/Full-Scene-Agents --skill tmux-seasonmac
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tmux
Source: https://github.com/seasonmac/Full-Scene-Agents/tree/main/openclaw/skills/tmux
Command: npx skills add https://github.com/seasonmac/Full-Scene-Agents --skill tmux-seasonmac

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

tmux sessions are powerful but automating them from external tools is tedious; this skill provides a reliable way to remotely control tmux by sending keystrokes and reading pane output for automation and monitoring.

Core Features & Use Cases

  • Remote-control of tmux sessions by sending keystrokes to panes and windows
  • Read pane output for automation, monitoring, and data extraction
  • Manage sessions, windows, and panes programmatically in scripts and AI flows

Quick Start

Use this skill to send a patch note into a tmux session and capture the resulting pane output.

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 pane from an external script?

To send keystrokes to a tmux pane remotely, you use scripts that target a specific pane and programmatically transmit input. This lets external automation control interactive sessions inside tmux without manual typing.

Can I capture pane output from a tmux session for monitoring long-running processes?

Yes, you can capture pane output from a tmux session to monitor long-running processes. The skill reads current pane content programmatically, enabling external scripts to extract data and track process status.

How do I list active tmux sessions programmatically for session management?

You can list active tmux sessions programmatically by running the provided scripts. These scripts query the tmux server and return available sessions, allowing automation flows to discover and select targets.

What's the best way to automate remote control of interactive Claude or Codex sessions in tmux?

The best way to automate remote control of interactive Claude or Codex sessions in tmux is by sending keystrokes and reading pane output via scripts. This approach enables programmatic navigation of windows and panes for AI flows.

Do I need tmux installed locally to use remote terminal automation scripts?

Yes, you need tmux installed on your operating system to use these remote terminal automation scripts. The skill relies on tmux's session management and pane control capabilities to send keystrokes and capture output.

Why does my tmux automation fail to capture pane output during long-running tasks?

Capturing pane output during long-running tasks can fail if the target pane is not correctly identified or if the tmux session detaches. Ensure the session remains active and the script targets the correct pane ID before reading output.