ai-memory-handoff
Use this skill for any request whose goal is session continuity across agents or time: finding a pending handoff, resuming…
Use this skill for any explicit wiki mutation in ai-memory: saving durable or time-bounded project knowledge, recording a rule or annotation, updating a note, or deleting a memory page. Trigger by semantic intent rather than exact wording; routine session capture is not a
Claude Code
$ npx -y skills add akitaonrails/ai-memory --skill ai-memory-durable-pages --agent claude-code
Codex
$ npx skills add akitaonrails/ai-memory --skill ai-memory-durable-pages -a codex -y
Cursor
$ npx skills add akitaonrails/ai-memory --skill ai-memory-durable-pages -a cursor -y
Gemini CLI
$ npx skills add akitaonrails/ai-memory --skill ai-memory-durable-pages -a gemini-cli -y
GitHub Copilot
$ npx skills add akitaonrails/ai-memory --skill ai-memory-durable-pages -a github-copilot -y
OpenCode
$ npx skills add akitaonrails/ai-memory --skill ai-memory-durable-pages -a opencode -y
Windsurf
$ npx skills add akitaonrails/ai-memory --skill ai-memory-durable-pages -a windsurf -y
name: ai-memory-durable-pages description: "Use this skill for any explicit wiki mutation in ai-memory: saving durable or time-bounded project knowledge, recording a rule or annotation, updating a note, or deleting a memory page. Trigger by semantic intent rather than exact wording; routine session capture is not a durable-page request."
<!-- ai-memory-managed: routing-skill -->
Use this skill only for deliberate durable wiki mutations. Routine session capture is automatic, and permanent notes require an explicit user request.
writable destination without creating or changing it. Bulk importers use it before their first write.
atomically for a bulk importer. Every entry must be conditional; do not use it for routine notes.
page without re-emitting its frontmatter or unrelated body.
earlier version back (with `rev`), including a deleted page. It is admin only on a multi-user server and does not reach `scope: "profile"` pages.
Write a page only when the user explicitly asks to remember something permanently, save a note, add an annotation, or record project knowledge. Do not use durable pages for transient progress, normal status updates, or next-session context.
Put the page title as a `# H1` on the first line of the body and omit the separate title argument. ai-memory derives the title from that H1. Keep the content concise and fact-like, with enough context that a future agent can apply it without rereading the whole session.
Optional top-level metadata: `kind` (64 characters), `entities` (10 names, 64 characters each, normalized and deduplicated), `abstract` (1,024 characters), and `relations` (an object mapping `causes`, `fixes`, or `contradicts` to page target arrays, 32 targets total, 1,024 characters each). Relation targets use `path`, `project:path`, or `workspace/project:path`; extensionless page paths resolve with `.md`, and scope components must already be trimmed. A page that describes repository files can name them in `source_files`: up to 16 `{path, commit}` entries, each a repository-relative `/`-separated path and the 7-64 hex commit (`git rev-parse HEAD`) the page was checked against. The server never reads those files; when one changed since its commit, a client records `memory_feedback` with `signal: "stale"`, and rewriting the page with the new commit clears the flag. Limits apply to raw values before trimming, normalization or deduplication. Arbitrary frontmatter and author fields are not editable. Every `memory_write_page` call replaces the whole page and its metadata; omitted fields are cleared. Read the current page first when preserving existing content matters, and pass its returned `page_id` as `expected_page_id` so a concurrent change fails without writing. Use `create_only: true` when the page must not already exist; do not combine the two preconditions.
For a targeted edit, prefer `memory_patch_page`: read the page, pass its required `page_id` as `expected_page_id`, and submit one bounded batch. `append` with `target: "section"` takes a heading `anchor` from the read response, and with `target: "end_of_page"` takes none; `add_section` takes a new level 2-6 heading such as `## Decisions`; `replace_section` takes an `anchor` and must also carry that section's returned `sha256` as `section_sha256`. Its `content` is the section body without the heading line. It refuses the `#` title, whose section is the whole page; use `memory_write_page` to change text under the title. All edits resolve against the same captured body and either commit together or write nothing. Missing, duplicate, stale, or conflicting anchors fail closed. Use `memory_write_page` when replacing the whole document.
When the user explicitly wants a note to be temporary, pass `expires_at` as an RFC3339 instant or a bare `YYYY-MM-DD` (the end of that day in UTC). After the TTL, normal search, recent, and briefing reads hide the page; the next forget sweep deletes it. A TTL outranks `pinned`, so do not combine them unless the user has deliberately requested that behavior.
When the user asks to consolidate the session you are taking part in, write its pages with your own model instead of the server's: read the session's raw observations first (the retrieval skill covers that read), then write each page with `memory_write_page` passing the same `session_id`, which records the session as evidence and settles its queued consolidation job. Match the server's multi-page layout, at most five pages:
Only split out what the session actually established; a short session is one session page. Record what was said and done, and never turn a user's question into a confirmed decision.
If the user asks to create a durable project rule such as always do X or never do Y, update the project's canonical agent instruction file when the repository says one exists. Use a durable page on
Solution for long term memory for agent coding CLIs and to facilitate handoff between different agent vendors
Use this skill for any request whose goal is session continuity across agents or time: finding a pending handoff, resuming…
Use this skill for any ai-memory knowledge-base maintenance request: consolidating observations, reviewing session lessons,…
Use this skill for cross-project agent-to-agent messaging: sending a request to another project's inbox, checking or popping this…
Use this skill for any request whose goal is read-only retrieval from ai-memory: project history, prior context, decisions,…
Use this skill for any request to install, refresh, repair, inspect, or remove ai-memory's agent-facing routing: managed…
Check whether ai-memory is capturing this session and its memory tools can reach the server. Run it when memory looks missing or…
Believable agent cost report for any period, default the last 7 full days PT, not counting today. Measured tokens from Claude…
Keep a durable record of work passed between Bots in the shared Hindsight memory bank. Use when handing work to another Bot, when…
Install, configure, and operate MemPalace, including a private local palace, a shared-brain hub, or a client joining an existing…
Install, configure, and operate MemPalace, including a private local palace, a shared-brain hub, or a client joining an existing…