tmux

Send keystrokes to and scrape output from remote tmux sessions.

249|41|Updated Feb 10, 2026
One-click install
npx skills add https://github.com/Peiiii/nextclaw --skill tmux-peiiii
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tmux
Source: https://github.com/Peiiii/nextclaw/tree/main/packages/nextclaw/src/agent/skills/tmux
Command: npx skills add https://github.com/Peiiii/nextclaw --skill tmux-peiiii

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Seamlessly control interactive tmux sessions from external tools, enabling automated input, scripted pane interactions, and programmatic monitoring without manual TTY management.

Core Features & Use Cases

  • Remote keystroke delivery to tmux sessions and windows for automation and debugging.
  • Pane output scraping for real-time monitoring and data capture across multiple sessions.
  • Use cases include running coding agents, interactive shells, and long-running tasks inside isolated tmux sessions with deterministic I/O.

Quick Start

Create a tmux socket, start a session named 'nextclaw', and connect to it to begin sending commands 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 automate keystrokes to a remote tmux session for interactive CLI workflows?

Automating keystrokes to a remote tmux session involves sending keystrokes and scraping pane output to drive interactive CLIs. This enables automated input and scripted pane interactions without manual TTY management.

What is the best way to capture real-time pane output from multiple tmux sessions?

The best way to capture real-time pane output from multiple tmux sessions is through pane output scraping. This enables programmatic monitoring and data capture across multiple sessions running long-running tasks.

Do I need tmux installed locally to control remote sessions and send commands?

Yes, you need tmux installed to control remote sessions, as the process relies on standard tmux commands. It manages connections using a designated socket directory for tmux socket management.

Can I run coding agents inside isolated tmux sessions with deterministic input and output?

Yes, you can run coding agents inside isolated tmux sessions with deterministic input and output. You achieve this by starting a named session, connecting to it, and sending commands while capturing pane output.

Does tmux session automation work for debugging workflows requiring programmatic monitoring?

Yes, tmux session automation works for debugging workflows by delivering remote keystrokes and scraping pane output. This supports interactive shells and multi-session automation requiring deterministic input and output.