一键导入
corpus-fileback
用于显式配置目标 corpus 后,在用户明确确认时把可复用结论、决策、综合判断或选定候选写回该 LoreKit corpus 的知识库。
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
用于显式配置目标 corpus 后,在用户明确确认时把可复用结论、决策、综合判断或选定候选写回该 LoreKit corpus 的知识库。
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
从任意项目跨库查询已注册的 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-fileback |
| description | 用于显式配置目标 corpus 后,在用户明确确认时把可复用结论、决策、综合判断或选定候选写回该 LoreKit corpus 的知识库。 |
Optional fileback gateway for a configured Lorekit corpus. It writes only confirmed long-term knowledge, using target corpus rules.
If the current working directory is already the intended corpus, prefer its local wiki-fileback route directly. Use this skill when the request starts outside the target corpus and needs configured cross-project routing.
Only write to 知识库/ when the user explicitly says one of:
Notifications, candidate lists, or Feishu/Lark messages are reminders only. They are not confirmation unless the user copies the confirmation back into this Codex conversation.
Read ~/.config/lorekit/global-corpus.json.
Required:
default_corpuslorekit_bin or <default_corpus>/bin/lorekitknowledge_dir (default 知识库)Use the configured corpus-local wrapper for writes.
Read:
<default_corpus>/AGENTS.md<default_corpus>/CLAUDE.md<default_corpus>/系统/filing-rules.md<default_corpus>/系统/frontmatter-spec.md<default_corpus>/index.md<default_corpus>/skills/wiki-fileback/SKILL.md when presentWrite reusable conclusions, decisions, and stable synthesis.
Do not write:
When fileback comes from wiki-daily candidates, preserve backlinks to the source daily page and candidate report.
<lorekit_bin> search "<subject>".wiki-fileback, usually <lorekit_bin> sync and <lorekit_bin> lint --quick.Do not auto-fileback from automation.
If confirmation is ambiguous, ask which candidate numbers or conclusion should be written.