ai-memory-retrieval
O que ela faz
A skill procura o que o seu projeto já registrou na wiki de memória. É para quem quer que o agente verifique decisões passadas antes de projetar ou editar algo.
Quando usar
- ✓Quando você pergunta o que já foi decidido sobre um tema no projeto.
- ✓Quando você quer um resumo de atividade recente ou um briefing de status a partir da memória.
- ✓Quando você precisa ler uma página de memória completa antes de projetar, depurar ou editar.
Link da skill
https://github.com/akitaonrails/ai-memory/blob/main/crates/ai-memory-core/src/routing_skills/ai-memory-retrieval/SKILL.mdCopie e cole na sua IA (Claude, ChatGPT ou Cursor) pedindo para seguir as instruções.
Como usar
O jeito mais fácil: copie a mensagem e cole na sua IA. Ela lê a skill e segue as instruções.
Mensagem pronta para colar
Para Claude Code, Codex ou Cursor: rode na pasta do projeto e a skill fica instalada.
Baixe o SKILL.md e coloque na pasta de skills do seu agente.
Exemplo do que pedir para a IA
“O que decidimos sobre a abordagem de migração do banco de dados? Verifique a memória do projeto antes de sugerir algo.”
5 skills novas por semana. 1 minuto de leitura.
Como funciona
O agente pesquisa a wiki do projeto, lista as páginas atualizadas recentemente e lê páginas completas quando necessário. Essas consultas são somente leitura e não alteram nenhuma memória.
Conteúdo técnico (SKILL.md original)
Texto original do autor, em inglês, direto do GitHub.
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:
- Session-aware MCP clients that forward the real lifecycle-hook session id on every request should use automatic current-project routing. Omit
workspace,project, andcwdfor the current repository; pass explicit scope only when the user names a different project. - Static MCP clients (including clients with lifecycle hooks but no bridge connecting that hook session id to MCP requests) must pass
workspaceandprojecttogether on every project-scoped call, including requests about this project, here, or our work. Read the exact names from the nearest.ai-memory.tomlwhen it declares both. Without a marker override, derive the project from normalizedupstream, thenorigin, using the full repository path without its host (github.com/acme/api→acme-api); use the folder basename only when no valid remote exists. Never rely on the server's last active project.
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.
Choose the smallest useful lookup
- Use the search tool when the user asks whether something was discussed, before proposing architecture, or before non-trivial coding in a subsystem with possible prior decisions.
- Before non-trivial coding, debugging, deployment, release, auth, scope, migration, PR review, or data-preservation work, search memory for the subsystem and task type first. If the first search is thin, broaden or query more specific subsystem/error terms before designing a fix.
- Use the recent-pages tool for a quick what changed lately view.
- Use the status tool only for health and size questions.
- Use the structured briefing when code needs counts, windows, pending-handoff counts, current rules, or recent pages as JSON-like data.
- Use the prose exploration tool for broad catch-up questions like what is important right now or I have been away.
- Use the session observations tool when the question is about what
Perguntas frequentes
Pesquisar altera minha memória?
Não. A recuperação é somente leitura.
Ela consegue ler a atividade bruta da sessão?
Sim. Pode ler os prompts e as chamadas de ferramenta registrados de uma sessão quando você quer verificar o que aconteceu.
Ela pesquisa outros escopos também?
Sim. Resultados de outros escopos mostram seu workspace, projeto e escopo, para que você veja de onde cada um veio.
Detalhes
Descrição original do autor
Use this skill for any request whose goal is read-only retrieval from ai-memory: project history, prior context, decisions, rules, gotchas, recent activity, full wiki pages, or status/briefing. Trigger by semantic intent rather than exact wording, including when ai-memory is not named.
repo: akitaonrails/ai-memory
Popularidade
- Estrelas no GitHub
- 15 mil
- Posição no ranking
- #11041
- Licença
- MIT
- Atualizada em
- 02/11/2026
Comentários
- …
Mais skills deste repositório
ai-memory-durable-pages
15 milAjuda seu agente a salvar, atualizar ou apagar notas permanentes do projeto na sua wiki do ai-memory quando você pedir para lembrar algo duradouro.
ai-memory-handoff
15 milAjuda seu agente a passar contexto para a próxima sessão, para que você possa retomar de onde parou, salvar uma nota de encerramento ou cancelar uma passagem feita por engano.
ai-memory-learning-maintenance
15 milAjuda seu agente a organizar a wiki de memória transformando notas de sessão em páginas de tópico, verificando contradições e removendo entradas desatualizadas quando solicitado.
ai-memory-messaging
15 milAjuda seu agente a enviar um pedido autocontido para a caixa de entrada de outro projeto, verificar a caixa de entrada do seu projeto ou cancelar uma mensagem que você enviou.
Skills parecidas
mcporter
394 milAjuda seu agente a listar, chamar e inspecionar servidores MCP e suas ferramentas por HTTP ou stdio, e a gerenciar as configurações de login.
fastmcp
260 milAjuda você a construir, testar e publicar um servidor MCP em Python que dá a assistentes de IA acesso à sua API, banco de dados ou arquivos como ferramentas.
mcp-oauth-remote-gateway
260 milGuia você pelo login OAuth de um servidor MCP remoto quando o Hermes roda em um servidor, onde o login normal pelo navegador não consegue chegar.