caveman
JuliusBrussee/caveman · Updated
🪨 why use many token when few token do trick. Viral skill + proxy for coding agents that cuts 65% of tokens by talking like a caveman.
JuliusBrussee/caveman is a Go repository in the LLM Frameworks category with 115,941 stars and 6,704 forks on GitHub, released under the Apache-2.0 license, last updated today.
How to install caveman in your AI client
Setup for Claude Code, Claude Desktop, Cursor, Codex, Windsurf, Cline and VS Code — copy-paste ready.
How to install caveman in Claude CodeAnthropic's agentic CLI
Clone & open
bashgit clone https://github.com/JuliusBrussee/caveman.git cd caveman claudeLet Claude read it
Ask “/init” to generate a CLAUDE.md, then have Claude explain, run, or extend the codebase. It reads files on demand.
How to install caveman in Claude DesktopDesktop app (MCP config)
Clone the repository
bashgit clone https://github.com/JuliusBrussee/caveman.gitOpen in your AI editor
Open the folder in your assistant and ask it to index the codebase, then reference files in chat.
How to install caveman in CursorAI-first code editor
Clone & open in Cursor
bashgit clone https://github.com/JuliusBrussee/caveman.gitIndex & chat
Open the folder — Cursor indexes it automatically. Use @Codebase in chat to ask about it or scaffold from it.
How to install caveman in Codex CLIOpenAI coding agent
Clone
bashgit clone https://github.com/JuliusBrussee/caveman.gitPoint Codex at it
Run codex in the repo root; add setup notes to AGENTS.md so the agent knows how to build & test.
How to install caveman in WindsurfCodeium's agentic IDE
Clone & open
bashgit clone https://github.com/JuliusBrussee/caveman.gitUse Cascade
Windsurf indexes the workspace; ask Cascade to explain or reuse modules from the repo.
How to install caveman in ClineVS Code autonomous agent
Clone the repository
bashgit clone https://github.com/JuliusBrussee/caveman.gitOpen in your AI editor
Open the folder in your assistant and ask it to index the codebase, then reference files in chat.
How to install caveman in VS CodeCopilot / MCP support
Clone the repository
bashgit clone https://github.com/JuliusBrussee/caveman.gitOpen in your AI editor
Open the folder in your assistant and ask it to index the codebase, then reference files in chat.
Documentation
Full READMEwhy many token when few do trick
Caveman make your AI agent say less and read less. Code stay exact. Brain still big.
33.2% fewerinput tokens, whole sessions<sub>54 Claude Code runs, 18 of 18 answers right</sub> 54% cheaperwith Auto, same score<sub>85 coding tasks vs Opus 5.5 at xhigh, interim</sub> 397 → 76tokens for one test run<sub>Blocks vs <code>| tail -20</code></sub> 1.4 to 2.4× cheaperwith caveman-style output<sub>Adobe Research, eight models</sub>
Cited by [Adobe Research](https://arxiv.org/abs/2606.24083) · A/B tested by [JetBrains](https://blog.jetbrains.com/ai/2026/07/speak-to-ai-agents-like-cavemen-tosave-tokens/) · Remade for Elasticsearch on [Elasticsearch Labs](https://www.elastic.co/search-labs/blog/elastic-caveman-ai-token-reduction) #1 on Hacker News · #1 on GitHub Trending · *"No way this actually works."* ThePrimeagen
[Install](#install) · [Six rocks](#six-rocks-one-install) · [Proof](#proof) · [Say less](#say-less-the-caveman-voice) · [Read less](#read-less-332-fewer-input-tokens) · [Auto](#auto-54-cheaper-same-score) · [Blocks](#blocks-code-mode-script-written-once) · [Commands](#commands) · [Caveman Cloud](#caveman-cloud)
Normal agent · 63 tokens Caveman agent · 20 tokens
The reason your React component is re-rendering is likely because you're creating a new object reference on each render cycle. When you pass an inline object as a prop, React's shallow comparison sees it as a different object every time, which triggers a re-render. I'd recommend using useMemo to memoize the object.
New object ref each render, so React re-renders. Wrap the prop in useMemo.
Same fix. 63 token become 20. Brain still big.
Pick your club:
| Skill | Same answer | Tokens | |---|---|---:| | /caveman | New object ref each render, so React re-renders. Wrap the prop in useMemo. | 20 | | /ultracave | Inline object prop, new ref, re-render. useMemo. | 14 | | /megacave | 新參照致重繪。useMemo。 | 13 |
<sub>Token counts: tiktoken o200k.</sub>
Install
Excerpt — the full document is on GitHub.
More LLM Frameworks repositories
- LLM Frameworks188k
AutoGPT
AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.
PythonSignificant-Gravitas/AutoGPT
- LLM Frameworks185k
ollama
Get up and running with Kimi, GLM, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.
GoMITollama/ollama
- LLM Frameworks175k
prompts.chat
f.k.a. Awesome ChatGPT Prompts. Share, discover, and collect prompts from the community. Free and open source — self-host for your organization with complete privacy.
HTMLf/prompts.chat
- LLM Frameworks168k
transformers
🤗 Transformers: the model-definition framework for state-of-the-art machine learning models in text, vision, audio, and multimodal models, for both inference and training.
PythonApache-2.0huggingface/transformers
- LLM Frameworks136k
MoneyPrinterTurbo
利用 AI 大模型和自动化工作流,根据主题或关键词一键生成高清短视频。Generate HD short videos from a topic or keyword with an automated AI workflow.
PythonMITharry0703/MoneyPrinterTurbo
- LLM Frameworks118k
TradingAgents
TradingAgents: Multi-Agents LLM Financial Trading Framework
PythonApache-2.0TauricResearch/TradingAgents
Catalog data refreshed . Something wrong? Report it.