tmux

Send keystrokes and scrape pane output to control tmux sessions.

28.1k|2.2k|Updated Jan 5, 2026
One-click install
npx skills add https://github.com/volcengine/OpenViking --skill tmux-volcengine
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tmux
Source: https://github.com/volcengine/OpenViking/tree/main/bot/workspace/skills/tmux
Command: npx skills add https://github.com/volcengine/OpenViking --skill tmux-volcengine

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 management through keystroke injection and pane output scraping.

Core Features & Use Cases

  • Interactive CLI Management: Run and interact with command-line applications in a persistent terminal environment.
  • Parallel Agent Orchestration: Spawn and manage multiple coding agents or processes simultaneously in separate tmux panes.
  • Use Case: You need to run a long-running data processing script that requires occasional interactive input. This Skill allows you to start the script in a tmux session, detach, and re-attach later to provide input or check its progress.

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 an interactive CLI in a terminal session?

Remote control of an interactive CLI is achieved by injecting keystrokes into a tmux session and scraping the pane output to monitor responses. This allows you to manage command-line applications persistently without keeping an active connection.

Can I run multiple coding agents in parallel across different work directories?

Yes, you can run multiple coding agents in parallel across different work directories by spawning and managing them simultaneously in separate tmux panes. This orchestration enables concurrent execution and isolated monitoring for each agent.

What is the best way to automate a long-running script that needs occasional interactive input?

The best way to automate a long-running script requiring interactive input is to start it in a detached tmux session. You can detach from the session and re-attach later to provide the necessary input or check its progress.

Do I need tmux installed to use interactive terminal automation skills?

Yes, you need the 'tmux' binary installed and available in your system's PATH to use this interactive terminal automation. The skill relies entirely on the tmux binary to create sessions and inject keystrokes for remote control.

How does pane output scraping work for interactive command-line applications?

Pane output scraping works by reading the text rendered inside a tmux pane after sending keystrokes. This mechanism captures the current state and responses of interactive command-line applications for programmatic processing.

Why should I use tmux sessions for remote CLI management instead of direct execution?

Using tmux sessions for remote CLI management provides a persistent terminal environment that survives connection drops. Unlike direct execution, tmux allows you to detach from interactive processes and re-attach later without interrupting the workflow.