tmux

Manage tmux sessions and panes with keystroke input and output capture.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/GML-FMGroup/cloud_agent --skill tmux-gml-fmgroup
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tmux
Source: https://github.com/GML-FMGroup/cloud_agent/tree/main/cloud_agent/skills/tmux
Command: npx skills add https://github.com/GML-FMGroup/cloud_agent --skill tmux-gml-fmgroup

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill streamlines the management of terminal sessions, enabling efficient execution of commands and monitoring of processes within isolated or multiple TTY environments.

Core Features & Use Cases

  • Session Management: Create, manage, and kill tmux sessions and panes.
  • Input/Output Handling: Send keystrokes to panes and capture their output for analysis.
  • Use Case: Run multiple coding agents in parallel, each in its own tmux pane, and monitor their progress or collect their results.

Quick Start

Use the tmux skill to create a new detached session named 'my-session' and run the command 'ls -l' inside it.

Frequently Asked Questions about tmux

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

FAQPage Schema
How do I manage multiple interactive terminal sessions in isolated environments?

You can manage interactive terminal sessions by creating detached tmux sessions to execute commands and monitor processes within isolated TTY environments. This streamlines running multiple commands without keeping an active connection.

How do I send keystrokes to a tmux pane and capture its output?

You send keystrokes to a tmux pane and capture its output by remotely controlling TTY sessions. The session receives the keystrokes, executes the commands, and allows you to scrape the pane output for analysis.

Can I run multiple coding agents in parallel and monitor their progress?

Yes, you can run multiple coding agents in parallel by placing each agent in its own tmux pane. You then monitor their progress and collect results by scraping the output from each individual pane.

Do I need to install anything specific to control terminal sessions with this approach?

Yes, controlling terminal sessions requires the 'tmux' binary to be installed and available in the system's PATH. This prerequisite is necessary to manage sessions, send keystrokes, and scrape pane output.

What is the best way to automate cli process monitoring across different sessions?

Automating cli process monitoring is handled by creating multiple tmux sessions or panes for your processes. You can then programmatically scrape the pane output to track the status and progress of each monitored process.

Why use tmux sessions instead of running background processes directly?

Using tmux sessions allows you to maintain interactive command-line operations and process monitoring capabilities. Unlike simple background processes, tmux enables you to send keystrokes to panes and scrape output for real-time analysis.