tmux

Send keystrokes and scrape pane output from tmux sessions.

1|Updated Feb 15, 2026
One-click install
npx skills add https://github.com/jannolan200211-ship-it/my-cosmos-backup --skill tmux-jannolan200211-ship-it
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tmux
Source: https://github.com/jannolan200211-ship-it/my-cosmos-backup/tree/main/03%20Reference/02%20System%20Configs/skills/tmux
Command: npx skills add https://github.com/jannolan200211-ship-it/my-cosmos-backup --skill tmux-jannolan200211-ship-it

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Remote-control tmux sessions for interactive CLIs by sending keystrokes and scraping pane output.

Core Features & Use Cases

  • Remote session control: start, attach, send-keys, and capture-pane across tmux sockets.
  • Pane output extraction: capture pane text for logging and automation.
  • Use Case: Automate an interactive shell workflow in CI or debugging tasks by driving commands and collecting results.

Quick Start

Connect to a tmux socket, start a session named clawdbot, and send keys to automate an interactive shell while capturing output.

Frequently Asked Questions about tmux

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

FAQPage Schema
How do I automate an interactive shell workflow in a tmux session?

You can automate an interactive shell workflow in a tmux session by using scripts to remotely send keystrokes and scrape pane output. This allows you to drive commands and collect results for CI or debugging tasks.

Can I capture pane output from a tmux session for logging?

Yes, you can capture pane output from a tmux session for logging and automation. The tool extracts pane text by scraping the output across tmux sockets to collect command results.

Do I need tmux installed to control sessions remotely from scripts?

Yes, you need a tmux binary on PATH to control sessions remotely from scripts. The automation relies on documented socket conventions to create, manipulate, and monitor sessions across macOS and Linux environments.

What is the best way to send keystrokes to a remote tmux session?

The best way to send keystrokes to a remote tmux session is through a scripting interface that connects to tmux sockets. This method applies to interactive CLI workflows, allowing you to start, attach, and send-keys programmatically.

Does remote tmux session control work on both macOS and Linux?

Yes, remote tmux session control works on both macOS and Linux environments. As long as a tmux binary is installed on PATH, the scripts can create and manipulate sessions across these operating systems.