tmux

Send keystrokes and capture pane output from tmux sessions.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Automate the management of interactive tmux sessions from AI prompts, eliminating manual keystroke orchestration and live-pane monitoring.

Core Features & Use Cases

  • Send keystrokes to specific tmux sessions and panes from automated workflows.
  • Capture and scrape pane output for real-time analysis and decision making.
  • Orchestrate multiple sessions and panes to run parallel CLI tasks, dashboards, or long-running experiments.

Quick Start

Launch a tmux session and begin driving it from an AI prompt using the provided socket workflow.

Frequently Asked Questions about tmux

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

FAQPage Schema
How do I automate tmux session management from an AI prompt?

Automate tmux session management by programmatically sending keystrokes to specific sessions and panes, allowing AI agents to drive terminal applications and orchestrate parallel CLI tasks without manual intervention.

Can I capture live terminal output from a tmux pane for analysis?

Capture live terminal output by scraping pane content directly from the tmux session, enabling real-time analysis and decision-making for automated workflows and long-running experiments.

How do I send keystrokes to a specific tmux pane in an automated workflow?

Send keystrokes to a specific tmux pane by targeting the session and pane identifiers, programmatically injecting commands to run shells or interact with terminal applications across isolated sockets.

Do I need tmux installed to use AI agents for terminal automation?

Tmux must be installed on the host to enable AI agents to automate terminal sessions, as it provides the underlying session management and pane isolation required for safe, programmatic control.

How can I run parallel CLI tasks using tmux and AI?

Run parallel CLI tasks by orchestrating multiple tmux sessions and panes, sending simultaneous keystrokes and capturing output to manage dashboards or long-running experiments efficiently.

What safety checks are involved when automating tmux sessions?

Safety checks prevent unintended actions during tmux automation by isolating sockets for session management, ensuring AI agents only drive targeted sessions without risking the host environment.