caveman / mcp
AGENTS.md110k starsChanged 8 months agoApache-2.0View on GitHub
A thin stdio JSON-RPC adapter exposing the compression engine as five MCP tools to any host (Claude Code, Cursor, …). It owns only the MCP framing; all compression is the engine's, linked in-process (no subprocess, no drift). Local-only — it opens no network connection — and everything it reports is inferred, never verified.
Adopted by
Steady: 0 new projects took it in the last 4 weeks, none the 4 weeks before.thin data
Who's talking about JuliusBrussee/caveman
- A Hacker News story“Caveman: Why use many token when few token do trick”Hacker News · Apr 5, 2026 · 904 points
- @laresai.danielesalatti.it“Someone made a Claude Code plugin that talks like a caveman to save tokens. Cuts output 65%. Accuracy …”Bluesky · Apr 5, 2026 · 21 likes
- @spaceprez.bsky.social“I had an intuitive feeling that cutting a lot of flowery language in genAI prompts would get identical …”Bluesky · Apr 30, 2026 · 14 likes
- @midu.dev“¿Quieres que tu sesión de Claude Code y Codex dure más? Haz que hable como un cavernícola. Esta Skill hace …”Bluesky · Apr 11, 2026 · 9 likes
- ayghri/i-have-adhd“Benchmarks on whether this reduces performance of the model”GitHub · Jul 19, 2026 · 7 reactions
The biggest 5 of 103 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 103
Talked about on GitHub, Bluesky and Hacker News (103 times).
On GitHub · 50
- Jul 19, 2026Benchmarks on whether this reduces performance of the model — ayghri/i-have-adhdsays it tested it7 reactions · 6 comments
- Apr 19, 2026feat(agents): add caveman gemini skill source — ooodnakov/ooodnakov-config2 reactions
- Nov 22, 2026Add caveman CLI (pinned 4.2.0) and skills; set DO_NOT_TRACK=1 — mmontes11/docker-opencode1 reaction
- Nov 20, 2026Add arakun shrink so every agent gets summarized command output — ArakunHQ/arakun1 reaction · 1 comment
- Nov 20, 2026Shrink Workers AI tool output by format (JSON, CSV, logs, tests) — ArakunHQ/arakun1 reaction · 1 comment
45 more on GitHub
- Nov 4, 2026RTK or caveman to reduce token consumption by default in just code ? — etalab-ia/codebox1 reaction · 1 comment
- Sep 3, 2026multiple system messages sent when a plugin uses experimental.chat.system.transform, breaks backends that require exactly one leading system message — anomalyco/opencode1 reaction · 2 comments
- Aug 18, 2026How or should I use this with caveman? — AminBlg/SimpleEnglish1 reaction · 3 comments
- Aug 8, 2026Comms — timerloggedout-spec/termux-monorepo1 reaction · 4 comments
- Jul 20, 2026feat(adhd): add ADHD output-shaping plugin (reauthor of i-have-adhd) — melodic-software/claude-code-plugins1 reaction · 4 comments
- Jun 15, 2026fix(docker): install git for repository scans — NVIDIA/SkillSpector1 reaction · 1 comment
- May 15, 2026New blog post — weblancaster/personal-blog1 reaction
- May 10, 2026Tools Comparisons alternatives — jgravelle/jcodemunch-mcp1 reaction · 6 comments
- May 6, 2026Add NPX installer for Linux and Windows replace current method — joshyorko/plugins1 reaction
- Apr 29, 2026feat: daily-caveman-optimizer — apply caveman optimization to .github/aw and .github/agents — github/gh-aw1 reaction · 1 comment
- Apr 22, 2026Token consumption reduction — KaugaKauga/familiar1 reaction
- Apr 18, 2026docs: cross-link caveman / cavemem / cavekit ecosystem — JuliusBrussee/cavemem1 reaction
- Apr 16, 2026[FEATURE] Caveman Mode: outbound prompt slimming to reduce generated tokens — headroomlabs-ai/headroom1 reaction · 1 comment
- Apr 10, 2026Enhancement: Add Caveman Token Management `speed go brrr` — github/squad1 reaction · 6 comments
- Apr 6, 2026Rename Blueprint to Cavekit across entire project — JuliusBrussee/cavekit1 reaction
- Nov 29, 2026Add caveman voice skills — NobleSeven7/Digilit-Project0 reactions
- Nov 28, 2026Use the caveman reply style in this project — mikecoa/personal-pos0 reactions
- Nov 27, 2026feat(skills): vendor caveman and caveman-compress (Apache-2.0) with guardrail exemptions — stefanasemota/vibe-coding-guardrail0 reactions
- Nov 27, 2026Plugin updates 2026-11-27 (review) — Fornida-Dev/fornida-claude-plugins0 reactions
- Nov 27, 2026fix(deps): bump gobwas/ws to v1.5.0 for GO-2026-6940 — JuliusBrussee/caveman-browse0 reactions
- Nov 26, 2026Try a read-only explore tool that searches outside the main context — ArakunHQ/arakun0 reactions · 1 comment
- Nov 26, 2026Measure and trim what every Workers AI request carries — ArakunHQ/arakun0 reactions · 1 comment
- Nov 23, 2026Upstream: caveman v4.1.0 → v4.2.0 — rbonweb/anthology0 reactions
- Nov 23, 2026Catalogue digest — 2026-11-23 — vatsalp2008/AI-Agent-Discovery0 reactions
- Nov 23, 2026chore(deps): bump the git-submodules group with 13 updates — wxxb789/hoa0 reactions
- Nov 22, 2026claude-code-plugins.github.juliusbrussee.caveman: 4.1.0 → 4.2.0 — sudosubin/agents.nix0 reactions
- Nov 22, 2026agent-skills.github.juliusbrussee.caveman: 4.1.0 → 4.2.0 — sudosubin/agents.nix0 reactions
- Nov 22, 2026claude-code-marketplaces.github.juliusbrussee.caveman: 4.1.0 → 4.2.0 — sudosubin/agents.nix0 reactions
- Nov 20, 2026Try a terse reply rule in Arakun Lab — ArakunHQ/arakun0 reactions
- Nov 20, 2026Try routing Workers AI steps between models, not only efforts — ArakunHQ/arakun0 reactions
- Nov 18, 2026Skills: ponytail and caveman for every session, and the founder's rule to use them — reidjxn/foundmill0 reactions · 1 comment
- Nov 16, 2026chore(deps): bump the all-updates group with 18 updates — eveeifyeve/nix-config0 reactions · 1 comment
- Nov 16, 2026Catalogue digest — 2026-11-16 — vatsalp2008/AI-Agent-Discovery0 reactions
- Nov 14, 2026Scout pitch: Read-less opt-in compression of command output — 8gi-foundation/8gent-code0 reactions
- Nov 12, 2026Add caveman skill for terse, low-token replies — moodyjones/Float0 reactions
- Nov 11, 2026Bump the compatible-packages group with 4 updates — delexw/motion-graphics-agent0 reactions
- Nov 10, 2026chore(deps): bump the all-updates group across 1 directory with 9 updates — eveeifyeve/nix-config0 reactions
- Nov 9, 2026Catalogue digest — 2026-11-09 — vatsalp2008/AI-Agent-Discovery0 reactions
- Nov 8, 2026agent-skills.github.juliusbrussee.caveman: 4.0.1 → 4.1.0 — sudosubin/agents.nix0 reactions
- Nov 8, 2026claude-code-marketplaces.github.juliusbrussee.caveman: 4.0.1 → 4.1.0 — sudosubin/agents.nix0 reactions
- Nov 8, 2026claude-code-plugins.github.juliusbrussee.caveman: 4.0.1 → 4.1.0 — sudosubin/agents.nix0 reactions
- Nov 7, 2026feat(app): install RTK, Caveman and Ponytail for an agent in one click — basilelt/overseer0 reactions
- Nov 5, 2026[Bug]: file:line refs in SKILL.md fail skill install — NousResearch/hermes-agent0 reactions · 2 comments
- Nov 4, 2026Add caveman agent skill — DavidCaua14/simulation0 reactions · 1 comment
- Nov 2, 2026Catalogue digest — 2026-11-02 — vatsalp2008/AI-Agent-Discovery0 reactions
On Bluesky · 50
- Apr 5, 2026Someone made a Claude Code plugin that talks like a caveman to save tokens. Cuts output 65%. Accuracy doesn't drop. "Bug in auth… — @laresai.danielesalatti.itsays it tested it21 likes and reposts · 4 replies
- Apr 30, 2026I had an intuitive feeling that cutting a lot of flowery language in genAI prompts would get identical results, but I generally avoid genAI… — @spaceprez.bsky.social14 likes and reposts · 1 reply
- Apr 11, 2026¿Quieres que tu sesión de Claude Code y Codex dure más? Haz que hable como un cavernícola. Esta Skill hace que tu agente responda en modo… — @midu.dev9 likes and reposts · 1 reply
- Sep 4, 2026we’re getting there — @ohnoim.online5 likes and reposts · 2 replies
- Jun 2, 2026lol github.com/JuliusBrussee/caveman/ — @nanojess.io5 likes and reposts
45 more on Bluesky
- May 20, 2026tem essa daqui tambem github.com/JuliusBrusse... — @punishedlynx.bsky.social5 likes and reposts · 1 reply
- May 6, 2026Clever way to save on your token usage: github.com/JuliusBrusse... — @dotmorten.xaml.dev5 likes and reposts · 1 reply
- Apr 7, 2026new conspiracy theory: llms are verbose and mansplainy and yes men because it burns more tokens which means the user can be charged for… — @funkjunkins.bsky.social5 likes and reposts · 2 replies
- Apr 5, 2026A Claude Code skill that makes Claude talk like a caveman, cutting token use https://github.com/JuliusBrussee/caveman… — @betterhn300.e-work.xyz5 likes and reposts · 2 replies
- Apr 5, 2026Talk like caveman | Discussion — @hackernewsbot.bsky.social5 likes and reposts
- Jun 20, 2026🚀 Skyrocketing! 🚀 (200+ new stars) 📦 JuliusBrussee / caveman ⭐ 75,013 (+314) 🗒 JavaScript 🪨 why use many token when few token do trick… — @github-trending-js.bsky.social4 likes and reposts · 1 reply
- Jun 4, 2026🚀 Skyrocketing! 🚀 (200+ new stars) 📦 JuliusBrussee / caveman ⭐ 68,598 (+471) 🗒 JavaScript 🪨 why use many token when few token do trick… — @github-trending-js.bsky.social4 likes and reposts · 1 reply
- Apr 30, 2026ולמי שמשלם על טוקנים מהכיס שלו github.com/JuliusBrusse... — @halfdino.bsky.social3 likes and reposts
- Apr 11, 2026Caveman! 😂 github.com/JuliusBrusse... — @kispocok.hu3 likes and reposts · 1 reply
- Apr 11, 2026Make your agent speak less. In a caveman-style language “why use many token when few do trick” It only affects output tokens —… — @qdrddr.bsky.social3 likes and reposts · 1 reply
- Nov 14, 2026🚀 Skyrocketing! 🚀 (200+ new stars) 📦 JuliusBrussee / caveman ⭐ 119,831 (+227) 🗒 Go 🪨 why use many token when few token do trick. Viral… — @github-trending.bsky.social2 likes and reposts · 1 reply
- Jun 30, 2026Onko tämä tuttu? En ole itse ennättänyt testaamaan, mutta voisi helpottaa github.com/JuliusBrusse... — @jhilden.bsky.social2 likes and reposts · 1 reply
- Jun 11, 2026"No it's ok you see we can just make it talk like a caveman to save tokens :)" something a real actual living person said to me today... I… — @succupony.bsky.social2 likes and reposts
- Jun 5, 2026github.com/JuliusBrusse... — @l422y.com2 likes and reposts · 1 reply
- May 22, 2026installed caveman? brain trying to save tokens github.com/JuliusBrusse... — @marko.tech2 likes and reposts
- May 18, 2026caveman to shut that up github.com/JuliusBrusse... — @marko.tech2 likes and reposts · 1 reply
- Apr 27, 2026You're never gonna guess what's the hot new way to make chatbots/LLMs waste less tokens github.com/JuliusBrusse... — @damien.zone2 likes and reposts · 1 reply
- Apr 27, 2026repo: github.com/juliusbruss... enough said bye — @freek.bsky.social2 likes and reposts
- Apr 10, 2026Zwei Ansätze, um Token zu sparen: Tool-Output eindampfen https://github.com/rtk-ai/rtk Talk like caveman… — @timo.social.hetzel.net.ap.brid.gy2 likes and reposts
- Apr 5, 2026Claude Code skill that cuts 75% of tokens by talking like caveman 🪨 #technology #news #artificialintelligence #ai #claude #code — @todaystopainews.bsky.socialsays it tested it2 likes and reposts · 1 reply
- Nov 14, 2026github.com/luongnv89/c... - Free visual Claude Code guide kinetik-ui.dev - 136 animated React Native components morphin.dev - 27 free… — @csaba.bsky.social1 likes and repost
- Oct 3, 2026读 PhD 做的是压缩感知,结果给 coding agent 省 65% token 的办法,是让它像原始人一样说话。 caveman:让 coding agent 用原始人语说话来省 token 的 skill 和 proxy,号称能省… — @anotherbug.comsays it tested it1 likes and repost
- Aug 13, 2026Caveman skill github.com/JuliusBrusse... — @airowe.online1 likes and repost
- Jul 28, 2026🚀 Skyrocketing! 🚀 (200+ new stars) 📦 JuliusBrussee / caveman ⭐ 93,726 (+371) 🗒 JavaScript 🪨 why use many token when few token do trick… — @github-trending-js.bsky.social1 likes and repost · 1 reply
- Jul 8, 2026Caveman? Caveman no make brain smaller. Caveman make mouth smaller. Shrinks what the agent says, not what it knows. 🤣… — @neilvosslab.bsky.social1 likes and repost
- May 8, 2026A mí me pagan la sub de pago, lo malo es que no le puedo meter cosas como caveman. Que literal lleguemos a este punto es de risa más que… — @catpucchino.eurosky.social1 likes and repost · 1 reply
- May 1, 2026github.com/JuliusBrusse... - Get the #LLM to answer like a caveman - very brief - and save a ton of tokens. — @robrich.bsky.social1 likes and repost
- Apr 23, 2026Už jsi zkoušel toto? — @mecesty.cz1 likes and repost
- Apr 11, 2026What they don’t want you to find github.com/JuliusBrusse... — @stevedylan.dev1 likes and repost · 2 replies
- Apr 10, 2026tired of your AI agents' verbosity? make it talk like caveman. also save money by not needing many tokens 🔗… — @lostdomain.org1 likes and repost
- Apr 9, 2026Did you see this? github.com/JuliusBrusse... Who needs context embedded in language anyway? What's a bit of casual racism putting the… — @productnerd.bsky.social1 likes and repost
- Apr 5, 2026🌐原始人:少数のトークンでトリックが成功するのに、なぜ多くのトークンを使う必要があるのか? https://github.com/JuliusBrussee/caveman via #HackerNews — @kdmsnr.com1 likes and repost
- Apr 5, 2026Caveman: 🦴 Why use many tokens when few tokens do the trick? 🤔 Dive into this clever project optimizing token use in AI. ⚡ Efficiency… — @jerome-etienne.bsky.social1 likes and repost
- Apr 5, 2026Caveman: Why use many token when few token do trick https://github.com/JuliusBrussee/caveman https://news.ycombinator.com/item?id=47647455 — @hn100.atproto.rocks1 likes and repost
- Apr 5, 2026A Claude Code skill that makes Claude talk like a caveman, cutting token use https://github.com/JuliusBrussee/caveman… — @hn100.atproto.rocks1 likes and repost
- Apr 5, 2026LOL there's a #Claude Code skill that cuts 75% of tokens by talking like a caveman: github.com/JuliusBrusse... 😄 #ai #aicoding — @kevin.woblick.comsays it tested it1 likes and repost
- Oct 15, 2026🚀 Skyrocketing! 🚀 (200+ new stars) 📦 JuliusBrussee / caveman ⭐ 112,086 (+398) 🗒 Go 🪨 why use many token when few token do trick. Viral… — @github-trending.bsky.social0 likes and reposts · 1 reply
- Aug 10, 2026De qualquer jeito fica ruim pro anti-IA tem que ser token-ascetismo. É curioso que tem até chinês literário pra token minimizing quero… — @cabra.pw0 likes and reposts · 1 reply
- Jul 21, 2026🎉 Celebrating! 🎉 (500+ new stars) 📦 JuliusBrussee / caveman ⭐ 91,533 (+529) 🗒 JavaScript 🪨 why use many token when few token do trick… — @github-trending-js.bsky.social0 likes and reposts · 1 reply
- Jul 20, 2026maybe this thing made it in somehow? github.com/JuliusBrusse... — @ninachaubal.com0 likes and reposts · 1 reply
- Jul 9, 20265. Caveman. instructs the model to drop articles and polite openers. Blunt, exact, up to 75% token savings in output only.… — @lennartnacke.com0 likes and reposts · 1 reply
- Jul 6, 2026🎉 Celebrating! 🎉 (500+ new stars) 📦 JuliusBrussee / caveman ⭐ 85,408 (+969) 🗒 JavaScript 🪨 why use many token when few token do trick… — @github-trending-js.bsky.social0 likes and reposts · 1 reply
- Jul 2, 2026🎉 Celebrating! 🎉 (500+ new stars) 📦 JuliusBrussee / caveman ⭐ 79,557 (+866) 🗒 JavaScript 🪨 why use many token when few token do trick… — @github-trending-js.bsky.social0 likes and reposts · 1 reply
- Jun 16, 2026🎉 Celebrating! 🎉 (500+ new stars) 📦 JuliusBrussee / caveman ⭐ 73,316 (+557) 🗒 JavaScript 🪨 why use many token when few token do trick… — @github-trending-js.bsky.social0 likes and reposts · 1 reply
- Jun 10, 2026🚀 Skyrocketing! 🚀 (200+ new stars) 📦 JuliusBrussee / caveman ⭐ 70,867 (+482) 🗒 JavaScript 🪨 why use many token when few token do trick… — @github-trending-js.bsky.social0 likes and reposts · 1 reply
On Hacker News · 3
- Apr 5, 2026Caveman: Why use many token when few token do trick904 points · 366 comments
- Sep 10, 2026Respond terse like smart caveman. All technical substance stay. Only fluff die2 points
- Apr 16, 2026Caveman – why use many token when few do trick2 points
In this repository38 other files it gives its agents.
- AGENTS.mdAGENTS.md
- engine/AGENTS.mdAGENTS.md
- extension/AGENTS.mdAGENTS.md
- mem/AGENTS.mdAGENTS.md
- proxy/AGENTS.mdAGENTS.md
- shrink/AGENTS.mdAGENTS.md
- browse/CLAUDE.mdCLAUDE.md
- CLAUDE.mdCLAUDE.md
- engine/CLAUDE.mdCLAUDE.md
- extension/CLAUDE.mdCLAUDE.md
- integrations/CLAUDE.mdCLAUDE.md
- mcp/CLAUDE.mdCLAUDE.md
- mem/CLAUDE.mdCLAUDE.md
- proxy/CLAUDE.mdCLAUDE.md
- shrink/CLAUDE.mdCLAUDE.md
- skills/caveman-learn/CLAUDE.mdCLAUDE.md
- cavecrewSkill
- caveman-commitSkill
- caveman-compressSkill
- caveman-discoverSkill
- caveman-evidence-reviewSkill
- caveman-exploreSkill
- caveman-helpSkill
- caveman-learnSkill
- caveman-manageSkill
- caveman-optimizeSkill
- caveman-reviewSkill
- caveman-setupSkill
- cavemanSkill
- caveman-statsSkill
- investigate-firstSkill
- lean-buildSkill
- megacaveSkill
- migrationSkill
- safe-refactorSkill
- surgical-patchSkill
- ultracaveSkill
- verify-and-stopSkill
The file
Files
mcp — the Caveman MCP server (Go core + launcher, Apache-2.0)
A thin stdio JSON-RPC adapter exposing the compression engine as
five MCP tools to any host (Claude Code, Cursor, …). It owns only the MCP framing; all
compression is the engine's, linked in-process (no subprocess, no drift). Local-only — it
opens no network connection — and everything it reports is inferred, never verified.
Layout
server.go— theServer: JSON-RPC loop, dispatch, the five tool handlers. Takes an injectableEngineinterface so the framing is testable without the real compressors.protocol.go— JSON-RPC + MCP tool-result types,toolText/toolErrorhelpers, the exacttools/listdefinitions.cmd/caveman-mcp/— binary: opens shared file CCR store (CAVEMAN_CCR_DB, elseCAVEMAN_HOME/ccr.db/~/.caveman/ccr.db) so proxy handles resolve across processes, then serves stdin↔stdout.CAVEMAN_MCP_EPHEMERAL=1opts into an isolated in-memory store for tests/sessions that do not need proxy recovery.bin/caveman-mcp.mjs+package.json— thenpx caveman-mcplauncher that execs the prebuilt Go binary.
The five tools (exact names, case-sensitive)
caveman_compress(input)→ compressed text + inferred ratio +recovery_handle. Lossy (S4), recoverable, and fail-closed: incompressible/malformed/not-smaller input returns unchanged,ratio:0,recovery_handle:null— never an error.caveman_retrieve(recovery_handle)→ the byte-exact original. Unknown handle →isError:true+ acave_snake_code, never a fabricated payload.caveman_stats()→basis:"inferred",scope:"session"; the stringverifiednever appears.caveman_toon_encode(input)→ explicit JSON→TOON re-encoding with input/output sizes; returns pass-through plus note when encoding fails.caveman_toon_decode(input)→ TOON→JSON; invalid TOON returnsisError:true, never raw input as JSON.
Conventions
- Build/test:
make product-build PRODUCT=mcp/make product-test PRODUCT=mcp. - stdout is the protocol channel — logs go to stderr only (a dedicated test guards this).
Gotchas (honesty invariants)
- un-killable transport — the stdio server survives everything short of EOF (issue #139). Framing is line-delimited: a malformed line is answered
-32700and the loop RESYNCHRONIZES to the next newline (neverreturn); a handler panic is contained byrecover()→cave_tool_panicked(dispatch panics →cave_internal_error); JSON-RPC batch arrays are handled per spec (one array response); id-less/"id":nullrequests are notifications and get no reply; and both inbound lines and generated tool output (compress/toon) are size-capped (cave_payload_too_large,maxInboundBytes/maxResultBytes, 16 MiB default) — butcaveman_retrieveis exempt (Tool.ExemptResultCap): recovery returns the byte-exact original and must never fail closed on size, since the shared gateway store has no matching ceiling. A dead server is worse than a slow one — the proxy keeps eliding content that no longer has acaveman_retrieveto expand it. - fail-open — engine error or malformed input → byte-identical pass-through, never a protocol error.
- fail-closed — unknown tool/handle →
isError+ cave_snake_code; unknown JSON-RPC method →-32601. - zero-egress — the adapter imports no
net/net/http/os/exec; a test parses the source to enforce it. - v1 is stdio-only, string payloads only (the engine detects type); HTTP transport +
caveman mcpsubcommand are v2. - protocol negotiation must never error. The adapter implements the 2024-11-05 contract and echoes that version back; a client asking for a newer one gets 2024-11-05 in the initialize result and decides for itself, per the MCP lifecycle. It previously answered
-32602: unsupported protocol version, which made Claude Code (and every other current client) drop the server — and becausecaveman wrapreads recovery availability from an install-time marker rather than from the live agent, the proxy kept eliding content that no longer had acaveman_retrieveto expand it. Declining to echo an unimplemented version is right; refusing to speak is not.
See ../../CLAUDE.md (root) · ../engine/CLAUDE.md
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

