ai-memory-retrieval
Skill by akitaonrails
Retrieves read-only project knowledge from ai-memory, including past decisions, rules, gotchas, recent activity and full wiki pages. Built for developers and agents who need prior context before designing, debugging or editing code.
Install ai-memory-retrieval
Built from the published package, never by AI.
git clone --depth 1 https://github.com/akitaonrails/ai-memory /tmp/ai-memory && mkdir -p ~/.claude/skills && cp -r /tmp/ai-memory/plugins/codex/skills/ai-memory-retrieval ~/.claude/skills/ai-memory-retrievalRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/akitaonrails/ai-memory /tmp/ai-memory && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/ai-memory/plugins/codex/skills/ai-memory-retrieval ~/.gemini/antigravity-cli/skills/ai-memory-retrievalAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install ai-memory-retrieval in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
The ai-memory-retrieval skill tells an AI assistant how to run read-only lookups against ai-memory, a project wiki of decisions, rules, gotchas, procedures and session notes. It covers searching project memory, listing recent pages, reading full pages, checking server status, reading structured briefings, and reading raw session observations. It applies to requests about project history, prior context or status, even when ai-memory is not named.
The skill sets scope rules for session-aware and static MCP clients. When the current project returns little, it advises searching sibling projects or all projects with global search. Search returns snippets, so the skill tells the assistant to fetch full pages before acting on them. It is written for people and agents working on a codebase who want remembered context first.
Written from the project's SKILL.md and checked against it.
What it can do
- memory_querySearches the current project's wiki for prior decisions, gotchas, procedures, rules and session notes.
- memory_recentLists the most recently updated pages, optionally filtered to one page family such as decisions/.
- memory_read_pageFetches a full page body after a search hit or direct path lookup, with optional related-page walking.
- memory_read_session_observationsReads one session's raw prompts, tool calls and stops in capture order, and helps continue cut-off sessions.
- memory_statusReports whether ai-memory is healthy and how large the knowledge base is.
- memory_briefingReturns a structured read-only snapshot with pinned pages, recent sessions and counts as JSON-like data.
- memory_exploreReturns a prose digest for open-ended catch-up questions such as what is important right now.
What you need
- ai-memory MCP tools, or the ai-memory command line tool when the harness has no MCP tools
Try asking
- Search ai-memory for prior decisions about our auth scope rules.
- What changed lately in this project? List the most recent wiki pages.
- Read the full wiki page for our deployment procedure before we change it.
Good to know
- Read-only retrieval. The skill does not write to ai-memory.
- Search returns snippets, so full pages must be fetched before relying on them.
- The answer option needs an LLM provider configured on the server and is not yet eval-validated.
- Expired and superseded pages are excluded from ordinary searches by default.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: plugins/codex/skills/ai-memory-retrieval/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md13 KB
Alternatives to ai-memory-retrieval
All alternatives →Set up and diagnose a local agentmemory installation. It covers MCP connections, environment variables, ports, auth and feature flags, and is for users getting started or checking a connection.
Analyzes a Karpathy-pattern LLM wiki and builds an interactive knowledge graph with entities, implicit links and topic clusters. Built for people who maintain LLM-generated markdown wikis.
Saves and loads timestamped reports for AI assistants, with keyword routing for fast lookup. It also runs an Actionability Gate that checks report links before delivery. Intended for morning briefings, meeting digests and research reports.
Removes a personal fact, preference, relationship detail, topic or past event from Muse's active memory. It also stops existing copies and automations from bringing it back.
Git Context Controller (GCC) is a skill that stores agent memory as a versioned file system under .GCC/. It suits multi-step projects that need milestone tracking, branching and context recovery across sessions.
Guides an evidence-first reading of a book, article, PDF or document set. Built for readers who want claims, evidence and recall rather than a short summary.
Compare with agentmemory-config, understand-knowledge or reports
ai-memory-retrieval: common questions
Does this skill change anything in ai-memory?
No. The skill is for read-only retrieval, lookups, catch-up and briefings. It does not write pages.
What if the current project has no matching pages?
The skill says the knowledge may live in a sibling project. It advises searching explicit sibling scopes, or searching all projects with global search.
Are expired or superseded pages included in results?
Expired pages are excluded by default unless the user asks for expired history. Older superseded page versions are also excluded unless include_superseded is passed.
How do I install ai-memory-retrieval?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is ai-memory-retrieval free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is ai-memory-retrieval safe to use?
It scores 91 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to ai-memory-retrieval?
Similar skills: agentmemory-config, understand-knowledge, reports, forget.
