- name
SKILL.md
El archivo de la skill permanece en el repositorio del publicador.
Pega el comando copiado en una terminal. Instala este SKILL.md en ese agente.
npx skills add Light0305/Light-Science --skill light-memory -a cursor -yPega el comando copiado en una terminal. Instala este SKILL.md en ese agente.
npx skills add Light0305/Light-Science --skill light-memory -a claude-code -yPega el comando copiado en una terminal. Instala este SKILL.md en ese agente.
npx skills add Light0305/Light-Science --skill light-memory -a codex -yPega el comando copiado en una terminal. Instala este SKILL.md en ese agente.
npx skills add Light0305/Light-Science --skill light-memory -a grok -yEnvía el mensaje copiado en un chat de Grok Bot. El Bot obtiene este SKILL.md de GitHub y lo añade a las skills que comparten todos tus Bots.
Install this skill: https://github.com/Light0305/Light-Science/tree/HEAD/light-memoryDel publicador
让同一篇论文及其关联软著/专利在多轮研究和多次会话之后,仍能回答:问题是什么、依据在哪、为什么这样决定、哪些路走过、当前卡在哪、接着做什么。默认中文沟通。记忆是有来源的项目上下文,不是新的原始证据,也不负责启动其他技能、后台监控或替用户扩大研究范围。
需要项目文件时先读 项目目录约定。唯一默认入口是实际项目的 Memory/;本技能源码、参考快照与测试不是用户项目。用户已有记忆先阅读、按实际布局接入,不直接覆盖或自动导入全盘文件。
一个项目围绕一篇论文或一项软著,也可关联同源专利。记忆仅在本项目内流转;不把一个项目的结果、预算或偏好自动推广给其他项目。已有 project.json 是目录登记,README 是导航,专业记录是科学事实源,Memory/ 保存经过整理的上下文。light-leader 读取有关上下文并结合实际材料协调,按需将工作交接保存进 Workflow;记忆本身不运行任务。
完整工作方法与取舍见 记忆工作流。不是每轮对话都要写入;在决定、重要观测、失败教训、约束变化、问题关闭或阶段交接时保存有用增量。自动化脚本不调用模型、不提炼科学含义、不联网;宿主负责阅读与判断。
user_reported / source_reported / analyst_inference / verified_observation。后者只表示记录者实际核对所指观测,不认证研究结论。计划不写成已完成;技术失败、有效阴性和不可判定分开。scope 区分设计版本、批次、稿件版本或适用条件;相同 scope + slot 表示同一个待维护事实/决定。不同范围的两种结果可以同时成立,不能擅自合并。新的发现不因更新就默认覆盖旧判断。supersedes;撤回或问题已解决用有依据的状态变更。仍有真实争议就并列保存并标记冲突,不自动按最新时间、检索分数或多数意见选真。depends_on。来源变动/丢失、有效期到期、上游撤回/被替代/存在冲突时,依赖记忆需要复核;不能只重算指纹继续沿用旧结论。旧判断在历史中仍可追溯。Python 3.10+ 标准库。以本 SKILL 所在绝对目录替换 <skill-root>。先读 文件与命令契约,实际写入规格参考 capture.example.json;示例是合成材料,不能直接当项目事实。
python "<skill-root>/scripts/memory.py" init --project "<project>" --name "项目名称"
python "<skill-root>/scripts/memory.py" context --project "<project>" --query "本轮为什么需要补对照" --max-chars 6000
python "<skill-root>/scripts/memory.py" capture --project "<project>" --spec "<实际填写的增量.json>"
python "<skill-root>/scripts/memory.py" search --project "<project>" --query "评价器 RMSE" --history
python "<skill-root>/scripts/memory.py" show --project "<project>" --id MEM-0001
python "<skill-root>/scripts/memory.py" verify --project "<project>"
init/capture/render 可 --dry-run;读取、检索、历史与核验不写项目。capture 的 capture_id 使同一增量可安全重试;提交前整体验证,一次事件原子写入。派生总览损坏时从事件历史 render 重建;不修写原生研究记录来迁就记忆。
默认文件为 Memory/memory.json、events/EVT-000001.json 等不可变事件,以及可重建的 00-Memory总览.md / current.md。手写补充放 notes/,不会自动纳入记忆;读取后再提取有依据的增量。无需向量库、常驻服务或模型 API Key。
按本次任务读 阶段接入与交接 的有关行。先恢复研究目标、当前有效范围、重要反例、约束与下一步,再读本轮实际用到的原生材料。完成后只保存实质增量;专业身份和状态原样保留,不统一改造成记忆 schema。
交付先说明恢复/新增了什么、哪些判断仍待复核、接下来的具体动作与来源位置。上下文包包含来源状态、未解决冲突和被预算省略的数量;dependency_context 追出命中条目的上游、冲突同伴及替代版本,即使这些记录没有命中查询。替代入口只供核查,不自动重绑旧决定。closure_needs_review 提醒关闭/撤回依据变动,保留历史状态,由宿主回原生记录复核。无可靠命中时说清缺口,不生成“合理”的旧记忆。工具检查通过不等于记忆已覆盖全项目或结论正确。
设计借鉴与仓库版本见 来源与取舍;只在理解或更新实现时读。测试与已知边界见 验证记录。本版是可运行的文件型项目记忆,不宣称具备未验证的长期科研效果。
Maintain source-linked research project memory under Memory/, recall decisions and failed approaches, resume work across chats, and identify stale or conflicting context across Light-Skills research a
---name: light-memorydescription: Maintain source-linked research project memory under Memory/, recall decisions and failed approaches, resume…---# light-memory/SKILL.mdResumen general
Maintain source-linked research project memory under Memory/, recall decisions and failed approaches, resume work across chats, and identify stale or conflicting context across Light-Skills research and manuscript revision loops. Use for 项目记忆、继续上次科研、记住研究决策、记忆更新与冲突整理、为什么放弃某方案; source papers, scientific analysis and workflow orchestration remain with their specialist skills.
Preguntas frecuentes
Descarga light-memory/SKILL.md desde el publicador, o copia la ruta y abre el repositorio. PlugMCP lista la skill y no aloja el archivo.
El publicador lo mantiene en https://github.com/Light0305/Light-Science.
Claude, Cursor, Codex y Grok Build pueden leer un SKILL.md que añadas desde el repositorio del publicador. Grok Bot lo instala cuando envías en un chat el enlace a la carpeta de la skill en GitHub.