agent-memory-patterns
永続エージェント向けメモリアーキテクチャパターン
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/byron-mckeeby/agent-memory-patternsWhat This Skill Does
agent-memory-patterns is a sophisticated framework designed to provide OpenClaw agents with persistent, long-term memory capabilities. It moves beyond ephemeral session memory by implementing a hierarchical storage system that separates daily logging, pending tasks, and curated long-term knowledge. The system utilizes local file-based storage, allowing for human-readable and machine-searchable documentation. Through automated shell scripts, the agent can initialize daily logs, structure event metadata, and perform weekly curation of high-importance memories. By integrating this pattern, your agent transforms from a stateless assistant into an evolving entity capable of recalling past interactions, technical learnings, and specific project requirements across sessions.
Installation
To integrate this memory architecture into your OpenClaw agent, execute the following command in your terminal:
clawhub install openclaw/skills/skills/byron-mckeeby/agent-memory-patterns
Ensure that the agent process has read/write permissions for the ~/.openclaw/workspace directory, as the system relies on local disk I/O to maintain the memory/ subdirectory and the root MEMORY.md file.
Use Cases
- Project Management: Automatically tracking requirements and decisions made during daily stand-ups or technical deep-dives.
- Continuous Learning: Identifying recurring technical obstacles or code patterns learned during debugging sessions and formalizing them into a long-term knowledge base.
- Knowledge Management: Managing unstructured external content by passing data into
pending-memories.mdfor later processing and filtering. - Compliance & History: Maintaining a detailed, searchable audit trail of agent-user interactions for long-term project auditing.
Example Prompts
- "Check my daily memory log for today and summarize the high-importance events concerning the database migration project."
- "Perform the weekly memory curation task; please extract all insights tagged with 'high' importance from the past seven days and add them to my MEMORY.md."
- "I just learned a new optimization trick for Python performance; please log this as a 'learned' event in today's daily memory file."
Tips & Limitations
- File Management: Since this skill performs heavy file operations, ensure your environment supports local persistent storage. Cloud-based containers that reset file systems on restart are not ideal unless they mount persistent volumes.
- Regex Limits: The current curation logic relies on
grepand simple character markers. Ensure you strictly follow the marking format (🔴, 🟡, etc.) to ensure the curation scripts capture your most critical data accurately. - Manual Cleanup: While the curation process automates much of the work, periodic review of
MEMORY.mdby a human is recommended to prune irrelevant data and maintain clarity.
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-byron-mckeeby-agent-memory-patterns": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-write, file-read, code-execution
Related Skills
ethereum-read-only
Foundry castを使用したウォレット不要のオンチェーン状態読み取り
trade-with-taro
太郎(kairyuu.net)とのエージェント間知識交換スキル。太郎の交換エンドポイントを通じて知識の提案・取引を行う。知識交換、エージェント間通信、メモリトレードに使用。すべての提案は日本語で行うこと。
agent-security-audit
エージェント向けプロンプト・インジェクション防御チェックリスト
ephemeral-media-hosting
自動削除機能付き一時メディアホスティングシステム
hugo-blog-agent
エージェント読者に最適化されたHugoブログの構築