CLAUDE.md@memA

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

Install it, pinned
mdr add juliusbrussee/caveman/mem/CLAUDE.md@git:20261009.30b22b7

Pins git:20261009.30b22b7 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 14 of 14 checks passed
Kind
CLAUDE.md file
Repository
juliusbrussee/caveman
Path
mem/CLAUDE.md
Versions recorded
4
Latest version
git:20261009.30b22b7, committed Oct 9, 2026
First version recorded
Aug 11, 2026
Size
3,860 bytes
Repository stars
113,780
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

# mem — cavemem, durable agent memory (Go core + clients, Apache-2.0)

Durable, cross-session memory: `remember` / `recall` / `supersede` / `history` / `forget`. A local SQLite store holds the
**raw** memories (the source of truth); recall ranks them with deterministic **BM25** behind a
conservative threshold and compresses each hit through the [engine](../engine/CLAUDE.md) so the
inferred token cost is honest and the dropped detail stays recoverable via CCR. Everything is
`inferred`.

## Layout
- `store.go` — `Remember`/`Recall`/`Supersede`/`History`/`Forget`/`Recover` over SQLite + engine; legacy schemas migrate in place.
- `bm25.go` — deterministic tokenizer + BM25 scorer (non-negative scores, so the threshold is meaningful).
- `cmd/cavemem/` — MCP server + `remember`/`recall`/`supersede`/`history`/`forget` CLI subcommands (JSON).
- `js/` + `py/` — thin TS and Python clients that shell out to the binary (mirrored libraries; they reimplement nothing).

## The cavemem_* MCP tools
`cavemem_remember(text)` · `cavemem_recall(query, limit?, token_budget?)` ·
`cavemem_supersede(id, text)` · `cavemem_history(id)` · `cavemem_forget(id)`,
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add juliusbrussee/caveman/mem/CLAUDE.md@sha256:4e50d61f1082a665

The line at the top of this page pins the label git:20261009.30b22b7, 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_lfzi463kid3bpohr.svg)](https://markdownregistry.com/a/art_lfzi463kid3bpohr)

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

Versions

The registry has recorded 4 versions of this file, between Aug 11, 2026 and Oct 9, 2026, about one every 20 days.

versioncommittedcommitsizeaudit
git:20261009.30b22b7 latest2026-10-09 30b22b7 3,860 BA view · diff
git:20260924.921eab82026-09-24 921eab8 3,900 BA view · diff
git:20260812.d4ef06b2026-08-12 d4ef06b 3,903 BA view · diff
git:20260811.82864c82026-08-11 82864c8 3,973 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 (3860 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 · 113,780 stars · license Apache-2.0 · pushed 2026-10-19 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_lfzi463kid3bpohr
GET https://markdownregistry.com/api/v1/resolve?ref=juliusbrussee/caveman/mem/CLAUDE.md
GET https://markdownregistry.com/api/v1/blob/4e50d61f1082a665dc96198c3b52cf9a9cd79064279f19abaa98b529c53015cf

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:20260902.d9faebc · audit A · 113,780 stars
CLAUDE.md CLAUDE.md file
juliusbrussee/caveman · CLAUDE.md
git:20261010.505ac30 · audit B · 113,780 stars
CLAUDE.md@browse CLAUDE.md file
juliusbrussee/caveman · browse/CLAUDE.md
git:20260816.f71f6df · audit A · 113,780 stars
AGENTS.md@engine AGENTS.md file
juliusbrussee/caveman · engine/AGENTS.md
git:20260812.d4ef06b · audit A · 113,780 stars
CLAUDE.md@engine CLAUDE.md file
juliusbrussee/caveman · engine/CLAUDE.md
git:20261006.2f6ebbf · audit A · 113,780 stars
AGENTS.md@extension AGENTS.md file
juliusbrussee/caveman · extension/AGENTS.md
git:20261003.2ec7194 · audit A · 113,780 stars
CLAUDE.md@extension CLAUDE.md file
juliusbrussee/caveman · extension/CLAUDE.md
git:20261003.2ec7194 · audit A · 113,780 stars
CLAUDE.md@integrations CLAUDE.md file
juliusbrussee/caveman · integrations/CLAUDE.md
git:20260812.d4ef06b · audit A · 113,780 stars
AGENTS.md@mcp AGENTS.md file
juliusbrussee/caveman · mcp/AGENTS.md
git:20260924.921eab8 · audit A · 113,780 stars
CLAUDE.md@mcp CLAUDE.md file
juliusbrussee/caveman · mcp/CLAUDE.md
git:20260924.921eab8 · audit A · 113,780 stars
AGENTS.md@mem AGENTS.md file
juliusbrussee/caveman · mem/AGENTS.md
git:20260924.921eab8 · audit A · 113,780 stars
AGENTS.md@packages/cli AGENTS.md file
juliusbrussee/caveman · packages/cli/AGENTS.md
git:20260908.441c4cb · audit A · 113,780 stars

Every file in juliusbrussee/caveman

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