tmux

Send keystrokes and capture pane output from tmux sessions.

5|Updated Apr 8, 2026
One-click install
npx skills add https://github.com/JansenAnalytics/claudex --skill tmux-jansenanalytics
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: tmux
Source: https://github.com/JansenAnalytics/claudex/tree/main/skills/tmux
Command: npx skills add https://github.com/JansenAnalytics/claudex --skill tmux-jansenanalytics

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Remote-control tmux sessions from outside the terminal by programmatically sending keystrokes and reading pane output, enabling automation of interactive workflows.

Core Features & Use Cases

  • Remote control tmux sessions by sending keystrokes and capturing pane output for automation and scripting.
  • Use cases include managing Claude Code sessions, running long-running commands non-interactively, and programmatically navigating panes/windows.
  • Example use: Automate a sequence of pane operations and collect outputs for monitoring.

Quick Start

Connect to a tmux session and start scripting keystroke sequences to control panes.

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 for terminal automation?▼

You can automate tmux sessions by programmatically sending keystrokes and capturing pane output from outside the terminal, enabling scripted control of interactive workflows and long-running processes.

What is remote pane capture and how does it work with tmux?▼

Remote pane capture uses tmux commands to read and collect pane output from outside the active terminal, allowing you to monitor and script responses from interactive terminal workflows programmatically.

Can I use this to manage Claude Code sessions running in tmux?▼

Yes, this automates remote control of tmux sessions including Claude Code sessions, allowing you to send scripted keystrokes and capture output for non-interactive management of long-running processes.

Do I need a specific operating system to automate tmux session control?▼

You need a host environment running Linux or macOS with the tmux binary installed, as the automation relies on native tmux commands for sending keys and capturing pane output.

What is the best way to automate interactive terminal workflows across multiple panes?▼

Automating interactive terminal workflows is best handled by programmatically sending keystrokes and capturing output across multiple tmux panes and windows, enabling scripted input and output collection.

Are there limitations when sending keystrokes to long-running processes in tmux?▼

Limitations apply to interactive terminal workflows where timing and process state matter, as sending keystrokes non-interactively requires the target panes and windows to be actively running within the tmux session.