بنقرة واحدة
tmux
Remote-control tmux sessions for interactive CLIs by sending keystrokes and scraping pane output.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Remote-control tmux sessions for interactive CLIs by sending keystrokes and scraping pane output.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
| name | tmux |
| description | Remote-control tmux sessions for interactive CLIs by sending keystrokes and scraping pane output. |
| metadata | {"mmclaw":{"emoji":"🐾","os":["darwin","linux"],"requires":{"bins":["tmux"]}}} |
Control tmux sessions by sending keystrokes and reading output. Essential for managing AI agent sessions.
✅ USE this skill when:
❌ DON'T use this skill when:
exec tool directlyexec with background:trueexec toolexec with tmux new-session| Session | Purpose |
|---|---|
mmclaw-main | Primary interactive session |
mmclaw-1 - mmclaw-8 | Parallel agent sessions |
tmux list-sessions
tmux ls
# Last 20 lines of pane
tmux capture-pane -t mmclaw-main -p | tail -20
# Entire scrollback
tmux capture-pane -t mmclaw-main -p -S -
# Specific pane in window
tmux capture-pane -t mmclaw-main:0.0 -p
# Send text (doesn't press Enter)
tmux send-keys -t mmclaw-main "hello"
# Send text + Enter
tmux send-keys -t mmclaw-main "y" Enter
# Send special keys
tmux send-keys -t mmclaw-main Enter
tmux send-keys -t mmclaw-main Escape
tmux send-keys -t mmclaw-main C-c # Ctrl+C
tmux send-keys -t mmclaw-main C-d # Ctrl+D (EOF)
tmux send-keys -t mmclaw-main C-z # Ctrl+Z (suspend)
# Select window
tmux select-window -t mmclaw-main:0
# Select pane
tmux select-pane -t mmclaw-main:0.1
# List windows
tmux list-windows -t mmclaw-main
# Create new session
tmux new-session -d -s mmclaw-main
# Kill session
tmux kill-session -t mmclaw-4
# Rename session
tmux rename-session -t mmclaw-1 mmclaw-9
For interactive TUIs, split text and Enter into separate sends to avoid paste/multiline edge cases:
tmux send-keys -t mmclaw-main -l -- "Please apply the patch in src/foo.ts"
sleep 0.1
tmux send-keys -t mmclaw-main Enter
# Look for prompts
tmux capture-pane -t mmclaw-3 -p | tail -10 | grep -E "❯|Yes.*No|proceed|permission"
# Send 'y' and Enter
tmux send-keys -t mmclaw-3 'y' Enter
# Or select numbered option
tmux send-keys -t mmclaw-3 '2' Enter
for s in mmclaw-main mmclaw-1 mmclaw-2 mmclaw-3 mmclaw-4 mmclaw-5 mmclaw-6 mmclaw-7 mmclaw-8; do
echo "=== $s ==="
tmux capture-pane -t $s -p 2>/dev/null | tail -5
done
tmux send-keys -t mmclaw-4 "Fix the bug in auth.js" Enter
capture-pane -p to print to stdout (essential for scripting)-S - captures entire scrollback historysession:window.pane (e.g., mmclaw-main:0.0)Browse, search, and install skills from the CrawHub skill marketplace.
Agent Messaging (ClawMeets). Send, read, list, and delete messages via the ClawMeets agent-to-agent protocol.
Expose a local port to the public internet using ngrok. Use when the user wants a public URL for a locally running web service.
Notion API for creating and managing pages, databases, and blocks.
Create or update MMClaw skills. Use this when the user wants to add new capabilities, automate a specific tool, or define complex multi-step workflows for the agent.
Search the web using a configured search provider. Use when the user explicitly asks to search, look up current information, or needs real-time data such as news, prices, or recent events.