Aller au contenu
Skillpedia
Connecteurs (MCP)15k · #11041

ai-memory-retrieval

Ce qu’il fait

La compétence cherche ce que votre projet a déjà consigné dans son wiki de mémoire. Elle s'adresse aux personnes qui veulent que l'agent vérifie les décisions passées avant de concevoir ou de modifier quelque chose.

Quand l’utiliser

  • ✓Quand vous demandez ce qui a été décidé à propos d'un sujet dans votre projet auparavant.
  • ✓Quand vous voulez un résumé de l'activité récente ou un point d'étape à partir de la mémoire.
  • ✓Quand vous devez lire une page de mémoire complète avant de concevoir, déboguer ou modifier.

Lien du skill

https://github.com/akitaonrails/ai-memory/blob/main/crates/ai-memory-core/src/routing_skills/ai-memory-retrieval/SKILL.md

Copiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.

Comment l’utiliser

Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.

Message prêt à coller

Utilise ce skill pour m’aider : https://github.com/akitaonrails/ai-memory/blob/main/crates/ai-memory-core/src/routing_skills/ai-memory-retrieval/SKILL.md Lis le fichier SKILL.md de ce lien et suis ses instructions pour ma tâche.
Envie que votre IA trouve seule des skills comme celui-ci ?Installez le MCP gratuit de Skillpedia : une ligne, et elle cherche parmi 15 000+ skills avant chaque tâche.Installer en 1 minute →

Exemple de demande à votre IA

“Qu'avons-nous décidé sur la stratégie de migration de la base de données ? Consulte la mémoire du projet avant de me proposer quoi que ce soit.”

5 nouveaux skills par semaine. 1 minute de lecture.

Comment ça marche

L'agent cherche dans le wiki du projet, liste les pages mises à jour récemment, et lit les pages complètes lorsque c'est nécessaire. Ces consultations sont en lecture seule et ne modifient aucune mémoire.

Contenu technique (SKILL.md original)

Texte original de l’auteur, en anglais, directement depuis GitHub.

<!-- ai-memory-managed: routing-skill -->

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_query searches the current project's wiki for prior decisions, gotchas, procedures, rules, and session notes.
  • memory_recent lists the most recently updated pages when the user wants a light activity check.
  • memory_read_page fetches a full page body after a search hit or direct path lookup. A global_scope_hits result carries its workspace, project, and scope; pass scope: "global" to read that reserved scope directly. The body is capped by max_chars (default 12000, max 64000); the response's truncated/total_chars fields report whether it was cut and its full size. Raise max_chars only when you need the whole page. Pass include_related: true (optional related_depth, default 1, hard cap 3) to also walk the link graph outward and return a related array of reachable pages, each with its hop depth and edge direction (link/backlink); default off omits it.
  • memory_read_session_observations reads 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 the session_id a session-start notice, recent_sessions or newer_unended_session names (a harness's native id, such as an OpenCode ses_… id, works too) with order: "desc", and its newest prompts and tool results are where the work stopped.
  • memory_status reports whether ai-memory is healthy and how large the knowledge base is.
  • memory_briefing returns a structured read-only snapshot for agent consumption, including a bounded pinned list of the project's pinned standing-context pages (present only when the project has pins) and recent_sessions, the sessions with the newest captured work. An entry there with ended: false and handed_off: false that is not current was cut off or is still running; read it before an older handoff or page when the user asks to continue.
  • memory_explore returns 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, and cwd for 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 workspace and project together on every project-scoped call, including requests about this project, here, or our work. Read the exact names from the nearest .ai-memory.toml when it declares both. Without a marker override, derive the project from normalized upstream, then origin, 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
Questions fréquentes

La recherche modifie-t-elle ma mémoire ?

Non. La consultation est en lecture seule.

Peut-elle lire l'activité brute d'une session ?

Oui. Elle peut lire les invites et les appels d'outils enregistrés d'une session pour vérifier ce qui s'est passé.

Cherche-t-elle aussi dans d'autres portées ?

Oui. Les résultats issus d'autres portées indiquent leur espace de travail, leur projet et leur portée, pour que vous voyiez d'où vient chacun.

Détails

Description originale de l’auteur

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

Popularité

Étoiles GitHub
15k
Position au classement
#11041
Licence
MIT
Mis à jour
02/11/2026

Ce skill vous est-il utile ?

0

Connectez-vous pour voter.

Commentaires

  • …

Autres skills de ce dépôt

Skills similaires