π¦ ClawHub
Overkill Token Optimizer
by @broedkrummen
Optimize and manage session tokens for workspace memory with commands to check usage, reset, index, search, and compress tokens.
TERMINAL
clawhub install broedkrummen-overkill-token-optimizerπ About This Skill
Overkill Token Optimizer
Token optimization for OpenClaw agents. Reduces token usage through CLI compression, session management, and memory optimization.
Prerequisites
Required: oktk CLI must be installed manually:
npm install -g oktk
Or see: https://github.com/satnamra/oktk
Features
CLI Commands
# Show token usage statistics
token-optimizer statsCheck optimization level
token-optimizer checkIndex sessions for search
token-optimizer indexSearch sessions (use --hybrid for semantic+keyword)
token-optimizer search "query" --hybridCompress command output (requires oktk)
token-optimizer compress git status
Configuration
Set custom oktk path:
export OKTK_BIN=/path/to/oktk
Storage
~/.openclaw/workspace-memory-builder/.session_index/*Overkill Token Optimizer v1.0.3*
βοΈ Configuration
Set custom oktk path:
export OKTK_BIN=/path/to/oktk