worldbuilding

worldbuilding is a skill for Claude Code from danjdewhurst/story-skills. It costs 141 tokens per session (3,146 once invoked), scanned A, original, MIT.

A story-development system for creating and organizing parts of a fictional world, such as places, magic, politics, technology, groups, and objects. It stores these elements as linked Markdown files in a project folder.

In plain words
What is it for?
Use it to add locations, cultures, histories, religions, economies, factions, artifacts, and other world systems to an existing story project.
Why use it?
It keeps world details in one structured place and links them to characters and other story elements. This makes it easier to build a consistent setting as the story grows.

Skill for Claude Code

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

Part of the story-skills plugin — 24 skills shipped together

Good fit Use it to add locations, cultures, histories, religions, economies, factions, artifacts, and other world systems to an existing story project.

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

Made for: Claude Code.

Or install story-skills, the plugin that ships this one along with the rest of its 24 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/danjdewhurst/story-skills/worldbuilding/github.svg)](https://agentmods.dev/skills/danjdewhurst/story-skills/worldbuilding)
Your own site
<a href="https://agentmods.dev/skills/danjdewhurst/story-skills/worldbuilding"><img src="https://agentmods.dev/badge/skills/danjdewhurst/story-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/danjdewhurst/story-skills/worldbuilding"><img src="https://agentmods.dev/badge/skills/danjdewhurst/story-skills/worldbuilding.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 141 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,146 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. Third-party audits
  • Socket pass 7 Oct 2026
  • Snyk pass 7 Oct 2026
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00141 $0.03146
Opus 5.5 $0.00056 $0.01258
Sonnet 5.5 $0.00028 $0.00629
Haiku 4.5 $0.00014 $0.00315

Measured 11d ago against content hash 44fccc0b3129, 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 11d 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 · 174 lines

How it starts

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

Worldbuilding

Overview

Create and manage world elements for a story project. Locations, systems (magic, politics, technology, etc.), factions, and artifacts are stored as markdown files in the worldbuilding/ directory with YAML frontmatter, and glossary terms for the world's invented words in glossary/terms/. All elements cross-reference characters and other story elements.

Prerequisites

A story project must already exist (created via the story-init skill). Verify by checking for story.md in the project root.

Creating a Location

  1. Read story.md for genre, era, and tone context
  2. Read worldbuilding/_index.md for existing locations and systems
  3. Ask for the location's name and type (city, fortress, wilderness, etc.)
  4. Build the location through conversation, covering:
    • Physical description and atmosphere
    • History relevant to the story
    • Culture and customs of inhabitants
    • Notable features characters will interact with
    • Current state at story's timeline
    • Routes to other locations: travel time in hours and mode (see references/maps-and-routes.md)
    • Pronunciation, if the name is invented or easily misread (pronunciation: "KEL-ah-mar")
  5. Before settling an invented name, run story names '{Candidate}' to catch clashes and look-alikes (see references/naming-languages.md)
  6. Create it with story add location '{Location Name}' --type '{type}' when the CLI is available (add --region, --population, --controlled-by, and --character as known); it writes worldbuilding/locations/{name-kebab}.md and lists it in worldbuilding/_index.md. Then fill the body from references/location-template.md
  7. Without the CLI, write the file from references/location-template.md to worldbuilding/locations/{name-kebab}.md
  8. Leave the locations table in worldbuilding/_index.md to story reindex ., even without the CLI; never add a row by hand
  9. If notable characters are listed, verify those character files exist and add this location's kebab-case identifier to each character file's locations frontmatter list
  10. When CLI access is available, run story reindex ., story wordcount . --write, and story check .

Read the full file on GitHub · 174 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. 11d ago Changed 44fccc0b3129
  2. 18d ago Changed · +12 lines · +26 tokens per session 0192c7900cf0
  3. 19d ago Changed · +4 lines c6eb4f26bc10
  4. 28d ago Changed · +22 lines 15224b183a77
  5. 1mo ago Changed c9733ae9e26d
  6. 1mo ago Changed · +30 lines · +44 tokens per session 2ba4155efa86
  7. 1mo ago Changed 59527be0eb77
  8. 1mo ago Changed · +12 lines 2b4335beadb9
  9. 1mo ago First seen · 94 lines · 71 tokens per session scan A 6085390c9303

Subscribe to this mod's changes

worldbuilding is a skill published in the GitHub repository danjdewhurst/story-skills (352 stars, last pushed 5d ago), licensed MIT. It adds 141 tokens to every session and 3,146 once invoked, about $0.0006 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

Other skills, from other repositories

alive:demo

Generate a believable, lived-in ALIVE world from a free-text persona description (custom path) or a deterministic sandbox preset. Routes the create/list/activate/deactivate/delete/status surface and orchestrates the 5-stage subagent generation pipeline.

alivecontext/alive · 52 tokens

alive:system-upgrade

Upgrade ALIVE to the current version. Handles v1/v2/v3.x source states, multi-surface aware (alive-mcp / Hermes / Codex), retroactive version detection, partial-failure resume, dry-run previews, and rollback inspection.

alivecontext/alive · 57 tokens

alive:save

The human wants to checkpoint. Or: the stash has grown heavy — 5+ items, 30+ minutes, a natural pause in the work. The squirrel doesn't decide when to save. It surfaces the need and lets the human pull the trigger. Runs the full save protocol: confirms stash, writes log, updates state, generates projections…

alivecontext/alive · 78 tokens

alive:system-cleanup

The world feels messy. Stale tasks, orphan folders, v2 remnants, unsaved sessions — entropy is accumulating and needs to be addressed before it compounds. Scans across all walnuts, then surfaces issues one at a time.

alivecontext/alive · 52 tokens

alive:create-walnut

Something new is emerging. A venture, an experiment, a person entering the orbit, a life area getting serious. It needs its own walnut — its own identity, history, and future. Scaffolds the full structure, maps existing context sources, and optionally migrates files across.

alivecontext/alive · 63 tokens

alive:session-history

Revive sessions (quick or heavy), browse, and search — 'what happened recently?', 'find the session where we discussed X', 'revive yesterday's session'. For single-session recall and multi-session browsing. If the human needs to merge multiple sessions into one working context or detect conflicts between parallel…

alivecontext/alive · 76 tokens