Smithery Logo
MCPsSkillsDocsPricing
Login
Smithery Logo

Accelerating the Agent Economy

Resources

DocumentationPrivacy PolicySystem Status

Company

PricingAboutBlog

Connect

© 2026 Smithery. All rights reserved.

    colmarius

    tmux

    colmarius/tmux
    Productivity
    4
    1 installs

    About

    SKILL.md

    Install

    Install via Skills CLI

    or add to your agent
    • Claude Code
      Claude Code
    • Codex
      Codex
    • OpenClaw
      OpenClaw
    • Cursor
      Cursor
    • Amp
      Amp
    • GitHub Copilot
      GitHub Copilot
    • Gemini CLI
      Gemini CLI
    • Kilo Code
      Kilo Code
    • Junie
      Junie
    • Replit
      Replit
    • Windsurf
      Windsurf
    • Cline
      Cline
    • Continue
      Continue
    • OpenCode
      OpenCode
    • OpenHands
      OpenHands
    • Roo Code
      Roo Code
    • Augment
      Augment
    • Goose
      Goose
    • Trae
      Trae
    • Zencoder
      Zencoder
    • Antigravity
      Antigravity
    ├─
    ├─
    └─

    About

    Instructions for using tmux to spawn multiple processes, inspect them, and capture their output. Use when running servers, long-running tasks, or background processes.

    SKILL.md

    tmux

    Manage background processes using tmux windows without blocking the terminal.

    1. Verify Environment & Check Status

    Confirm tmux is running and list existing windows:

    tmux list-windows
    

    2. Spawn a Background Process

    Create a new tmux window and run a command:

    tmux new-window -n "my-server" -d
    tmux send-keys -t "my-server" "npm run dev" C-m
    
    • -n "my-server" names the window for easy reference
    • -d keeps it detached (runs in background)
    • C-m sends Enter to execute the command

    3. Inspect Output (Read Logs)

    Visible screen only

    tmux capture-pane -p -t "my-server"
    

    Full scrollback history

    tmux capture-pane -p -t "my-server" -S -1000
    
    • -S -1000 captures the last 1000 lines of scrollback

    4. Interact with the Process

    Send Ctrl+C (interrupt)

    tmux send-keys -t "my-server" C-c
    

    Kill the window

    tmux kill-window -t "my-server"
    

    5. Advanced: Chaining Commands

    Run multiple commands in sequence:

    tmux new-window -n "build" -d && \
    tmux send-keys -t "build" "npm run build && npm run test" C-m
    

    Quick Reference

    Action Command
    Create window tmux new-window -n "ID" -d
    Run command tmux send-keys -t "ID" "CMD" C-m
    Read output tmux capture-pane -p -t "ID"
    Send interrupt tmux send-keys -t "ID" C-c
    Kill window tmux kill-window -t "ID"
    Repository
    colmarius/dot-agents
    Files