tmux

Manage and monitor tmux sessions via a private socket.

1|Updated Feb 22, 2026
One-click install
npx skills add https://github.com/1337hero/claude-toolkit --skill tmux-1337hero
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tmux
Source: https://github.com/1337hero/claude-toolkit/tree/main/skills/tmux
Command: npx skills add https://github.com/1337hero/claude-toolkit --skill tmux-1337hero

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This skill enables programmable control of tmux sessions for interactive work, eliminating repetitive manual input and enabling automated session creation, targeted input, and pane output capture.

Core Features & Use Cases

  • Programmatic session management: create, name, and isolate tmux sessions via a private socket.
  • Safe input and control: send keystrokes to specific panes and target sessions with a consistent socket path.
  • Output capture and monitoring: capture pane content and watch real-time output for automation and debugging.
  • Cleanup and discovery: clean up sessions and enumerate active sockets to maintain a tidy workspace.

Quick Start

Create a private tmux socket, start a session, and monitor the output.

Frequently Asked Questions about tmux

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

FAQPage Schema
How do I automate tmux session management for interactive scripts?

Automate tmux session management by using a private socket to programmatically create, name, and isolate sessions. This eliminates repetitive manual input and enables targeted keystroke delivery and output capture for interactive debugging tasks.

Can I capture pane output from a specific tmux session?

Yes, you can capture pane output from a specific tmux session. The skill enables output capture and real-time monitoring of pane content, allowing you to scrape terminal output for automation and debugging purposes.

How do I send keystrokes to a targeted pane inside an isolated tmux socket?

Send keystrokes to targeted panes by applying a consistent private socket path. This ensures safe input delivery and control over specific sessions, deterministic command execution, and interactive process management within isolated environments.

What is the best way to clean up active tmux sessions and enumerate sockets?

Clean up active tmux sessions and enumerate sockets by programmatically discovering active connections and safely removing unused sessions. This maintains a tidy workspace and ensures deterministic command execution across Linux and macOS environments.

Does tmux session automation work on both Linux and macOS for running debuggers?

Yes, tmux session automation works across Linux and macOS for running debuggers and shells. It isolates interactive programming tasks within a private socket, providing safe input delivery and pane output capture for automated debugging workflows.

Why should I use a private tmux socket for terminal session automation?

Use a private tmux socket for terminal session automation to isolate interactive work and ensure safe cleanup. It provides deterministic command execution, prevents conflicts with default server instances, and enables targeted input for debugging.