بنقرة واحدة
corpus-query
从任意项目跨库查询已注册的 LoreKit corpus:点名哪个库(总知识库/某个项目库)就路由哪个库,不点名默认总库。触发词:查总知识库、查我XX库、去XX知识库找。
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
从任意项目跨库查询已注册的 LoreKit corpus:点名哪个库(总知识库/某个项目库)就路由哪个库,不点名默认总库。触发词:查总知识库、查我XX库、去XX知识库找。
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
从 corpus 检索已有内容并综合答案,按精确/模糊/图遍历三层路由。触发词:查、找、搜、知识库里有没有、记得吗、之前说过、关于 XXX。
用于显式配置目标 corpus 后,把跨项目 URL、文件、粘贴来源、文章、文档或外部资料摄入、归档、保存到该 LoreKit corpus。
把新内容摄入 corpus,按 filing-rules 落盘并建反向链接。触发词:ingest、存一下、整理进知识库、收藏、归档、mp.weixin、公众号、带图文章,或用户直接发 URL / 文件路径。
工作台清算——on-demand 扫描 _工作台/ 淤积内容与复盘层 fileback 候选,AI 预判分组后出裁决账单,先生勾选后才执行(入库/归档/丢弃)。触发词:整理工作台、清算工作台、工作台该清了、triage、工作台清算。
对 corpus 做健康检查,扫 frontmatter 合规、断链、孤岛、来源可解析、复审到期(stale),只报告不自动修。触发词:lint、体检、检查 corpus、看看有没有问题、知识库健康。
用于显式配置目标 corpus 后,把跨项目随手记录、想法、观察、决策或临时信息捕获到该 corpus 的工作台收件箱。
| name | corpus-query |
| description | 从任意项目跨库查询已注册的 LoreKit corpus:点名哪个库(总知识库/某个项目库)就路由哪个库,不点名默认总库。触发词:查总知识库、查我XX库、去XX知识库找。 |
Optional read-only query gateway for registered Lorekit corpora. It routes a cross-project question to the named (or default) corpus, then follows that corpus's own rules.
Read:
~/.config/lorekit/global-corpus.json
Required:
default_corpuslorekit_bin or <default_corpus>/bin/lorekitknowledge_dir (default 知识库)Optional:
output_dircorpora — multi-corpus registry, enables querying any registered corpus by name:"corpora": {
"总库": { "path": "/path/to/corpus", "aliases": ["总知识库", "主库"] },
"AI产品": { "path": "/path/to/ai-corpus", "aliases": ["AI产品工作集"] }
}
If the config is missing, ask for it. Do not guess the corpus path.
corpora 注册表)→ 路由该库。default_corpus。wiki-query。CLI 一律优先目标库自带的 <corpus>/bin/lorekit;不存在时才用全局 lorekit(或配置里的 lorekit_bin,仅对 default_corpus 有效)。
This skill is an optional cross-project gateway. Target corpus rules remain authoritative.
Before answering, read the relevant local rules when available (<corpus> = the resolved target corpus):
<corpus>/AGENTS.md<corpus>/CLAUDE.md<corpus>/index.md<corpus>/skills/wiki-query/SKILL.mdRead only what is needed. Do not bulk-load the corpus.
cd <corpus>(按 Target resolution 定出的库).<corpus>/bin/lorekit search "<q>".<corpus>/index.md, then the relevant _INDEX.md files.知识库/ before answering.Answer with:
If the corpus does not contain relevant information, say so, then fall back to web research directly; label web findings as not-yet-ingested and cite URLs. Offer an inbox capture when a finding is worth keeping.
Default is read-only.
Do not modify 知识库/, 原料/, or 每日/ during query.
If the answer has reusable value, ask whether the user wants fileback. Only corpus-fileback performs the write.