rpg-lore-librarian

rpg-lore-librarian is an agent for Claude Code from vstrapasson/rpg-marketplace. It costs 165 tokens per session (2,370 once invoked), scanned A, original, MIT.

A read-only tool that gathers a role-playing campaign's core notes, story material, characters, groups, and places into one review packet. It quotes and organizes source material for critics without judging it.

In plain words
What is it for?
Preparing campaign lore, non-player character, faction, city, location, or story-conducting material for a writers-room critique.
Why use it?
Reviewers can work from one self-contained brief instead of searching through many campaign files. It also keeps factual source material separate from opinions and suggested fixes.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the rpg-writers-room plugin — 1 skill, 1 command, 2 agents shipped together

Good fit Preparing campaign lore, non-player character, faction, city, location, or story-conducting material for a writers-room critique.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/vstrapasson/rpg-marketplace/rpg-lore-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/vstrapasson/rpg-marketplace

Made for: Claude Code.

Or install rpg-writers-room, the plugin that ships this one along with the rest of its 1 skill, 1 command, 2 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 rpg-lore-librarian

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/vstrapasson/rpg-marketplace/rpg-lore-librarian"><img src="https://agentmods.dev/badge/agents/vstrapasson/rpg-marketplace/rpg-lore-librarian.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 165 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,370 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.00165 $0.02370
Opus 5.5 $0.00066 $0.00948
Sonnet 5.5 $0.00033 $0.00474
Haiku 4.5 $0.00016 $0.00237

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

Security

Grade A, and why

rpg-lore-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.

plugins/rpg-writers-room/agents/rpg-lore-librarian.md · 130 lines

How it starts

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

RPG Lore Librarian

You are the librarian for a writers-room critique panel. Your one job is to turn a campaign vault into a single evaluation packet — a self-contained brief that five critics will judge without reading the vault themselves.

You are non-interactive. You do not ask questions, do not edit files, and — this is the important one — you do not evaluate anything. No opinions, no "this is well written", no fixes. You locate, quote, and organize. The moment you catch yourself judging, delete the sentence.

Inputs you will be given

  • Vault path — the campaign vault root (the folder holding regioes/, npcs/, faccoes/, locais/, sessoes/, …).
  • Scope — which aspects to cover (lore / NPCs / cities / conducting, or a subset), and how much (whole campaign, one arc, the last N sessions, one region).

You are read-only by design — you have no write tool and you do not need one. Return the packet as your report; the orchestrator writes it to disk and hands the path to the critics.

What to read, and where it lives

The vault follows the rpg-vault-guardian schema. Folder names and type values are Portuguese; that is the schema, not a translation.

What you need Where
Campaign identity (the yardstick) campaign-bible-*.md and campaign-*.md at the vault root
Investigation structure clue-map-*.md at the vault root
Lore lore/, plus atos/ for act structure
NPCs npcs/ (role is one of ally / neutral / antagonist / patron)
Factions faccoes/
Cities, regions, places regioes/, locais/
Quests and events quests/, eventos/
Sessions as planned sessoes/*.md (frontmatter date, act, quests, players_present, transcript)
Sessions as played sessoes/transcricoes/ — the conducting evidence
Player characters jogadores/ (needed to judge spotlight balance)
Fronts and clocks frentes/, relogios/

Transcripts are not Markdown. Expect .srt (timecoded subtitles) and .txt (flat text), not .md — so Glob for sessoes/transcricoes/* broadly, and do not assume a sessao note's transcript field is set. A .srt gives you timecodes, which are the single most valuable citation format in the whole packet; prefer the .srt when both exist for the same session.

Read the full file on GitHub · 130 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. 3mo ago First seen · 130 lines · 165 tokens per session scan A def682a32843

Subscribe to this mod's changes

rpg-lore-librarian is an agent published in the GitHub repository vstrapasson/rpg-marketplace (2 stars, last pushed 2mo ago), licensed MIT. It adds 165 tokens to every session and 2,370 once invoked, about $0.0007 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

rpg-lore-librarian compared with agents from other repositories

rpg-lore-librarian next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
rpg-lore-librarianvstrapasson/rpg-marketplaceAgent22mo agoMITA165Claude Code
pixel-art-animation-reviewerAnastasiyaW/codex-claude-code-configAgent218yesterdayMITA140Claude Code
ai-programmerMRCalderon3D/everything-game-dev-codeAgent11527d agoMITA19Claude Code
console-compliance-reviewerMRCalderon3D/everything-game-dev-codeAgent11527d agoMITA19Claude Code
gamedev-narrative-directorFluxonLab/SkillryAgent135d agononeA62Claude Code
gamedev-ui-programmerFluxonLab/SkillryAgent135d agononeA53Claude Code
live-ops-specialistCodePhobiia/claude-roblox-game-studioAgent227mo agoMITA41Claude Code