tmux

Send keystrokes and scrape pane output to automate tmux sessions.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Tmux is a powerful terminal multiplexer; this Skill enables automated remote control of tmux sessions by sending keystrokes and scraping pane output, reducing manual CLI juggling.

Core Features & Use Cases

  • Orchestrated session management: create, name, attach, and manage multiple windows/panes across sessions.
  • Keystroke automation: send commands to specific panes and respond to prompts automatically.
  • Pane output capture: read and forward pane contents for processing by an AI or external tool.
  • Session discovery and monitoring: locate active sessions, monitor pane activity, and wait for prompts.

Use cases include running coding agents in parallel within separate tmux sessions, automating long-running CLI tasks, and building AI-assisted REPL workflows.

Quick Start

Create and attach to a tmux session using the provided scripts to begin interactive automation.

Frequently Asked Questions about tmux

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

FAQPage Schema
How do I automate tmux sessions and send keystrokes to specific panes?

You can automate tmux sessions by using scripts to send keystrokes directly to targeted panes, enabling automated remote control and real-time terminal interaction without manual CLI input.

Can I capture and read pane output from a tmux session programmatically?

Yes, pane output capture allows you to scrape and read terminal contents from active tmux panes, forwarding the data to an AI or external tool for real-time monitoring and processing.

Does this tmux automation work on both macOS and Linux?

Yes, this tmux session automation supports both macOS and Linux environments, provided that the tmux binary is installed and accessible on your system's PATH.

What's the best way to run coding agents in parallel across multiple terminal sessions?

Orchestrated tmux session management allows you to create and manage multiple windows and panes, making it ideal for running coding agents in parallel within separate, isolated terminal environments.

How does session discovery and monitoring work for long-running CLI tasks?

Session discovery locates active tmux sessions and monitors pane activity, allowing you to automate long-running CLI tasks by waiting for prompts and tracking real-time terminal output.

Do I need any special dependencies to start orchestrating terminal automation with tmux?

No special dependencies are required beyond having tmux installed on your system's PATH; the skill utilizes helper scripts to handle socket management and safe input monitoring commands.