ai-memory-durable-page…
Use this skill for any explicit wiki mutation in ai-memory: saving durable or time-bounded…
Use this skill for any request whose goal is session continuity across agents or time: finding a pending handoff, resuming previous work, saving next-session context, wrapping up, or discarding a mistaken handoff. Trigger by semantic intent rather than exact wording.
$ npx -y skills add akitaonrails/ai-memory --skill ai-memory-handoff --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/ai-memory-handoffContext preview
The summary Claude sees to decide when to auto-load this skill.
Use this skill for any request whose goal is session continuity across agents or time: finding a pending handoff, resuming previous work, saving next-session context, wrapping up, or discarding a mistaken handoff. Trigger by semantic intent rather than exact wording.
name: ai-memory-handoff description: "Use this skill for any request whose goal is session continuity across agents or time: finding a pending handoff, resuming previous work, saving next-session context, wrapping up, or discarding a mistaken handoff. Trigger by semantic intent rather than exact wording."
<!-- ai-memory-managed: routing-skill -->
Use this skill for single-use cross-session handoffs. Handoffs are for the next agent, not durable project documentation.
The SessionStart hook usually fetches and consumes any pending handoff before the agent sees its first prompt. If the current context already contains a pending handoff block, answer from that block directly. Do not call the accept tool again to find it in another project, because handoffs are single-use: after SessionStart consumed it the tool returns no handoff, with `status` `consumed_by_hook` when the client forwards its session id and `none_pending` otherwise.
If no pending handoff block is visible, inspect with `memory_handoff_list` first. Listing does not claim or expire anything. When the user asks where we left off, claim one listed row with `memory_handoff_accept` and that `handoff_id`, using the client-aware project scope below. Do not treat list as a second accept path.
A prompt that starts with `reload context` gets a "compaction recap" block from the hooks: the user's prompts and the last captured reply from the stretch of this session that the last compaction dropped, plus the project's open handoffs, none of them claimed. Claude Code, Codex and OpenCode add it to that turn; Grok shows it after the first tool result. Answer from that block, then do what the rest of the prompt asks. If no recap block is in context, use the ai-memory retrieval skill to read this session's raw prompts and replies (`kinds: ["user-prompt", "stop"]`).
Create a handoff only at session end or when the user explicitly asks to save context for the next session. Do not use handoffs for status checks, briefings, project notes, or permanent memory. Keep the summary to two or three concise sentences, and put details in open questions and next steps bullets.
Lifecycle hooks already capture routine prompts and tool calls, so do not manually write a handoff just to record normal progress.
On a shared server, a handoff belongs to the operator who created it. Set `shared: true` only when the user explicitly wants any operator in the project to receive the baton; do not infer sharing from ordinary collaboration prose.
Cancel only when the user asks to discard a handoff or you created one by mistake. Use the exact handoff id returned by the begin or list tool. Cancellation is idempotent from the user's point of view, but it should still target only the known handoff.
Accept and cancel normally act only on the caller's own plus shared handoffs. `any_owner: true` is a root-only recovery action over another operator's context; use it only on an explicit user request.
Choose scope from the MCP client's identity support:
This rule applies only to project-scoped calls. For cross-project retrieval, `global=true` must omit `workspace`, `project`, and `scopes`. For a standing preference written with `scope: "global"`, omit `workspace` and `project`.
Solution for long term memory for agent coding CLIs and to facilitate handoff between different agent vendors
Use this skill for any explicit wiki mutation in ai-memory: saving durable or time-bounded…
Use this skill for any ai-memory knowledge-base maintenance request: consolidating…
Use this skill for cross-project agent-to-agent messaging: sending a request to another…
Use this skill for any request whose goal is read-only retrieval from ai-memory: project…
Use this skill for any request to install, refresh, repair, inspect, or remove ai-memory's…
Check whether ai-memory is capturing this session and its memory tools can reach the server.…