causal-memory SKILL.md skillA

causal-memory from jingxuanc/causal-memory is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add jingxuanc/causal-memory/causal-memory@v1.1

Pins v1.1 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
jingxuanc/causal-memory
Path
plugins/claude-code/skills/causal-memory/SKILL.md
Versions recorded
3
Latest version
v1.1, committed Sep 8, 2026
First version recorded
Sep 2, 2026
Size
7,174 bytes
Repository stars
104
License
Apache-2.0

Causal memory for agents — install/setup the causal-memory MCP server, then record decisions/outcomes and recall them before acting. Trigger when the user asks to install or set up causal-memory/agent memory, when causal-memory MCP tools are available and the agent faces a non-trivial decision (architecture, debugging approach, library/deployment choice), when something fails unexpectedly, or when the user asks to "remember" something.

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

Causal memory records your past decisions and their outcomes as causal edges,
so you learn from experience across sessions and survive context compaction.

This skill has two parts:
- **§1 Setup** — when the `record_decision` / `search_causal` MCP tools are
  NOT available yet: install and configure them yourself.
- **§2 Usage** — once the tools exist: the proactive recall/record loop.

## 1. Setup (do this yourself, then tell the user to restart the client)

1. **Install the package** (ships the full CLI as `causal-memory` on PATH):

   ```bash
   pip install causal-memory        # or: pipx install causal-memory
   causal-memory --help | head -5   # verify the console script works
   ```

2. **Register it as an MCP server** in the user's client. Bare
   `causal-memory` runs the stdio MCP server; the only env worth setting is
   `CAUSAL_MEMORY_DB` (SQLite location, default `~/.causal-memory/causal.db`).

   - **Claude Code** (CLI does the config for you):
     ```bash
     claude mcp add causal-memory -- causal-memory
     ```
   - **Cursor** — edit `~/.cursor/mcp.json` (merge into `mcpServers`):
     ```json
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add jingxuanc/causal-memory/causal-memory@sha256:5dc051ceeb8ad4fc

The line at the top of this page pins the label v1.1, 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_ylq2632u2mse7eq6.svg)](https://markdownregistry.com/a/art_ylq2632u2mse7eq6)

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

Versions

The registry has recorded 3 versions of this file, between Sep 2, 2026 and Sep 8, 2026, about one every 3 days.

versioncommittedcommitsizeaudit
v1.1 latest2026-09-08 1117b34 7,174 BA view · diff
v1.12026-09-02 33a25b1 7,182 BA view · diff
v1.12026-09-02 130ac2d 6,943 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (7174 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_ylq2632u2mse7eq6
GET https://markdownregistry.com/api/v1/resolve?ref=jingxuanc/causal-memory/causal-memory
GET https://markdownregistry.com/api/v1/blob/5dc051ceeb8ad4fc8eca4202dcfaf12672305660d84209386984a5288f6dd434

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: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from jingxuanc/causal-memory

CLAUDE.md CLAUDE.md file
jingxuanc/causal-memory · CLAUDE.md
git:20261103.4bc11b7 · 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 causal-memory

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

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