Smithery Logo
MCPsSkillsDocsPricing
Login
Smithery Logo

Give agents more agency

Resources

DocumentationPrivacy PolicySystem Status

Company

PricingAboutBlog

Connect

© 2026 Smithery. All rights reserved.

    openclaw

    tmux

    openclaw/tmux
    Productivity
    178,203
    4 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

    Remote-control tmux sessions for interactive CLIs by sending keystrokes and scraping pane output.

    SKILL.md

    tmux

    Use for existing interactive tmux sessions. For one-shot commands, use normal shell. For new non-interactive background jobs, use background execution.

    Basics

    tmux ls
    tmux list-windows -t shared
    tmux list-panes -t shared:0
    tmux capture-pane -t shared:0.0 -p
    tmux capture-pane -t shared:0.0 -p -S -
    

    Target format: session:window.pane, e.g. shared:0.0.

    Send input

    Literal text, then Enter:

    tmux send-keys -t shared:0.0 -l -- "Please continue"
    tmux send-keys -t shared:0.0 Enter
    

    Special keys:

    tmux send-keys -t shared:0.0 C-c
    tmux send-keys -t shared:0.0 C-d
    tmux send-keys -t shared:0.0 Escape
    

    Use -l -- for arbitrary text. Split text and Enter to avoid paste/newline surprises.

    Sessions

    tmux new-session -d -s worker
    tmux rename-session -t old new
    tmux kill-session -t worker
    

    Prompt checks

    tmux capture-pane -t worker-3 -p | tail -20
    tmux capture-pane -t worker-3 -p | rg "proceed|permission|Yes|No|❯"
    

    Approve/select only when the prompt is understood:

    tmux send-keys -t worker-3 -l -- "y"
    tmux send-keys -t worker-3 Enter
    

    Helpers

    • scripts/find-sessions.sh: discover sessions.
    • scripts/wait-for-text.sh: wait until pane output contains text.

    Notes

    • capture-pane -p prints to stdout for scripts.
    • -S - captures full scrollback.
    • tmux sessions persist across SSH disconnects.
    Recommended Servers
    Browser tool
    Browser tool
    Browserbase
    Browserbase
    Apify
    Apify
    Repository
    openclaw/openclaw
    Files