Mindket

caveman

Newversion 1 · updated
Star118k

Overview

A collection of tools that minimizes token consumption for AI agents by compressing logs, managing agent scripts, and optimizing responses. It is designed for developers who want to reduce API costs while maintaining agent performance.

caveman is an open-source project on GitHub in the Developer category, listed by Mindket. It is free. This is version 1, last updated on . Install it from GitHub as its README says. Get Mindket’s setup notes on your Mindket account, as a zip.

At a glance

Runs in
  • Claude Code
  • Gemini CLI
  • Codex
  • OpenCode
Start with
npx @caveman-ai/cli@latest

Platform

Claude CodeCoding agent
Gemini CLICoding agent
CodexCoding agent
OpenCodeCoding agent

About

What it is

Caveman is a set of tools designed to reduce token consumption by AI agents. It compresses logs, manages agent scripts, and optimizes agent output to lower costs while keeping code and information exact.

Who it suits

It is for developers and engineers who use AI coding agents and want to manage their token usage.

Where to use it

You can use it within terminal-based coding agents, CLI tools, and various development frameworks.

  • Claude Code
  • Gemini CLI
  • Codex
  • OpenCode
  • Vercel AI SDK
  • LangChain

How to set it up

You need a machine running Node.js 22.13 or newer on Mac, Linux, or Windows.

  1. Install the CLI using the command provided.
  2. Run the tool to automatically find agents and logins.
  3. Use the status command to see which features are active.
npx @caveman-ai/cli@latest

How to use it

You can interact with the tools by running commands in your terminal or by invoking slash commands directly through your agent's chat interface.

caveman status

| Tool | What it does | |---|---| | /caveman | Sets the agent to respond with short, direct phrases | | /caveman-compress | Shrinks memory files while keeping the content intact | | caveman-blocks | Manages and reuses common scripts written by agents | | caveman login | Connects to a free account to enable model routing |

Example

Instead of a long explanation, the agent provides a direct fix. The answer remains accurate but consumes fewer tokens.

For newcomers and experts

Newcomers can think of this as a filter that asks the AI to be brief, which saves time and money. Experts can use it as a token-efficiency layer that sits between the agent and the model provider. It uses response-voice control, log-file compression, and script-block reuse to optimize token throughput. It trades off conversational style for structured output that preserves functional integrity.

Good to know

  • The tool operates locally on your machine for most tasks.
  • It can read your local files, logs, and agent scripts.
  • It is released under the Apache-2.0 license.
  • Features like Auto model routing require a free account and may send metadata to the cloud.
Average token savings
Input tokens saved33.2 percent
Response tokens reduced8.5 percent

README and files

README
# caveman

A collection of tools that minimizes token consumption for AI agents by compressing logs, managing agent scripts, and optimizing responses. It is designed for developers who want to reduce API costs while maintaining agent performance.

Made by juliusbrussee on GitHub. These notes are Minda's, written from its README; the project's own files and license are in its repository.

## About

What it is: Caveman is a set of tools designed to reduce token consumption by AI agents. It compresses logs, manages agent scripts, and optimizes agent output to lower costs while keeping code and information exact.

Who it suits: It is for developers and engineers who use AI coding agents and want to manage their token usage.

Where to use it: You can use it within terminal-based coding agents, CLI tools, and various development frameworks.

- Claude Code
- Gemini CLI
- Codex
- OpenCode
- Vercel AI SDK
- LangChain

How to set it up: You need a machine running Node.js 22.13 or newer on Mac, Linux, or Windows.

1. Install the CLI using the command provided.
2. Run the tool to automatically find agents and logins.
3. Use the status command to see which features are active.

```bash
npx @caveman-ai/cli@latest
```

How to use it: You can interact with the tools by running commands in your terminal or by invoking slash commands directly through your agent's chat interface.

```bash
caveman status
```

| Tool | What it does | |---|---| | /caveman | Sets the agent to respond with short, direct phrases | | /caveman-compress | Shrinks memory files while keeping the content intact | | caveman-blocks | Manages and reuses common scripts written by agents | | caveman login | Connects to a free account to enable model routing |

Example: Instead of a long explanation, the agent provides a direct fix. The answer remains accurate but consumes fewer tokens.

For newcomers and experts: Newcomers can think of this as a filter that asks the AI to be brief, which saves time and money. Experts can use it as a token-efficiency layer that sits between the agent and the model provider. It uses response-voice control, log-file compression, and script-block reuse to optimize token throughput. It trades off conversational style for structured output that preserves functional integrity.

Good to know:

- The tool operates locally on your machine for most tasks.
- It can read your local files, logs, and agent scripts.
- It is released under the Apache-2.0 license.
- Features like Auto model routing require a free account and may send metadata to the cloud.

```chart
Title: Average token savings
Input tokens saved: 33.2 percent
Response tokens reduced: 8.5 percent
```

## On GitHub, 5 November 2026

- Stars: 117,527
- Forks: 6,820
- Watching: 253
- Open issues and pull requests: 157
- Language: Go
- License: Apache-2.0
- Topics: ai, anthropic, caveman, claude, claude-code, llm, meme, prompt-engineering, skill, tokens
- Trending: #1 repository of the day on GitHub trending (5 November 2026)

## Links

- Code: https://github.com/juliusbrussee/caveman
- Website: https://docs.caveman.so/caveman
- Releases: https://github.com/juliusbrussee/caveman/releases
- Issues: https://github.com/juliusbrussee/caveman/issues
- Star history: https://www.star-history.com/#juliusbrussee/caveman&Date

## Intro videos

- No way this actually works: https://www.youtube.com/watch?v=L29q2LRiMRc

## Get the code

```
git clone https://github.com/juliusbrussee/caveman.git
```

