一键导入
opencode-memory
Persistent memory system with .memory.md, compaction, and cross-project sync
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Persistent memory system with .memory.md, compaction, and cross-project sync
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | opencode-memory |
| description | Persistent memory system with .memory.md, compaction, and cross-project sync |
| license | MIT |
| compatibility | opencode |
| metadata | {"author":"OpenCode Community","version":"1.0.0"} |
| triggers | ["memory",".memory.md","onthouden","remember","persistent memory","context onthouden","wat weet je","remember this","tell me about"] |
Persistent memory keeps useful project context available across sessions via the memory plugin, tools, hooks, and slash commands.
/memory status Show memory health and indexing status
/memory sync [--force] [--verbose] Index MEMORY.md and related sources
/memory compact Reduce memory size while preserving key context
/remember "text" [flags] Store new memory with category/priority metadata
/recall "query" [flags] Search memory with citations and relevance scores
/forget "query" [--force] Remove a memory entry (confirmation by default)
See full command behavior and examples in docs/MEMORY_USAGE.md.
/memory status to confirm memory is enabled and healthy./remember "Project uses Bun + strict TypeScript" --category context.Use targeted recall queries:
/recall "decision about auth provider"/recall "why vectorWeight 0.7" --source memory --min-score 0.3The expected result format is citation + score + preview, for example:
MEMORY.md#L45-L52 (0.87): "Use verb routing for /memory commands to keep UX consistent..."
/memory sync after substantial MEMORY.md edits./memory compact when memory grows noisy or repetitive./memory sync --force if search quality drops after major edits.Good:
Use memory_search as shared entry point for /recall and /forget to keep filters consistent.
Too vague:
Search was updated.
decision for architecture choices and tradeoffs.pattern for repeatable implementation approaches.correction for fixes and lessons learned.preference for team/user style constraints.context for project facts and constraints.high: security, production stability, irreversible decisions.medium: most implementation notes.low: temporary reminders and lightweight context.memory_status, memory_sync, memory_search, memory_remember).opencode.config.yaml and src/lib/config/, so memory behavior stays aligned with project-wide settings.docs/MEMORY_USAGE.md for complete installation, configuration, troubleshooting, and workflow coverage.Difficulty: ⭐⭐ (Intermediate) Complexity: Medium (scripts + integration) Use Case: Persistent context across sessions, project memory, cross-project knowledge
Analyzes sessions using ACE framework to generate prompt improvement suggestions focused on durable patterns.
Database technology selection and architecture - choose between SQL vs NoSQL, PostgreSQL vs MySQL vs MongoDB, scaling strategies, migration planning. Use for database DECISIONS. For PostgreSQL implementation use postgresql skill.
Analyze feature flows for completeness, preconditions, and branch coverage using reusable flow-analyzer tools.
Automated post-phase validation workflow for GSD phases with deterministic gates and HITL controls.
Full workflow orchestration with config-driven routing and phase-based execution
Complete OpenCode knowledge base with live documentation access. Use for questions about OpenCode CLI, skills, plugins, tools, agents, SDK, or configuration. Automatically searches official docs via Context7 API with local fallback.