prompt-librarian

prompt-librarian is an agent for Claude Code from frankxai/agentic-creator-os. It costs 118 tokens per session (1,333 once invoked), scanned A, original, Apache-2.0.

A curator for a shared collection of AI prompts. It organizes prompts into categories, adds labels and required metadata, records authorship, and manages their ranking.

In plain words
What is it for?
It is for adding and publishing prompts, rebuilding categories, applying naming rules, recording sources, and ranking prompts by evaluation results.
Why use it?
It keeps the prompt library consistent, traceable, searchable, and limited to prompts that passed the required checks.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter.

Part of the agentic-creator-os plugin — 133 commands, 68 agents shipped together

Good fit It is for adding and publishing prompts, rebuilding categories, applying naming rules, recording sources, and ranking prompts by evaluation results.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/frankxai/agentic-creator-os/prompt-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.

Clone the repo
git clone --depth 1 https://github.com/frankxai/agentic-creator-os

Made for: Claude Code.

Or install agentic-creator-os, the plugin that ships this one along with the rest of its 133 commands, 68 agents.

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 prompt-librarian

README.md
[![agentmods](https://agentmods.dev/badge/agents/frankxai/agentic-creator-os/prompt-librarian/github.svg)](https://agentmods.dev/agents/frankxai/agentic-creator-os/prompt-librarian)
Your own site
<a href="https://agentmods.dev/agents/frankxai/agentic-creator-os/prompt-librarian"><img src="https://agentmods.dev/badge/agents/frankxai/agentic-creator-os/prompt-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 prompt-librarian

Your own site · 80×15
<a href="https://agentmods.dev/agents/frankxai/agentic-creator-os/prompt-librarian"><img src="https://agentmods.dev/badge/agents/frankxai/agentic-creator-os/prompt-librarian.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 118 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,333 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.00118 $0.01333
Opus 5 $0.00059 $0.00666
Sonnet 5 $0.00024 $0.00267
Haiku 4.5 $0.00012 $0.00133

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

Security

Grade A, and why

prompt-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 10d 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.

.claude/agents/prompt-librarian.md · 103 lines

How it starts

The opening of the file, as written. The whole thing — 103 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Prompt Librarian

Mission

Be the curator. Every pattern that lands in repos/prompt-library/prompts/ is correctly named, frontmattered, attributed, evaluated, red-teamed, categorized, tagged, ranked. The Library-of-Alexandria invariants hold.

When to invoke

  • @prompt-conductor dispatches flow-curate.
  • Any flow with publish: true lands here as the final write step.
  • "rebuild the library", "rerank by eval score", "what categories do we have", "add this pattern".

Hard rules

  • Never publish a pattern missing: id, version, lane, category, provenance, eval.score, red_team.status.
  • Never publish with red_team.status: fail. Return to red-team.
  • Never publish with eval.score < 3.5. Return to optimizer.
  • Verb-prefix naming. All pattern IDs follow <verb>_<topic> (Fabric convention): analyze_*, create_*, extract_*, summarize_*, answer_*, audit_*, check_*, compare_*, improve_*, write_*, rate_*, introspect_*, profile_*.
  • One-folder-per-pattern. No mega-files. Each pattern is prompts/<id>/.
  • Attribution mandatory. provenance.source, provenance.source_url, provenance.attribution, provenance.license all present.
  • Banned phrases: pattern body runs through lib/voice/frankx-voice.ts check during publish.

Library invariants (verified on every publish)

  • All patterns have unique id.
  • All patterns have version in semver.
  • All patterns have a colocated evals/promptfoo.yaml.
  • All patterns have a colocated README.md with 80-word human summary.
  • All patterns with provenance.license other than original have an entry in ATTRIBUTION.md.
  • taxonomy/categories.yaml lists every category used.
  • taxonomy/techniques.yaml lists every technique tag used.
  • taxonomy/lanes.yaml lists every lane used.

Ranking method

Rankings are auto-generated to rankings/by-eval-score.md (eval score desc) and curated manually in rankings/top-50.md (editorial picks balancing eval, novelty, utility).

Read the full file on GitHub · 103 lines

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. 10d ago First seen · 103 lines · 118 tokens per session scan A 709370e78319

Subscribe to this mod's changes

prompt-librarian is an agent published in the GitHub repository frankxai/agentic-creator-os (10 stars, last pushed today), licensed Apache-2.0. It adds 118 tokens to every session and 1,333 once invoked, about $0.0006 per session on Opus 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 agents, from other repositories

prompt-engineer-pm

Owns the AI product's PROMPT discipline — versioning, registry, prompt-as-code, prompt review, prompt-vs-fine-tune decisions. The PM-side architect for everything the product sends to a model. NOT to be confused with query-refiner-pm (which refines USER queries TO great-pm).

VandanaAjayDubey111/great-pm · 71 tokens

llm-integration-agent

LLM entegrasyon görevlerini üstlenir. Model API çağrıları, prompt tasarımı, tool-use şemaları, token/maliyet yönetimi, LLM çıktı doğrulama.

boranesn/agentic-base · 47 tokens

ai-evaluator

Designs and runs AI product evaluation frameworks: error analysis, eval suite design, LLM-as-judge pipelines, human eval protocols, regression testing plans, and improvement flywheels. Use this agent when the user is building an AI-powered feature and needs to define how to measure quality, catch regressions, or…

Productfculty-aipm/PM-Copilot-by-Product-Faculty · 282 tokens

prompt-reviewer

Reviews LLM prompt quality against prompt-master principles. Checks clarity, structure, examples, compression, positive framing. Use after writing or modifying LLM prompts.

stepanenkoviktor0110-boop/ai-dev-methodology-codex · 35 tokens

prompt-engineer

Prompt engineering specialist that creates or refines prompt artifacts using the embedded Prompt Engineering Bible. Use whenever creating or changing system prompts, agent prompts, instruction files, prompt registries, or other behavior-governing prompt assets.

chieflatif/vibeos-plugin · 48 tokens

Demonstrate

Agent for demonstrating VS Code features.

microsoft/vscode · 10 tokens