/ai-memory:loadfrom ai-memory
Deep recovery from a previous session — read session content and resume work.
Ships in ai-memory. 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.
Parse ARGUMENTS to determine which session to load:
No args → present the recent sessions from SessionStart context for the user to choose.
Show 3-4 sessions as options (label = title, description = summary + date).
If AskUserQuestion tool is available, use it with structured options.
Otherwise, present a numbered list and ask the user to pick.
Include an "Other / search" option so the user can type a query if none match.
If "Other" is picked, ask for a search query and proceed to step 3.
"last" / "latest" → load the most recent session directly.
Call memory_search with tags: ["session", "project/<project>"], limit: 1,
exclude_session_id: <current session_id>. Load the result directly.
Free text → first scan the sessions already in SessionStart context.
If a session's title or summary clearly matches the user's request, use its [[ref]] directly —
no need to call memory_search.
If no context match, fall back to memory_search:
tags: ["session", "project/<project>"], exclude_session_id: <current session_id>since/until (resolve relative to today)query (translate to English)If memory_search was used with query or topic-based tags (fuzzy/ambiguous),
always let the user pick from up to 4 candidates (label = title, description = summary).
Use AskUserQuestion with structured options if available, otherwise a numbered list.
The user can pick "Other" to refine.
If the match was exact (from context or limit: 1 with no query), load directly.
Once a session is identified, call memory_load_session with its ref (the [[ref]] wikilink stem).
This returns compact notes + transcript tail — optimized for recovery.
Do NOT announce what you loaded. Do not say "here's what I recovered" or "what should we do next?".
Instead:
What SKILL.md sets; muted values are Claude Code's defaults
3 skills in this plugin
/ruleSave a rule, preference, or convention to long-term memory. Use when the user says "remember this", "always do X", "never do Y", or asks to save a convention/preference./saveSave a session summary to memory. The "write" side of session continuity — /load is the "read" side.Other plugins' skills for the same job
npx claudepluginhub dankinsoid/ai-memory --plugin ai-memory