← All repos

caveman

🪨 why use many token when few token do trick — Claude Code skill that cuts 65% of tokens by talking like caveman

aianthropiccavemanclaudeclaude-codellmmemeprompt-engineeringskilltokens
Browse cluster: Claude AI Agent Frameworks & MCP Tools
278commits
38contributors
8languages

Tech stack & purpose

Caveman is an open-source project that reduces token usage for AI coding agents by up to 65% through specialized compression and routing techniques. The project provides a gateway system that routes multiple AI coding agents—including Claude, Codex, Gemini, Aider, OpenCode, Hermes, and OpenClaw—through unified interfaces while managing token efficiency via agent profiles, compression tools, and browser interaction capabilities. Built in Go and Node.js/TypeScript, caveman includes components for managing agent routing through environment variables and config files, compressing command output and accessibility trees, recovering original payloads through CCR (Caveman Compression and Recovery), and evaluating cache performance across different LLM providers including Anthropic, OpenAI, Bedrock, and Gemini. The project emphasizes fail-closed validation, exact token accounting, and reproducible compression without external dependencies in its CLI layer.

Languages

Go
47.8%
JavaScript
34.0%
TypeScript
11.6%
Python
5.8%
Shell
0.3%
PowerShell
0.2%
HTML
0.2%
CSS
0.1%

Contributors (top 30 of 38)