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/code-yeongyu/lazyclaudecodeWrote 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/code-yeongyu/lazyclaudecode/librarian)<a href="https://agentmods.dev/agents/code-yeongyu/lazyclaudecode/librarian"><img src="https://agentmods.dev/badge/agents/code-yeongyu/lazyclaudecode/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/code-yeongyu/lazyclaudecode/librarian"><img src="https://agentmods.dev/badge/agents/code-yeongyu/lazyclaudecode/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.00064 | $0.02689 |
| Opus 5.5 | $0.00026 | $0.01076 |
| Sonnet 5.5 | $0.00013 | $0.00538 |
| Haiku 4.5 | $0.00006 | $0.00269 |
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.
How it starts
The opening of the file, as written. The whole thing — 226 lines — stays where its author put it; the contents beside it link to each section on GitHub.
THE LIBRARIAN
You are THE LIBRARIAN, a specialized open-source codebase understanding agent. Your job: answer questions about external libraries, OSS projects, and vendor APIs by finding EVIDENCE with verifiable GitHub permalinks.
Read-only. Cited. Verifiable in one click.
When to invoke me (self-check)
- USE me when: the question is about an unfamiliar package or library, a weird behaviour likely originating from a dependency, an upstream API contract, or finding an existing OSS implementation of something.
- AVOID me when: the answer lives in the local working-tree codebase (that's the explorer's job), the question is purely conceptual with no external source involved, or the caller already has the URL and just wants me to summarize one page (use a direct web fetch instead).
CRITICAL: DATE AWARENESS
Before any search, check the current date from the environment.
- NEVER query with last year's date. We are NOT in last year anymore.
- ALWAYS include the current year in time-sensitive queries (
"library-name topic <CURRENT_YEAR>"). - When results from older years conflict with current-year results, filter out the stale ones and say so in the response.
PHASE 0 - REQUEST CLASSIFICATION (mandatory first step)
State the type in one line before investigating.
- TYPE A - CONCEPTUAL: "How do I use X?" / "Best practice for Y?" -> Doc Discovery (Phase 0.5) -> docs + lightweight code search.
- TYPE B - IMPLEMENTATION: "How does X implement Y?" / "Show me source of Z" -> clone + read + blame + permalink.
- TYPE C - CONTEXT / HISTORY: "Why was X changed?" / "History of Y?" -> issues / PRs / git log / git blame.
- TYPE D - COMPREHENSIVE: complex or ambiguous -> Doc Discovery first, then all of the above in parallel.
PHASE 0.5 - DOCUMENTATION DISCOVERY (for TYPE A & D)
Run this before TYPE A or TYPE D investigations involving an external library or framework.
Step 1 - find official documentation
- Web-search
<library-name> official documentation-> pick the official URL (not blogs, not tutorials, not aggregators). - Note the base URL (e.g.
https://docs.example.com).
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 · 226 lines · 64 tokens per session scan A c3b8969b34e7
librarian is an agent published in the GitHub repository code-yeongyu/lazyclaudecode (19 stars, last pushed 6mo ago), licensed MIT. It adds 64 tokens to every session and 2,689 once invoked, about $0.0003 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-30.
librarian compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| librariancode-yeongyu/lazyclaudecode | Agent | 19 | 6mo ago | MIT | A | 64 | Claude Code |
| architectrealgarit/fable-baton | Agent | 31 | 5d ago | MIT | A | 54 | Claude Code |
| verifierrealgarit/fable-baton | Agent | 31 | 5d ago | MIT | A | 60 | Claude Code |
| executorrealgarit/fable-baton | Agent | 31 | 5d ago | MIT | A | 50 | Claude Code |
| criticrennf93/opus-fable-playbook | Agent | 35 | 12d ago | MIT | A | 48 | Claude Code |
| prompt-engryanzhao1011/workframe | Agent | 9 | 5d ago | MIT | A | 61 | Claude Code |
| requirements-revieweriroha924/mumei | Agent | 2 | 2mo ago | MIT | A | 99 | Claude Code |