The core protocol. Recursively prunes JSON/HTML into high-density Markdown skins.
Strips ANSI codes, compacts dependency trees, truncates repeated patterns, preserves head/tail of large outputs.
opt prefixMakes agents talk like cavemen. Same answers, 65% fewer output tokens. Brain still big. Mouth small.
Three commands. Full token optimization stack.
# 1. Bash hook (transparent CLI optimization)
echo "source $(pwd)/.agents/hooks/bash-optimizer.sh" >> ~/.bashrc && source ~/.bashrc
# 2. Caveman skills — already active via AGENTS.md
# (auto-discovered by Claude Code, Codex, Cursor, etc.)
# 3. MCP server — add to agent config (unified 7-tool server)
{
"mcpServers": {
"agentskin-suite": {
"command": "npx",
"args": ["-y", "agentskin@latest"]
}
}
}