librarian

librarian is a skill for Claude Code, Codex from sturlese/stigmergy. It costs 16 tokens per session (2,486 once invoked), scanned A, original, AGPL-3.0.

A filing tool for preserving useful conclusions from one source in a small team wiki. It decides whether information belongs in a note or a lasting explanatory concept.

In plain words
What is it for?
Use it to record decisions, events, explanations, and sourced conclusions, while identifying conflicting values or redundant wiki pages.
Why use it?
It helps keep durable knowledge and contradictions organized without copying every detail from the source.

Skill for Claude CodeCodex

Which agent this was written for is unclear — body not stored (licence); the path alone says nothing.

Good fit Use it to record decisions, events, explanations, and sourced conclusions, while identifying conflicting values or redundant wiki pages.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/sturlese/stigmergy/librarian
Install

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.

Any agent
npx skills add sturlese/stigmergy --skill librarian
Clone the repo
git clone --depth 1 https://github.com/sturlese/stigmergy

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for librarian

README.md
[![agentmods](https://agentmods.dev/badge/skills/sturlese/stigmergy/librarian/github.svg)](https://agentmods.dev/skills/sturlese/stigmergy/librarian)
Your own site
<a href="https://agentmods.dev/skills/sturlese/stigmergy/librarian"><img src="https://agentmods.dev/badge/skills/sturlese/stigmergy/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.

agentmods 80×15 button for librarian

Your own site · 80×15
<a href="https://agentmods.dev/skills/sturlese/stigmergy/librarian"><img src="https://agentmods.dev/badge/skills/sturlese/stigmergy/librarian.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 16 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,486 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00016 $0.02486
Opus 5.5 $0.00006 $0.00994
Sonnet 5.5 $0.00003 $0.00497
Haiku 4.5 $0.00002 $0.00249

Measured 16d ago against content hash bc96c834dc37, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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 16d 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.

src/stigmergy/knowledge/librarian_skill.md · 212 lines

The source is not reproduced here

Licensed AGPL-3.0

The repository is licensed AGPL-3.0, which this catalogue does not treat as permission to reproduce the file. Read it at the source.

Read it on GitHub

Changes

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.

  1. 16d ago Changed · +74 lines bc96c834dc37
  2. 1mo ago Changed · -72 lines 9559f3336825
  3. 1mo ago Changed · +18 lines 99952bd046dc
  4. 1mo ago Changed · -14 lines · -2 tokens per session 08bedb63aee2
  5. 1mo ago Changed · +78 lines b34bf1b18579
  6. 1mo ago First seen · 128 lines · 18 tokens per session scan A b9dbd0162db7

Subscribe to this mod's changes

librarian is a skill published in the GitHub repository sturlese/stigmergy (0 stars, last pushed 2d ago), licensed AGPL-3.0. It adds 16 tokens to every session and 2,486 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.

Related

Other skills, from other repositories

kb-memory

Local-first agent memory and knowledge service (RAG) installed from PyPI. Use when a task needs to store or recall long-term user preferences, project decisions, facts, documents or web pages, when different projects need separate memories, or when the user mentions "kb memory", "kb", or a local MCP memory service.…

fish827-08/rag-kb · 112 tokens

kb-log

A skill for recording important technical decisions and debugging lessons in a team knowledge base or a local ledger file.

riemannulus/knowledge-base · 124 tokens

kb-brief

A project-start briefing that searches a team's knowledge base for past pitfalls, decisions, recent changes, and people familiar with the work. It is intended for new tasks, issues, and bug fixes.

riemannulus/knowledge-base · 102 tokens

kb-wrap

A procedure for transferring recorded project decisions and lessons from a local ledger into a team knowledge base, then clearing the processed entries.

riemannulus/knowledge-base · 100 tokens

link-memory

Use after important user-approved decisions, when durable context should be proposed or reviewed, and for explicit Link memory lifecycle work: remember, recall, review, update, archive, restore, forget, or explain local memories through the CLI without requiring MCP.

gowtham0992/link · 0 tokens

link-retrieve

Use before answering work that may depend on user memory, project history, source-backed notes, or prior decisions; retrieve compact Link context through the CLI without loading the whole wiki or requiring MCP.

gowtham0992/link · 42 tokens