tmux

Automate tmux sessions to drive interactive CLIs via sockets and named sessions.

1|1|Updated Aug 3, 2020
One-click install
npx skills add https://github.com/lolwierd/dotfiles --skill tmux-lolwierd
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tmux
Source: https://github.com/lolwierd/dotfiles/tree/main/ai/dot-agents/skills/tmux
Command: npx skills add https://github.com/lolwierd/dotfiles --skill tmux-lolwierd

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Provides a programmable interface to drive tmux sessions, enabling automated control of interactive CLIs by sending keystrokes and capturing pane output.

Core Features & Use Cases

  • Control tmux sessions remotely via scripted commands and socket isolation for reproducible interactive workflows.
  • Capture and monitor pane output to provide live feedback and debugging information in automation pipelines.
  • Use cases include automating REPL workflows, debugging sessions, or driving multi-step terminal tasks in CI or agents.

Quick Start

Start a private tmux session with a dedicated socket and connect to it to begin issuing commands.

Frequently Asked Questions about tmux

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

FAQPage Schema
How do I automate interactive shells and send keystrokes to a tmux session?

Automate interactive shells by using a programmable interface to control tmux sessions, sending keystrokes and capturing pane output. This enables automated control of interactive CLIs via scripted commands and socket isolation.

Can I capture terminal output from a tmux pane for live debugging in CI pipelines?

Yes, you can capture and monitor pane output to provide live feedback and debugging information. This allows automation pipelines to track multi-step terminal tasks and interactive REPL workflows.

Does tmux automation work on macOS and Linux for driving Python REPLs?

Yes, tmux automation targets both Linux and macOS environments for driving interactive CLIs. It supports automating Python REPLs and debugger sessions through deterministic input handling.

What is the best way to manage remote tmux sessions non-destructively?

Manage remote tmux sessions non-destructively through standardized socket paths and named sessions. This enforces safe session lifecycle management and deterministic input handling for reproducible workflows.

Why does my automated terminal workflow need private socket isolation in tmux?

Private socket isolation ensures reproducible interactive workflows by separating automated tmux sessions from default environments. It enforces deterministic input handling and safe session lifecycle management.

Do I need a dedicated tmux socket to safely automate interactive CLI tasks?

Yes, using a dedicated private tmux socket is required for safe session lifecycle management. It provides socket isolation to ensure reproducible interactive workflows without destructive conflicts.