One-click install
npx skills add https://github.com/duggal1/Sapphire-cli --skill tmux-duggal1
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tmux
Source: https://github.com/duggal1/Sapphire-cli/tree/main/internal/skills/bundled/tmux
Command: npx skills add https://github.com/duggal1/Sapphire-cli --skill tmux-duggal1

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Automates and streamlines the control of interactive tmux sessions from AI prompts by sending keystrokes and capturing pane output.

Core Features & Use Cases

  • Remote-control of tmux sessions by sending keys and reading pane output.
  • Session management across multiple panes and windows for automated workflows.
  • Use Case: orchestrate a debugging session by feeding commands and capturing live outputs across sessions.

Quick Start

Attach to the shared tmux session and run a command, then capture the output.

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 and capture pane output from an AI prompt?

You can automate tmux session management by sending keystrokes via send-keys and reading pane output with capture-pane. This allows remote control of interactive terminals and orchestration of long-running scripts across multiple panes.

Can I send keystrokes to interactive terminals to handle CLI prompts automatically?

Yes, sending keystrokes to interactive terminals allows deterministic input via tmux send-keys. This enables safe handling of interactive prompts and automated testing of CLI workflows across managed sessions.

What is the best way to orchestrate a debugging session across multiple tmux panes?

Orchestrating a debugging session across multiple tmux panes involves feeding commands via send-keys and capturing live outputs using capture-pane. This enables simultaneous monitoring and automated control of interactive terminal sessions.

Does this approach work for orchestrating long-running scripts in terminal sessions?

Yes, orchestrating long-running scripts is supported by automating control of tmux sessions. You can send keystrokes to start scripts and read pane output to monitor progress across multiple windows and panes.

Do I need tmux installed to automate interactive terminal workflows?

Yes, tmux is a required dependency to automate interactive terminal workflows. The session management and pane capture functionalities rely entirely on tmux commands like send-keys and capture-pane for terminal automation.

Why use tmux send-keys for CLI automation instead of standard shell scripts?

Using tmux send-keys for CLI automation provides safe handling for interactive prompts that standard shell scripts cannot manage. It allows deterministic input to running sessions and captures live pane output for real-time workflow validation.