โ† All skills
Tencent SkillHub ยท Developer Tools

Tmux

Remote-control tmux sessions for interactive CLIs by sending keystrokes and scraping pane output.

skill openclawclawhub Free
0 Downloads
0 Stars
0 Installs
0 Score
High Signal

Remote-control tmux sessions for interactive CLIs by sending keystrokes and scraping pane output.

โฌ‡ 0 downloads โ˜… 0 stars Unverified but indexed

Install for OpenClaw

Quick setup
  1. Download the package from Yavira.
  2. Extract the archive and review SKILL.md first.
  3. Import or place the package into your OpenClaw setup.

Requirements

Target platform
OpenClaw
Install method
Manual import
Extraction
Extract archive
Prerequisites
OpenClaw
Primary doc
SKILL.md

Package facts

Download mode
Yavira redirect
Package format
ZIP package
Source platform
Tencent SkillHub
What's included
SKILL.md, scripts/wait-for-text.sh

Validation

  • Use the Yavira download entry.
  • Review SKILL.md after the package is downloaded.
  • Confirm the extracted package contains the expected setup assets.

Install with your agent

Agent handoff

Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.

  1. Download the package from Yavira.
  2. Extract it into a folder your agent can access.
  3. Paste one of the prompts below and point your agent at the extracted folder.
New install

I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.

Upgrade existing

I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.

Trust & source

Release facts

Source
Tencent SkillHub
Verification
Indexed source record
Version
1.0.0

Documentation

ClawHub primary doc Primary doc: SKILL.md 10 sections Open source page

tmux Skill

Use tmux only when you need an interactive TTY. Prefer exec background mode for long-running, non-interactive tasks.

Default Server โ€” No Custom Sockets

Always use the default tmux server. Do NOT use -S custom sockets. The user needs to tmux attach easily without knowing obscure socket paths.

Session Naming

Convention: oc-${project}-${feature} (e.g. oc-knowhere-date-range-picker, oc-deck-auth-flow) oc- prefix = OpenClaw-managed, avoids collision with user sessions Easy to find: tmux ls | grep oc-

Quickstart

SESSION=oc-myproject-feature tmux new-session -d -s "$SESSION" -c ~/projects/myproject tmux send-keys -t "$SESSION" 'claude --dangerously-skip-permissions' Enter tmux capture-pane -p -J -t "$SESSION" -S -200 After starting a session, tell the user: To monitor: tmux attach -t $SESSION

Targeting panes and naming

Target format: session:window.pane (defaults to :0.0). Keep names short; avoid spaces. Inspect: tmux list-sessions, tmux list-panes -a.

Sending input safely

Prefer literal sends: tmux send-keys -t target -l -- "$cmd". Control keys: tmux send-keys -t target C-c. For interactive TUI apps like Claude Code/Codex, do not append Enter in the same send-keys. These apps may treat a fast text+Enter sequence as paste/multi-line input and not submit. Send text and Enter as separate commands with a small delay: tmux send-keys -t target -l -- "$cmd" && sleep 0.1 && tmux send-keys -t target Enter

Watching output

Capture recent history: tmux capture-pane -p -J -t target -S -200. Attaching is OK; detach with Ctrl+b d.

Spawning processes

For python REPLs, set PYTHON_BASIC_REPL=1 (non-basic REPL breaks send-keys flows).

Orchestrating Coding Agents (Codex, Claude Code)

tmux excels at running multiple coding agents in parallel: # Create sessions in different worktrees tmux new-session -d -s oc-project-fix1 -c ~/projects/project-fix1 tmux new-session -d -s oc-project-fix2 -c ~/projects/project-fix2 # Launch agents tmux send-keys -t oc-project-fix1 'claude --dangerously-skip-permissions' Enter tmux send-keys -t oc-project-fix2 'codex --full-auto' Enter # Send a prompt (text + Enter separated by delay) tmux send-keys -t oc-project-fix1 -l -- "Fix the date picker styling." && sleep 0.1 && tmux send-keys -t oc-project-fix1 Enter # Poll for completion (check if shell prompt returned) for sess in oc-project-fix1 oc-project-fix2; do if tmux capture-pane -p -t "$sess" -S -3 | grep -q "โฏ"; then echo "$sess: DONE" else echo "$sess: Running..." fi done # Get full output tmux capture-pane -p -t oc-project-fix1 -S -500 Tips: Use separate git worktrees for parallel fixes (no branch conflicts) bun install / pnpm install first before running agents in fresh clones Check for shell prompt (โฏ or $) to detect completion Codex needs --yolo or --full-auto for non-interactive fixes

Cleanup

Kill a session: tmux kill-session -t "$SESSION". Kill all OpenClaw sessions: tmux ls -F '#{session_name}' | grep '^oc-' | xargs -n1 tmux kill-session -t.

Category context

Code helpers, APIs, CLIs, browser automation, testing, and developer operations.

Source: Tencent SkillHub

Largest current source with strong distribution and engagement signals.

Package contents

Included in package
1 Docs1 Scripts
  • SKILL.md Primary doc
  • scripts/wait-for-text.sh Scripts