with one click
corpus-capture
用于显式配置目标 corpus 后,把跨项目随手记录、想法、观察、决策或临时信息捕获到该 corpus 的工作台收件箱。
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 的工作台收件箱。
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-capture |
| description | 用于显式配置目标 corpus 后,把跨项目随手记录、想法、观察、决策或临时信息捕获到该 corpus 的工作台收件箱。 |
Optional entry skill for cross-project capture. It collects fragments into the configured corpus workbench; it does not compile long-term knowledge.
Read:
~/.config/lorekit/global-corpus.json
Expected fields:
{
"default_corpus": "/ABSOLUTE/PATH/TO/CORPUS",
"lorekit_bin": "/ABSOLUTE/PATH/TO/CORPUS/bin/lorekit",
"workbench_inbox_dir": "_工作台/收件",
"daily_inbox_dir": "_工作台/日记收件",
"knowledge_dir": "知识库",
"raw_dir": "原料",
"output_dir": "输出"
}
If the config does not exist, ask the user to configure it. Do not guess the corpus path.
Use an absolute lorekit_bin from config, or <default_corpus>/bin/lorekit if it exists.
Use for:
Do not use for:
wiki-dailycorpus-fileback原料/ + 知识库/: use corpus-ingestRead global-corpus.json.
Detect current project name, cwd, git branch, and commit when available.
Create one append-only Markdown fragment under:
<default_corpus>/<workbench_inbox_dir>/<YYYY-MM-DD>/<timestamp>-<slug>.md
Use frontmatter:
---
type: inbox-note
status: inbox
captured_at: 2026-05-18T10:30:00+08:00
source_project:
source_context:
source_git_branch:
source_git_commit:
privacy: normal
related: []
---
知识库/.每日/.lorekit sync for workbench-only capture.If the user asks to inject content into the workbench, write to _工作台/收件/ by default.
If the user names a different workbench folder, only write under _工作台/. Do not write outside the configured corpus.
If the current Codex session cannot write to the configured corpus, report:
Do not attempt to bypass workspace permissions.