Cairn Memory — AI skill for Claude Code
Lightweight cross-session memory for AI agents, with receipts.
How to install Cairn Memory
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open Cairn-ink/cairn-memory and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Cairn Memory does
Lightweight cross-session memory for AI agents, with receipts.
Alternatives in AI
- Nocturne Memory — A lightweight, rollbackable, and visual Long-Term Memory Server for MCP Agents 1.3k ★
- Memory Forge Rs — Stop resetting satisfying AI chats — edit the memory instead 474 ★
- Project Butler — Project memory system for AI coding assistants (Claude Code, Cursor, Codex): session logs, project wiki, rules 372 ★
README
Cairn Memory
Lightweight cross-session memory for AI agents, with receipts.
Cairn Memory gives AI coding agents private, inspectable memory across sessions. Claude Code gets automatic recall before a prompt and automatic capture after a turn. Codex and other MCP clients can use the same hosted memory explicitly through `remember_memory`, `recall_memory`, and `forget_memory`. Every stored memory carries its origin, confidence, scope, timestamps, and a redacted Source Receipt showing why it exists.
It is deliberately small: one Claude Code plugin, one remote MCP connection, no plugin runtime dependencies, and no generic notes UI.
Install for Claude Code (automatic memory)
In Claude Code, run:
/plugin marketplace add Cairn-ink/cairn-memory
/plugin install cairn-memory@cairn-memory
Create a personal access token at `https://cairn.ink/settings/tokens`, then provide it when Claude Code asks for plugin configuration. Start a new session after installation.
For local development:
git clone https://github.com/Cairn-ink/cairn-memory.git
cd cairn-memory
claude --plugin-dir ./plugins/cairn-memory
Connect from Codex (explicit MCP memory)
Codex v0.1 support uses the hosted MCP tools. Keep the token in your shell or secret manager, not in a repository or committed config file:
export CAIRN_MCP_TOKEN='your-token-from-cairn.ink'
codex mcp add cairn \
--url https://cairn.ink/api/mcp \
--bearer-token-env-var CAIRN_MCP_TOKEN
Restart Cod
Related Skills
Claude Engram
Persistent memory and session intelligence for AI coding assistants. Auto-tracks mistakes, decisions, and cont
Opensite Skills
AI agent skills library built by OpenSite AI. A single git repo that keeps Claude, Codex, Cursor, Copilot, and
Sessionmem
Local-first MCP memory layer for AI coding assistants; persistent cross-session memory, stored entirely on you
Sill Ensoul
Long-term memory for CLI agents — cross-CLI, cross-project, cross-session. OKF Wiki + MCP server, model-agnost
Engram Plugins
Weaviate Engram plugins: long-term, cross-session memory for AI coding assistants.
Agent Memory Hub
Shared persistent memory for AI coding agents (Claude Code), backed by your own Supabase. Cross-session, cross
Related Agents
Memory Extractor Lite
Lightweight background memory processor for LaqrumCode. Same as memory-extractor but uses Haiku for lower reso
Backlog
Use when work needs to be filed, found, claimed or closed in dirk's backlog — writing a cairn item, checking w
Cairn Adversary
Argues the other side of a draft prediction, choice or commitment at full-tier capture time, in a fresh contex