agentleFS
adeiltonpessiniadeiltonpessini/kit-memoria-ia/.claude/skills/remember/SKILL.md

remember

Skill0 starsChanged 5 days agoApache-2.0View on GitHub

Registra conhecimento curado (decisão, handoff de sessão, ADR/nota) como markdown grepável em docs/knowledge/ — método Akita, SEM RAG/embeddings. Use quando o usuário disser "anota essa decisão", "guarda isso", "faz o handoff da sessão", ou quando uma decisão não-óbvia precisa sobreviver à sessão. O hook SessionStart injeta o handoff de sessão mais recente.

71 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use agent-context-isolation, agentica-infrastructure 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.

The file

We split this skill into the rules it gives an agent

1 rule. 0 are common, 0 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 63 edited versions we read keep these.

  • 0

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    No fim de uma frente de trabalho relevante: --type session.

    line 28

“Common” is measured: kept by at least 6 in 10 of the 63 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

remember — inserir conhecimento (markdown grepável, sem RAG)

Conhecimento vive em docs/knowledge/ e é achado por rg depois — nunca embeddings. Estrutura: decisions/ (problema→decisão→razão→resultado), sessions/ (handoffs), misc/ (ADRs/notas).

Criar

node "$HOME/.kit-memoria-ia/kit.mjs" lembrar "<título>"                 # decisão (default)
node "$HOME/.kit-memoria-ia/kit.mjs" lembrar "<título>" --type session  # handoff de sessão
node "$HOME/.kit-memoria-ia/kit.mjs" lembrar "<título>" --type licao     # gotcha verificado (skill licao-aprendida)
node "$HOME/.kit-memoria-ia/kit.mjs" lembrar "<título>" --type misc      # ADR/nota
node "$HOME/.kit-memoria-ia/kit.mjs" lembrar "<título>" --print          # só imprime o template

Cria o .md com template + avisa se houver duplicata. Preencha o corpo e salve.

Buscar (antes de criar — evita duplicar)

node "$HOME/.kit-memoria-ia/kit.mjs" buscar "<tema>"   # ranqueado FTS5 (método Akita) — comece aqui
rg "<termo>" docs/knowledge/                       # exato/literal

Quando usar handoff de sessão

No fim de uma frente de trabalho relevante: --type session. No Claude Code, o hook SessionStart (~/.claude/kit/tools/knowledge/session-handoff.mjs) injeta o handoff mais recente na próxima sessão.

⚠️ O hook injeta SÓ o frontmatter + a PRIMEIRA seção # (cap 3.000 chars) — economia de token (decisão 27/07). Logo: o TL;DR tem que ser a primeira seção # do handoff, e tem que bastar sozinho (o que mudou, o que está no ar, o que ficou pendente). Detalhe vem depois, em seções seguintes, lido sob demanda por rg. Handoff sem TL;DR na frente = próxima sessão começa cega.

O template do handoff termina com a Retro: o que custou caro, o que mudar e no que virou. Item que vale para sempre vira lição na mesma sessão (skill licao-aprendida); o resto fica **Virou:** pendente e a consolidação recolhe.

Princípio

Memória é PISTA — verifique contra o sistema/código antes de confiar. Se um .md cita arquivo/tag/flag, confirme que ainda existe antes de recomendar.

Conteúdo de longo prazo sobre o usuário/projeto também pode ir na auto-memória local (MEMORY.md + arquivos), fora do git. Decisões técnicas do projeto → docs/knowledge/.

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.