tmux

Send keystrokes and read pane output to automate tmux sessions.

1|Updated Mar 31, 2026
One-click install
npx skills add https://github.com/aayushsoam/clawbot-plus --skill tmux-aayushsoam
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tmux
Source: https://github.com/aayushsoam/clawbot-plus/tree/main/skills/tmux
Command: npx skills add https://github.com/aayushsoam/clawbot-plus --skill tmux-aayushsoam

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill enables programmatic control of tmux sessions by sending keystrokes and scraping pane output, turning interactive terminal work into automatable tasks.

Core Features & Use Cases

  • Send keystrokes to a running tmux session
  • Capture and parse pane output for automation feedback
  • Manage multiple sessions, windows, and panes from a single controller
  • Script reliable session creation, navigation, and cleanup for interactive CLIs

Quick Start

Attach to an existing tmux session and start sending keystrokes to automate tasks.

Frequently Asked Questions about tmux

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

FAQPage Schema
How do I automate interactive terminal workflows in tmux?

You can automate interactive terminal workflows by programmatically controlling tmux sessions, sending keystrokes to target panes, and scraping the pane output for automation feedback. This transforms interactive terminal tasks into scriptable operations.

Can I manage multiple tmux panes from a single controller?

Yes, you can manage multiple sessions, windows, and panes from a single controller. The skill coordinates input and extracts output across different tmux panes by specifying targets via tmux commands for deterministic behavior.

How do I capture and parse pane output for automation feedback?

Capture and parse pane output by reading the visible content from a targeted tmux pane. This extracted output serves as automation feedback, allowing your scripts to react dynamically to terminal responses during coordinated input.

Do I need tmux installed to send keystrokes to sessions?

Yes, you need tmux installed and accessible in your environment to use this automation skill. The controller relies on native tmux commands to target specific sessions, windows, and panes for keystroke injection and output extraction.

What is the best way to script reliable session creation for interactive CLIs?

The best way to script reliable session creation for interactive CLIs is to send keystrokes and read pane output programmatically. This approach manages session navigation and cleanup deterministically without manual terminal interaction.

Why does my tmux pane output extraction return non-deterministic results?

Non-deterministic results during pane output extraction occur when targets are not explicitly specified via tmux commands. To ensure deterministic behavior, you must precisely target the intended sessions, windows, and panes before reading output.