tmux

Control tmux sessions by sending keystrokes and reading output. Essential for managing long-running processes and interactive terminal applications.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "tmux" with this command: npx skills add winsorllc/upgraded-carnival/winsorllc-upgraded-carnival-tmux

tmux Session Control

Control tmux sessions by sending keystrokes and reading output. Essential for managing long-running processes and interactive terminal applications.

When to Use

✅ USE this skill when:

  • Monitoring long-running processes in tmux

  • Sending input to interactive terminal applications

  • Scraping output from processes in tmux

  • Navigating tmux panes/windows programmatically

  • Managing multiple concurrent sessions

When NOT to Use

❌ DON'T use this skill when:

  • Running one-off shell commands → use bash tool directly

  • Starting new background processes → use bash with &

  • Non-interactive scripts → use bash tool

  • The process isn't in tmux

Common Commands

List Sessions

tmux list-sessions

Capture Output

Last 20 lines of pane

tmux capture-pane -t session_name -p | tail -20

Entire scrollback

tmux capture-pane -t session_name -p -S -

Send Keys

Send text + Enter

tmux send-keys -t session_name "command" Enter

Send Ctrl+C

tmux send-keys -t session_name C-c

Session Management

Create new detached session

tmux new-session -d -s session_name

Kill session

tmux kill-session -t session_name

Check if session exists

tmux has-session -t session_name 2>/dev/null && echo "exists"

Examples

Create a session and run a long process

tmux new-session -d -s myjob "node long-running-script.js"

Check output after 10 seconds

sleep 10 && tmux capture-pane -t myjob -p -S -50

Send interrupt

tmux send-keys -t myjob C-c

Clean up

tmux kill-session -t myjob

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

vector-memory

No summary provided by upstream source.

Repository SourceNeeds Review
General

model-router

No summary provided by upstream source.

Repository SourceNeeds Review
General

rss-reader

No summary provided by upstream source.

Repository SourceNeeds Review
General

video-frames

No summary provided by upstream source.

Repository SourceNeeds Review