Agent skill · AI & Agents

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.

opensquilla6,385★ · +160/wk · 1 repos on radarProfile →
claude-codeships scriptsApache-2.0
Install
npx skills add opensquilla/opensquilla --skill tmux --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 3
SKILL.md size: 4 KB
Bundled scripts: yes
Path: src/opensquilla/skills/bundled/tmux/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 6,515 · +130 this week
Language: Python
Read our review of the source →

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# 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

What's inside
Steps it walks through
  1. Example Sessions
  2. Common Commands
  3. List Sessions
  4. Capture Output
  5. Send Keys
  6. Window/Pane Navigation
  7. Session Management
  8. Sending Input Safely
  9. Claude Code Session Patterns
  10. Check if Session Needs Input
  11. Approve Claude Code Prompt
  12. Check All Sessions Status
  13. Send Task to Session
  14. Notes
Ships with 2 files
  • scripts/find-sessions.sh
  • scripts/wait-for-text.sh
Commands it runs
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"
More from opensquilla
All skills →
About this skill
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.

Keep going