/agentcairn:using-agentcairn-memoryfrom agentcairn
Guides using AgentCairn memory tools: recall prior knowledge before non-trivial tasks and remember durable facts after decisions or fixes.
Ships in agentcairn. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
You have a persistent memory backed by agentcairn (a Markdown vault the user owns). Use it.
This skill assumes AgentCairn's MCP tools are already loaded. Before following
the memory workflow, confirm that recall and remember are available.
If the tools are missing:
$agentcairn-setup if available, or direct the user to the native
AgentCairn installation instructions.Before designing, debugging, or re-deriving something non-trivial, search memory first:
recall tool (hybrid search) with a focused query — "how did we fix the auth token refresh?", "what did we decide about the migration order?".build_context to read the full note.[from: <project>]); pass a project to target another repo, or --scope project to limit a query to just this one.After a decision, a non-obvious fix, a gotcha, or a stated user preference, persist it with the
remember tool — a short, self-contained fact. Good memories: "We rotate jwt-secret on deploy via
X.", "User prefers rebase-merges.", "DuckDB TIMESTAMP stores naive-UTC — bind accordingly."
Skip the trivial — the SessionEnd hook already captures the session in bulk; remember is for the
high-value things worth pinning deliberately.
The vault is plain Markdown the user can read and edit; treat it as shared, durable knowledge.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
agentcairn, persistent-memory, recall, remember, cross-session
npx claudepluginhub ccf/agentcairn --plugin agentcairnOther plugins' skills for the same job