tmux

Send keystrokes and scrape pane output from tmux sessions.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill streamlines the management of tmux sessions, allowing users to send keystrokes and scrape pane output for efficient session control.

Core Features & Use Cases

  • Session Control: Send keystrokes and read output to manage tmux sessions.
  • Use Case: Ideal for monitoring Claude/Codex sessions in tmux, sending input to interactive terminal applications, and scraping output from long-running processes.

Quick Start

Use the tmux skill to send the 'hello' command to the 'shared' session.

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?

You can send keystrokes to a tmux session programmatically by using scripts that target the session name and dispatch input commands directly to the specified pane.

What is the best way to scrape output from a long-running interactive CLI in tmux?

Scraping output from a long-running interactive CLI in tmux involves reading the pane's buffer directly, allowing you to capture continuous terminal output for monitoring processes.

Can I use Python to automate tmux session control for Claude or Codex?

Yes, you can use Python to automate tmux session control for Claude or Codex, as the automation relies on Python scripts to handle session navigation, input, and output scraping.

Do I need tmux installed locally to manage interactive terminal sessions?

Yes, you need tmux installed locally to manage interactive terminal sessions, because theSkill requires the tmux dependency to handle session navigation and send keystrokes.

How does session control handle input and output scraping for interactive CLI management?

Session control handles input and output scraping by sending targeted keystrokes to the tmux pane and capturing the resulting terminal text, streamlining interactive CLI management.