tmux
Remote-control tmux sessions for interactive CLIs by sending keystrokes and scraping pane output. Use when: (1) monitoring Claude/Codex sessions running in tmux, (2) sending input to interactive terminal applications, (3) scraping output from long-running processes inside tmux, (4) navigating tmux panes/windows programmatically, or (5) checking on background work in existing sessions. NOT for: one-off shell commands (use exec_command), starting new background processes (use background_process), or non-tmux interactive processes.
npx skills add opensquilla/opensquilla --skill tmux --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# tmux Session Control Control tmux sessions by sending keystrokes and reading output. Essential for managing Claude Code sessions. ## Example Sessions | Session | Purpose | | ----------------------- | --------------------------- | | `shared` | Primary interactive session | | `worker-2` - `worker-8` | Parallel worker sessions | ## Common Commands ### List Sessions ```bash tmux list-sessions tmux ls ``` ### Capture Output ```bash # Last 20 lines of pane tmux capture-pane -t shared -p | tail -20 # Entire scrollback tmux capture-pane -t shared -p -S - # Specific pane in window tmux capture-pane -t shared:0.0 -p ``` ### Send Keys ```bash # Send text (doesn't press Enter) tmux send-keys -t shared "hello" # Send text + Enter tmux send-keys -t shared "y" Enter # Send special keys tmux send-keys -t shared Enter tmux send-keys -t shared Escape tmux send-keys -t shared C-c # Ctrl+C tmux send-keys -t shared C-d # Ctrl+D (EOF) tmux send-keys -t shared C-z # Ctrl+Z (suspend) ``` ### Window/Pane Navigation ```bash # Select window tmux select-window -t shared:0 # Select pane tmux select-pane -t shared:0.1 # List windows tmux list-windows -t shared ``` ### Session Management ```bash # Create new s
- Example Sessions
- Common Commands
- List Sessions
- Capture Output
- Send Keys
- Window/Pane Navigation
- Session Management
- Sending Input Safely
- Claude Code Session Patterns
- Check if Session Needs Input
- Approve Claude Code Prompt
- Check All Sessions Status
- Send Task to Session
- Notes
tmux list-sessions tmux ls Last 20 lines of pane tmux capture-pane -t shared -p | tail -20 Entire scrollback tmux capture-pane -t shared -p -S - Specific pane in window tmux capture-pane -t shared:0.0 -p Send text (doesn't press Enter) tmux send-keys -t shared "hello"
What does the tmux skill do?
Remote-control tmux sessions for interactive CLIs by sending keystrokes and scraping pane output. Use when: (1) monitoring Claude/Codex sessions running in tmux, (2) sending input to interactive terminal applications, (3) scraping output from long-running processes inside tmux, (4) navigating tmux panes/windows programmatically, or (5) checking on background work in existing sessions. NOT for: one-off shell commands (use exec_command), starting new background processes (use background_process), or non-tmux interactive processes.
How do I install it?
Run `npx skills add opensquilla/opensquilla --skill tmux --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From opensquilla/opensquilla, a repository with 6,515 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.