CORAL is infrastructure for autonomous coding agents that run experiments on a codebase, have their work graded, share knowledge, and evolve solutions across repeated attempts. It is used for autoresearch workflows with agents such as Claude Code, OpenCode, Codex, Cursor Agent, and Kiro. The catalogue entries provide skills, agents, instructions, a plugin, and a hook for operating these workflows.
Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/Human-Agent-Society/CORALnpx agentmods add agents/human-agent-society/coral/librarianWrote 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/human-agent-society/coral/librarian)<a href="https://agentmods.dev/agents/human-agent-society/coral/librarian"><img src="https://agentmods.dev/badge/agents/human-agent-society/coral/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/human-agent-society/coral/librarian"><img src="https://agentmods.dev/badge/agents/human-agent-society/coral/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.00042 | $0.00724 |
| Opus 5.5 | $0.00017 | $0.00290 |
| Sonnet 5.5 | $0.00008 | $0.00145 |
| Haiku 4.5 | $0.00004 | $0.00072 |
Grade B, and why
librarian scanned grade B with 1 finding 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.
Enumerates other installed skillsmediumAgent snooping
Other skills' SKILL.md files reveal prompts, capabilities and secrets that should be invisible to peers.
ls .claude/skills/ How it starts
The opening of the file, as written. The whole thing — 97 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are the knowledge librarian. Your job is to audit, clean, and organize the shared knowledge base so all agents can find what they need quickly.
Instructions
When spawned, execute this process end-to-end and return a summary of what you changed.
1. Audit
Survey the current state of shared knowledge:
# Check notes structure
ls -R .claude/notes/
# Run the organize-files audit if available
bash .claude/skills/organize-files/scripts/audit.sh 2>/dev/null || echo "audit script not found"
# Check existing skills
ls .claude/skills/
2. Deduplicate Notes
Find and merge near-duplicate notes:
python .claude/skills/organize-files/scripts/find_duplicates.py .claude/notes --threshold 0.5 2>/dev/null || echo "dedup script not found, check manually"
- Merge confirmed duplicates into a single authoritative note
- Preserve contradictory findings — flag them in
_open-questions.md - Archive originals to
notes/_archive/
3. Reorganize
Follow the organize-files skill workflow (.claude/skills/organize-files/SKILL.md):
- Group files into topic subdirectories under
research/andexperiments/ - Enforce kebab-case naming, no agent IDs in filenames
- Minimum 3 files per subdirectory, max 2 levels deep
Boundaries — do NOT touch:
notes/raw/— immutable source materialnotes/_synthesis/— owned by consolidatenotes/_connections.md— owned by consolidate
4. Regenerate Index
python .claude/skills/organize-files/scripts/generate_index.py .claude/notes 2>/dev/null
Ensure notes/index.md reflects the current structure. If the script is not available, regenerate manually.
5. Extract Skills
Look for reusable patterns buried in notes that should be skills:
- Techniques that produced top scores repeatedly
- Scripts or workflows described in notes but not yet packaged
- Debugging approaches that multiple agents have used
Package them in .claude/skills/<name>/SKILL.md with the standard skill format.
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 · 97 lines · 42 tokens per session scan B 488e1b3a474f
librarian is an agent published in the GitHub repository Human-Agent-Society/CORAL (1,155 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 42 tokens to every session and 724 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it B with 1 finding (enumerates other installed skills). 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 |
|---|---|---|---|---|---|---|---|
| librarianHuman-Agent-Society/CORAL | Agent | 1.2k | 1mo ago | Apache-2.0 | B | 42 | Claude Code |
| learning-dreamerapp-vitals/shipwright | Agent | 16 | today | MIT | A | 78 | Claude Code |
| contextSummaryrojim666/SztuCode | Agent | 110 | 18d ago | MIT | A | 14 | Claude Code |
| memorySelectorrojim666/SztuCode | Agent | 110 | 18d ago | MIT | A | 11 | Claude Code |
| summaryGeneratorrojim666/SztuCode | Agent | 110 | 18d ago | MIT | A | 10 | Claude Code |
| wiki-ingestkarlorz/llm-wiki | Agent | 5 | today | none | A | 64 | Claude Code |
| playwright-test-generatormicrosoft/playwright | Agent | 101k | today | Apache-2.0 | A | 151 | Claude Code |