tmux

Send keystrokes to tmux sessions and capture pane output.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Controlling tmux sessions programmatically behind the scenes to automate interactive CLIs and multiplexed terminal workflows.

Core Features & Use Cases

  • Programmatic control of tmux: send keystrokes to a session, target panes, and capture pane output for automation and debugging.
  • Isolation and socket management: supports using private sockets for non-intrusive automation, clean setup and teardown.
  • Use Case: automate a Python debugger session or shell-driven workflows across multiple panes and sessions.

Quick Start

Start a tmux session and let the AI drive it by sending keystrokes and reading the pane output.

Frequently Asked Questions about tmux

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

FAQPage Schema
How do I automate interactive CLI workflows using tmux sessions?

To automate a Python debugger session with tmux, target the specific session or pane, send simulated keystrokes to input commands, and scrape the pane output to read the debugger state programmatically.

Can I use private sockets for isolated tmux session automation?

Yes, you can use optional private sockets for tmux session automation to ensure non-intrusive execution and maintain clean setup and teardown for isolated workflows on Linux and macOS.

Does programmatic tmux control work for multi-pane development tasks on macOS?

Programmatic tmux control works on macOS and Linux for multi-pane development tasks by targeting specific panes, sending keystrokes, and scraping pane output for automation and debugging.

What is the best way to capture pane output during a tmux debugging session?

The best way to capture pane output during a tmux debugging session is to use programmatic pane scraping techniques that read terminal output directly from the targeted pane for automated analysis.

Do I need tmux installed to send keystrokes and scrape terminal panes?

Yes, you need tmux installed and compatible because the automation relies on its underlying session management, pane targeting, and socket management capabilities to function correctly.