tmux

Automates tmux sessions by sending keystrokes and scraping pane output.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Managing interactive command-line workflows across multiple tmux panes is tedious and error-prone when driven by AI. This skill provides programmable control over tmux to send keystrokes, read pane output, and orchestrate sessions from an agent.

Core Features & Use Cases

  • Session control: create, attach, detach, and switch between tmux sessions, panes, and windows.
  • Keystroke automation: programmatically send keys and special keys to active panes.
  • Pane capture & monitoring: read outputs from panes to drive decisions and assertions in automated flows.
  • Use Case: AI can manage a Claude Code workflow by feeding commands, collecting results, and reacting to prompts across several panes.

Quick Start

Attach to an existing tmux session or start a new one and begin sending commands to the active pane.

Frequently Asked Questions about tmux

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

FAQPage Schema
How do I automate tmux sessions and send keystrokes from an AI agent?

To automate tmux sessions, you can use scripts to programmatically send keystrokes and special keys to active panes, enabling deterministic AI-driven terminal control and workflow orchestration across multiple windows.

Can I capture and read terminal output from a specific tmux pane?

Yes, you can capture pane output by scraping terminal content from targeted tmux panes. This allows AI to read command results, drive decisions, and make assertions within interactive automated workflows.

What is the best way to manage interactive command-line workflows across multiple tmux panes?

Managing interactive workflows across tmux panes is best handled by programmatically orchestrating sessions, sending commands, and capturing outputs to let an AI agent react to terminal prompts and results.

Do I need the tmux binary installed to control terminal sessions programmatically?

Yes, the tmux binary is required as a dependency. The automation relies on the tmux binary to execute scripts that encapsulate actions like listing sessions, selecting targets, and capturing output.

How does session control work when switching between tmux windows and panes?

Session control works by using scripts to create, attach, detach, and switch between specific tmux sessions, panes, and windows, allowing precise targeting for keystroke automation and output capture.

Are there limitations when feeding commands and collecting results across several tmux panes?

The main limitation is that behavior is constrained to what the tmux binary supports via scripts. Complex interactive workflows require deterministic pane targeting and output scraping to function reliably.