tmux

Control tmux sessions to automate interactive CLI processes and capture pane output.

7|5|Updated May 7, 2026
One-click install
npx skills add https://github.com/14790897/MiQi --skill tmux-14790897
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tmux
Source: https://github.com/14790897/MiQi/tree/main/miqi/skills/tmux
Command: npx skills add https://github.com/14790897/MiQi --skill tmux-14790897

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This skill solves the challenge of managing and interacting with long-running command-line processes, REPLs, or coding agents that require a persistent TTY environment.

Core Features & Use Cases

  • Session Orchestration: Create, list, and manage multiple isolated tmux sessions for parallel task execution.
  • Interactive Automation: Send keystrokes to specific panes and scrape output to monitor progress or detect completion.
  • Use Case: Run multiple coding agents in parallel across different directories, monitoring their output for specific prompts to trigger subsequent actions.

Quick Start

Use the tmux skill to start a new session named agent-one and run a python repl inside it.

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 sessions and monitor process output programmatically?

You can automate interactive CLI sessions by using tmux to create isolated TTY environments, send keystrokes to specific panes, and scrape output to monitor process state or detect completion.

What is the best way to run multiple coding agents in parallel across different directories?

Running multiple coding agents in parallel is best handled by creating isolated tmux sessions for each directory, allowing you to monitor their REPL output simultaneously and trigger subsequent actions.

How do I send keystrokes to a running shell process and capture its response?

You can send keystrokes to a running shell process and capture its response by attaching to a tmux pane, injecting the commands, and scraping the pane output for state verification.

Do I need a specific environment to use tmux for terminal automation?

Yes, terminal automation with tmux requires a Unix-like environment with the tmux binary installed and accessible in the system path to manage persistent TTY sessions.

Can I manage multiple long-running command-line processes simultaneously without losing state?

Managing multiple long-running command-line processes without losing state is possible by orchestrating isolated tmux sessions that maintain persistent TTY environments for parallel task execution.