memory
Was er macht
Lässt den Assistenten nachschlagen, speichern und aufräumen, woran er sich im Laufe der Zeit erinnert, etwa Fakten über Menschen und Projekte. Er ist für Menschen gedacht, die möchten, dass ihr Assistent nützlichen Kontext behält.
Wann du ihn nutzt
- ✓Wenn du den Assistenten fragst, wer jemand ist oder woran er arbeitet.
- ✓Wenn der Assistent einen nützlichen Fakt lernt, der für später festgehalten werden sollte.
- ✓Wenn die gespeicherten Notizen alte oder falsche Einträge enthalten, die bereinigt werden müssen.
Link zum Skill
https://github.com/yc-software/qm/blob/main/skills-seed/memory/SKILL.mdKopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.
So nutzt du ihn
Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.
Fertige Nachricht zum Einfügen
Für Claude Code, Codex oder Cursor: Führe den Befehl in deinem Projektordner aus, dann wird der Skill installiert.
Lade die SKILL.md herunter und lege sie in den Skills-Ordner deines Agenten.
Beispielanfrage an deine KI
“Durchsuche dein Gedächtnis nach dem, was wir letzten Monat zum Berlin-Projekt entschieden haben.”
5 neue Skills pro Woche. 1 Minute Lesezeit.
So funktioniert es
Der Assistent nutzt ein Gedächtnis-Werkzeug, um Notizen in den Notizbüchern zu suchen oder zu schreiben, auf die er Zugriff hat. Notizen werden im Gedächtnissystem gespeichert, nicht in einer einfachen Datei.
Technischer Inhalt (originale SKILL.md)
Originaltext des Autors, auf Englisch, direkt von GitHub.
memory — search, write, and curate what you remember
Everything here goes through the typed memory tool. Memory is NOT a file: writing
memory/MEMORY.md with files action write or shell commands lands on your computer's disk and is
silently lost — the tool is the one real path.
Every turn already auto-recalls a bounded selection from your notebooks into "## What you remember" and auto-extracts facts after you reply. This skill is for what the automatic path misses:
- Search (
action: "search") — what you remember is bigger than what auto-recall injects. Search spans every notebook this conversation may read (personal, channel, org); when more than one is in reach, each hit is tagged with the notebook it came from. Matching is substring-based (all terms must match), so prefer distinctive terms (a name, a project) over sentences. An empty result means those terms found no match, not that nothing is recorded. Try fewer terms or alternate wording before concluding a fact is absent. - Read another notebook (
action: "read", scope: "channel:…") — use the exact scope ID from a search result to load that authorized notebook.searchacceptsscopetoo, to narrow a query. Omit it to search all authorized notebooks or read the current notebook. Access comes from this turn's sharing policy; naming a scope never grants access. Other notebooks are read-only. - Write now (
action: "add",facts: [{text}, …]) — when the user corrects you or tells you something they'll expect you to know later, persist it immediately instead of hoping post-turn extraction catches it. Write self-contained facts (who/what, with enough context to be useful cold). Duplicates are dropped;addedin the reply is the count actually new. - Curate (
action: "edit"withfacts: [{id, text}, …],action: "delete"withids) — search or read to get each fact's#id, then fix facts that changed and delete stale, duplicate, or wrong ones. A call naming any id that isn't in this conversation's notebook changes nothing and lists the bad ids. Curation is for quality — merging duplicates, deleting disproven facts — not for deleting things the user asked you to remember.
The notebook you write is this conversation's own (your personal one in a DM, the channel's in a channel). Other authorized notebooks can be searched/read, not rewritten here.
The org-admin write path uses the self-API instead, called with
$AGENT_API_URL and $AGENT_API_TOKEN (both already in your environment on every turn —
if they are unset, this instance has no self-API; say so rather than pretending).
Org-wide notebook (admins)
When the chatting user is an org admin, the self-API additionally accepts the org-wide notebook as a target:
curl -sS --fail-with-body -X POST "$AGENT_API_URL/v1/memory/facts" \
-H "x-agent-capability: $AGENT_API_TOKEN" \
-H "content-type: application/json" \
-d '{"scope":"org","facts":["..."]}'
(?scope=org on GET /v1/memory/self; "scope":"org" in the body of PATCH /v1/memory/facts
with {"facts":[{"id","text"}]} or DELETE /v1/memory/facts with {"ids":[…]} to curate.)
Those writes land in the notebook every conversation in the org recalls, so confirm the
wording with the admin before writing and keep personal facts out of it. A 403 org memory writes require an org admin means the user isn't one — say so rather than
retrying (GET $AGENT_API_URL/v1/admin/whoami answers it definitively).
Failure modes
- "memory isn't available in this conversation" — this conversation's memory policy forbids it; don't retry, just say memory is off here.
- On a read-only wake (a heartbeat glance), memory can be searched and read but not written — save the fact on a normal turn instead.
401 unauthorizedfrom the self-API — your token expired mid-turn; this resolves on the next turn.502with anapplication/problem+jsonbody from/v1/memory/factsor/v1/memory/search— a memory provider failed.added(orresults) is what still worked, and each entry inproblemsnames the provider, what happened and afix. Don't send the same facts again; tell the user which provider failed and its fix.
Häufige Fragen
Warum kann eine Suche leer bleiben?
Ein leeres Ergebnis heißt nur, dass diese Wörter nicht passten. Der Assistent kann andere oder weniger Wörter probieren, bevor er sagt, dass ein Fakt fehlt.
Kann er die Notizbücher anderer lesen?
Nur Notizbücher, die mit dieser Unterhaltung geteilt wurden, können gelesen werden. Der Zugriff folgt den Freigaberegeln des aktuellen Chats.
Funktioniert das Speichern einer Gedächtnisdatei auf der Festplatte?
Nein. Eine auf der Festplatte geschriebene Gedächtnisdatei geht verloren, deshalb nutzt der Assistent das Gedächtnis-Werkzeug.
Details
Originalbeschreibung des Autors
Deliberately search, add to, or curate your long-term memory with the `memory` tool — beyond the automatic recall/capture every turn already does. Use when asked who someone is or what they're working on, when you learn a durable fact worth keeping now, or when your notebook holds stale or wrong entries you should clean up.
repo: yc-software/qm
Beliebtheit
- GitHub-Sterne
- 16k
- Platz im Ranking
- #10898
- Lizenz
- MIT
- Aktualisiert
- 2.11.2026
Kommentare
- …
Weitere Skills aus diesem Repository
deploy-qm
16kStellt das QM-Paket auf Fly.io, AWS oder Render bereit und richtet danach einen Administrator, Konnektoren und optional Slack ein, nach einer vollständigen Checkliste.
onboarding
16kFührt einen neuen Nutzer in einem kurzen Gespräch durch das Verbinden von Konten, das Beschreiben seiner Arbeitsweise, die Wahl einer Stimme und die erste Hilfe.
admin
16kLässt einen geprüften Organisations-Administrator unternehmensweite und andere Einstellungen im Chat prüfen oder ändern, wobei jede Änderung vorher bestätigt werden muss.
browse
16kSteuert einen echten Stealth-Browser aus deiner Shell, um auf Websites zu handeln, etwa sich anzumelden oder Formulare auszufüllen. Anmeldungen bleiben pro Person erhalten. Gedacht für Aktionen, nicht zum Lesen.
Ähnliche Skills
add-model-provider
394kLässt deinen Agenten einen neuen KI-Modellanbieter mit sicheren Befehlen an OpenClaw anbinden, API-Schlüssel nicht im Klartext speichern und einen Live-Test starten.
acp-router
394kHilft deinem Agenten, eine Aufgabe über OpenClaw an einen Coding-Assistenten wie Claude Code oder Cursor zu senden, damit die Arbeit in diesem Tool läuft.
browser-automation
394kBringt deinem Agenten bei, Webseiten Schritt für Schritt zu steuern, einschließlich Anmeldungen, Tabs und Wiederherstellung, wenn eine Seite nicht mehr reagiert.