caveman: Instructions file for Claude Code

CLAUDE.md

caveman CLAUDE.md is an instructions file for Claude Code, Codex from JuliusBrussee/caveman. It costs 11,984 tokens per session, scanned B, original, Apache-2.0.

A CLAUDE.md instruction file explaining how Claude Code should work in the caveman repository.

In plain words
What is it for?
Use it to orient Claude Code before making changes to the caveman project.
Why use it?
It gives the agent project context, repository rules, and guidance about treating the README as part of the product.

Instructions file for Claude CodeCodex

Written for Claude Code and Codex: SessionStart hook event, but also reads $CODEX_HOME. Also seen: reads .claude/ paths; mentions .claude-plugin; mentions CLAUDE.md.

This is JuliusBrussee/caveman's own configuration. It tells Claude Code and Codex how to work on caveman itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything caveman configures →

Not installable: its command points at a path on the author’s own machine, so it runs nowhere else. The line is /Users/julb/Desktop/GitHub/caveman-agent-sdk.

About the project

caveman is a skill and proxy for coding agents that shortens unnecessary explanatory prose so agents use fewer tokens while leaving code, commands, paths, and error messages unchanged. It is for people using coding agents who want terse responses and lower token use, including with Claude-based workflows. The catalogue entries contain its skills, commands, agents, instructions, and plugins.

JuliusBrussee/caveman · 112,527 stars · on GitHub · docs.caveman.so

Reuse

Borrowing it

Nothing to install: this file belongs to JuliusBrussee/caveman. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/JuliusBrussee/caveman/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/JuliusBrussee/caveman

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for caveman CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/juliusbrussee/caveman/claude-md/github.svg)](https://agentmods.dev/instructions/juliusbrussee/caveman/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/juliusbrussee/caveman/claude-md"><img src="https://agentmods.dev/badge/instructions/juliusbrussee/caveman/claude-md/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for caveman CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/juliusbrussee/caveman/claude-md"><img src="https://agentmods.dev/badge/instructions/juliusbrussee/caveman/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 11,984 This file is loaded in full into every session.
When invoked 11,984 The same file — it is already loaded in full.
Security scan B 3 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.11984 $0.11984
Opus 5.5 $0.04794 $0.04794
Sonnet 5.5 $0.02397 $0.02397
Haiku 4.5 $0.01198 $0.01198

Measured 2d ago against content hash a90879c1c898, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

caveman CLAUDE.md scanned grade B with 3 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

| Antigravity CLI (`agy`) | `--only antigravity-cli` stages a temp plugin (`plugin.json`, the nine skills, `rules/AGENTS.md` = `src/rules/caveman-activate.md`) and runs `agy plugin install <dir>`; agy copies it to `~/.ge

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

The `install.sh` / `install.ps1` shims at the repo root delegate to `installer/install.js` via `node` (local clone) or `npx -y github:JuliusBrussee/caveman` (curl|bash). No legacy fallback path remains — earlier `install

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

**The stdin contour is load-bearing.** Activation runs on the first COMPLETE JSON object, not at EOF, with a 2000ms `PAYLOAD_WATCHDOG_MS` backstop and `process.stdin.unref()` in `finish()`. `pause()` alone is not enough
CLAUDE.md · 436 lines

How it starts

The opening of the file, as written. The whole thing — 436 lines — stays where its author put it; the contents beside it link to each section on GitHub.

CLAUDE.md — caveman

README is a product artifact

README = product front door. Non-technical people read it to decide if caveman worth install. Treat like UI copy.

Rules for any README change:

  • Readable by non-AI-agent users. If you write "SessionStart hook injects system context," invisible to most — translate it.
  • Keep Before/After examples first. That the pitch.
  • Install table always complete + accurate. One broken install command costs real user.
  • What You Get table must sync with actual code. Feature ships or removed → update table.
  • Preserve voice. Caveman speak in README on purpose. "Brain still big." "Cost go down forever." "One rock. That it." — intentional brand. Don't normalize.
  • Benchmark numbers from real runs in benchmarks/ and evals/. Never invent or round. Re-run if doubt.
  • Adding new agent to install table → add detail block in <details> section below.
  • Readability check before any README commit: would non-programmer understand + install within 60 seconds?

Project overview

Caveman makes AI coding agents respond in compressed caveman-style prose while preserving technical substance, code, commands, and exact errors. Publish no reduction or quality-equivalence percentage without a committed reviewed benchmark. Ships as Claude Code plugin, Codex plugin, Gemini CLI extension, and agent rule files for Cursor, Windsurf, Cline, Copilot, and other profiles via npx skills.

Repository routing

This repo is source of truth for Caveman skills, Engine, and MV3 directive extension. Agent SDK + initializer work belongs in /Users/julb/Desktop/GitHub/caveman-agent-sdk (JuliusBrussee/agent-sdk). Proprietary Pebble runtime, policy, sessions, TUI, distribution, and conformance work belongs in /Users/julb/Desktop/GitHub/caveman-coding-agent (intended JuliusBrussee/caveman-coding-agent). Browse driver/MCP/benchmark/plugin work belongs in /Users/julb/Desktop/GitHub/caveman-browse (JuliusBrussee/caveman-browse). The matching browse/ directory here is a consumer copy (it still builds the caveman-browse release binary); edit only for pinned integration, migration/removal, or an explicitly requested cross-repo sync.

Read the full file on GitHub · 436 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago Changed · +101 tokens per session a90879c1c898
  2. 7d ago Changed · +17 lines · +1,783 tokens per session scan A → B f1fe7a7d329d
  3. 13d ago Changed · +1 lines · +559 tokens per session c686864b036c
  4. 15d ago Changed · -3 lines · -58 tokens per session 0eb4deb4cd86
  5. 1mo ago Changed · +1 lines · +59 tokens per session b9791981d963
  6. 1mo ago Changed · +1 lines · +195 tokens per session 819a9263ba75
  7. 1mo ago Changed · +3 lines · +54 tokens per session 1f3e63d63f97
  8. 1mo ago First seen · 416 lines · 9,291 tokens per session scan A ce0a6ca0e980

Subscribe to this mod's changes

caveman CLAUDE.md is an instructions file published in the GitHub repository JuliusBrussee/caveman (112,527 stars, last pushed yesterday), licensed Apache-2.0. It adds 11,984 tokens to every session, about $0.0479 per session on Opus 5.5. A static security scan graded it B with 3 findings (reads agent configuration directories, makes network calls, runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other instructions, from other repositories

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 9,649 tokens

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,257 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, cache eligibility and rollout and applying the notice (cutover).

microsoft/vscode · 5,262 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,680 tokens

deepseek-harness AGENTS.md

AGENTS.md instructions for deepseek-ai/deepseek-harness, covering agents.md, pre-stable apis and released session data, repository layout, commands and host sandbox failures.

deepseek-ai/deepseek-harness · 4,159 tokens

vscode copilot-instructions.md

Copilot instructions for microsoft/vscode, covering vs code copilot instructions, project overview, root folders, core architecture (src/ folder) and built-in extensions (extensions/ folder).

microsoft/vscode · 2,731 tokens