AGENTS.md@shrinkA

AGENTS.md@shrink from juliusbrussee/caveman is an AGENTS.md file: the standing instructions coding agents read in that repo.

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

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

Audit grade
A, 14 of 14 checks passed
Kind
AGENTS.md file
Repository
juliusbrussee/caveman
Path
shrink/AGENTS.md
Versions recorded
3
Latest version
git:20260924.921eab8, committed Sep 24, 2026
First version recorded
Aug 11, 2026
Size
3,429 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 long descriptions to their lead plus every
constraint-bearing sentence. It keeps every **selection token** (tool/parameter names, types,
enums, required) and 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` select recovery storage; default is `CAVEMAN_CCR_DB` / `~/.caveman/ccr.db`.
- `cmd/caveman-shrink/` — the CLI: `caveman-shrink` / `shrink` (stdin→stdout), `lint <file>`, and `recover <handle>`.
- `bin/caveman-shrink.mjs` + `package.json` — the `npx caveman-shrink` launcher around the prebuilt binary.
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add juliusbrussee/caveman/shrink/AGENTS.md@sha256:9591be056cad62d5

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_jk6pczxptmco2qn7.svg)](https://markdownregistry.com/a/art_jk6pczxptmco2qn7)

2 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 3,429 BA view · diff
git:20260812.d4ef06b2026-08-12 d4ef06b 3,432 BA view · diff
git:20260811.82864c82026-08-11 82864c8 3,516 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 (3429 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_jk6pczxptmco2qn7
GET https://markdownregistry.com/api/v1/resolve?ref=juliusbrussee/caveman/shrink/AGENTS.md
GET https://markdownregistry.com/api/v1/blob/9591be056cad62d5bd0d6956e139c5bfa544c239003f04a494121786dacf8994

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: how to write a good AGENTS.md · AGENTS.md vs CLAUDE.md · 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.