tmux

Send keystrokes and scrape pane output from tmux sessions.

2|1|Updated Feb 13, 2026
One-click install
npx skills add https://github.com/simplefarmer69/ape-claw --skill tmux-simplefarmer69
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tmux
Source: https://github.com/simplefarmer69/ape-claw/tree/main/data/forge-skills/tmux
Command: npx skills add https://github.com/simplefarmer69/ape-claw --skill tmux-simplefarmer69

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill allows for the programmatic control of tmux sessions, enabling users to send keystrokes and scrape output from interactive command-line interfaces, which is crucial for managing AI coding sessions.

Core Features & Use Cases

  • Remote Control: Send commands and text to specific tmux panes and windows.
  • Output Scraping: Capture and analyze the output from running processes within tmux.
  • Session Management: Create, navigate, and kill tmux sessions and panes.
  • Use Case: Monitor a long-running code generation process in a tmux pane, automatically send approval prompts when they appear, and scrape the final code output.

Quick Start

Use the tmux skill to send the command 'ls -l' to the 'shared' 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 keystrokes and scrape output from interactive CLIs in tmux?

You can programmatically send keystrokes to specific tmux panes and scrape the resulting output to automate interactive CLIs. This enables remote control and monitoring of long-running processes without manual input.

What is the best way to manage AI coding sessions running in a tmux environment?

Managing AI coding sessions in tmux is done by programmatically sending commands to specific panes and scraping output. This allows you to monitor code generation and automatically interact with approval prompts.

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

Yes, the tmux binary must be installed on your system to control sessions programmatically. The Skill relies on the local tmux environment to send keystrokes, scrape output, and navigate panes.

Can I monitor long-running processes and capture their output from a tmux pane?

You can monitor long-running processes and capture their output from a tmux pane. The Skill supports scraping pane output to analyze running processes and extract final results programmatically.

How do I send a command to a specific tmux session and window?

You send a command to a specific tmux session and window by using the Skill's remote control features to direct keystrokes to the target pane. This allows precise programmatic navigation and session management.