tmux

Control tmux sessions by sending keystrokes and capturing pane output.

109|11|Updated Feb 6, 2026
One-click install
npx skills add https://github.com/TermiX-official/cryptoclaw --skill tmux-termix-official
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tmux
Source: https://github.com/TermiX-official/cryptoclaw/tree/main/skills/tmux
Command: npx skills add https://github.com/TermiX-official/cryptoclaw --skill tmux-termix-official

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This skill enables remote control of tmux sessions from prompts to automate interactive terminals, reducing manual keystrokes and improving reproducibility of dev workflows.

Core Features & Use Cases

  • Session creation & management: Create, name, attach to tmux sessions, and organize panes for multi-task workflows.
  • Keystroke automation: Send keystrokes to specific panes to drive interactive CLIs and development tools, then capture output.
  • Cross-platform compatibility: Works on macOS and Linux with a single socket interface for consistent TTY environments.
  • Orchestrating coding agents: Manage multiple coding agents or tools in parallel windows for scalable automation.

Quick Start

Create a detached tmux session and run a simple command: tmux -S "$SOCKET" new-session -d -s "troubleshoot" tmux -S "$SOCKET" send-keys -t "troubleshoot":0.0 "python3" Enter tmux -S "$SOCKET" capture-pane -p -t "troubleshoot":0.0 -S -200 tmux -S "$SOCKET" attach -t "troubleshoot"

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 a remote tmux session?

You can automate sending keystrokes to a remote tmux session by using shell scripts that target specific panes, send input, and capture output. This orchestrates interactive terminals and reduces manual typing for dev workflows.

What is remote tmux session management for interactive terminals?

Remote tmux session management is the process of creating, naming, and attaching to tmux sessions via prompts. It enables users to drive interactive CLIs and orchestrate multiple coding agents in parallel windows.

Do I need the tmux binary installed to manage sessions from prompts?

Yes, you need the tmux binary available on your PATH to manage sessions from prompts. The Skill relies on this dependency and uses shell scripts to orchestrate sessions, keystrokes, and output capture.

Does tmux session automation work on both macOS and Linux?

Yes, tmux session automation works on both macOS and Linux. It uses a single socket interface to provide consistent TTY environments across these platforms for reliable multi-task development workflows.

How do I capture pane output from a tmux session programmatically?

To capture pane output from a tmux session programmatically, execute a shell script that targets the specific pane and captures its content. This allows you to retrieve terminal output for automated processing.

What are the limitations of automating TTY environments with tmux?

A limitation of automating TTY environments with tmux is that it depends entirely on the tmux binary being present on PATH. Without this dependency installed, the shell scripts cannot orchestrate sessions or send keystrokes.