tmux

Send keystrokes and scrape pane output to control tmux sessions.

328|35|Updated Feb 9, 2026
One-click install
npx skills add https://github.com/mosaxiv/clawlet --skill tmux-mosaxiv
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tmux
Source: https://github.com/mosaxiv/clawlet/tree/main/skills/builtin/skills/tmux
Command: npx skills add https://github.com/mosaxiv/clawlet --skill tmux-mosaxiv

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Managing and automating interactive tmux sessions manually is tedious and error-prone; this skill provides programmable control over tmux sessions by sending keystrokes and scraping pane output.

Core Features & Use Cases

  • Remote session orchestration: create, attach, and switch between tmux sessions from scripts.
  • Keystroke automation: send keys to a target session to run commands, run long-running processes, or automate interactive workflows.
  • Output capture and monitoring: read pane content for prompts, status, or results and react accordingly.
  • Safe isolation: operate over a private tmux socket to avoid interfering with your main terminal.

Quick Start

Start a new tmux session on a private socket, attach to it, and drive commands by sending keystrokes.

Frequently Asked Questions about tmux

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

FAQPage Schema
How do I automate tmux sessions by sending keystrokes from a script?

Yes, you can capture pane output programmatically to read prompts, status updates, or command results. This allows your scripts to monitor interactive terminal sessions and react dynamically based on the scraped content currently displayed in the tmux pane.

Can I read and react to terminal output inside a tmux pane?

Yes, you can capture pane output programmatically to read prompts, status updates, or command results. This allows your scripts to monitor interactive terminal sessions and react dynamically based on the scraped content currently displayed in the tmux pane.

How do I isolate automated tmux commands from my main terminal environment?

You need the tmux binary installed on your host environment. The skill supports session orchestration, keystroke automation, and output scraping across both macOS and Linux environments where the tmux dependency is present.

Do I need tmux installed locally to control sessions remotely?

You need the tmux binary installed on your host environment. The skill supports session orchestration, keystroke automation, and output scraping across both macOS and Linux environments where the tmux dependency is present.

What is the best way to orchestrate multiple interactive terminal sessions?

The best way to orchestrate interactive terminal sessions is programmatically by spawning new tmux sessions over a private socket. You can then send targeted keystrokes to execute commands and capture output for monitoring across multiple panes.