tmux

Manage tmux sessions by creating, listing, capturing output, and sending keystrokes.

1|Updated Feb 25, 2026
One-click install
npx skills add https://github.com/winsorllc/upgraded-carnival --skill tmux-winsorllc
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tmux
Source: https://github.com/winsorllc/upgraded-carnival/tree/main/.pi/skills/tmux
Command: npx skills add https://github.com/winsorllc/upgraded-carnival --skill tmux-winsorllc

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill allows for the programmatic control of tmux sessions, enabling users to manage long-running processes, monitor terminal applications, and automate interactive CLI tasks without direct manual intervention.

Core Features & Use Cases

  • Session Management: Create, list, and kill tmux sessions.
  • Input Simulation: Send keystrokes and commands to running tmux panes.
  • Output Scraping: Capture the output from tmux panes for analysis or logging.
  • Use Case: Automate the deployment of an application within a tmux session, monitor its logs in real-time, and send commands to restart it if necessary.

Quick Start

Use the tmux skill to create a new detached session named 'my_process' and run the command 'npm start'.

Frequently Asked Questions about tmux

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

FAQPage Schema
How do I automate terminal applications and control long-running processes remotely?

This Skill manages tmux sessions by sending shell commands to create, list, and kill detached sessions. It facilitates control of long-running processes by executing commands directly via the tmux binary.

Can I capture output from a tmux pane to monitor CLI environments?

Yes, capturing output from tmux panes allows you to monitor CLI environments by scraping terminal text. The Skill facilitates output scraping to gather real-time execution results from running interactive terminal applications.

How do I send commands to a running tmux session to restart a process?

Sending keystrokes to a running tmux session allows you to restart a process by simulating input in the target pane. This input simulation capability sends commands to interactive terminal applications programmatically.

Do I need any specific dependencies to use tmux for session management?

Using tmux for session management requires the tmux binary installed on your system. The Skill relies on executing shell commands via the tmux binary to manage sessions and automate interactive CLI tasks.

What is the best way to manage multiple long-running terminal processes?

Managing multiple long-running terminal processes is best achieved by creating separate detached tmux sessions. You can list active sessions, send targeted keystrokes to each pane, and capture output to monitor their status.

Are there limitations when using tmux for remote terminal control?

A limitation of using tmux for remote terminal control is its reliance on the local tmux binary and shell command execution. Complex interactive applications may not respond predictably to simulated keystrokes if they manage terminal input buffers directly.