From AgentOne Token Compression
Temporarily disable token-optimizer for this terminal (or set permanently)
How this command is triggered — by the user, by Claude, or both
Slash command
/agentone-token-compression:tokens-off shell|permanentThis command is limited to the following tools:
The summary Claude sees in its command listing — used to decide when to auto-load this command
Disable token-optimizer hooks.
Argument: $ARGUMENTS (defaults to `shell`)
If `shell` (default): tell the user to run `export TOKEN_OPTIMIZER_DISABLED=1` in their current shell. This is the safe way to disable for one session without modifying their settings.json.
If `permanent`: walk the user through editing `~/.claude/settings.json` to remove the hooks block, OR set `"env": { "TOKEN_OPTIMIZER_DISABLED": "1" }` in their settings.json. Don't actually modify their file without confirming first — show them the diff and ask for approval.
After explaining, also tell them how to re-enable:
- ...Disable token-optimizer hooks.
Argument: $ARGUMENTS (defaults to shell)
If shell (default): tell the user to run export TOKEN_OPTIMIZER_DISABLED=1 in their current shell. This is the safe way to disable for one session without modifying their settings.json.
If permanent: walk the user through editing ~/.claude/settings.json to remove the hooks block, OR set "env": { "TOKEN_OPTIMIZER_DISABLED": "1" } in their settings.json. Don't actually modify their file without confirming first — show them the diff and ask for approval.
After explaining, also tell them how to re-enable:
unset TOKEN_OPTIMIZER_DISABLED/tokens-on slash command, or re-add the hooks block.npx claudepluginhub iterateai/compression --plugin agentone-token-compression