Remote-control tmux sessions for interactive CLIs by sending keystrokes and scraping pane output.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# tmux Skill (Clawdbot)
Use tmux only when you need an interactive TTY. Prefer exec background mode for long-running, non-interactive tasks.
## Quickstart (isolated socket, exec tool)
```bash
SOCKET_DIR="${LITECLAW_TMUX_SOCKET_DIR:-${TMPDIR:-/tmp}/liteclaw-tmux-sockets}"
mkdir -p "$SOCKET_DIR"
SOCKET="$SOCKET_DIR/clawdbot.sock"
SESSION=liteclaw-python
tmux -S "$SOCKET" new -d -s "$SESSION" -n shell
tmux -S "$SOCKET" send-keys -t "$SESSION":0.0 -- 'PYTHON_BASIC_REPL=1 python3 -q' Enter
tmux -S "$SOCKET" capture-pane -p -J -t "$SESSION":0.0 -S -200
```
After starting a session, always print monitor commands:
```
To monitor:
tmux -S "$SOCKET" attach -t "$SESSION"
tmux -S "$SOCKET" capture-pane -p -J -t "$SESSION":0.0 -S -200
```
## Socket convention
- Use `LITECLAW_TMUX_SOCKET_DIR` (default `${TMPDIR:-/tmp}/liteclaw-tmux-sockets`).
- Default socket path: `"$LITECLAW_TMUX_SOCKET_DIR/clawdbot.sock"`.
## Targeting panes and naming
- Target format: `session:window.pane` (defaults to `:0.0`).
- Keep names short; avoid spaces.
- Inspect: `tmux -S "$SOCKET" list-sessions`, `tmux -S "$SOCKET" list-panes -a`.
## Finding sessions
…
The line at the top of this page pins the label git:20260812.c83047b, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
A 17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
pass: Frontmatter block present
pass: Frontmatter declares a name
pass: Frontmatter declares a description
pass: Size between 200 bytes and 200 KB (4112 bytes)
pass: No zero-width or bidi control characters
pass: No instruction hidden inside an HTML comment
pass: No link to an exfiltration or paste host
pass: No credential-shaped string
pass: No instruction to send local credentials anywhere
pass: No text hidden with inline styles
pass: No prompt-injection phrasing
pass: No curl or wget piped into a shell
pass: No recursive delete of root, home or parent
pass: No instruction to read or print local credentials
pass: No base64 blob over 200 characters
pass: No link to a raw IP address
pass: No script tag
Source
GitHub
amd/gaia · 1,593 stars · license MIT · pushed 2026-10-20 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_i7qk3yz4nvinwqfm
GET https://markdownregistry.com/api/v1/resolve?ref=amd/gaia/tmux
GET https://markdownregistry.com/api/v1/blob/a70fc5a5f7e53d73af9042c1fd34ad2bf700c087cdcb2a4c0f91bfe3a76f0387
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
amd/gaia · .claude/skills/adding-eval-scorecard/SKILL.md · Adopt the per-agent eval scorecard for a GAIA hub agent: write the harness→payload adapter, run the eval to produce a…
amd/gaia · .claude/skills/agent-hub-release/SKILL.md · Cut or wire the frozen-binary + npm release of an agent GAIA itself ships (the email/flagship CI pipeline: freeze ->…
amd/gaia · .claude/skills/analyzing-claude-sessions/SKILL.md · Analyze your own local Claude Code session transcripts to find what you actually use the agent for, how effective it…
amd/gaia · .claude/skills/benchmarking-the-agent/SKILL.md · Measure the flagship GAIA agent against Claude Code and across models — quality, truthfulness, steps, tokens, time and…
amd/gaia · .claude/skills/driving-the-tui/SKILL.md · Use when testing or validating the GAIA TUI (tui/) by actually running it — driving screens, clicking and scrolling…
amd/gaia · .claude/skills/gaia-build-agent/SKILL.md · Build a new GAIA agent with the SDK end-to-end: scaffold the package, write the Agent subclass, register @tool…
amd/gaia · .claude/skills/gaia-technical-presentation/SKILL.md · Generate a TECHNICAL slide presentation (engineering audience) from a source document as self-contained HTML that…
amd/gaia · .claude/skills/gaia-tui-manual/SKILL.md · The GAIA terminal UI (gaia-tui) — how to build it, launch it with a real pty, drive it through the loopback control…
amd/gaia · .claude/skills/github-issue-response/SKILL.md · Respond to a GitHub issue, PR comment, discussion reply, or review on amd/gaia. Use when writing any reply that will be…
team-commonly/commonly · backend/commonly-bundled-skills/tmux/SKILL.md · Manage long-running shell sessions with tmux — start a detached session, run a long task, reattach later, capture…