CLAUDE.mdA

CLAUDE.md from jingxuanc/causal-memory is a CLAUDE.md file: the standing instructions Claude Code reads in that repo.

Install it, pinned
mdr add jingxuanc/causal-memory/CLAUDE.md@git:20261103.4bc11b7

Pins git:20261103.4bc11b7 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 14 of 14 checks passed
Kind
CLAUDE.md file
Repository
jingxuanc/causal-memory
Path
CLAUDE.md
Versions recorded
5
Latest version
git:20261103.4bc11b7, committed Nov 3, 2026
First version recorded
Jul 26, 2026
Size
4,653 bytes
Repository stars
104
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

# Causal Memory MCP Integration

> Paste this into your `CLAUDE.md` / `AGENTS.md` / system prompt to activate causal memory.
>
> Per insights/13 §1.3: agents don't proactively call memory tools without instruction.
> This prompt forces proactive use.

## Causal Memory Integration

You have access to a **causal memory layer** via MCP tools. This records your
past decisions and their outcomes, so you can learn from experience across
sessions.

### Before any non-trivial decision (architecture choice, debugging approach,
library selection, deployment strategy):

1. Call `search_memory` with your query — it searches facts AND causal
   lessons at once (RRF-fused). If you know you need causal lessons
   specifically, call `search_causal` with the relevant `task_tag`
2. For risky or irreversible actions, also call `intervention_query` to see
   what outcomes similar past actions caused (safe / warning / danger)
3. **When choosing between two concrete options**, call `counterfactual_query`
   with both option texts — it compares recorded outcomes and shows same-context
   branches (natural experiments) when they exist. It logs a falsifiable
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add jingxuanc/causal-memory/CLAUDE.md@sha256:5b9c94165d05522a

The line at the top of this page pins the label git:20261103.4bc11b7, 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_fnhc2k6p77wb5vg7.svg)](https://markdownregistry.com/a/art_fnhc2k6p77wb5vg7)

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

Versions

The registry has recorded 5 versions of this file, between Jul 26, 2026 and Nov 3, 2026, about one every 25 days.

versioncommittedcommitsizeaudit
git:20261103.4bc11b7 latest2026-11-03 4bc11b7 4,653 BA view · diff
git:20260901.ac6543b2026-09-01 ac6543b 3,048 BA view · diff
git:20260730.1da17722026-07-30 1da1772 2,205 BA view · diff
git:20260727.b76571f2026-07-27 b76571f 1,697 BA view · diff
git:20260726.86a185f2026-07-26 86a185f 1,303 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 (4653 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

jingxuanc/causal-memory · 104 stars · license Apache-2.0 · pushed 2026-11-04 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_fnhc2k6p77wb5vg7
GET https://markdownregistry.com/api/v1/resolve?ref=jingxuanc/causal-memory/CLAUDE.md
GET https://markdownregistry.com/api/v1/blob/5b9c94165d05522a938a952452429c5cd6e79f44dc7e644e6cc0a709cd09fb49

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 jingxuanc/causal-memory

causal-memory SKILL.md skill
jingxuanc/causal-memory · plugins/claude-code/skills/causal-memory/SKILL.md · Causal memory for agents — install/setup the causal-memory MCP server, then record decisions/outcomes and recall them…
v1.1 · audit A · 104 stars
causal-memory SKILL.md skill
jingxuanc/causal-memory · skills/causal-memory/SKILL.md · Causal memory for agents — install/setup the causal-memory MCP server, then record decisions/outcomes and recall them…
v1.3 · audit A · 104 stars

Every file in jingxuanc/causal-memory

Other files named CLAUDE.md

CLAUDE.md CLAUDE.md file
affaan-m/ecc · CLAUDE.md
git:20261020.9471ef4 · audit A · 299,696 stars
CLAUDE.md CLAUDE.md file
firecrawl/firecrawl · CLAUDE.md
git:20261008.5a75dca · audit A · 199,595 stars
CLAUDE.md CLAUDE.md file
garrytan/gstack · CLAUDE.md
git:20261107.ef99eb5 · audit A · 140,694 stars
CLAUDE.md CLAUDE.md file
juliusbrussee/caveman · CLAUDE.md
git:20261106.af560e1 · audit B · 118,366 stars
CLAUDE.md CLAUDE.md file
addyosmani/agent-skills · CLAUDE.md
git:20260720.8fd2081 · audit A · 113,383 stars
CLAUDE.md CLAUDE.md file
nexu-io/open-design · CLAUDE.md
git:20260430.9b57c22 · audit B · 106,541 stars
CLAUDE.md CLAUDE.md file
pbakaus/impeccable · CLAUDE.md
git:20261105.71dfd50 · audit A · 106,186 stars
CLAUDE.md CLAUDE.md file
debpalash/voicestudio · CLAUDE.md
git:20261104.c2998f6 · audit A · 102,675 stars

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