with one click
wiki
持久化 markdown 知识库,跨会话累积项目知识(ingest/query/lint/add/delete + 交叉引用 + 自动捕获)
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
持久化 markdown 知识库,跨会话累积项目知识(ingest/query/lint/add/delete + 交叉引用 + 自动捕获)
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
Socratic deep interview with mathematical ambiguity scoring — 4-dimension weighted clarity (Goal/Constraints/Criteria/Context), Round 0 topology gate, challenge agents (Contrarian/Simplifier/Ontologist), ontology tracking with stability ratios, and threshold-gated execution bridge.
2 阶段流水线:先 trace 查因果根因(3 道并行调查),再用 3 点注入机制把结果喂给 interview 定需求,最后桥接执行
Strategic planning through consensus — analyzes codebase, drives a Planner→Architect→Critic loop, produces a RALPLAN-DR + ADR decision artifact, and gates execution behind explicit user approval before any code is written.
Evidence-driven causal investigation lane that orchestrates competing hypotheses across parallel tracer workers, ranks evidence by a 6-tier strength hierarchy, forces falsification, runs a rebuttal round, and persists investigation state for cross-session recovery.
截图驱动的视觉 QA 判定器——把当前截图与参考图对比,返回严格 JSON 裁决,驱动下一轮编辑直到通过 90 分阈值
Detect and clean up AI-generated redundant or low-quality code.
| name | wiki |
| description | 持久化 markdown 知识库,跨会话累积项目知识(ingest/query/lint/add/delete + 交叉引用 + 自动捕获) |
持久化、自维护的 markdown 知识库,存项目知识和会话发现。对标 omc wiki(Karpathy LLM Wiki 模型),但跑在 snow-cli 上,用文件操作直接实现——不依赖 MCP 工具,不用向量嵌入,只用关键词 + tag 匹配,LLM 负责综合答案。
.snow/oms-state/notes/,别污染 wikicodebase-search 直接查代码,wiki 存「为什么」不存「是什么」#oms_researcher 或 oms trace skill每个会话都在重新发现项目知识——上次定过的架构、踩过的坑、写过的模式,换个会话就忘了。wiki 把这些知识沉淀成持久化 markdown 文件,跨会话可查可引用。关键设计:不用向量嵌入(向量数据库要部署、要维护、还不可解释),只用关键词 + tag 匹配——简单、透明、git 友好。LLM 负责综合答案,文件系统负责存储,ace-search 负责检索,三者分工。
把多条知识一次性处理成 wiki 页。一次 ingest 可写多个页。
title / content / tags / categoryauth-architecture)filesystem-create 写页文件到 .snow/oms-state/wiki/<slug>.md,带 YAML frontmatter:---
title: Auth Architecture
tags: [auth, architecture]
category: architecture
created: 2026-07-04
updated: 2026-07-04
---
index.md:在对应分类目录下追加该页条目(slug + title + tags)log.md 追加一行操作记录:2026-07-04 ingest auth-architecture [auth, architecture]按关键词 + tag 搜索所有页,返回匹配页和片段——LLM 综合答案,附页名引用。
filesystem-read 读 .snow/oms-state/wiki/index.md 拿到全部分类和 tag 目录ace-search 在 .snow/oms-state/wiki/ 下搜关键词,按 tag 过滤filesystem-read 读命中的页文件,提取片段[[page-name]] 引用跑健康检查,找孤儿页 / 过期内容 / 坏交叉引用 / 超大页 / 结构矛盾。
filesystem-read 读 index.md 拿到全部页列表filesystem-read 检查:
[[slug]] 引用它[[xxx]] 但 xxx.md 不存在updated 超过 90 天且无 session-log 引用ace-search 搜 [[page-name]] 找全部交叉引用,建反查表filesystem-create 写页 + 更新 index.md + 追加 log.mdfilesystem-read 读 index.md,按分类列出全部页filesystem-read 读 .snow/oms-state/wiki/<slug>.mdterminal-execute 删页文件 + 更新 index.md 移除条目 + 追加 log.md所有操作(ingest / add / delete / lint)都 append 到 .snow/oms-state/wiki/log.md,一行一条:
2026-07-04 ingest auth-architecture [auth, architecture]
2026-07-04 add deploy-runbook [deploy, runbook]
2026-07-04 lint 3 issues found
2026-07-04 delete outdated-api-v1
页按 category 字段分类:
architecture — 架构决策和组件设计decision — 关键技术选型和取舍pattern — 复用模式和约定debugging — 踩坑根因和修复environment — 环境配置和依赖session-log — 会话重大发现(自动捕获).snow/oms-state/wiki/*.md(markdown + YAML frontmatter).snow/oms-state/wiki/index.md(自动维护,按分类列条目).snow/oms-state/wiki/log.md(append-only 操作编年)用 [[page-name]] wiki-link 语法建交叉引用。lint 阶段会检查所有 [[xxx]] 指向的页是否存在,坏链接要修或删。
会话结束前,把重大发现(新踩的坑、新定的架构、新写的模式)自动捕获成 session-log 页。判断标准:影响后续会话的发现才入库,琐碎操作(改个 typo、跑个测试)不记。捕获流程跟 Quick Add 一致——写页 + 更新 index.md + 追加 log.md。
.snow/oms-state/ 是项目本地状态,不进版本库auth-architecture 不用 AuthArchitecture 或 auth_architecture[[page-name]] 引用再删.snow/oms-state/ 是本地状态,泄露环境细节还污染提交历史[[page-name]] 交叉引用一致性| 工具 | 用途 |
|---|---|
filesystem-create | 写新页 / 更新 index.md / 追加 log.md |
filesystem-read | 读页 / 读 index.md / lint 逐页扫描 |
filesystem-edit | 修改已有页内容 |
ace-search | query 搜关键词 / lint 找 [[page-name]] 交叉引用 |
terminal-execute | 删页文件 |