zmx

Manage persistent terminal sessions across SSH drops and terminal closures.

2|Updated Mar 2, 2026
One-click install
npx skills add https://github.com/joegoldin/agent-skills --skill zmx-joegoldin
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: zmx
Source: https://github.com/joegoldin/agent-skills/tree/main/skills/zmx
Command: npx skills add https://github.com/joegoldin/agent-skills --skill zmx-joegoldin

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill maintains persistent terminal sessions, ensuring that processes and environments remain active and accessible, even across SSH drops and terminal closures.

Core Features & Use Cases

  • Persistent Sessions: Keep shell sessions and their processes running independently of the terminal.
  • Session Management: Attach to, run commands in, and manage sessions programmatically.
  • Use Case: Use this Skill to run a development server in a session that survives SSH disconnections, allowing for continuous development and debugging.

Quick Start

Start a new session for your development server and run it in the background. zmx run dev.web -d python3 -m http.server 8199

Frequently Asked Questions about zmx

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

FAQPage Schema
How do I keep terminal sessions alive after SSH drops?

To keep terminal sessions alive after an SSH drop, you need persistent session management that detaches processes from the terminal connection. This Skill maintains shell sessions and processes independently, ensuring they remain active and accessible even when the network disconnects.

How do I run a development server in the background that survives terminal closures?

You can run a background development server using session control commands to detach the process. For example, starting a session with a detached flag allows your development server to run continuously, surviving terminal closures and enabling uninterrupted debugging.

Can I attach to an existing terminal session and execute commands programmatically?

Yes, you can attach to existing terminal sessions and execute commands programmatically. This Skill supports session management capabilities that allow you to connect to running shells and issue commands for continuous development and server operations.

Do I need a specific tool to manage persistent terminal sessions?

Yes, managing persistent terminal sessions requires a terminal and the zmx tool for session control. These prerequisites allow you to create, attach to, and manage shell environments that keep your processes running independently.

What is the best way to manage processes across multiple SSH connections?

The best way to manage processes across multiple SSH connections is using persistent terminal sessions. This approach keeps your shell environments active independently of the connection, allowing you to reattach and resume work without losing process state.