tmux

Control tmux sessions and panes programmatically via private sockets.

Updated Jul 10, 2022
One-click install
npx skills add https://github.com/samuerio/.dotfiles --skill tmux-samuerio
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tmux
Source: https://github.com/samuerio/.dotfiles/tree/main/agents/skills/tmux
Command: npx skills add https://github.com/samuerio/.dotfiles --skill tmux-samuerio

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Manual tmux orchestration requires constant switching between commands and panes, making interactive workflows error-prone and hard to reproduce.

Core Features & Use Cases

  • Create isolated tmux sessions and private sockets to keep experiments separate from your main environment.
  • Programmatically send keystrokes, switch panes, and capture pane output for logging or real-time analysis.
  • Use cases include running a Python REPL, debuggers, or long-running CLI tasks inside tmux with deterministic behavior.

Quick Start

Start an isolated tmux session with a private socket and begin interacting with the session immediately.

Frequently Asked Questions about tmux

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

FAQPage Schema
How do I automate sending keystrokes to a tmux session programmatically?

Isolated tmux sessions use a private socket directory to keep experiments separate from your main environment. This ensures repeatable behavior for interactive workflows and prevents conflicts with existing terminal sessions.

Can I run a Python REPL or gdb debugger inside an isolated tmux session?

You need tmux installed on your system to use this automation. The scripts handle session creation and pane management automatically, requiring no additional dependencies beyond the tmux terminal multiplexer.

What is the best way to manage long-running shell tasks in isolated tmux sockets?

Managing long-running shell tasks in tmux is best handled by creating isolated sessions with private sockets. This approach separates experiments from your main environment and ensures repeatable, error-free behavior for automated workflows.

How do I capture pane output from a tmux session for logging or analysis?

To capture tmux pane output, programmatically control the session to switch panes and extract text. This enables real-time analysis and logging of interactive CLI tasks running within isolated sockets for deterministic results.