From agent-memory
Persistent semantic memory for the agent. Use to save facts, patterns, and important decisions during interactions, and to retrieve relevant context. Always use when identifying a new pattern, a user decision, or a fact that must persist across sessions.
How this skill is triggered — by the user, by Claude, or both
Slash command
/agent-memory:agent-memoryThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Banco SQLite em `~/.claude/memory/brain.db`. Busca por palavras-chave com ranking por importância e frequência de acesso.
Banco SQLite em ~/.claude/memory/brain.db. Busca por palavras-chave com ranking por importância e frequência de acesso.
# Salvar uma memória
python3 ~/.claude/memory/brain.py add "fato importante" \
--tags "tag1,tag2" \
--project "news|myapp|work8|infra|geral" \
--importance 3 # 1=baixa, 2=média, 3=crítica
# Buscar por keywords
python3 ~/.claude/memory/brain.py search "horizon parou"
python3 ~/.claude/memory/brain.py search "deploy myapp"
# Listar por projeto
python3 ~/.claude/memory/brain.py list --project news
python3 ~/.claude/memory/brain.py list --tag padrão
# Remover memória obsoleta
python3 ~/.claude/memory/brain.py forget 42
# Estatísticas
python3 ~/.claude/memory/brain.py stats
| Tag | Quando usar |
|---|---|
padrão | Comportamento recorrente identificado |
decisão | Escolha explícita do the owner |
crítico | Regra que NUNCA deve ser violada |
erro | Bug ou falha conhecida com solução |
deploy | Procedimento de deploy específico |
segurança | Configuração ou regra de segurança |
schema | Estrutura de banco de dados |
incidente | Problema que aconteceu em produção |
news | myapp | work8 | neuralnets | infra | geral
Ao final de qualquer sessão com aprendizados novos, salvar automaticamente usando add.
Ao iniciar trabalho em um projeto, buscar o contexto com search "nome-do-projeto".
npx claudepluginhub billyfranklim1/claude-skills --plugin agent-memoryManages persistent semantic memory across sessions: store/retrieve knowledge/TODOs/issues, hybrid semantic search, hierarchy/tags organization, and maintenance tools.
Manages AI memories: saves decisions/patterns/facts with categories/tags, searches context, lists/deletes entries, rescans project architecture via MCP tools and /remember /forget.
PROACTIVELY query Forgetful MCP (mcp__forgetful__* tools) when starting work on any project, when user references past decisions or patterns, when implementing features that may have been solved before, or when needing context about preferences. Save important decisions, patterns, and architectural insights to memory.