بنقرة واحدة
corpus-ingest
用于显式配置目标 corpus 后,把跨项目 URL、文件、粘贴来源、文章、文档或外部资料摄入、归档、保存到该 LoreKit corpus。
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
用于显式配置目标 corpus 后,把跨项目 URL、文件、粘贴来源、文章、文档或外部资料摄入、归档、保存到该 LoreKit corpus。
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
从任意项目跨库查询已注册的 LoreKit corpus:点名哪个库(总知识库/某个项目库)就路由哪个库,不点名默认总库。触发词:查总知识库、查我XX库、去XX知识库找。
从 corpus 检索已有内容并综合答案,按精确/模糊/图遍历三层路由。触发词:查、找、搜、知识库里有没有、记得吗、之前说过、关于 XXX。
把新内容摄入 corpus,按 filing-rules 落盘并建反向链接。触发词:ingest、存一下、整理进知识库、收藏、归档、mp.weixin、公众号、带图文章,或用户直接发 URL / 文件路径。
工作台清算——on-demand 扫描 _工作台/ 淤积内容与复盘层 fileback 候选,AI 预判分组后出裁决账单,先生勾选后才执行(入库/归档/丢弃)。触发词:整理工作台、清算工作台、工作台该清了、triage、工作台清算。
对 corpus 做健康检查,扫 frontmatter 合规、断链、孤岛、来源可解析、复审到期(stale),只报告不自动修。触发词:lint、体检、检查 corpus、看看有没有问题、知识库健康。
用于显式配置目标 corpus 后,把跨项目随手记录、想法、观察、决策或临时信息捕获到该 corpus 的工作台收件箱。
| name | corpus-ingest |
| description | 用于显式配置目标 corpus 后,把跨项目 URL、文件、粘贴来源、文章、文档或外部资料摄入、归档、保存到该 LoreKit corpus。 |
Optional ingest gateway for a configured Lorekit corpus. It brings external material into the target corpus while delegating filing rules to that corpus itself.
Read ~/.config/lorekit/global-corpus.json.
Required:
default_corpuslorekit_bin or <default_corpus>/bin/lorekitraw_dir (default 原料)knowledge_dir (default 知识库)Use the configured corpus-local wrapper for ingest writes.
Optional cross-project skill = entry and routing.
Target corpus rules = execution authority.
If the current working directory is already the intended corpus, prefer its local wiki-ingest route directly. Use this skill when the request starts outside the target corpus and needs configured cross-project routing.
Before writing, read:
<default_corpus>/AGENTS.md<default_corpus>/CLAUDE.md<default_corpus>/系统/filing-rules.md<default_corpus>/系统/frontmatter-spec.md<default_corpus>/skills/wiki-ingest/SKILL.md when presentUse for:
原料/ and compiled wiki pagesDo not use for:
corpus-capturecorpus-filebackwiki-dailywiki-remove or the lorekit remove dry-run pathcd <default_corpus>.<lorekit_bin> fetch <url>.wiki-ingest process for archive, wiki compilation, backlinks, ingest state, lint, sync, and cleanup of consumed _工作台/收件/ originals.原料/ immutable after archive.<lorekit_bin> sync and <lorekit_bin> lint --quick when the local ingest skill requires them; workbench-only evidence does not trigger sync until it is promoted.Never delete source material.
After a confirmed ingest, cleaning the consumed workbench handoff original is allowed only when the target corpus wiki-ingest rules say the canonical 原料/ source, wiki pages, ingest state/log, and verification are complete. Use lorekit trash, never rm.
Never bypass duplicate or in-progress states reported by lorekit fetch.
If the current session cannot write to the corpus, report the intended actions and stop.
Do not write private or sensitive material into 知识库/ unless the user explicitly asked to ingest it.