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
autodream-core
通用记忆整理引擎 — 基于适配器模式的跨平台记忆整理技能。自动去重、合并、删除过时条目。| Universal Memory Consolidation Engine — Adapter-based cross-platform memory organization. Auto-dedup, merge, prune stale entries.
context-compressor
Intelligently compress context — conversations, code, logs. Preserve key information while reducing token usage. Auto-detects content type and applies optimal compression.
local-bookmark-librarian
去重和再分类本地导出的书签或链接清单,生成主题索引和维护建议。;use for bookmarks, links, knowledge workflows;do not use for 直接修改浏览器配置, 删除用户未确认链接.
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.