/llmwiki-lite:llmwiki-research-recordfrom LLM Wiki Lite 科研助手
Proactively capture durable research knowledge from the conversation into the project's research record without waiting to be asked: decisions with reasons, experiment results with configs and numbers, new findings, pitfalls and fixes, conventions, open questions, and agreed next steps. Use when a piece of research work concludes, when a recording checkpoint asks you to review recent work, when the user says 记录/记一下/保存/记住, or when the user wants to review past records or continue from the last session. Also the entry point for daily/weekly reports and the shared schedule. Never records chit-chat, general explanations, or unconcluded attempts.
Ships in LLM Wiki Lite 科研助手. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
目标:用户和助手一起工作时,由助手判断哪些内容值得长期保留,写进项目的科研记录;下次无论用哪个助手,都能接着干。用户不需要说“记录”,也不要征求是否记录。你负责判断和撰写;MCP 只做字段校验和 Markdown 追加。
templates/capture-rules.md 为准,本文件只做补充。llmwiki_settings_update(capture_mode=...):auto(默认,规则 + 检查)、passive(只注入规则)、off(全关)。环境变量 LLMWIKI_CAPTURE 可临时覆盖。用户说“别再提醒记录”“关掉自动记录”时照做,并告诉用户怎么恢复。python <插件目录>/scripts/capture_hook.py --preview <项目目录> 显示会话开始时会注入的内容。值得记录(满足任一):
判断标准:一周后,用户或另一个助手会不会因为不知道这件事而重复劳动、重复踩坑或做出矛盾的决定?会,就记。
不记录:通用知识讲解、闲聊、没有结论的中间过程、操作流水、代码本体(写路径即可)、密钥和隐私、已经记过且没有变化的内容。
边界情况:
supersedes 填旧记录编号。supersedes 填被更正的记录,不改写旧条目。resolves 标上编号。完成本身没什么值得记的,就等下一条记录顺带标上,不要为了标完成单独写一条。好的示例(写法示例,不是任何项目的真实结论):
粗配准改用 FPFH+RANSAC;understanding:初始位姿误差大时 ICP 容易陷入局部最优;改为 FPFH+RANSAC 做粗配准,ICP 只做精配准。放弃了直接调大 ICP 搜索半径的方案(耗时约 3 倍且仍不稳定)。;tags:["决策", "点云配准"]。label smoothing 0.1 使验证集 top-1 从 76.1% 到 77.4%;understanding:只改 label smoothing,其余同 configs/base.yaml;3 个随机种子均值 77.4%±0.2%,基线 76.1%。;evidence:["configs/ls01.yaml", "runs/ls01/metrics.csv"];tags:["结果", "训练技巧"]。Open3D 体素下采样使用点云自身单位;understanding:点云坐标是毫米时 voxel_size=0.05 几乎不降采样,后续特征计算很慢;应按毫米设 voxel_size=5,或先把点云换算成米。;tags:["踩坑", "点云预处理"]。差的示例:title 今日讨论,understanding 讨论了配准的一些问题,做了实验——不具体,离开对话看不懂,也没有证据。
llmwiki_record_write 字段:
project_root / project_id:用会话开始注入的值;没有注入时先解析项目(见下)。title:具体到能被搜索到。understanding(必填):离开对话也能看懂的结论;数值、路径、命令、论文名保持原文。discussion_context:为什么做这件事,一两句,可省略。evidence:真实存在的路径、命令或输出;不要编造。conclusion / decisions / open_questions / next_steps:只填真正发生的内容,没有就留空。related_files:项目内相对路径;related_pages:相关的 Wiki 或知识库页面。tags:第一个写类型(决策/结果/发现/踩坑/约定/问题),再加一两个主题词。supersedes:这条推翻或更新了哪些旧记录的结论,填记录编号(如 R3fa21c)或完整记录 ID。resolves:这条完成了哪些旧的下一步、回答了哪些旧的未决问题,填 R3fa21c.s1(第 1 个下一步)或 R3fa21c.q2(第 2 个问题)。编号不存在时工具会报错,改正后重试。一条记录只讲一个主题;不同主题分开记,一轮最多三条,不要把几个主题塞进一条。自动记录后只在回复末尾单独写一行「📝 已记录:<标题>」;用户明确要求记录时,再告诉用户工具返回的记录路径,并用 2–3 条要点说明记了什么。
llmwiki_project_get(current_path 为当前目录)。项目未注册时,只有用户明确要求记录才询问是否注册;不要为了记录擅自注册。records/YYYY/MM/YYYY-MM-DD.md,每次调用追加一条,不覆盖已有条目。源码目录(source_root)与 Wiki 目录(wiki_root)保持分开。knowledge/*.md 是当前有效的认识(项目架构、当前认识、关键概念等),由 llmwiki-maintain 流程从记录中提炼;替换旧内容需要用户确认。related_pages 即可。唯一例外是 knowledge/project-status.md(项目现状):在用版本、参数、推断状态或主线问题一有变化就当轮直接改,并在页尾更新日志加一行,规则以 templates/capture-rules.md 为准。用户要求“整理知识库”“更新知识库”时,按 llmwiki-maintain 执行。llmwiki_record_list(query=...) 检索、llmwiki_record_read 读全文。多条目日档要用带 #entry_key 的完整 ID,例如 records/2026/08/2026-08-04.md#123000-topic。superseded_by 非空,说明这条结论已被取代,以新记录为准;resolved_items 列出已完成的下一步和已回答的问题。会话开始的回顾已经去掉了这些内容。llmwiki_progress_context_write,并给出 project_root、task_id、base_revision 和已保存记录的 source_record_id;不要按标题猜任务,也不要用它改任务状态。llmwiki_web_start 打开本地网站的“科研记录”页面。有关联的每日待办、且本轮确实完成了交付时,可以在最终回复末尾追加隐藏标记,由异步 Stop Hook 提交为“待验收”。助手完成不等于用户验收,Hook 不会把任务改成 done:
<!-- llmwiki-research-result
{"version":1,"title":"具体标题","understanding":"交付内容与结论","evidence":["实际证据或路径"],"task_id":"32位每日待办ID","summary":"交付摘要","remaining":"","changed_paths":[]}
-->
没有 task_id 的独立科研结论直接用 llmwiki_record_write 记录。会话不在项目目录中时,在标记里填写所选已注册项目的 project_id,不要从聊天正文猜。同一标记重复触发是幂等的;异步 Hook 可能在会话立即结束时来不及完成,重要交付请在网站核对。
网站“科研记录 → + 手动记录”是用户自己的笔记(records/manual/<id>.md,图片在 records/assets/),会出现在列表和检索中。不要用 wiki_write 覆盖手动笔记;需要补充时写一条新的科研记录,或请用户在笔记界面编辑。笔记里的评论是用户的观察,不是已验证事实;笔记的时间信息只作为元数据,不写进正文。
执行日报、周报、共享计划(包括定时任务要求阅读本文件的共享计划流程)或首次连接计划时,必须先完整阅读同目录的 references/reports-and-schedule.md,并严格按其中流程执行。报告和科研记录互不替代:报告不回写成原始记录,科研记录也不代替报告。
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub juedouwang/llmwiki-lite-codex-plugin --plugin llmwiki-lite8 skills in this plugin
/llmwiki-literatureManage the complete literature workflow for an LLM Wiki project: research and recommend papers, wait for the user to select one, download the authorized original into the registered project, create a Simplified Chinese assisted-reading Markdown note, bind it with paper_file, and open the local literature center. Use when the user asks for paper recommendations, paper downloading, literature review, close reading, paper explanation, or adding a paper to the project library./llmwiki-maintainMaintain an existing LLM Wiki after project changes. Use for incremental updates, stale-source checks, broken links, changed files, contradictions, experiment updates, and Wiki health requests./llmwiki-