rrt install
Install bundled rrt user workflow surfaces into local/global tool roots.
Overview
rrt install provides a unified, top-level entrypoint for the existing
specialized installer surfaces:
skill installagents installhooks install
It is designed to simplify the initial setup and maintenance of the agentic workflow tools by allowing users to install all (or a subset of) surfaces into one or more target destinations in a single operation.
Responsibilities
- coordinate the installation of multiple surface types (skills, agents, hooks)
- validate target compatibility across all requested surfaces
- provide a consistent dry-run experience for multi-surface installation
- manage local and global tool root discovery
Target roots
Supported local/global roots include:
- Claude:
./.claude(local) and~/.claude(global) - Codex:
./.codex(local) and~/.codex(global) - Copilot:
./.github(local) and~/.copilot(global) - Gemini:
./.gemini(local) and~/.gemini(global)
Each surface appends its own standardized subdirectory (e.g., skills,
agents, or hooks) using the internal per-surface logic.
Behavior
- If
--surfaceis omitted, all bundled surfaces are installed. - Accepts multiple
--targetvalues to support parallel installation into different tools or both local and global roots. - Respects
--forceto overwrite existing files across all selected surfaces. - Supports
--dry-runto preview the entire installation plan without modifying any files. - Exits with an error if any requested target is unsupported by a selected surface.
Examples
rrt install --target claude-localrrt install --surface skill --target copilot-localrrt install --surface agents --surface hooks --target codex-global --dry-runrrt install --target gemini-local --target gemini-global --force
Caveats
- Without
--target, the command prints available destinations in dry-run mode and otherwise fails. - The installation is additive by default; existing files are only replaced
when
--forceis explicitly passed.