CLAUDE.md@shrinkA

CLAUDE.md@shrink from juliusbrussee/caveman is a CLAUDE.md file: the standing instructions Claude Code reads in that repo.

Install it, pinned
mdr add juliusbrussee/caveman/shrink/CLAUDE.md@git:20260924.921eab8

Pins git:20260924.921eab8 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 14 of 14 checks passed
Kind
CLAUDE.md file
Repository
juliusbrussee/caveman
Path
shrink/CLAUDE.md
Versions recorded
3
Latest version
git:20260924.921eab8, committed Sep 24, 2026
First version recorded
Aug 11, 2026
Size
4,552 bytes
Repository stars
118,366
License
Apache-2.0

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# shrink — caveman-shrink, the tool-catalog compressor (Go core + launcher, Apache-2.0)

Compress MCP/OpenAI **tool definitions** before they fill the context window. A thin Go wrapper
over the [engine](../engine/CLAUDE.md)'s `toolschema` compressor: it drops annotation metadata
(examples, titles, `$comment`, `$schema`) and reduces free-text descriptions to their lead
sentence **plus every constraint-bearing sentence**, while keeping every **selection token** —
tool and parameter names, types, enums, required — and every **argument-construction value** —
`default`, `const`, `$ref` targets — byte-for-byte. Everything is `inferred`.

## Layout
- `shrink.go` — the library: `Shrink` (catalog → compressed, fail-open S4 transform, durable-CCR-backed), `Recover` (handle → original bytes), `Lint` (per-tool inferred token reductions), `SelectionProfile` (the structural surface — what must survive). `WithStore`/`WithStorePath` pick the recovery store; default is the shared `CAVEMAN_CCR_DB` / `~/.caveman/ccr.db`.
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add juliusbrussee/caveman/shrink/CLAUDE.md@sha256:a9fa5f3e3759eb4f

The line at the top of this page pins the label git:20260924.921eab8, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_afbomqqlx4zo6xhb.svg)](https://markdownregistry.com/a/art_afbomqqlx4zo6xhb)

5 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 3 versions of this file, between Aug 11, 2026 and Sep 24, 2026, about one every 22 days.

versioncommittedcommitsizeaudit
git:20260924.921eab8 latest2026-09-24 921eab8 4,552 BA view · diff
git:20260812.d4ef06b2026-08-12 d4ef06b 4,555 BA view · diff
git:20260811.82864c82026-08-11 82864c8 4,639 BA view

Audit of the latest version

A  14 of 14 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Size between 200 bytes and 200 KB (4552 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

juliusbrussee/caveman · 118,366 stars · license Apache-2.0 · pushed 2026-11-08 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_afbomqqlx4zo6xhb
GET https://markdownregistry.com/api/v1/resolve?ref=juliusbrussee/caveman/shrink/CLAUDE.md
GET https://markdownregistry.com/api/v1/blob/a9fa5f3e3759eb4fbffd5c5d79241b8a16927a5ef16cb01bf3c984239440965b

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: what a CLAUDE.md file is · keeping AGENTS.md and CLAUDE.md in sync · which agent file does what.

More from juliusbrussee/caveman

AGENTS.md AGENTS.md file
juliusbrussee/caveman · AGENTS.md
git:20261106.e45976c · audit A · 118,366 stars
CLAUDE.md CLAUDE.md file
juliusbrussee/caveman · CLAUDE.md
git:20261106.af560e1 · audit B · 118,366 stars
CLAUDE.md@browse CLAUDE.md file
juliusbrussee/caveman · browse/CLAUDE.md
git:20260816.f71f6df · audit A · 118,366 stars
AGENTS.md@engine AGENTS.md file
juliusbrussee/caveman · engine/AGENTS.md
git:20260812.d4ef06b · audit A · 118,366 stars
CLAUDE.md@engine CLAUDE.md file
juliusbrussee/caveman · engine/CLAUDE.md
git:20261106.3dfdbd1 · audit A · 118,366 stars
AGENTS.md@extension AGENTS.md file
juliusbrussee/caveman · extension/AGENTS.md
git:20261003.2ec7194 · audit A · 118,366 stars
CLAUDE.md@extension CLAUDE.md file
juliusbrussee/caveman · extension/CLAUDE.md
git:20261003.2ec7194 · audit A · 118,366 stars
CLAUDE.md@integrations CLAUDE.md file
juliusbrussee/caveman · integrations/CLAUDE.md
git:20260812.d4ef06b · audit A · 118,366 stars
AGENTS.md@mcp AGENTS.md file
juliusbrussee/caveman · mcp/AGENTS.md
git:20260924.921eab8 · audit A · 118,366 stars
CLAUDE.md@mcp CLAUDE.md file
juliusbrussee/caveman · mcp/CLAUDE.md
git:20260924.921eab8 · audit A · 118,366 stars
AGENTS.md@mem AGENTS.md file
juliusbrussee/caveman · mem/AGENTS.md
git:20260924.921eab8 · audit A · 118,366 stars
CLAUDE.md@mem CLAUDE.md file
juliusbrussee/caveman · mem/CLAUDE.md
git:20261025.777bb73 · audit A · 118,366 stars

Every file in juliusbrussee/caveman

Browse by kind, by grade A, or by owner.