memoria-usuario

Store and retrieve per-user memory across Claude sessions via a CLI script.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/Rafael-2109/frete-sistema --skill memoria-usuario
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: memoria-usuario
Source: https://github.com/Rafael-2109/frete-sistema/tree/main/.claude/skills/memoria-usuario
Command: npx skills add https://github.com/Rafael-2109/frete-sistema --skill memoria-usuario

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Permite que Claude lembre informações entre sessões para personalizar respostas, manter contexto e melhorar a eficiência das interações.

Core Features & Use Cases

  • Salvar memórias: preferências de comunicação, fatos sobre o usuário, regras aprendidas e contexto.
  • Consultar memórias: trazer informações salvas para respostas mais precisas.
  • Atualizar e apagar memórias conforme necessário.

Quick Start

Ver Memórias: python .claude/skills/memoria-usuario/scripts/memoria.py view --user-id USER_ID Salvar Memória: python .claude/skills/memoria-usuario/scripts/memoria.py save --user-id USER_ID --path /memories/preferences.xml --content "<preferences>...</preferences>" Atualizar Memória: python .claude/skills/memoria-usuario/scripts/memoria.py update --user-id USER_ID --path /memories/preferences.xml --old "texto antigo" --new "texto novo" Deletar Memória: python .claude/skills/memoria-usuario/scripts/memoria.py delete --user-id USER_ID --path /memories/preferences.xml Limpar Memórias: python .claude/skills/memoria-usuario/scripts/memoria.py clear --user-id USER_ID

Frequently Asked Questions about memoria-usuario

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I store user preferences and context between Claude sessions?

Store user preferences and context using the memoria-usuario Skill's CLI script. Save structured data like preferences, facts, and rules to a hierarchical /memories store, then retrieve them at session start to tailor responses. The Skill persists data in a database-backed structure accessible across sessions.

Can I save and retrieve personalized information to maintain continuity across conversations?

Yes. Use the memoria-usuario Skill to save personalized information—communication preferences, user facts, learned rules—and retrieve it when needed. Each save operation stores data by user ID, enabling Claude to access and apply that context in future sessions.

What's the best way to implement session-persistent memory for Claude interactions?

Implement session-persistent memory using the memoria-usuario Skill's view, save, update, delete, and clear operations. Store data in structured paths like /memories/preferences.xml, then query by user ID before responding to apply remembered context and personalization.

How do I update or delete stored user memories when preferences change?

Update stored memories by specifying the user ID, memory path, and old/new content to replace. Delete individual memories by path or clear all memories for a user. Both operations modify the database-backed /memories store immediately.

Does memoria-usuario support hierarchical organization of different memory types?

Yes. Memoria-usuario implements a hierarchical /memories store with directory and file semantics, allowing you to organize different memory types—preferences, facts, rules, context—into separate paths and manage them independently.

What formats can I use to structure stored memory content?

The Skill accepts arbitrary content formats for memory storage. The Quick Start examples show XML structure for preferences, but you can store any text-based format—JSON, plain text, or domain-specific markup—by specifying it in the content parameter.