tmux

Send keystrokes to and capture output from tmux sessions.

1|1|Updated Dec 21, 2025
One-click install
npx skills add https://github.com/Kjdragan/universal_agent --skill tmux-kjdragan
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tmux
Source: https://github.com/Kjdragan/universal_agent/tree/main/.claude/skills/tmux
Command: npx skills add https://github.com/Kjdragan/universal_agent --skill tmux-kjdragan

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires tmux, and includes scripts (resource) components.

What problem does it solve?

This Skill enables hands-free remote control of tmux sessions from automation, making interactive CLIs solvable without manual keystrokes.

Core Features & Use Cases

  • Remote control: Send keystrokes to a tmux session and navigate panes programmatically.
  • Pane output scraping: Capture and print pane output for monitoring and data extraction.
  • Use Case: Automate running a long-running Python REPL in a tmux session and programmatically query its output for results.

Quick Start

Use the tmux skill to start a session and send commands to it from your automation.

Frequently Asked Questions about tmux

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

FAQPage Schema
How do I send keystrokes to a tmux session programmatically?

To send keystrokes to a tmux session programmatically, use shell scripts that orchestrate session management to automate remote interaction and control interactive terminals hands-free. This enables automated navigation and command execution in active panes.

Can I capture pane output from a tmux session for monitoring?

Yes, you can capture and print pane output from a tmux session for monitoring and data extraction. This allows automation workflows to scrape terminal screens and programmatically query results from interactive CLIs like a long-running Python REPL.

Do I need tmux installed to automate interactive terminal control?

Yes, you need the tmux binary installed and accessible in your system's PATH to automate interactive terminal control. This Skill relies on tmux to manage sessions and execute shell scripts across Linux and macOS development environments.

When do I need to automate remote control of interactive terminals?

You need to automate remote control of interactive terminals when development or testing workflows require programmatic interaction with CLIs. This solves the problem of manual keystrokes by enabling hands-free session management, data extraction, and output monitoring.

What is the best way to automate a long-running Python REPL in a terminal session?

The best way to automate a long-running Python REPL is by running it inside a tmux session and using shell scripts to send keystrokes and capture pane output. This programmatic approach allows you to query results without manual terminal interaction.