Then follow the setup in its README. Nothing in this kit runs by itself.
Files
README.md  3 KB

1 file, 3 KB, downloaded as a zip.

What’s new

  • Version 1 · 2026-11-05

Compare with similar

Listed GitHub projects in the same category that share the most topics with this one.

ProductStarsActivityLanguageLicenseLast change
caveman This page118,394ActiveGoApache-2.0
PonytailShares prompt-engineering · llm · claude186,952ActiveJavaScriptMIT
Hermes AgentShares anthropic · llm · claude261,224——MIT—
ECC by affaan-mShares anthropic · llm · claude299,210ActiveJavaScriptMIT
Claude-Mem by thedotmackShares anthropic · claude · ai116,866ActiveTypeScriptApache-2.0
System Prompts LeaksShares anthropic · claude · ai71,042ActivePythonCC0-1.0
Numbers as Mindket last read them, from 2026-11-07 to 2026-11-14. Activity is read from each project’s last change on GitHub: Active within 30 days, Quiet within 180, Stale after that.

Reviews

No ratings yet

Write a review

No reviews yet.

What people say

Posts and comments that name this project on Hacker News, Bluesky, X, Reddit, Facebook and YouTube, found by a weekly search and on Trendshift. Mindket doesn’t write or check them. Open one to read it where it was posted.

sideras56Local SLM as a compression layer for cloud API callsFound caveman a while back (https://github.com/JuliusBrussee/caveman) and got kind of obsessed with it. Dense outputs, but you can't show them to a real user. So I've been trying to hide that in the middle -- local SLM compresses the input, cloud model reasons in caveman-style, local SLM expands…2 pointsGitHub Trending🚀 Skyrocketing! 🚀 (200+ new stars) 📦 JuliusBrussee / caveman ⭐ 112,086 (+398) 🗒 Go 🪨 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.1 replyd3Xt3rAsk HN: Should I be polite to my agent or should I treat it like shit?Neither, just be neutral and use caveman speak. It saves tokens. Being polite consumes extra tokens, and being rude can risk you getting banned. So use caveman speak, save tokens. The best part is, you'll get curt responses as well, without any cringy flowery language that LLMs are known for. In…GitHub Trending📈 Today's GitHub Trending: 1. https://github.com/Panniantong/Agent-Reach - Python, 683 stars today 2. https://github.com/JuliusBrussee/caveman - Go, 271 stars today 3. https://github.com/obra/superpowers - Shell, 561 stars today 4. https://github.com/DietrichGebert/ponytail - JavaScript, 1429 […]1 replyfreeplayPS5 Linux lead quits: "a bunch of noobs using LLMs" that "they don't understand"caveman mode good https://github.com/JuliusBrussee/cavemanRaúl FerrerSome of the best Claude Skills repositories to supercharge your AI agent: - anthropics/skills - obra/superpowers - multica-ai/andrej-karpathy-skills - mattpocock/skills - nextlevelbuilder/ui-ux-pro-max-skill - JuliusBrussee/caveman - addyosmani/agent-skills - Leonxlnx/taste-skill #AI #claude1 likeeleventenDeepSeek v4.1 FlashSame. I use this to fix claudespeak. Any hypothetical token savings are just gravy. https://github.com/JuliusBrussee/caveman/blob/main/skills/ca...@prosperflowio.bsky.socialCaveman make AI agent talk less, code stay exact, input tokens drop about 33%. 🔗 github.com/JuliusBrussee/caveman Credits: github.com/JuliusBrussee/caveman #caveman #go #claudecodenerdyadventurerPortal by Spotify cut my Claude Code token usage by 90%There is also Caveman[1] skill which rewrite prompts. 1. https://github.com/JuliusBrussee/caveman/デイリーGitHubトレンド今日のGitHubトレンド JuliusBrussee/caveman AIエージェントの入出力トークン数を削減し、コストを抑えるためのツールです。 AIに簡潔な表現(Cavemanスタイル)を使わせることで、回答の精度を維持したままトークン量を大幅に削減し、効率的なAI運用を実現することを目的としています。ARandomerDudeVomit: Clean up Claude 5's token output with a separate LLMAlong similar lines, a coworker told me about Caveman and it has made my Claude experience vastly better. I'm already a programmer, Claude shouldn't need to tell me like I'm 5. https://github.com/JuliusBrussee/cavemanGitHub Trending🔥 Hot Repo! 🔥 (100+ new stars) 📦 JuliusBrussee / caveman ⭐ 108,854 (+193) 🗒 Go 🪨 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.

Searched

More from Mindket

See all from Mindket

anaksor-ocr

Sokheng · Kit

Reads Khmer and English text from documents, receipts and photos of signs, using a detector for text lines and a recogniser for each line. Suits developers who…

New

Qwen2.5-7B-Instruct as GGUF files in eight quantization sizes, to chat with locally through llama.cpp. For people who want a capable 7.6B model on their own co…

New

ACE-Step 1.5 XL SFT

ACE-Step · Kit

Generates music from text with a 4B diffusion decoder, 50 steps and guidance control, aiming for higher audio quality than the base. For creators with a GPU of…

New

Similar projects

See all in Developer

Hermes Agent

NousResearch · Kit

Nous Research’s open source agent that you run in a terminal, in a desktop app or from a chat app. It keeps memory, writes skills from experience, runs schedul…

New261k

ECC by affaan-m

affaan-m · Skill

Affaan Mustafa’s plugin of agents, skills, commands and hooks that gives Claude Code, Codex and other coding agents a routine of planning, test-first work, fre…

New299k

Ponytail

dietrichgebert · Skill

Guides AI coding agents to write minimal code by prioritizing existing repository components and standard libraries. It adds auditing, code review, and trackin…

New187k