tmux

Send keystrokes and capture pane output from tmux sessions.

2.5k|423|Updated Mar 28, 2026
One-click install
npx skills add https://github.com/Bitterbot-AI/bitterbot-desktop --skill tmux-bitterbot-ai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tmux
Source: https://github.com/Bitterbot-AI/bitterbot-desktop/tree/main/skills/tmux
Command: npx skills add https://github.com/Bitterbot-AI/bitterbot-desktop --skill tmux-bitterbot-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Remote-control tmux sessions for interactive CLIs by sending keystrokes and scraping pane output from an AI agent, enabling automated workflows in terminal multiplexed environments.

Core Features & Use Cases

  • Remote session management: create, attach, and control multiple tmux sessions without leaving the AI interface.
  • Keystroke automation and pane scraping: send commands and capture pane output for live feedback and decision making.
  • Use Case: orchestrate parallel coding tools in separate panes, run long-running sessions, and gather live CLI results for analysis.

Quick Start

Start by establishing a private tmux socket, create sessions, and begin interacting with them through the AI to perform interactive tasks.

Frequently Asked Questions about tmux

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

FAQPage Schema
How do I automate interactive CLI workflows in tmux from an AI agent?

Remote-controlling tmux sessions from an AI involves sending keystrokes and scraping pane output via a socket-based approach. This enables automated workflows and live feedback gathering for interactive CLIs.

Can I manage multiple terminal sessions simultaneously without leaving the AI interface?

Yes, you can create, attach, and control multiple tmux sessions simultaneously without leaving the AI interface. This allows you to orchestrate parallel coding tools in separate panes and manage long-running sessions effectively.

Does remote-controlling tmux sessions work on macOS and Linux environments?

Remote-controlling tmux sessions is primarily targeted at macOS and Linux environments. It requires tmux to be installed and available on the system PATH to establish local socket isolation for safe control.

How does the socket-based approach ensure safe terminal session management?

The socket-based approach ensures safe terminal session management by using local socket isolation. This provides safe, deterministic control over interactive CLIs by isolating automated keystrokes and pane scraping.

What is the best way to capture live CLI output for AI analysis in a terminal multiplexer?

The best way to capture live CLI output for AI analysis is by scraping pane output from tmux sessions. This gathers live CLI results from long-running sessions for immediate analysis and decision making.