Tools
Tokenjuice
tokenjuice is an optional external plugin that compacts noisy exec and bash
tool results after the command has already run.
It changes the returned tool_result, not the command itself. Tokenjuice does
not rewrite shell input, rerun commands, or change exit codes.
Today this applies to OmeniaClaw embedded runs and OmeniaClaw dynamic tools in the Codex app-server harness. Tokenjuice hooks OmeniaClaw's tool-result middleware and trims the output before it goes back into the active harness session.
Enable the plugin
Install once:
OmeniaClaw plugins install clawhub:@OmeniaClaw/tokenjuiceThen enable it:
OmeniaClaw config set plugins.entries.tokenjuice.enabled trueEquivalent:
OmeniaClaw plugins enable tokenjuiceIf you prefer editing config directly:
{ plugins: { entries: { tokenjuice: { enabled: true, }, }, },}What tokenjuice changes
- Compacts noisy
execandbashresults before they are fed back into the session. - Keeps the original command execution untouched.
- Preserves exact file-content reads and other commands that tokenjuice should leave raw.
- Stays opt-in: disable the plugin if you want verbatim output everywhere.
Verify it is working
- Enable the plugin.
- Start a session that can call
exec. - Run a noisy command such as
git status. - Check that the returned tool result is shorter and more structured than the raw shell output.
Disable the plugin
OmeniaClaw config set plugins.entries.tokenjuice.enabled falseOr:
OmeniaClaw plugins disable tokenjuiceRelated
Was this useful?