platforms/codex/skills/llm-wiki/SKILL.md
Karpathy 风格 LLM Wiki / markdown knowledge base 工作流。用于 ingest、query、lint 持久化知识库;先做 orientation,再按 analysis -> generation 维护 wiki。
npx skillsauth add codingsamss/ai-dotfiles llm-wikiInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
用于维护 Karpathy 风格的 LLM Wiki:把长期有价值的知识编译进一个可持续更新的 markdown wiki,而不是每次查询都从原始材料重做检索。
这个 skill 定义 llm-wiki 的通用工作流,不绑定具体 Vault、taxonomy、目录名或项目路径。项目现场规则必须继续从 wiki 自身读取。
当用户出现以下意图时使用本 skill:
llm wiki、wiki、knowledge base、知识库ingest / query / lint 一个 markdown wiki若当前环境存在 orbit-os、bird-twitter 等 skill,可与本 skill 协作:
orbit-osbird-twitter 获取原文或桥接 source,再回到 wiki ingest在 ingest / query / lint 之前,先定位 wiki 根目录,然后做 orientation。
wiki 路径优先级:
orientation 顺序:
SCHEMA.mdpurpose.mdindex.mdlog.mdAGENTS.md 或 _meta/quickstart-prompts.md,把它们视为项目现场补充规则只有完成 orientation 后,才能决定是否新建页面、更新页面或回答 query。
默认采用 analysis -> generation 两步,而不是直接写页面。
analysis 阶段至少要回答:
如果 wiki 已经定义 _meta/ingest-analysis/ 或等价目录,先把 analysis 落到该目录;如果没有,就先在回复里给出 analysis 摘要,再执行 generation。
generation 阶段要求:
SCHEMA.md / purpose.mdupdated 字段[[wikilinks]]index.mdlog.mdraw/ 视为原始层,默认不重写既有 source除非用户明确要求“跳过 analysis”或本地规则明确允许,否则不要直接一把写入 wiki。
query 不是普通聊天,先判断它是否属于 wiki 的长期主题范围。
步骤:
purpose.md 是否覆盖当前问题index.md 和相关页面定位已有知识queries/ 或回写现有页面当 wiki 规模变大时,可使用轻量 relevance 扩展:
但不要在没有本地约束的情况下,擅自发明复杂 graph ranking。
lint 关注结构健康,而不是重写内容。
至少检查:
index.md 是否漏页lint 的产出默认是问题清单和建议动作;除非用户要求,不要在 lint 阶段顺手大改内容。
如果 canonical 原文位于 wiki 外部的知识库或归档系统,优先在 wiki 的 raw/ 层写一份桥接 source,再把 frontmatter 指向桥接文件。这样可以避免源路径频繁漂移。
如果页面 sources 过长,可采用“瘦头部”策略:
source_count不要在没有本地 schema 支持的情况下强行改写。
purpose.md、_meta/ingest-analysis/ 或相同目录结构SCHEMA.md 自创结构一次合格的 wiki 操作,至少满足:
development
Query Midea MX / 美信 local message cache through the MX local HTTP query service from Codex. Use when the user asks to read MX sessions, search chat history, search messages globally or inside a group/session, list recent messages, or page message history. This is read-only and does not require send authorization. Never fall back to reading SQLite or app cache files directly.
development
Safely search MX users or groups and send Midea MX / 美信 IM messages from Codex. Use when the user asks to notify someone, send a message to a person or group, use a configured group alias, @ users, @ all, or send MX file/image messages. Read lookups need no extra authorization; every live send needs explicit user authorization for that exact target and message.
tools
MX channel output rules. Always active in MX conversations.
tools
Use the company WorkSpace `ws` CLI reliably as a delegated coding agent from Codex. Trigger when the user wants Codex to command `ws`, WorkSpace CLI, or the company opencode-derived coding tool to generate code, inspect a repo, run a bounded implementation task, or use a requested WorkSpace model while Codex reviews the output.