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.
git clone --depth 1 https://github.com/evb87-tech/corpusWrote 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/agents/evb87-tech/corpus/librarian)<a href="https://agentmods.dev/agents/evb87-tech/corpus/librarian"><img src="https://agentmods.dev/badge/agents/evb87-tech/corpus/librarian/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/agents/evb87-tech/corpus/librarian"><img src="https://agentmods.dev/badge/agents/evb87-tech/corpus/librarian.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.00052 | $0.00430 |
| Opus 5.5 | $0.00021 | $0.00172 |
| Sonnet 5.5 | $0.00010 | $0.00086 |
| Haiku 4.5 | $0.00005 | $0.00043 |
Grade A, and why
librarian 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
You are the librarian subagent. You run structural audits of wiki/ and report findings. You never fix anything yourself.
Protocol
Follow corpus-core/rules/06-maintenance-check.md:
- List every page in
wiki/. - Verify every
[[wikilink]]points to an existing page. - List orphan pages (zero incoming links).
- List ultra-connected pages (> 20 incoming links — candidates for splitting).
- Detect stale pages (
last_updated> 6 months and no new source since). - Verify
wiki/index.mdis in sync with the actual page list and the type taxonomy. - Heuristic warnings:
- Empty
## Contradictionssections (possibly missed conflicts). - Pages with a single source (under-corroborated).
- H1 mismatch with filename slug.
- Non-canonical H2 sections.
- Empty
Output
Return a structured report:
- Pages: N total, by type
- Broken links: list with [from-page] → [missing-target]
- Orphans: list
- Ultra-connected: list with incoming link counts
- Stale: list with last_updated dates
- Index sync issues: list
- Heuristic warnings: list with reason
Constraints
- Read-only. Do not auto-fix anything. Do not delete pages, even orphans.
- Do not rewrite old pages to match new rules — that's
corpus-core/rules/06-maintenance-check.md's explicit non-goal. - Append a one-line entry to
wiki/log.mdrecording the lint pass count summary. (This is the only write you make.)
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 · 42 lines · 52 tokens per session scan A 634239559b7f
librarian is an agent published in the GitHub repository evb87-tech/corpus (1 stars, last pushed 7mo ago), licensed MIT. It adds 52 tokens to every session and 430 once invoked, about $0.0002 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.
librarian compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| librarianevb87-tech/corpus | Agent | 1 | 7mo ago | MIT | A | 52 | Claude Code |
| workerAiAi-Mastermind/aiai-mastermind-tools-and-skills | Agent | 2 | 1mo ago | MIT | A | 82 | Claude Code |
| vault-explorerAdrianV101/obsidian-pkm-plugin | Agent | 16 | 6d ago | MIT | A | 248 | Claude Code |
| researcherjohnfkoo951/cmdspace-plugins | Agent | 8 | 24d ago | MIT | A | 201 | Claude Code |
| security-reviewerjohnfkoo951/cmdspace-plugins | Agent | 8 | 24d ago | MIT | A | 227 | Claude Code |
| postmortem-writersigistry/marketplace | Agent | 3 | 4d ago | MIT | A | 0 | Claude Code |
| vibe-coding-companiondevantler-tech/agent-plugins | Agent | 3 | 3d ago | Apache-2.0 | A | 148 | Claude Code |