tmux

Control tmux sessions by sending keystrokes and scraping pane output.

Updated Jan 26, 2026
One-click install
npx skills add https://github.com/coltonbatts/Loubot --skill tmux-coltonbatts
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tmux
Source: https://github.com/coltonbatts/Loubot/tree/main/skills/tmux
Command: npx skills add https://github.com/coltonbatts/Loubot --skill tmux-coltonbatts

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill allows for the remote control of tmux sessions, enabling interactive command-line interface (CLI) tasks and the scraping of pane output, which is essential for managing long-running processes or complex CLI interactions without direct terminal access.

Core Features & Use Cases

  • Remote TTY Management: Execute commands and interact with CLIs within tmux sessions from a remote location.
  • Output Scraping: Capture and analyze the output of processes running in tmux panes.
  • Parallel Agent Orchestration: Run multiple coding agents or processes concurrently in separate tmux panes for efficient task management.
  • Use Case: You need to run a long-duration data processing script on a remote server. This Skill allows you to start the script in a tmux session, detach, and later re-attach or scrape its output to monitor progress or retrieve results.

Quick Start

Use the tmux skill to start a new detached session named 'my-session' and run the command 'htop' inside it.

Frequently Asked Questions about tmux

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

FAQPage Schema
How do I remotely control a tmux session to run long-running CLI tasks?

Remotely control a tmux session by starting a detached session and sending keystrokes to execute commands. This allows you to manage long-running processes and interact with CLIs without direct terminal access, detaching and reattaching as needed.

What is tmux output scraping and how does it help with background processes?

Tmux output scraping is the process of capturing and analyzing pane output from active sessions. It helps monitor progress or retrieve results from long-running background processes without needing to keep an active terminal window open.

Can I orchestrate multiple coding agents in parallel using tmux?

Yes, you can orchestrate multiple coding agents in parallel by running them concurrently in separate tmux panes. This enables efficient task management and parallel execution for complex coding workflows.

Do I need the tmux binary installed to use remote TTY management features?

Yes, you need the tmux binary installed and accessible in your system's PATH to use remote TTY management features. The Skill relies on this underlying binary to create sessions and interact with command-line interfaces.

What's the best way to execute non-interactive tasks in the background on a remote server?

The best way to execute non-interactive tasks in the background is to start them in a detached tmux session. This keeps the process running independently of your connection, allowing you to scrape output later to check status.