memory
O que ela faz
Permite que o assistente busque, salve e organize o que lembra ao longo do tempo, como fatos sobre pessoas e projetos. É para quem quer que o assistente guarde contexto útil.
Quando usar
- ✓Quando você pergunta ao assistente quem é alguém ou no que essa pessoa está trabalhando.
- ✓Quando o assistente aprende um fato útil que deve ser guardado para depois.
- ✓Quando as notas salvas contêm entradas antigas ou erradas que precisam ser limpas.
Link da skill
https://github.com/yc-software/qm/blob/main/skills-seed/memory/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
“Pesquise sua memória sobre o que decidimos a respeito do projeto de Berlim no mês passado.”
5 skills novas por semana. 1 minuto de leitura.
Como funciona
O assistente usa uma ferramenta de memória para pesquisar ou gravar notas nos cadernos a que pode acessar. As notas ficam guardadas no sistema de memória, e não em um arquivo comum.
Conteúdo técnico (SKILL.md original)
Texto original do autor, em inglês, direto do 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.
Perguntas frequentes
Por que uma busca pode voltar vazia?
Um resultado vazio só significa que aquelas palavras não corresponderam. O assistente pode tentar outras palavras ou menos palavras antes de concluir que um fato está faltando.
Ele pode ler cadernos de outras pessoas?
Só cadernos compartilhados com esta conversa podem ser lidos. O acesso vem das regras de compartilhamento do chat atual.
Salvar um arquivo de memória no disco funciona?
Não. Um arquivo de memória gravado no disco se perde, então o assistente usa a ferramenta de memória.
Detalhes
Descrição original do autor
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
Popularidade
- Estrelas no GitHub
- 16 mil
- Posição no ranking
- #10898
- Licença
- MIT
- Atualizada em
- 02/11/2026
Comentários
- …
Mais skills deste repositório
deploy-qm
16 milImplanta o pacote QM no Fly.io, na AWS ou no Render e depois configura um administrador, conectores e, opcionalmente, o Slack, seguindo uma lista completa de verificação de implantação.
onboarding
16 milGuia um novo usuário por conectar contas, compartilhar como ele trabalha, escolher uma voz e configurar as primeiras ajudas, em uma conversa curta.
admin
16 milPermite que um administrador verificado da organização consulte ou altere configurações de toda a organização e outros escopos pelo chat, confirmando cada mudança antes de fazê-la.
browse
16 milControla um navegador web real e discreto a partir do seu shell para agir em sites, como fazer login ou preencher formulários, com os logins mantidos por pessoa. Feito para ações, não para leitura.
Skills parecidas
add-model-provider
394 milPermite que seu agente conecte um novo provedor de modelos de IA ao OpenClaw com comandos seguros, guarde as chaves de API com segurança e faça um teste ao vivo.
acp-router
394 milAjuda seu agente a enviar uma tarefa a um assistente de programação, como Claude Code ou Cursor, pelo OpenClaw, para que o trabalho rode nessa ferramenta.
browser-automation
394 milEnsina seu agente a controlar páginas web passo a passo, incluindo logins, abas e recuperação quando uma página para de responder.