tmux

Run long-running commands in named tmux sessions with output capture.

14|Updated May 18, 2026
One-click install
npx skills add https://github.com/popbones/tmux.skill --skill tmux-popbones
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tmux
Source: https://github.com/popbones/tmux.skill/tree/main
Command: npx skills add https://github.com/popbones/tmux.skill --skill tmux-popbones

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Tmux provides a durable command runner by allowing long-lived sessions that survive shell timeouts and detach/attach across Codex threads.

Core Features & Use Cases

  • Create named, dedicated or shared tmux sessions to organize concurrent work.
  • Attach, detach, and re-attach to sessions from multiple Codex threads while preserving ongoing work.
  • Capture and monitor logs or long-running processes inside sessions.
  • Coordinate workflows across threads by using stable session names and window layouts.

Quick Start

Create or join a named tmux session to run and monitor long-lived commands across Codex threads.

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 shell commands alive after a session timeout?

To keep long-running shell commands alive after a session timeout, run them inside named tmux sessions that persist independently. These durable sessions survive shell disconnects, allowing you to safely detach and re-attach later without losing ongoing process state.

Can I share ongoing dev server workflows across multiple Codex threads?

You can share ongoing dev server workflows across multiple Codex threads by using shared tmux sessions. This enables coordination by allowing multiple threads to attach to the same stable session name and monitor the same interactive shell output simultaneously.

What is the best way to monitor build tasks and log tails across different threads?

The best way to monitor build tasks and log tails across threads is running them inside named tmux sessions. This approach captures output safely and enables you to attach, detach, and inspect long-running processes from any thread while preserving window layouts.

Does tmux support managing multiple panes and windows for concurrent work?

Tmux supports managing multiple windows and panes to organize concurrent work within durable sessions. You can create dedicated or shared sessions, manage window layouts, and safely invoke commands with output capture for interactive shell tasks.

How do I capture and inspect output from a long-running command inside a session?

You capture and inspect output from a long-running command by running it inside a named tmux session using safe invocation patterns. This allows you to monitor interactive logs and capture process output while detaching and re-attaching across threads without interrupting execution.