agentleFS
tleub-ebptleub-ebp/WorkPilot-AI/.agents/skills/mem-search/SKILL.md

mem-search

Skill4 starsChanged 3 months agoMITView on GitHub

Recherche dans la mémoire de WorkPilot (builds passés, patterns appris) par paliers — un index compact d'abord, les détails seulement sur demande par ID. À utiliser avant d'attaquer un problème pour vérifier s'il a déjà été rencontré, ou pour retrouver comment une décision passée a été prise.

6 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use make-plan.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • TrecekSkill

    make-plan

    Create implementation plans through deep codebase understanding. Use when user asks to create, devise, or write a plan. Leverages subagents to explore approaches, understand systems, and design aligned solutions.

    Also in 3 projects that use this

The file

Files
SKILL.md

mem-search — remonter la mémoire sans y noyer le contexte

WorkPilot garde trois mémoires : les traces de builds (task_logger), le graphe de connaissances (graphiti) et les patterns distillés (learning_loop). Les lire directement rend des enregistrements entiers — c'est-à-dire qu'il faut payer chaque candidat pour en écarter la plupart.

Ce skill les lit par paliers. Chaque palier ne se paie que si le précédent l'a justifié.

Les trois paliers

# 1. Index — ce qui existe. ~100 tokens, quel que soit le volume en mémoire.
python3 scripts/mem_search.py index "timeout intermittent dans les tests d'intégration"

# 2. Timeline — deux lignes par ID retenu de l'index.
python3 scripts/mem_search.py timeline task:042-add-widget pattern:p-17

# 3. Detail — l'enregistrement complet, un ID à la fois.
python3 scripts/mem_search.py detail task:042-add-widget

Lancer python3 scripts/mem_search.py --help pour les options (--project-dir, --limit, --budget, --json).

Comment s'en servir

  1. Commencer par index. Il est calibré pour tenir dans la place qu'on accepte de dépenser avant même de savoir s'il y a quelque chose. S'il rend +N more, la requête est trop large : la resserrer coûte moins cher que de lire N candidats.
  2. Passer à timeline sur trois à cinq IDs, pas sur tout l'index. C'est le palier qui dit ce qui s'est passé ; il suffit presque toujours à décider si l'épisode est le bon.
  3. N'appeler detail que sur ce qu'on va vraiment lire. Un enregistrement complet est un log de build entier — c'est le palier cher, et il existe pour être appelé rarement.

Ce que ce skill ne fait pas

Il n'écrit rien. Les trois mémoires sont alimentées par le pipeline lui-même (task_logger pendant le build, learning_loop après) ; ici on ne fait que lire. Une leçon à conserver passe par la phase observe, qui écrit une proposition relue par un humain — pas par un appel de recherche.

Format des IDs

task:<spec-id> pour un build archivé, pattern:<pattern-id> pour un pattern appris. L'index les rend tels quels : les recopier verbatim, ne pas les reconstruire à la main.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.