roder-tmux
Use when an agent needs to run the local roder TUI in tmux, send text or keys into the session, inspect panes, and capture pane output as timestamped .txt and .png artifacts.
- License 许可
- MIT
- 所属仓库
- RoderAI/roder
- 最近更新
- 2026-11-13
- Stars
- ★ 9
- Forks
- 1
01 前言 Front Matter
- name
- roder-tmux
- description
- Use when an agent needs to run the local roder TUI in tmux, send text or keys into the session, inspect panes, and capture pane output as timestamped .txt and .png artifacts.
02 资源文件 3
- 参考文档agents/openai.yaml251 B
- 脚本scripts/roder_tmux.sh7.0 KB
- 脚本scripts/text_to_png.py1.6 KB
03 SKILL.md 正文
Roder Tmux Capture
Use this skill for interactive roder runs that need durable evidence. Prefer the bundled helper script over hand-written tmux commands.
Quick Start
From the repo root:
.agents/skills/roder-tmux/scripts/roder_tmux.sh start
.agents/skills/roder-tmux/scripts/roder_tmux.sh send --enter "summarize this repo"
.agents/skills/roder-tmux/scripts/roder_tmux.sh capture
The default session is roder, the default command is cargo run -p roder --bin roder, and captures go to .roder/tmux-captures/.
Common Commands
- Start
roderin a detached tmux session:.agents/skills/roder-tmux/scripts/roder_tmux.sh start -s roder -- cargo run -p roder --bin roder - Start with an explicit window size (default 200x50 — an 80x24 tmux default
truncates roder's
/remotepairing URL and/chromestatus panels):.agents/skills/roder-tmux/scripts/roder_tmux.sh start -s roder -x 220 -y 60RODER_TMUX_WIDTH/RODER_TMUX_HEIGHTset the same defaults. Size the window at start rather than callingtmux resize-windowon a detached session later. - Start with an alternate command:
.agents/skills/roder-tmux/scripts/roder_tmux.sh start -s roder-dev -- make run - Send literal text without pressing Enter:
.agents/skills/roder-tmux/scripts/roder_tmux.sh send -s roder "draft a plan" - Send literal text and press Enter:
.agents/skills/roder-tmux/scripts/roder_tmux.sh send -s roder --enter "draft a plan" - Send tmux key names:
.agents/skills/roder-tmux/scripts/roder_tmux.sh keys -s roder Enter C-c - Save pane output as both text and PNG:
.agents/skills/roder-tmux/scripts/roder_tmux.sh capture -s roder -o .roder/tmux-captures - Attach manually when visual inspection is useful:
.agents/skills/roder-tmux/scripts/roder_tmux.sh attach -s roder - Stop the session:
.agents/skills/roder-tmux/scripts/roder_tmux.sh stop -s roder
Workflow
- Use a named tmux session per task, usually
roderorroder-<short-task>. - Start from the repo root unless the user explicitly asks for another working directory.
- Capture before sending disruptive keys like
C-c, after every meaningful interaction, and before reporting results. - Report the saved
.txtand.pngpaths in the final answer when captures are part of the requested evidence.
Notes
- The helper targets pane
0.0in the named session. - PNG capture uses macOS
qlmanagewhen available, or a Python Pillow renderer if Pillow is installed. - If PNG rendering is unavailable, keep the
.txtcapture and state that PNG rendering could not run in the current environment.
04 同仓库更多 Skills
repo-tour
Use when a user asks for an orientation tour of an unfamiliar repository. Produces a structured tour of entry points, key modules, and how to run tests.
review
Review code changes.
vcs-snapshot
Create a scoped version-control snapshot.
webwright
Drive a local Playwright browser through a Roder-owned Webwright workspace with plan, final script, screenshots, logs, and verification evidence.
vcs-snapshot
Create scoped VCS snapshots from the current workspace state.
roder-config
Configure and live-reload Roder from pasted config snippets, especially MCP server JSON, without leaking secrets or enabling executable integrations without approval.