tmux

Send keystrokes and scrape output from tmux panes.

18|Updated Feb 26, 2026
One-click install
npx skills add https://github.com/Jay-523/agent-skills --skill tmux-jay-523
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: tmux
Source: https://github.com/Jay-523/agent-skills/tree/main/skills/tmux
Command: npx skills add https://github.com/Jay-523/agent-skills --skill tmux-jay-523

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill allows for programmatic control of tmux sessions, enabling automated interaction with terminal applications and efficient management of command-line interfaces.

Core Features & Use Cases

  • Remote Control: Send keystrokes and commands to specific tmux panes.
  • Output Scraping: Capture and analyze output from running processes within tmux.
  • Session Management: Create, navigate, and kill tmux sessions and windows.
  • Use Case: Automate the monitoring and interaction with long-running AI agent sessions hosted within tmux, ensuring they receive input and provide status updates as needed.

Quick Start

Use the tmux skill to send the command 'ls -l' to the 'shared' tmux session's first pane.

Frequently Asked Questions about tmux

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

FAQPage Schema
How do I automate sending keystrokes to a running terminal session?▼

Automating terminal sessions is done by sending keystrokes and commands directly to specific tmux panes, which enables programmatic control of running command-line interfaces. This allows you to interact with long-running processes without manual input.

Can I capture and analyze output from a process running inside tmux?▼

Capturing output from tmux is achieved through output scraping, which extracts and analyzes the text displayed by running processes within a pane. This allows automated monitoring of session status and responses.

What's the best way to manage long-running AI agent sessions in a terminal?▼

Managing long-running AI agent sessions is best handled within tmux environments, where you can automate monitoring and interaction. This ensures running agents receive necessary input and provide status updates safely in the background.

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

Programmatic terminal session control requires the tmux binary to be installed and accessible on your system. Without this underlying dependency, creating, navigating, and killing tmux sessions is not possible.

How does remote control of tmux sessions handle multiple windows and panes?▼

Remote control of tmux sessions handles multiple windows by allowing scripts to target specific panes for command execution. This precise targeting enables complex interactive CLI management across different processes simultaneously.