@csuwl/opencode-memory-plugin
v1.0.0
Published
OpenClaw-style memory system for OpenCode with full automation and local vector search
Maintainers
Readme
@csuwl/opencode-memory-plugin
OpenClaw-style persistent memory system for OpenCode with full automation and local vector search
Installation
npm install @csuwl/opencode-memory-plugin -gThe plugin will be automatically configured for you!
Features
- 9 core memory files (OpenClaw-style)
- 8 memory tools (write, read, search, vector search)
- 2 automation agents (auto-save, auto-consolidate)
- Daily memory logs with automatic consolidation
- Semantic search using local embeddings
Usage
After installation, all memory tools are available in OpenCode:
# Write to memory
memory_write content="User prefers TypeScript" type="long-term"
# Search memory
memory_search query="typescript"
# Semantic search
vector_memory_search query="how to handle errors"
# List daily logs
list_daily days=7Configuration
Memory files are located at ~/.opencode/memory/:
SOUL.md- AI personality and boundariesAGENTS.md- Operating instructionsUSER.md- User profile and preferencesIDENTITY.md- Assistant identityTOOLS.md- Tool usage conventionsMEMORY.md- Long-term memory- And more...
Documentation
For full documentation, visit: https://github.com/csuwl/opencode-memory-plugin
License
MIT
