‹ 首页

opencode-memory

@adnanwaasi · 收录于 1 周前 · 上游提交 1 个月前

Maintain a persistent memory file (AGENTS.md) for OpenCode and Claude Code projects — equivalent to CLAUDE.md. Use this skill whenever the user mentions OpenCode, AGENTS.md, project memory, session context, or wants to capture/update project knowledge so it persists across coding sessions. Trigger even for casual mentions like "remember this for next time", "update the project file", "save our decisions", "I use opencode", or "keep track of what we built". This skill creates, reads, and updates the AGENTS.md file with project structure, build/run commands, and a changelog of key decisions.

适合你,如果使用OpenCode或Claude Code,希望项目知识跨会话不丢失

/ 通过 npx 安装 校验哈希
npx oh-my-skill add adnanwaasi/skills_for_claude_and_opencode/opencode-memory
/ 通过 bash 安装
curl -fsSL https://oh-my-skill.com/install.sh | bash -s -- adnanwaasi/skills_for_claude_and_opencode/opencode-memory
/ 已经装过?验证本机副本,不用重装
npx oh-my-skill verify adnanwaasi/skills_for_claude_and_opencode/opencode-memory
安装目标可用 --agent / --scope 或 --to 明确指定;省略时只会在唯一已存在的 agent 目录上自动选择,零命中或多命中会停止并提示。content_hash 缺失或不一致均拒装。
0GitHub stars
~1.1K上下文体积 · 单文件
索引托管

怎么用

商店整理自技能原文 · 版本 2eb0494 · 表述以原文为准
它做什么

安装后,Claude 会自动为你的 OpenCode 或 Claude Code 项目创建并维护一个 AGENTS.md 文件,记录项目结构、命令和关键决策日志,并在每次会话开始时读取它,让你之前的讨论和设置不会丢失。

什么时候触发

当你提到 OpenCode、AGENTS.md、项目记忆、会话上下文,或说“记住这个”、“更新项目文件”、“保存我们的决定”等时触发。

装好后可以这样说
Claude 会更新 AGENTS.md 的决策日志。
Claude 会扫描项目并补充命令表。
Claude 会先读取 AGENTS.md 再回答。

评论

登录即可评论;带「已验证安装」的,是发布者名下有本店的安装或持有记录。