Roo Code integration
May 24, 2026 ยท View on GitHub
Roo Code support is beta.
tokenjuice install roo writes a marker-delimited rule block to
.roo/rules/tokenjuice.md in the current workspace. Roo Code loads workspace
rules from .roo/rules/, so this gives both the VS Code extension and Roo CLI
stable guidance for using tokenjuice when they run terminal commands.
Install
tokenjuice install roo
tokenjuice doctor roo
Behavior
- The rule tells Roo to prefer
tokenjuice wrap -- <command>for noisyexecute_commandterminal commands. - The rule tells Roo to treat compacted output as authoritative.
- The only documented escape hatch is
tokenjuice wrap --raw -- <command>. - Existing
.roo/rules/tokenjuice.mdcontent is backed up before install and preserved around the tokenjuice block. ROO_PROJECT_DIRcan override the workspace root for tests and scripted installs.
Current beta caveat
Roo workspace rules are prompt guidance, not command hooks. This integration does not intercept or rewrite shell output; it gives Roo a stable project rule to follow when it decides how to run terminal commands.