Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add GYF0311/lorekit --skill corpus-healthgit clone --depth 1 https://github.com/GYF0311/lorekitWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/gyf0311/lorekit/corpus-health)<a href="https://agentmods.dev/skills/gyf0311/lorekit/corpus-health"><img src="https://agentmods.dev/badge/skills/gyf0311/lorekit/corpus-health/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/gyf0311/lorekit/corpus-health"><img src="https://agentmods.dev/badge/skills/gyf0311/lorekit/corpus-health.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00033 | $0.00257 |
| Opus 5.5 | $0.00013 | $0.00103 |
| Sonnet 5.5 | $0.00007 | $0.00051 |
| Haiku 4.5 | $0.00003 | $0.00026 |
Grade A, and why
corpus-health scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
corpus-health
Optional health-check gateway for a configured Lorekit corpus. It reports state and does not write knowledge.
Config
Read ~/.config/lorekit/global-corpus.json.
Required:
default_corpuslorekit_binor<default_corpus>/bin/lorekit
Use the configured corpus-local wrapper for lorekit.
Checks
From <default_corpus>, run the narrow checks needed:
<lorekit_bin> doctor --json<lorekit_bin> ingest pending
Do not run sync or mutating repair commands unless the user explicitly asks.
Output
Summarize:
- corpus path
- hard failures
- warnings
- stale indexes
- pending ingest items
- suggested next commands
Keep optional integration warnings separate from corpus hard failures.
Safety
This skill is report-only by default.
Do not modify 知识库/, 原料/, 每日/, or .wiki/ during a health check unless the user separately requests repair.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 3mo ago First seen · 48 lines · 33 tokens per session scan A 922937ad4352
corpus-health is a skill published in the GitHub repository GYF0311/lorekit (5 stars, last pushed 4mo ago), licensed MIT. It adds 33 tokens to every session and 257 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
corpus-health compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| corpus-healthGYF0311/lorekit | Skill | 5 | 4mo ago | MIT | A | 33 | Claude Code, Codex |
| mindbasefrankchu91/mindbase-llm-wiki | Skill | 142 | 1mo ago | MIT | A | 105 | Claude Code |
| wiki-ingestAIwork4me/open-llm-wiki | Skill | 2 | 6mo ago | MIT | A | 116 | Claude Code, Codex |
| query-writebackAIwork4me/open-llm-wiki | Skill | 2 | 6mo ago | MIT | A | 82 | Claude Code, Codex |
| wiki-lintAIwork4me/open-llm-wiki | Skill | 2 | 6mo ago | MIT | A | 84 | Claude Code, Codex |
| zenwiki-askChenXplorer/zenwiki | Skill | 1 | 7mo ago | MIT | A | 63 | Claude Code |
| paper-readerpoco-ai/Agentero | Skill | 3.0k | yesterday | MIT | A | 43 | Claude Code, Codex |