tmux

Manage persistent tmux sessions for long-running commands across SSH disconnects.

6|Updated Nov 14, 2025
One-click install
npx skills add https://github.com/junghan0611/agent-config --skill tmux-junghan0611
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tmux
Source: https://github.com/junghan0611/agent-config/tree/main/skills/tmux
Command: npx skills add https://github.com/junghan0611/agent-config --skill tmux-junghan0611

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Long-running commands and servers can be interrupted by disconnects or session timeouts. tmux provides persistent terminal sessions that survive network drops and allow you to reattach later.

Core Features & Use Cases

  • Persistent sessions you can detach from and reattach to across SSH disconnects and terminal closes.
  • Window and pane management for organizing multiple tasks in a single terminal.
  • Real-world use: keep a development server running during intermittent connectivity.

Quick Start

Start a new named tmux session and run your command inside it, then detach so it continues running after you log out.

Frequently Asked Questions about tmux

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

FAQPage Schema
How do I keep long-running commands alive after an SSH disconnect?

To keep long-running commands alive after an SSH disconnect, use tmux to create persistent terminal sessions that survive network drops. You can detach from these sessions and reattach later to find your processes still running safely.

What is the best way to manage multiple terminal sessions for server deployment?

The best way to manage multiple terminal sessions for server deployment is using tmux window and pane management. This organizes multiple tasks in a single terminal, providing deterministic session naming and safe input/output redirection for your workflows.

Do I need tmux installed to use persistent terminal sessions for development?

Yes, you need tmux installed and a compatible shell to use persistent terminal sessions for development. This setup ensures your development server continues running during intermittent connectivity by allowing safe detachment and reattachment.

How do I start a named tmux session and detach so it continues running?

To start a named tmux session and detach so it continues running, initiate a new session with your command inside it, then detach. The process will persist in the background after you log out or close your terminal.

Can I monitor long-running tasks within a tmux session?

Yes, you can monitor long-running tasks within a tmux session. This Skill provides deterministic session naming and monitoring capabilities, ensuring safe input/output redirection while you track commands across disconnects and terminal closes.