بنقرة واحدة
memory-updater
检查并更新 hello-scholar 全局 memory 文件,使其与 skills、commands、agents 和 hooks 的变化保持同步。
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
检查并更新 hello-scholar 全局 memory 文件,使其与 skills、commands、agents 和 hooks 的变化保持同步。
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Use when the user asks to generate or refresh an architecture map, structure diagram, core call flow, local viewer assets, or runs ~map. Produces hello-scholar native architecture-map.json plus compact Markdown and Mermaid companion artifacts.
Use when the user asks to open the architecture viewer, view diagrams, inspect node evidence, export the local architecture map, or troubleshoot hello-scholar map view/export behavior.
实验分析命令,基于 experiment package、runs、metrics 和 evidence 形成结果解释与下一轮实验计划。
实现命令,把 plan package、change record 或 experiment package 落成代码、配置、文档或实验变更。
Use only when the user explicitly types ~map. Generates or refreshes the hello-scholar native architecture map by invoking the architecture-map workflow, then validates and points to the local viewer.
用于涉及编写或修改源码的日常编码任务。
| name | memory-updater |
| description | 检查并更新 hello-scholar 全局 memory 文件,使其与 skills、commands、agents 和 hooks 的变化保持同步。 |
| tags | ["Memory","Configuration","Sync","Workflow"] |
检查并更新 hello-scholar 的全局 memory 文件,确保其内容与 skills、commands、agents 和 hooks 的源码保持同步。
canonical global memory 文件是:
~/.hello-scholar/AGENTS-memory.md它可以总结:
这个文件属于全局知识,必须放在 uninstall-managed plugin/runtime 目录之外。
扫描源码文件修改时间
~/.codex/hello-scholar/skills/**/SKILL.md~/.codex/hello-scholar/agents/**/AGENTS.md~/.codex/hello-scholar/commands/**/*.md~/.codex/hello-scholar/hooks/**/*.{js,json}./skills/、./agents/、./commands/、./hooks/与 ~/.hello-scholar/AGENTS-memory.md 对比
~/.hello-scholar/.last-memory-sync 跟踪上次同步时间生成报告
Scanning Skills: X items
Scanning Commands: Y items
Scanning Agents: Z items
Scanning Hooks: W items
Sections needing update:
- [ ] Skill catalog
- [ ] Command list
- [ ] Agent config
- [ ] Hook definitions
询问用户是否继续:
yes - 执行更新no - 取消diff - 展示详细差异~/.hello-scholar/.last-memory-sync--check:仅检查,不更新--force:不经确认强制更新--diff:展示差异对比