Tmux Session Pilot

    1

    Drive interactive command-line programs through persistent tmux sessions: list and attach sessions, send keystrokes, capture panes, split windows, paste buffers

    Secure checkout via Stripe

    0 installsSecurity scanned

    Works with the AI tools you already use

    CClaude CodeCCursorCCodex CLIGGitHub CopilotGGemini CLIVVS CodeWWindsurfMManus+14 more

    See it in action

    You say

    Start a new tmux session named 'db-monitor', split it horizontally, and run 'htop' in the right pane while tailing logs in the left.

    Your agent does

    Session 'db-monitor' created. Left pane (db-monitor.0): tailing /var/log/syslog Right pane (db-monitor.1): htop active. Pane split and commands sent successfully.

    What you get

    Automate interactions with SSH prompts and remote shells.Manage multi-pane terminal layouts for parallel log monitoring.Pipe complex scripts into interactive database consoles safely.Maintain persistent terminal state across multiple agent turns.

    About this skill

    The problem

    Standard agents fail when they encounter interactive CLI tools like SSH, REPLs, or database consoles that require a persistent terminal state. Running one-shot commands often loses the session context or drops input when programs aren't ready to receive it.

    What it does

    • Manages persistent terminal sessions using tmux to drive long-running interactive processes.
    • Sends specific keystrokes, including control sequences like Ctrl-C or Enter, to interactive programs.
    • Captures and reads terminal output, including specific pane contents and scrollback history.
    • Orchestrates complex terminal layouts by splitting, resizing, and addressing multiple panes.
    • Pastes large multi-line scripts or buffers to avoid input buffer overflows.

    Frameworks & tools

    Requires tmux 2.9 or higher. Works with any CLI-based REPL, SSH, htop, and database shells.

    Why this beats prompting it yourself

    Managing tmux via raw prompts often leads to quoting errors and dropped input. This skill implements specific polling patterns and buffer management to ensure the agent waits for prompts and handles multi-line scripts without corruption.

    Use cases

    • Managing remote servers via persistent SSH sessions without losing state.
    • Interacting with Python, Node.js, or SQL REPLs to debug code in real-time.
    • Monitoring logs in one pane while executing commands in another.
    • Automating setup scripts that require interactive user confirmation.

    Known limitations

    Does not support GUI applications. Not suitable for multiplexing security-sensitive sessions that must remain unreadable to other local users on the system.

    How to install

    Drop the file into your AI Agent. Works with Claude, Cursor, ChatGPT, and 20+ more.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill passes our trust checks below.

    Security scanned

    Passed our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    30-day refund

    Not a fit? Get your money back

    Trust & safety

    Security scanned

    Verified clean today

    Listedtoday

    Frequently Asked Questions