worldbuilding

worldbuilding is a skill for Claude Code from fcsouza/agent-skills. It costs 61 tokens per session (1,156 once invoked), scanned A, original, MIT.

A guide for creating consistent fictional settings, including their lore, groups, places, and timelines. It works for fantasy, science fiction, modern, and abstract worlds.

In plain words
What is it for?
Use it when building a game world, writing lore, defining factions or geography, creating a timeline, or maintaining a world bible.
Why use it?
It helps keep the details of a fictional world aligned as the setting grows.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the game-dev plugin — 39 skills shipped together

Good fit Use it when building a game world, writing lore, defining factions or geography, creating a timeline, or maintaining a world bible.

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

Made for: Claude Code.

Or install game-dev, the plugin that ships this one along with the rest of its 39 skills.

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/fcsouza/agent-skills/worldbuilding/github.svg)](https://agentmods.dev/skills/fcsouza/agent-skills/worldbuilding)
Your own site
<a href="https://agentmods.dev/skills/fcsouza/agent-skills/worldbuilding"><img src="https://agentmods.dev/badge/skills/fcsouza/agent-skills/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/fcsouza/agent-skills/worldbuilding"><img src="https://agentmods.dev/badge/skills/fcsouza/agent-skills/worldbuilding.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 61 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,156 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.00061 $0.01156
Opus 5.5 $0.00024 $0.00462
Sonnet 5.5 $0.00012 $0.00231
Haiku 4.5 $0.00006 $0.00116

Measured 19d ago against content hash 66b2184a2708, 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 19d 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.

skills/worldbuilding/SKILL.md · 65 lines

How it starts

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

Worldbuilding

The output is docs/world-lore.md, the file quest-narrative-coherence checks quests, characters and locations against. Read it first if it exists. templates/world-bible.md is the working document you fill while you design; step 8 distils it into docs/world-lore.md.

Principles

  1. Keep every fact consistent. Contradictions break believability. One timeline in one file is the source of truth.
  2. Put lore where the player already looks: environments, item text, NPC lines, architecture. Players spend most of their time moving through the world, not watching cutscenes. Traces left behind (a ransacked camp, a half-finished letter) tell a story without stopping play.
  3. Give every faction wants: a public goal, a hidden goal, resources, enemies, and a role in play.
  4. Let geography cause culture: climate, terrain and resources decide trade, conflict and building.
  5. Set the rules before the exceptions. Magic and technology need costs and limits, or power creep follows.
  6. Make history cause the present. Each past event must explain a current border, conflict or alliance.
  7. Pick a tone and hold it. Change tone on purpose, not by accident.
  8. Make the world believable to the player rather than accurate to reality. Offer a world simpler than real life, with more power for the player than real life. Include one strange thing and explain it.

Procedure

  1. Foundation. Fill the overview in templates/world-bible.md: name, genre, tone, themes, era. Write a one-sentence pitch of what makes this world differ from others in its genre.
  2. Core rules. List what exists, hard rules that never break, soft rules with the conditions that break them, and the power ceiling.
  3. History, backward. Start from the present state. For each feature (border, ruin, technology), write the event that caused it. Cut any event that explains nothing.
  4. Geography. Map regions, climate, resources and routes. Fill templates/location-template.md for each place the player visits. Give each region a distinct look, a distinct play difference, and at least one landmark.
  5. Factions. Fill templates/faction-bible.md per faction. Write at least three, with ally, enemy and neutral ties that force the player to choose.
  6. Culture. For each major group write customs, belief, language and norms. Derive them from its geography, history and goals.
  7. Tone guide. List what fits and what does not, plus reference media. Contributors use it to avoid drift.
  8. Write docs/world-lore.md. If the file is missing, copy the world-lore template from quest-narrative-coherence. If it exists, keep what is there and fill the empty sections. Either way keep exactly its seven sections. Fill each from the world bible:
    • World Overview: the bible's World Overview and Tone Guide.
    • Factions: the bible's Factions and each filled faction file.
    • Locations: the bible's Geography and each filled location file.
    • Characters / Notable NPCs: the NPCs you have named so far, from faction and location files. Leave it empty if none.
    • History / Timeline: the bible's History, one table row per event.
    • Active Conflicts: the open wars, disputes and mysteries from History and Factions.
    • Rules and Constraints: the bible's Core Rules, Technology / Magic System and the Tone Guide's "is not" list.

Read the full file on GitHub · 65 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 19d ago Changed · -45 lines · +2 tokens per session 66b2184a2708
  2. 3mo ago First seen · 110 lines · 59 tokens per session scan A fdb113b4dd59

Subscribe to this mod's changes

worldbuilding is a skill published in the GitHub repository fcsouza/agent-skills (29 stars, last pushed today), licensed MIT. It adds 61 tokens to every session and 1,156 once invoked, about $0.0002 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
worldbuildingfcsouza/agent-skillsSkill29todayMITA61Claude Code
playtest-reportDonchitos/Claude-Code-Game-StudiosSkill42k24d agoMITA20Claude Code
godot-signals-groupsgamedev-skills/awesome-gamedev-agent-skillsSkill13k3d agoApache-2.0A93Claude Code
scenario-unreal-gameplayscenario-labs/skillsSkill4.7kyesterdayMITA121Claude Code
texture-workflowarjun988/blender-skillsSkill5.8k27d agoMITA41Claude Code
motionOpenDCAI/GameFactory-3ASkill1.6kyesterdayApache-2.0A0Claude Code, Codex
gamedev-shadersericrisco/rsc-harnessSkill707yesterdayMITA102Claude Code, Codex