tmux

Send keystrokes and scrape pane output to control tmux sessions.

88|16|Updated Feb 12, 2026
One-click install
npx skills add https://github.com/drpedapati/sciclaw --skill tmux-drpedapati
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tmux
Source: https://github.com/drpedapati/sciclaw/tree/main/workspace/skills/tmux
Command: npx skills add https://github.com/drpedapati/sciclaw --skill tmux-drpedapati

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Remote-control tmux sessions for automated interaction with CLIs, enabling scripted control of terminal applications, capturing output, and building reproducible agent loops.

Core Features & Use Cases

  • Remote-control of tmux sessions by sending keystrokes and reading pane output.
  • Spawning, attaching, and managing multiple sessions for parallel tasks, such as running several coding agents.
  • Utilities to wait for prompts or text patterns and to detach/attach safely.

Quick Start

Start a tmux session with a private socket and begin driving an interactive shell.

Frequently Asked Questions about tmux

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

FAQPage Schema
How do I automate remote control of tmux sessions for interactive CLIs?

Automate remote control of tmux sessions by programmatically sending keystrokes and scraping pane output to script interactive terminal applications. This enables reproducible agent loops and multi-session orchestration without manual input.

What is the best way to run multiple coding agents in parallel using tmux?

Run multiple coding agents in parallel by spawning, attaching, and managing multiple tmux sessions. This session-management approach allows simultaneous execution of interactive shells and parallel tasks using private sockets.

Does this tmux orchestration workflow require any specific dependencies or platforms?

Yes, this tmux orchestration workflow requires the tmux dependency to be installed. It is designed to operate on macOS or Linux environments to drive interactive shells and execute scripts.

Can I wait for specific text patterns or prompts in an automated terminal session?

Yes, you can wait for specific text patterns or prompts in an automated terminal session. The skill provides utilities to wait for expected output and safely detach or attach sessions during interactive CLI scripting.

Why use tmux for reproducible agent experiments instead of standard shell scripts?

Use tmux for reproducible agent experiments because it enables remote-control of persistent sessions, capturing pane output and sending keystrokes without breaking interactive states. This overcomes standard shell script limitations with interactive CLIs.