One-click install
npx skills add https://github.com/yuanyuekejiJN/AivoClaw --skill tmux-yuanyuekejijn
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tmux
Source: https://github.com/yuanyuekejiJN/AivoClaw/tree/main/extraSkills/tmux-1.0.0
Command: npx skills add https://github.com/yuanyuekejiJN/AivoClaw --skill tmux-yuanyuekejijn

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires tmux, grep, xargs, shopt, date, and includes scripts (resource) components.

What problem does it solve?

tmux Skill helps users work with interactive command-line programs by remotely controlling sessions and reading their live output without needing a full terminal interface.

Core Features & Use Cases

  • Interactive TTY control: Starts and targets tmux sessions, sends keystrokes/commands, and captures pane output for scraping and monitoring.
  • Safer orchestration for agent workflows: Supports running coding/agent tools in separate sessions and polling for completion by observing prompt/output patterns.
  • Pane output monitoring & prompt detection: Uses targeted capture and a wait-for-text helper script to detect when a specific output appears (e.g., readiness prompts).

Use Case: You need to run an interactive REPL or a multi-agent coding workflow where each process expects terminal input; use tmux session control to feed commands and reliably collect resulting output.

Quick Start

Start an isolated tmux session on a private socket directory and then send a Python REPL command by using tmux with the CLAWDBOT_TMUX_SOCKET_DIR convention and send-keys targeting session:window.pane.

Frequently Asked Questions about tmux

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

FAQPage Schema
How do I automate interactive CLI programs that require terminal input?

To automate interactive CLI programs, you can use tmux session control to send keystrokes and scrape live pane output. This approach preserves terminal TTY behavior, allowing you to feed commands to interactive REPLs and reliably capture the resulting output without a full terminal interface.

Can I run parallel interactive coding agents and monitor their completion?

Yes, you can run parallel interactive coding agents by isolating each process in a separate tmux session. By targeting specific panes and polling for completion through regex-based output capture and prompt detection, you can safely orchestrate and monitor multiple agent workflows over time.

What is the best way to detect when an interactive terminal session is ready for input?

The best way to detect terminal readiness is by using a wait-for-text helper script to monitor pane output. This script captures targeted output and uses regex-based waiting to detect when a specific readiness prompt or pattern appears, signaling that the session is ready for the next keystroke.

Does terminal automation with tmux require specific socket and session targeting conventions?

Yes, terminal automation with tmux requires consistent socket, session, and pane targeting conventions. You should start isolated sessions on a private socket directory and use specific session:window.pane targeting syntax to ensure keystrokes are sent to the correct interactive process.

Do I need tmux installed on my system PATH to control sessions via keystrokes?

Yes, you need tmux available on your system PATH to control sessions via keystrokes. The automation relies on tmux commands for session creation, keystroke sending, and pane output scraping, along with standard shell utilities like grep, xargs, and date for monitoring.