tmux

Create detached tmux sessions, send keys, and extract pane output.

6|3|Updated Apr 22, 2026
One-click install
npx skills add https://github.com/lordmacu/nexo-rs --skill tmux-lordmacu
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tmux
Source: https://github.com/lordmacu/nexo-rs/tree/main/skills/tmux
Command: npx skills add https://github.com/lordmacu/nexo-rs --skill tmux-lordmacu

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

The tmux skill allows for running long-lived commands in detached sessions, sending keys, and scraping pane output, enabling efficient handling of processes that require uninterrupted monitoring.

Core Features & Use Cases

  • Detached Session Creation: Creates and manages detached tmux sessions for background tasks.
  • Key Input: Allows sending keys to a session, useful for interactive CLI tools or password prompts.
  • Pane Output Extraction: Scrapes output from a tmux pane for further processing or inspection.
  • Use Case: You can use this skill to start a development server in a background session, and periodically check for errors without blocking your main agent loop.

Quick Start

Use the tmux skill to create a new detached session and run a development server with the command: 'new_session { name: "dev_server", command: "start-dev-server" }'.

Frequently Asked Questions about tmux

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

FAQPage Schema
How do I run long-lived commands in a detached session without blocking my main loop?

You can run long-lived commands in a detached session by starting a new tmux session to execute background tasks, ensuring command execution continuity without blocking your main agent loop.

How do I send keys to an interactive CLI tool running in a background process?

Sending keys to an interactive CLI tool is done by targeting a running detached tmux session, allowing you to pass key input for prompts or interactive controls without attaching to it.

What is the best way to monitor a background development server for errors?

Monitoring a background development server involves starting it in a detached tmux session and periodically scraping the pane output to inspect logs or check for errors without interrupting the process.

Does tmux session management work for non-blocking background builds?

Yes, tmux session management works for non-blocking background builds by creating a detached session that handles session persistence, allowing builds to run continuously while you perform other tasks.

Can I scrape pane output from a detached tmux session for further processing?

Scraping pane output from a detached tmux session is fully supported, enabling you to extract text directly from the pane for further processing, log inspection, or error detection.

When should I not use a detached tmux session for background processing?

You should not use a detached tmux session for background processing if your task requires direct foreground interaction, as this skill is designed for non-blocking command execution and session persistence rather than immediate terminal control.