with one click
corpus-health
用于显式配置目标 corpus 后,检查该 corpus 健康状态、LoreKit 状态、配置或知识库工作流问题。
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
用于显式配置目标 corpus 后,检查该 corpus 健康状态、LoreKit 状态、配置或知识库工作流问题。
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
从任意项目跨库查询已注册的 LoreKit corpus:点名哪个库(总知识库/某个项目库)就路由哪个库,不点名默认总库。触发词:查总知识库、查我XX库、去XX知识库找。
从 corpus 检索已有内容并综合答案,按精确/模糊/图遍历三层路由。触发词:查、找、搜、知识库里有没有、记得吗、之前说过、关于 XXX。
用于显式配置目标 corpus 后,把跨项目 URL、文件、粘贴来源、文章、文档或外部资料摄入、归档、保存到该 LoreKit corpus。
把新内容摄入 corpus,按 filing-rules 落盘并建反向链接。触发词:ingest、存一下、整理进知识库、收藏、归档、mp.weixin、公众号、带图文章,或用户直接发 URL / 文件路径。
工作台清算——on-demand 扫描 _工作台/ 淤积内容与复盘层 fileback 候选,AI 预判分组后出裁决账单,先生勾选后才执行(入库/归档/丢弃)。触发词:整理工作台、清算工作台、工作台该清了、triage、工作台清算。
对 corpus 做健康检查,扫 frontmatter 合规、断链、孤岛、来源可解析、复审到期(stale),只报告不自动修。触发词:lint、体检、检查 corpus、看看有没有问题、知识库健康。
| name | corpus-health |
| description | 用于显式配置目标 corpus 后,检查该 corpus 健康状态、LoreKit 状态、配置或知识库工作流问题。 |
Optional health-check gateway for a configured Lorekit corpus. It reports state and does not write knowledge.
Read ~/.config/lorekit/global-corpus.json.
Required:
default_corpuslorekit_bin or <default_corpus>/bin/lorekitUse the configured corpus-local wrapper for lorekit.
From <default_corpus>, run the narrow checks needed:
<lorekit_bin> doctor --json<lorekit_bin> ingest pendingDo not run sync or mutating repair commands unless the user explicitly asks.
Summarize:
Keep optional integration warnings separate from corpus hard failures.
This skill is report-only by default.
Do not modify 知识库/, 原料/, 每日/, or .wiki/ during a health check unless the user separately requests repair.