tmux

Control tmux sessions to run and monitor remote command-line applications.

15|1|Updated Feb 21, 2019
One-click install
npx skills add https://github.com/dejanr/dotfiles --skill tmux-dejanr
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tmux
Source: https://github.com/dejanr/dotfiles/tree/main/modules/home/cli/pi-mono/skills/tmux
Command: npx skills add https://github.com/dejanr/dotfiles --skill tmux-dejanr

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill allows you to manage and interact with tmux sessions on remote machines, enabling you to run and monitor command-line applications in a persistent, organized environment.

Core Features & Use Cases

  • Remote Session Management: Create, attach to, and control tmux sessions on remote servers.
  • Interactive CLI Tooling: Run and monitor interactive tools like Python interpreters, debuggers (gdb), and database clients in isolated tmux panes.
  • Output Scraping: Capture and analyze the output of commands running within tmux panes.
  • Use Case: Debug a Python application running on a remote server by starting a debugging session within a tmux pane, sending commands, and observing the output in real-time.

Quick Start

Execute the command to start a new detached tmux session named 'claude-python' and run 'python3 -q' within its first pane.

Frequently Asked Questions about tmux

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

FAQPage Schema
How do I control a remote tmux session programmatically?

You can control remote tmux sessions programmatically by using custom scripts to create, attach to, and send commands to interactive CLI applications running in isolated panes.

How do I debug a Python application running on a remote server?

Debug a remote Python application by starting a detached tmux session, running the Python REPL or GDB inside a pane, sending commands, and monitoring the output in real time.

Can I capture and scrape output from a command running inside a tmux pane?

Yes, you can capture and analyze output from commands running within tmux panes by leveraging custom scripts designed for session discovery and output monitoring.

Do I need a specific terminal multiplexer to manage interactive CLI tools remotely?

You need tmux installed on the remote machine to manage interactive tools like Python interpreters and database clients in persistent, isolated, and predictable environments.

What is the best way to monitor an interactive TTY application across different environments?

The best way to monitor TTY applications across environments is using a terminal multiplexer to facilitate isolated execution and scrape pane output for analysis.

Does remote tmux session management work with GDB and database clients?

Yes, remote tmux session management supports running and monitoring interactive tools like GDB debuggers and database clients within isolated tmux panes.