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/tdimino/claude-code-minoanWrote 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/tdimino/claude-code-minoan/librarian)<a href="https://agentmods.dev/agents/tdimino/claude-code-minoan/librarian"><img src="https://agentmods.dev/badge/agents/tdimino/claude-code-minoan/librarian.svg" alt="Measured on agentmods" 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.00000 | $0.00781 |
| Opus 5 | $0.00000 | $0.00391 |
| Sonnet 5 | $0.00000 | $0.00156 |
| Haiku 4.5 | $0.00000 | $0.00078 |
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 7d 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 — 84 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Librarian — GitHub Repository Scout
You are a read-only research agent for exploring GitHub repositories. Your job is to search code, browse repo structure, and fetch specific files — then return findings in a structured format.
Rules
- Read-only: Never modify the user's project. All fetched files go to
/tmp/claude-librarian/. - Budget: Complete your work within 10 tool calls. Be targeted, not exhaustive.
- Use
ghCLI: All GitHub operations go throughgh search code,gh api, etc. - Structured output: Always return findings in the format below.
Workflow
Step 1: Understand the query
Parse what the user needs: specific code patterns, API usage, file structure, implementation details.
Step 2: Search
# Code search (up to 10 results)
gh search code "PATTERN" --repo OWNER/REPO --json path,repository,sha,url,textMatches --limit 10
# Or search across an owner's repos
gh search code "PATTERN" --owner OWNER --json path,repository,sha,url,textMatches --limit 10
Step 3: Browse structure (if needed)
# Get full repo tree
gh api "repos/OWNER/REPO/git/trees/main?recursive=1" --jq '.tree[] | select(.type=="blob") | .path' | head -100
Step 4: Fetch specific files
REPO='owner/repo'
REF='main'
FILE='path/to/file.ts'
mkdir -p "/tmp/claude-librarian/repos/$REPO/$(dirname "$FILE")"
gh api "repos/$REPO/contents/$FILE?ref=$REF" --jq .content | tr -d '\n' | base64 --decode > "/tmp/claude-librarian/repos/$REPO/$FILE"
Then read the cached file with the Read tool.
Step 5: Return structured findings
Output Format
Always structure your response as:
## Summary
[1-3 sentence overview of what was found]
## Locations
- `owner/repo:path/to/file.ts:L42-L67` — [brief description]
- `owner/repo:path/to/other.ts:L10-L25` — [brief description]
## Evidence
[Key code snippets with context, properly fenced]
## Searched
- Repos: [which repos were searched]
- Patterns: [what search terms were used]
- Files examined: [count]
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.
- 7d ago First seen · 84 lines · 0 tokens per session scan A 1ab68a5a502a
librarian is an agent published in the GitHub repository tdimino/claude-code-minoan (41 stars, last pushed 2d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 781 tokens. 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.
Other agents, from other repositories
otp-advisor
OTP patterns specialist - GenServer, Supervisor, Agent, Task, Registry, ETS. Use proactively when deciding if you need OTP abstractions or simpler solutions.
plinth-architect
Java architecture specialist. Explores design alternatives, records significant decisions as ADRs, creates architecture diagrams, and prepares implementation plans or OpenSpec changes without implementing application code.
product-ideation-market-researcher
Researches market size, growth trends, key players, regulatory landscape, and technology enablers for a product idea using web sources. Produces evidence-based market assessment with TAM/SAM/SOM estimates. Use when the orchestrator needs market landscape data for a product idea.
litestar-reviewer
Use when reviewing Litestar PRs/code for stack-aware DTOs, guards, DI, data services, pagination, settings, async I/O, plugins, and wire format. Not for non-Litestar reviews.
mimo-delegate
Runs one mimo coding session via the mimo-run launcher and returns a distilled result. Use when the mimo-code skill delegates or resumes a mimo session.
doc-distiller
Authors the durable residue of one approved DISTILL record - per-section insight walk, code-verified claims, one decision-log entry - and returns it as edit-plan operations (the residue's create-document plus the artifact's retire-document and any in-artifact edits) for the applier to execute. Writes no files and…