tmux

Send keystrokes and capture pane output from tmux sessions.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Remote-control of tmux sessions for interactive CLIs by sending keystrokes and scraping pane output.

Core Features & Use Cases

  • Remote session control: create, attach, and manage tmux sessions via a private socket.
  • Keystroke injection and pane capture: send commands and read pane output for real-time monitoring.
  • Monitoring and orchestration: scan for sessions across sockets and automate workflows.

Quick Start

Create a private tmux socket, start a session, attach to it, and interact by sending keystrokes and capturing pane output.

Frequently Asked Questions about tmux

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

FAQPage Schema
How do I remotely control a tmux session to send keystrokes and capture output?

You can remotely control a tmux session by using a private socket to send keystrokes and scrape pane output. This allows you to manage interactive CLIs and monitor real-time results from a separate tool or agent.

What is the best way to automate interactive CLI workflows across multiple tmux sessions?

Automating interactive CLI workflows involves scanning for sessions across private sockets, injecting keystrokes, and capturing pane output. This orchestrates multiple tmux sessions for development and debugging from an external agent.

How do I manage tmux sessions using a private socket for development and debugging?

Managing tmux sessions via a private socket requires providing a usable socket path to create, attach, and manage sessions. This isolates development and debugging workflows for secure remote control and monitoring.

Does tmux remote control require any specific dependencies or environment setup?

Yes, tmux remote control requires the tmux dependency to be present in your environment. You must also provide a usable socket path and ensure commands to find, attach, send input, and capture output are available.

Can I monitor real-time pane output from a separate tool or agent in tmux?

Yes, you can monitor real-time pane output by scraping the tmux pane after sending keystrokes. This captures interactive CLI responses for immediate monitoring and orchestration across active sessions.

Are there limitations when sending keystrokes to interactive CLIs through tmux?

Limitations include requiring a valid tmux installation and a correctly specified usable socket path. If the included scripts cannot find, attach, or send input to the session, remote pane capture and keystroke injection will fail.