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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

tmux skills remove the friction of manually interacting with long-running terminal UIs by letting you programmatically check what’s on screen and provide the next keystrokes and approvals.

Core Features & Use Cases

  • Remote session control for interactive CLIs: send text and special keys to an existing tmux session and reliably drive TUIs.
  • Pane output scraping for decisions: capture pane scrollback (including targeted windows/panes) so an agent can detect prompts and results.
  • Workflow fit for persistent, parallel work: manage multiple sessions like shared and worker-* panes for coordinated interactive tasks (e.g., managing Claude Code/Codex sessions).

Quick Start

Use the tmux skill to drive an existing tmux session named shared by asking your agent to send "y" and then press Enter when a prompt requiring approval appears.

Frequently Asked Questions about tmux

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

FAQPage Schema
How do I automate keystrokes in an existing tmux session?

You can automate tmux sessions by using send-keys to deliver text and special inputs to an existing pane, ensuring safe key sequencing by sending text separately from Enter to drive interactive CLIs.

Can I scrape terminal output from a specific tmux pane to detect prompts?

Yes, you can scrape pane output by using capture-pane to retrieve scrollback content from targeted windows or panes, enabling an agent to detect prompts and make decisions based on the visible text.

What is the best way to manage multiple persistent terminal workflows in parallel?

Managing parallel persistent workflows involves targeting multiple tmux sessions like shared and worker-* panes, allowing you to coordinate interactive tasks and monitor long-running agent-assisted coding sessions simultaneously.

Does driving interactive TUIs with tmux require special key sequencing?

Yes, driving TUIs requires robust key sequencing behavior; you must send text separately from special keys like Enter to reliably interact with terminal user interfaces and provide approval inputs.

Can I use this to provide approvals for long-running agent-assisted coding sessions?

Yes, this approach applies to long-running agent-assisted coding sessions by allowing you to programmatically check the pane scrollback for prompts and send the next required keystrokes and approvals.