tmux

Send keystrokes and scrape pane output in tmux sessions.

Updated Feb 14, 2026
One-click install
npx skills add https://github.com/liutao96/skill --skill tmux-liutao96
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tmux
Source: https://github.com/liutao96/skill/tree/main/tmux
Command: npx skills add https://github.com/liutao96/skill --skill tmux-liutao96

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Managing interactive tmux sessions and extracting pane output is tedious and error-prone; this skill automates sending keystrokes and scraping outputs for CLI workflows.

Core Features & Use Cases

  • Programmatically control tmux sessions (send-keys, capture-pane) across multiple panes/windows.
  • Streamline Claude Code interactions with interactive terminal applications and long-running tasks.
  • Use case: automate monitoring and input for Claude Code sessions inside tmux during complex tooling runs.

Quick Start

Attach to an existing tmux session and begin sending commands while harvesting pane output to drive automated workflows.

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 an interactive tmux session?

To automate sending keystrokes to an interactive tmux session, you can use this skill to programmatically drive sessions with send-keys. It validates the tmux environment before execution to ensure reliable CLI automation.

Can I scrape pane output from multiple tmux windows for monitoring?

Yes, you can scrape pane output from multiple tmux windows and panes using the capture-pane functionality. This allows you to monitor long-running CLI tasks and coordinate complex automated workflows.

How does terminal automation work with Claude Code inside tmux?

Terminal automation with Claude Code inside tmux works by attaching to sessions and sending keystrokes while harvesting pane output. This streamlines interactions with interactive terminal applications during complex tooling runs.

Do I need tmux installed to control sessions and capture pane output programmatically?

Yes, you need tmux installed to control sessions and capture pane output programmatically. The skill requires tmux as a dependency and validates the environment before execution to ensure session management works correctly.

What is the best way to manage long-running CLI tasks across multiple panes?

The best way to manage long-running CLI tasks across multiple panes is by automating tmux session control. This skill sends keystrokes and scrapes outputs to coordinate interactive terminal workflows without manual intervention.

Why does my tmux session automation fail before sending commands?

Your tmux session automation may fail if the environment is not properly configured. This skill requires tmux to be installed and explicitly validates the environment before execution to prevent errors during keystroke automation.