tmux

Manage persistent tmux terminal sessions with detached private sockets.

3|1|Updated Mar 8, 2026
One-click install
npx skills add https://github.com/Abhishekojha38/dobby.ai --skill tmux-abhishekojha38
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tmux
Source: https://github.com/Abhishekojha38/dobby.ai/tree/main/skills/tmux
Command: npx skills add https://github.com/Abhishekojha38/dobby.ai --skill tmux-abhishekojha38

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill provides a robust way to manage persistent terminal sessions, ensuring that interactive commands, long-running processes, and remote connections remain active and stateful, even if the primary connection is interrupted.

Core Features & Use Cases

  • Persistent Sessions: Create and manage tmux sessions that survive disconnections.
  • Interactive Commands: Ideal for running commands that require user interaction, such as Docker containers, SSH sessions, or build processes.
  • Use Case: You need to SSH into a remote server and run a long compilation process. Use this Skill to start an SSH session in a tmux session, send the compilation command, and then detach, allowing the build to continue in the background.

Quick Start

Use the tmux skill to create a new detached session named 'my_build_session' and run 'make -j$(nproc)' within it.

Frequently Asked Questions about tmux

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

FAQPage Schema
How do I keep a remote SSH session running after disconnecting?

To keep a remote SSH session running after disconnecting, you can use a persistent terminal session manager like tmux. It creates detached sessions that maintain state and allow long-running interactive commands to survive network drops.

What is the best way to run background build processes on a remote server?

The best way to run background build processes on a remote server is using a detached tmux session. You can start a session, send the compilation command, and detach safely, allowing the build to continue in the background without interruption.

Can I manage Docker containers interactively without losing state?

Yes, you can manage Docker containers interactively without losing state by running them within a tmux session. This ensures that if your primary connection drops, the interactive container management process remains active and stateful.

Why should I use a private socket for terminal session management?

Using a private socket for terminal session management enforces safety and reliability when running interactive commands. It isolates the persistent sessions, preventing unauthorized access and ensuring long-running processes operate securely.

How do I start a detached terminal session for long-running commands?

To start a detached terminal session for long-running commands, create a new tmux session with a specific name and execute your command within it. The session immediately detaches, allowing the process to run safely in the background.