← Back to PRs

#16009: docs: add Terminal Manager (/term) skill documentation (EN + ZH)

by IceThunder open 2026-02-14 05:14 View on GitHub →
docs size: XS
## Summary Add documentation for the **terminal-manager** skill — a chat-driven tmux session manager accessible via `/term` commands. ## What's included - `docs/tools/terminal-manager.md` — English documentation - `docs/zh-CN/tools/terminal-manager.md` — Chinese (zh-CN) documentation ## Features documented - **Session management**: list, create, kill, and clear tmux sessions from chat - **Output viewing**: capture and display terminal output (last 50 lines) - **Command execution**: send commands to running sessions - **Screenshot rendering**: macOS-style terminal window PNG with title bar and traffic light buttons - **Terminal.app integration**: attach existing terminal windows to the managed tmux server ## Skill overview The terminal-manager skill uses a dedicated tmux socket (`$TMPDIR/openclaw-term.sock`) to isolate managed sessions. Commands: | Command | Action | |---------|--------| | `/term` | List all sessions | | `/term <session>` | View output | | `/term <session> screenshot` | Render PNG screenshot | | `/term <session> send <cmd>` | Send command | | `/term <session> kill` | Kill session | | `/term new <name> [cmd]` | Create session | | `/term clear` | Kill all sessions | Requires: tmux, Python 3 + Pillow (for screenshots), macOS or Linux. <!-- greptile_comment --> <h2>Greptile Overview</h2> <h3>Greptile Summary</h3> Adds English documentation for the terminal-manager skill that enables tmux session management via `/term` commands. The documentation clearly explains commands, usage examples, screenshot rendering, and installation instructions. **Key concern:** - The Chinese translation (`docs/zh-CN/tools/terminal-manager.md`) violates repository guidelines. Per `AGENTS.md` (lines 33-38), `docs/zh-CN/**` files are generated via the i18n pipeline (`scripts/docs-i18n`) and should not be manually added. The zh-CN file should be removed and regenerated using the official translation workflow. **English documentation quality:** - Structure and content are clear and well-organized - Follows standard documentation patterns used in the codebase - No technical or logical issues identified <h3>Confidence Score: 3/5</h3> - Safe to merge after removing the manually-added zh-CN file - The English documentation is well-written with no technical issues. However, the PR violates repository i18n guidelines by manually adding the zh-CN translation instead of using the automated translation pipeline. This is a process violation that needs correction before merge. - docs/zh-CN/tools/terminal-manager.md should be removed and regenerated via the i18n pipeline <sub>Last reviewed commit: 889f76b</sub> <!-- greptile_other_comments_section --> <sub>(2/5) Greptile learns from your feedback when you react with thumbs up/down!</sub> **Context used:** - Context from `dashboard` - CLAUDE.md ([source](https://app.greptile.com/review/custom-context?memory=fd949e91-5c3a-4ab5-90a1-cbe184fd6ce8)) <!-- /greptile_comment -->

Most Similar PRs