tmux

Send keystrokes and read pane output in tmux sessions.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Control tmux sessions by sending keystrokes and reading pane output, enabling automated terminal workflows and multi-pane experimentation.

Core Features & Use Cases

  • Send keystrokes to a tmux session and read pane output to drive automation.
  • List sessions, capture output, navigate windows/panes, and manage sessions programmatically.
  • Use Case: automate Claude Code interactions across pane layouts or monitor long-running terminal tasks.

Quick Start

Tell your assistant to connect to a running tmux session and begin sending keystrokes to automate the interaction.

Frequently Asked Questions about tmux

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

FAQPage Schema
How do I automate terminal workflows and send keystrokes to a tmux session?

To automate terminal workflows, you can send keystrokes to a tmux session and read pane output programmatically. This allows you to drive interactive CLIs and automate multi-pane experimentation directly.

Can I capture pane output and navigate windows in tmux programmatically?

Yes, you can capture pane output and navigate windows programmatically. The automation relies on tmux commands to list sessions, capture data, send keys, and manage panes across your active environment.

What is the best way to control interactive CLIs running inside tmux?

The best way to control interactive CLIs in tmux is by sending targeted keystrokes to the specific session. This enables automated debugging workflows and direct interaction with long-running terminal tasks.

Do I need a running tmux session before I start automating pane interactions?

Yes, you need a running tmux session before starting automation. The process connects to active sessions to send keystrokes, capture pane output, and navigate layouts without requiring manual intervention.

Can I use this to monitor long-running terminal tasks across multiple panes?

Yes, you can monitor long-running terminal tasks by reading pane output across multiple sessions. This multi-pane automation allows you to track progress and drive interactive CLIs simultaneously.

Why use tmux commands for session automation instead of standard shell scripts?

Using tmux commands for session automation allows you to manage live pane layouts and interactive CLIs. Standard shell scripts lack the ability to capture pane output dynamically and navigate existing windows programmatically.