tmux

Control tmux sessions by injecting keystrokes and scraping pane output.

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

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 the sending of keystrokes to interactive command-line interfaces and the scraping of pane output, facilitating the management of long-running or interactive processes.

Core Features & Use Cases

  • Interactive CLI Management: Run and interact with command-line applications in persistent TTY sessions.
  • Output Scraping: Capture and analyze the output of running processes within tmux panes.
  • Parallel Agent Orchestration: Launch and monitor multiple AI agents or coding tasks concurrently in separate tmux panes.

Quick Start

Use the tmux skill to start a new detached session named 'my-session' and run '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 control interactive CLI sessions remotely?

You can control interactive CLI sessions remotely by using tmux to inject keystrokes into persistent TTYs and scrape pane output. This allows you to manage long-running or interactive processes without maintaining an active terminal connection.

What is the best way to run multiple AI agents in parallel?

The best way to run multiple AI agents in parallel is by orchestrating them across separate tmux panes and windows within a session. This allows concurrent task execution and output monitoring within a single remote environment.

Do I need tmux installed to automate interactive command-line applications?

Yes, you need the 'tmux' binary available in your system's PATH to automate interactive command-line applications. This Skill relies on the local tmux installation to execute session commands and manage TTYs.

Can I capture output from a running process in a detached session?

Yes, you can capture output from a running process in a detached session through output scraping. The Skill extracts visible text from the target tmux pane, allowing you to analyze the results of long-running commands.

How does keystroke injection work for remote TTY management?

Keystroke injection for remote TTY management works by sending specific character sequences directly to a tmux pane. This simulates user input, enabling automated interaction with command-line interfaces that require manual prompts.