memoria
Gives your OpenClaw agent persistent memory across every session. MEMORIA maintains a structured knowledge layer: who you are, what you're building, every decision made, every lesson learned, every project in flight. Your agent stops being a stranger and starts being a colleague who was there for everything. Zero cloud. Zero API keys. All memory lives in a single local markdown file you own and control forever.
Why use this skill?
Give your OpenClaw agent persistent memory with Memoria. Store project history, preferences, and goals locally in a secure, private Markdown file.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/contrario/agent-memoriaWhat This Skill Does
Memoria is the foundational persistent memory layer for your OpenClaw agent. It transforms your AI from a stateless chatbot into a long-term collaborator that remembers your project history, professional background, technical preferences, and critical decision-making logic. By maintaining a structured Markdown file on your local machine, Memoria ensures that your agent remains context-aware across every session. It eliminates the "blank slate" problem, allowing the agent to reference previous lessons, ongoing development tasks, and specific project goals without requiring you to repeat yourself. Because it operates entirely locally, all your data remains private and strictly under your control, free from cloud storage or external APIs.
Installation
To install Memoria, run the following command in your terminal:
clawhub install openclaw/skills/skills/contrario/agent-memoria
After installation, perform the one-time security setup to secure your data file:
- Create the directory:
mkdir -p ~/.memoria - Set restrictive permissions:
chmod 700 ~/.memoria - Initialize the file:
touch ~/.memoria/memory.md - Set file permissions:
chmod 600 ~/.memoria/memory.md - Ignore the file in Git:
echo ".memoria/" >> ~/.gitignoreandecho "memoria.md" >> ~/.gitignore
Use Cases
- Project Continuity: Pick up exactly where you left off in complex software builds, with the agent remembering your architectural decisions and stack preferences.
- Learning Journal: Automatically track lessons learned during coding sessions or experiments to avoid repeating past mistakes.
- Preference Automation: Define your preferred tone, detail level, and code formatting styles once, and ensure the agent applies them consistently in every future response.
- Contextual Brainstorming: Refer back to previous ideas, blocked tasks, and recurring problems to maintain high-level project visibility.
Example Prompts
- "Check my memory file and list the top three priorities for my current project marked as active."
- "I'm starting a new feature implementation; review my 'Decisions Log' and 'My Stack' sections to ensure I don't contradict earlier design choices."
- "Update the 'Lessons Learned' section with the fact that we fixed the memory leak by switching from async to sync logging."
Tips & Limitations
- Be Diligent: Memoria works best when you keep the file updated. The agent can suggest updates, but you should review the
memory.mdfile periodically to prune obsolete data. - Privacy: Since files are local, they will not sync across devices automatically unless you use a manual synchronization method. Always ensure your backup strategy remains compliant with your privacy requirements.
- Structure: Stick to the predefined Markdown headings (WHO I AM, WHAT I'M BUILDING, etc.) to ensure the agent can reliably parse and utilize your stored knowledge.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-contrario-agent-memoria": {
"enabled": true,
"auto_update": true
}
}
}Tags
Flags: file-write, file-read
Related Skills
Agent Migration Pack
将AI Agent完整迁移到新环境或分享给其他用户的标准化工具包,包含身份、记忆、技能、风格等完整信息,支持状态迁移
context-compressor
Intelligently compress context — conversations, code, logs. Preserve key information while reducing token usage. Auto-detects content type and applies optimal compression.
faq-distiller
从客服对话、评论、工单或聊天记录中提炼 FAQ,并按用户阶段分类。;use for faq, support, knowledge workflows;do not use for 暴露用户隐私, 替代工单系统.
daily-report-generator
Automatically generate daily/weekly work reports from git commits, calendar events, and task lists. Use when you need to quickly create professional work reports without manual effort.
auto-context
智能上下文卫生检查器。分析当前会话的上下文污染程度 (长对话、主题漂移、噪声累积),建议:continue、/fork、/btw 或新会话。 支持手动触发(/auto-context)和自动触发(响应层实现)。 基于 ArXiv 论文和认知心理学研究的多维度评估体系。