tmux — community community, ide skills

v1.0.0

About this Skill

Perfect for Advanced AI Agents needing robust session management and code orchestration via socket connections. Remote control tmux sessions for interactive CLIs, background tasks, and services.

Dwsy Dwsy
[0]
[0]
Updated: 3/7/2026

Killer-Skills Review

Decision support comes first. Repository text comes second.

Reference-Only Page Review Score: 7/11

This page remains useful for operators, but Killer-Skills treats it as reference material instead of a primary organic landing page.

Original recommendation layer Concrete use-case guidance Explicit limitations and caution Locale and body language aligned
Review Score
7/11
Quality Score
42
Canonical Locale
en
Detected Body Locale
en

Perfect for Advanced AI Agents needing robust session management and code orchestration via socket connections. Remote control tmux sessions for interactive CLIs, background tasks, and services.

Core Value

Empowers agents to manage configurable sessions using socket connections, with features like auto-cleanup of inactive sessions and persistence via JSON files, leveraging protocols like socket connections and file formats like JSON.

Ideal Agent Persona

Perfect for Advanced AI Agents needing robust session management and code orchestration via socket connections.

Capabilities Granted for tmux

Automating temporary task sessions with idle and exited states
Orchestrating long-running service sessions with configurable persistence
Managing agent-specific sessions using private socket connections

! Prerequisites & Limits

  • Requires access to the filesystem for socket connections and session persistence
  • Limited to sessions with a maximum inactivity of 24 hours before auto-cleanup
  • Dependent on the availability of the /tmp directory for socket and session files

Why this page is reference-only

  • - The underlying skill quality score is below the review floor.

Source Boundary

The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.

After The Review

Decide The Next Action Before You Keep Reading Repository Material

Killer-Skills should not stop at opening repository instructions. It should help you decide whether to install this skill, when to cross-check against trusted collections, and when to move into workflow rollout.

Labs Demo

Browser Sandbox Environment

⚡️ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox

FAQ & Installation Steps

These questions and steps mirror the structured data on this page for better search understanding.

? Frequently Asked Questions

What is tmux?

Perfect for Advanced AI Agents needing robust session management and code orchestration via socket connections. Remote control tmux sessions for interactive CLIs, background tasks, and services.

How do I install tmux?

Run the command: npx killer-skills add Dwsy/agent/tmux. It works with Cursor, Windsurf, VS Code, Claude Code, and 19+ other IDEs.

What are the use cases for tmux?

Key use cases include: Automating temporary task sessions with idle and exited states, Orchestrating long-running service sessions with configurable persistence, Managing agent-specific sessions using private socket connections.

Which IDEs are compatible with tmux?

This skill is compatible with Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer. Use the Killer-Skills CLI for universal one-command installation.

Are there any limitations for tmux?

Requires access to the filesystem for socket connections and session persistence. Limited to sessions with a maximum inactivity of 24 hours before auto-cleanup. Dependent on the availability of the /tmp directory for socket and session files.

How To Install

  1. 1. Open your terminal

    Open the terminal or command line in your project directory.

  2. 2. Run the install command

    Run: npx killer-skills add Dwsy/agent/tmux. The CLI will automatically detect your IDE or AI agent and configure the skill.

  3. 3. Start using the skill

    The skill is now active. Your AI agent can use tmux immediately in the current project.

! Reference-Only Mode

This page remains useful for installation and reference, but Killer-Skills no longer treats it as a primary indexable landing page. Read the review above before relying on the upstream repository instructions.

Upstream Repository Material

The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.

Upstream Source

tmux

Install tmux, an AI agent skill for AI agent workflows and automation. Review the use cases, limitations, and setup path before rollout.

SKILL.md
Readonly
Upstream Repository Material
The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.
Supporting Evidence

tmux Skill

Core Concepts

Socket: /tmp/pi-tmux-sockets/pi.sock (private, no conflicts with personal tmux)

Session Naming: pi-{category}-{name}-{timestamp}

  • Categories: task (temporary), service (long-running), agent (agent-specific)

Session States: running | idle | exited

Persistence: /tmp/pi-tmux-sessions.json

Auto-cleanup: Inactive sessions > 24h removed (configurable)

CLI Commands

bash
1bun ~/.pi/agent/skills/tmux/lib.ts <command> 2 3create <name> <command> [category] # Create session, prints monitoring command 4list [filter] # List sessions with status 5status <id> # Session details 6send <id> <keys> # Send keystrokes (literal mode, safe) 7capture <id> [lines] # Capture pane output (default: 200) 8kill <id> # Terminate session 9cleanup [hours] # Remove old sessions (default: 24h) 10attach <id> # Print attach command 11sync # Sync session state with tmux

TUI: bun ~/.pi/agent/skills/tmux/tui.ts (visual management, shortcuts: r/n/c/s/a/k/q)

TypeScript API

typescript
1import { TmuxManager } from "~/.pi/agent/skills/tmux/lib.ts"; 2 3const tmux = new TmuxManager({ autoCleanup: false }); // optional config 4 5// Session lifecycle 6const session = await tmux.createSession(name, command, category); 7await tmux.killSession(session.id); 8 9// Output handling 10const output = await tmux.capturePane(target, lines); 11const success = await tmux.waitForText(target, pattern, { timeout: 60 }); 12 13// State management 14const sessions = await tmux.listSessions(filter); 15const status = await tmux.getSessionStatus(id); 16await tmux.sync(); 17await tmux.cleanup(hours);

Key Rules

  1. Always print monitoring command after session creation:

    tmux -S /tmp/pi-tmux-sockets/pi.sock attach -t {session-id}
    
  2. Use send for interactive tools (Python REPL, gdb, databases):

    bash
    1# Python REPL: always use PYTHON_BASIC_REPL=1 2bun ~/.pi/agent/skills/tmux/lib.ts create python "PYTHON_BASIC_REPL=1 python3 -q" task 3bun ~/.pi/agent/skills/tmux/lib.ts send pi-task-python-* "print('Hello')"
  3. Category selection:

    • task: compilation, testing, temporary operations
    • service: dev servers, databases, persistent services
    • agent: training, data processing, agent-specific tasks
  4. Safe key injection: send uses literal mode (-l), no shell escaping needed

  5. Session recovery: Run sync if session not found

Helper Scripts

bash
1# Wait for text pattern with timeout 2./scripts/wait-for-text.sh -t session:0.0 -p 'pattern' [-F] [-T 20] [-i 0.5] [-l 2000] 3 4# List sessions with metadata 5./scripts/find-sessions.sh -S "$SOCKET" 6./scripts/find-sessions.sh --all

Requirements

  • tmux (Linux/macOS)
  • Bun runtime
  • Bash (helper scripts)

Related Skills

Looking for an alternative to tmux or another community skill for your workflow? Explore these related open-source skills.

View All

openclaw-release-maintainer

Logo of openclaw
openclaw

Your own personal AI assistant. Any OS. Any Platform. The lobster way. 🦞

333.8k
0
AI

widget-generator

Logo of f
f

Generate customizable widget plugins for the prompts.chat feed system

149.6k
0
AI

flags

Logo of vercel
vercel

The React Framework

138.4k
0
Browser

pr-review

Logo of pytorch
pytorch

Tensors and Dynamic neural networks in Python with strong GPU acceleration

98.6k
0
Developer