/agentmemory:handoff [optional cwd override]from agentmemory
Resumes the most recent agent session for the current working directory, surfacing any unanswered question and providing a next-step pointer. Useful when starting a new conversation with no fresh context.
Ships in agentmemory. 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.
Read when SKILL.md points to them.
The user wants to resume work. Optional cwd override: $ARGUMENTS
memory_sessions { "project": "<current-project-id>", "limit": 20 }
Pick the most recent session whose cwd matches this project, then:
memory_recall { "query": "<session top concepts>", "project": "<current-project-id>", "limit": 10 }.
When an agent is requested, pass the same agentId to both calls.
Expected output:
Resuming 7f3a9c2 "Auth refresh rework".
Open question: should logout revoke all device tokens or just the current one?
Next step: decide revoke scope, then update auth/logout.ts.
Match the session by directory boundary, not raw prefix, so a sibling repo never gets mistaken for this one. Never invent observations for an empty session.
$ARGUMENTS is given, normalize it to absolute
(path.resolve(process.cwd(), $ARGUMENTS)); else use the cwd.memory_sessions with the exact project identifier when known, and
agentId when requested. Otherwise follow nextCursor until the matching
directory is found or pagination ends. Preserve filters between pages.
Pick the most recent session whose normalized cwd
matches by directory boundary: equality, OR cwd.startsWith(projectPath + sep),
OR projectPath.startsWith(cwd + sep). Prefer completed over abandoned.
No match: report that this project has no matching session and stop. Do not
substitute a different project's session.summary or recent conversation observations whose narrative
ends in ?.memory_recall on the top concepts, limit 10, preserving the chosen project
and agent scope. Check each result's session or
project provenance before including it; a query alone does not enforce scope.WRONG: session.cwd.startsWith(projectPath) matches /repo-a-staging when the
project is /repo-a, resuming the wrong repo's session.
RIGHT: session.cwd === projectPath || session.cwd.startsWith(projectPath + sep),
a directory-boundary check that cannot cross sibling repos.
recap, session-history, recall: same session data, broader views.See TROUBLESHOOTING.md if memory_sessions or memory_recall is not available.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub rohitg00/agentmemory --plugin agentmemory17 skills in this plugin
/agentmemory-agentsHow agentmemory wires into host coding agents via the connect command. Use when installing agentmemory into a specific agent, when asked which agents are supported, or when a connect adapter writes the wrong config path./agentmemory-architectureHow agentmemory is built, the iii engine primitives it runs on, its storage model, ports, and the viewer. Use when reasoning about how memory is stored or retrieved end to end, when extending the system, or when answering how agentmemory works under the hood./agentmemory-configSet up and diagnose local agentmemory, including MCP, environment variables, ports, and feature flags. Use when getting started, checking a connection, enabling a feature, configuring auth, or explaining why a feature is off by default.Other plugins' skills for the same job