worldbuilding

worldbuilding is a skill for Claude Code, Codex from mm-weber/loremaester. It costs 93 tokens per session (1,768 once invoked), scanned A, original, MIT.

A writing assistant for building tabletop role-playing game (TTRPG) settings in an Obsidian vault, a folder of linked notes. It uses the vault as the campaign's established source of truth.

In plain words
What is it for?
Use it to create or expand campaign locations, non-player characters, factions, lore, quests, and items, with links to related notes and source-book research.
Why use it?
It helps keep new world details consistent with existing locations, characters, factions, and lore instead of creating disconnected material.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions CLAUDE.md.

Good fit Use it to create or expand campaign locations, non-player characters, factions, lore, quests, and items, with links to related notes and source-book research.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mm-weber/loremaester/worldbuilding
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 mm-weber/loremaester --skill worldbuilding
Clone the repo
git clone --depth 1 https://github.com/mm-weber/loremaester

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 worldbuilding

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/mm-weber/loremaester/worldbuilding"><img src="https://agentmods.dev/badge/skills/mm-weber/loremaester/worldbuilding.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 93 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,768 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.00093 $0.01768
Opus 5.5 $0.00037 $0.00707
Sonnet 5.5 $0.00019 $0.00354
Haiku 4.5 $0.00009 $0.00177

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

Security

Grade A, and why

worldbuilding 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 25d 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.

examples/ttrpg/skills/worldbuilding/SKILL.md · 151 lines

How it starts

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

Worldbuilding Assistant

Orchestrate Obsidian vault navigation, source book research, and TTRPG content generation. The GM's vault is the single source of truth — source books provide inspiration, never override what's already established.

Workflow

Every worldbuilding request follows four steps. Some requests (pure research, quick lookups) may only need steps 1–2. Use judgment about which steps apply.

Step 1: Gather Vault Context

Before generating anything, understand what already exists. The vault is canon. Read it through the read ladder: pull the parts of notes you need instead of whole files.

  1. Search the graph for related notes:

    • vault_search_notes(name_pattern="topic") to find notes by name
    • vault_search_notes(tag="faction") or vault_search_notes(note_type="NPC") to find by category
    • vault_central_notes(tag="location") to find the most-connected notes in a category
  2. Map connections around the topic:

    • vault_graph(note="Note Name", depth=2) to see how a note connects to the rest of the world
    • vault_mentions(note="Note Name") for what the vault says about it: the block around every link to the note, labelled path:line and heading path. Excerpts fill a token budget, and a map lists every mention not shown; pull those with paths=["<folder or note>"] when you need them. Add unlinked=true for notes that name the topic without linking it.
  3. Read primary notes with the read ladder:

    • vault_read_note(note="Note Name"): a small note comes back whole, a large one as an outline (frontmatter, lead, and headings with line ranges and sizes).
    • vault_read_section(note="Note Name", headings=["Heading"]) for the sections you need from a large note.
    • Treat the notes it links to the same way instead of reading one or two link levels whole.
    • Use a whole Read only for unstructured source material the task is about, or for a note you are rewriting from scratch.
  4. Search for structured references:

    • Grep frontmatter fields like faction: "Name" or location: "Place" for structured references

Read the full file on GitHub · 151 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. 25d ago Changed b8c68f2dbaa3
  2. 3mo ago First seen · 151 lines · 93 tokens per session scan A dcb476d8ce75

Subscribe to this mod's changes

worldbuilding is a skill published in the GitHub repository mm-weber/loremaester (21 stars, last pushed 25d ago), licensed MIT. It adds 93 tokens to every session and 1,768 once invoked, about $0.0004 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-30.

Related

worldbuilding compared with skills from other repositories

worldbuilding next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
worldbuildingmm-weber/loremaesterSkill2125d agoMITA93Claude Code, Codex
lecture-to-notesdrpwchen/lecture-to-notesSkill12216d agoMITA87Claude Code
sprite-specwrg32786/aigent-osSkill26todayMITA34Claude Code
dmcheckchaoz23/dmcheckSkill01mo agoMITA96Claude Code, Codex
invest_analysisLinearl/reasonix_skill_repoSkill317d agononeA75Claude Code, Codex
web-design-engineerLinearl/reasonix_skill_repoSkill317d agononeA96Codex
beautiful-articleLinearl/reasonix_skill_repoSkill317d agononeA226Claude Code, Codex