memory
Skill0 starsChanged 59 days agoMITView on GitHub
Memória entre sessões para o seu agente (Claude Code ou Codex), em arquivos markdown locais. Salva o resumo do que foi feito na sessão (objetivo, entregas, decisões, pendências, próximo passo) e, no começo de uma sessão nova, puxa o que foi feito nas anteriores. Use quando o usuário disser "/memory", "salva essa sessão", "marca onde paramos", "lembra disso", "o que a gente fez ontem?", "retoma de onde paramos", "carrega o contexto do projeto X", ou ao encerrar um trabalho relevante.
110 other projects use a version of this.
Adopted by
Most recently taken up by
- arxdsilva/ai-loopstheir own version, first seen Nov 16, 2026
- raucheacho/lorag-claude-codetheir own version, first seen Nov 16, 2026
- matthewwong525/WongStacktheir own version, first seen Nov 15, 2026
- maxwell2732/claudecode-research-harness-workflowtheir own version, first seen Nov 15, 2026
- XORwell/archeflowtheir own version, first seen Nov 15, 2026
- intelligentcode-ai/skillstheir own version, first seen Nov 15, 2026
Used with
Projects with it also use ecosystem-reference, fractal-delegation and 10 more.
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.
naman10parikhSkillecosystem-reference
Quick-access directory of Claude Code ecosystem repos, skills, plugins, MCPs, and patterns. Use when improving the harness.
Also in 5 projects that use this
naman10parikhSkillfractal-delegation
Also in 5 projects that use this
Maliot100XSkillsend-user-message
Send a proactive message to a paired user via their channel (Discord, Telegram, or WhatsApp). Use when the agent needs to notify, alert, or send an unsolicited message to a user — especially during heartbeat invocations, scheduled tasks, or when the agent wants to reach out without a prior user message in the current conversation. Triggers: 'send message to user', 'notify user', 'alert user', 'message the user on discord/telegram/whatsapp', or any need to proactively communicate with a paired sender.
Also in 4 projects that use this
jh941213Skilldocs-ci
문서 CI(링크·OpenAPI lint·breaking 게이트·mermaid 검증)나 문서 드리프트 감지(docs.yaml 신선도 검사)를 설치하거나 돌릴 때 사용. 문서 내용 작성은 docs-architecture·docs-interfaces·docs-manuals.
Also in 3 projects that use this
jh941213Skilldocs-interfaces
API·이벤트 인터페이스 문서(OpenAPI·swagger·AsyncAPI 명세, 엔드포인트 레퍼런스, API 구성도·시퀀스, API CHANGELOG)를 만들거나 코드와 맞출 때 사용. 시스템 구성도는 docs-architecture, API 설계 원칙은 api-design-principles.
Also in 3 projects that use this
- +6 more from naman10parikh
- +1 more from jh941213
Other versions110 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 110
- google-gemini/gemini-cli★ 109ksame name
- jlia0/tinyclaw★ 3.6ksame name
- TinyAGI/tinyagi★ 3.6ksame name
- TinyAGI/tinyclaw★ 3.6ksame name
- Chachamaru127/claude-code-harness★ 3.2ksame name
- codeaholicguy/ai-devkit★ 1.7ksame name
- Muuuun/luxas★ 1.2ksame name
- shobcoder/shob★ 575same name
- boshu2/agentops★ 454same name
- makushingu/harness-maxxing★ 235same name
100 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository10 other files it gives its agents.
- deep-researchSkill
- emitir-nfseSkill
- excalidrawSkill
- folder-organizerSkill
- ig-competitor-researchSkill
- image-prompt-generatorSkill
- roastSkill
- screenwatchSkill
- site-builderSkill
- slide-creatorSkill
The file
We split this skill into the rules it gives an agent
1 rule. 0 are common, 1 is distinctive, and 0 are very specific to this project.
0
Common
Most of the 93 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 57
No corpo: o fato, por que ele importa e como aplicar.
“Common” is measured: kept by at least 6 in 10 of the 93 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Memory
Memória simples e auditável: tudo vira markdown numa pasta sua, que você pode abrir, editar, versionar no git ou abrir como vault no Obsidian. Nada vai para servidor.
Onde fica
$AGENT_MEMORY_DIR se a variável existir, senão ~/.agent-memory/:
~/.agent-memory/
index.md # uma linha por registro (o catálogo)
sessions/2026-09-18-1430-landing-page-cliente.md
facts/cliente-x-prefere-reuniao-de-manha.mdToda escrita passa pelo script scripts/mem.py (mantém o index.md consistente).
Rode sempre com python -X utf8 "<skill-dir>/scripts/mem.py" ....
Comandos
/memory save (fim de sessão ou marco importante)
Escreva o resumo da sessão neste formato, curto e factual:
## Objetivo Uma frase. ## Feito - entregas concretas, com caminho de arquivo quando houver ## Decisões - decisão: motivo ## Pendências - o que ficou aberto e por quê ## Próximo passo Uma ação concreta para começar a próxima sessão.- Salve com:
python -X utf8 "<skill-dir>/scripts/mem.py" save --project <projeto> --title "<título curto>" --tags "tag1,tag2" --body-file <arquivo-temporário.md>(--project= nome da pasta do projeto atual, se não houver outro óbvio.) - Responda em uma linha com o caminho salvo.
/memory learn <fato> (algo que vale para sempre)
Para preferências, regras e decisões duráveis ("o cliente X só aprova por e-mail").
Antes, rode search com as palavras-chave: se já existe um fato parecido, atualize
o arquivo existente em vez de criar outro.
python -X utf8 "<skill-dir>/scripts/mem.py" learn --project <projeto> --title "<fato em uma linha>" --body-file <arquivo.md>
No corpo: o fato, por que ele importa e como aplicar. Datas relativas ("ontem", "semana que vem") viram datas absolutas.
/memory load [projeto] (começo de sessão)
python -X utf8 "<skill-dir>/scripts/mem.py" recent --project <projeto> -n 3
Leia as sessões e os fatos listados e responda com: onde paramos, pendências abertas e o próximo passo sugerido. Máximo 8 linhas. Sem projeto: use os 3 registros mais recentes de qualquer projeto.
/memory search <termo>
python -X utf8 "<skill-dir>/scripts/mem.py" search "<termo>"
Mostra os registros que citam o termo. Leia os mais relevantes antes de responder.
Regras
- Nunca salve segredos: senhas, tokens, chaves de API, dados bancários, CPF de terceiros. Se aparecerem na sessão, deixe fora do resumo.
- Só salve o que foi feito ou decidido de verdade. Nada de plano como se fosse entrega. Teste que falhou é pendência, não "feito".
- Memória envelhece: ao carregar um fato antigo que cita arquivo, número ou status, confira se ainda vale antes de usar como verdade.
- Um fato por arquivo em
facts/. Sessões nunca são editadas depois de salvas: se algo mudou, a próxima sessão registra a mudança.
Dica: carregar sozinho
Para o agente sempre começar sabendo onde parou, adicione ao seu CLAUDE.md
(Claude Code) ou AGENTS.md (Codex):
No início de cada sessão, rode /memory load para o projeto atual.
Ao terminar um trabalho relevante, rode /memory save.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
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.

