tmux-guide
CommunityRun long tasks safely in tmux.
Software Engineering#devops#session management#tmux#background tasks#debug logs#long-running commands#safety hygiene
Authorarchibate
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Prevents long-running or indefinite commands from blocking your terminal session by moving them into a managed tmux background session with consistent logging and cleanup rules.
Core Features & Use Cases
- Background execution for long tasks: Run operations that take more than 2 minutes (installs, large test suites, training pipelines) without timing out.
- Indefinite server/task handling: Keep services and port-forwarding running in the background reliably.
- Failure-safe observability: Capture recent output (last 80 lines) without attaching, so you can debug while keeping your workflow non-intrusive.
- Safety-focused session hygiene: Enforce the agent- session naming convention, avoid attaching, and avoid killing tmux server or unrelated sessions.
Quick Start
Use the tmux-guide skill before starting a long command (for example, installing dependencies or running many tests) so the command is executed inside a tmux session named with the agent- prefix and you can later capture the last 80 log lines if needed.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: tmux-guide Download link: https://github.com/archibate/dotfiles-opencode/archive/main.zip#tmux-guide Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.