ai-memory-retrieval
Installation
SKILL.md
ai-memory retrieval
Use this skill for read-only ai-memory lookups, catch-up, and evaluating remembered project knowledge before you design, debug, or edit.
Tools in this cluster
memory_querysearches the current project's wiki for prior decisions, gotchas, procedures, rules, and session notes.memory_recentlists the most recently updated pages when the user wants a light activity check.memory_read_pagefetches a full page body after a search hit or direct path lookup. Aglobal_scope_hitsresult carries itsworkspace,project, andscope; passscope: "global"to read that reserved scope directly. The body is capped bymax_chars(default 12000, max 64000); the response'struncated/total_charsfields report whether it was cut and its full size. Raisemax_charsonly when you need the whole page. Passinclude_related: true(optionalrelated_depth, default 1, hard cap 3) to also walk the link graph outward and return arelatedarray of reachable pages, each with its hopdepthand edgedirection(link/backlink); default off omits it.memory_read_session_observationsreads one session's raw hook observations (prompts, tool calls, stops) in capture order, paged and body-capped, when the user asks what actually happened in a session or wants to check a compiled page against its evidence. It also continues a session that was cut off without ending: pass thesession_ida session-start notice,recent_sessionsornewer_unended_sessionnames (a harness's native id, such as an OpenCodeses_…id, works too) withorder: "desc", and its newest prompts and tool results are where the work stopped.memory_statusreports whether ai-memory is healthy and how large the knowledge base is.memory_briefingreturns a structured read-only snapshot for agent consumption, including a boundedpinnedlist of the project's pinned standing-context pages (present only when the project has pins) andrecent_sessions, the sessions with the newest captured work. An entry there withended: falseandhanded_off: falsethat is notcurrentwas cut off or is still running; read it before an older handoff or page when the user asks to continue.memory_explorereturns a prose digest when the user asks for an open-ended catch-up.
Project scope
Choose scope from the MCP client's identity support: