gyf0311/lorekit/corpus-fileback
- community
Checking that the SKILL.md file is still in the repository.
用于显式配置目标 corpus 后,在用户明确确认时把可复用结论、决策、综合判断或选定候选写回该 LoreKit corpus 的知识库。
Install
npx vskill@latest install gyf0311/lorekit/corpus-filebackSKILL.md
corpus-fileback
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.
Confirmation Gate
Only write to 知识库/ when the user explicitly says one of:
- "确认写入知识库"
- "确认第 1、3 条 fileback"
- "把这个沉淀到知识库"
- "写回 corpus"
- "注入知识库"
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.
Config
Read ~/.config/lorekit/global-corpus.json.
Required:
default_corpuslorekit_binor<default_corpus>/bin/lorekitknowledge_dir(default知识库)
Use the configured corpus-local wrapper for writes.
Before Writing
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.mdwhen present
What To Write
Write reusable conclusions, decisions, and stable synthesis.
Do not write:
- ordinary todo items
- one-off emotions
- temporary complaints
- unverified guesses
- private content unless explicitly approved
- full diary prose
When fileback comes from wiki-daily candidates, preserve backlinks to the source daily page and candidate report.
Action
- Identify exactly which candidate or conclusion the user confirmed.
- Resolve the subject using corpus filing rules.
- Search existing pages with
<lorekit_bin> search "<subject>". - Append to existing pages or create new pages according to local rules.
- Preserve source backlinks.
- Run the local verification required by
wiki-fileback, usually<lorekit_bin> syncand<lorekit_bin> lint --quick. - Report changed paths and verification.
Safety
Do not auto-fileback from automation.
If confirmation is ambiguous, ask which candidate numbers or conclusion should be written.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/corpus-fileback/SKILL.md
Popularity
- Repository stars
- 5
- Repository forks
- 1
- 7-day trend score
- 9
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/gyf0311/lorekit/corpus-fileback)