Home
cd ../playbooks
Creative WritingIntermediate

Worldbuilding Wiki

Keep your fictional world consistent with lore files Claude checks before creating anything new — magic systems, cultures, and history that don't contradict themselves.

10 minutes
By Marco KotrotsosSource
#worldbuilding#fiction#fantasy#rpg#lore#consistency#wiki#dnd

You keep accidentally contradicting your own lore because it's scattered across notebooks and documents Claude never sees. This playbook creates structured lore files that Claude checks before generating anything new — so magic systems, cultures, and history stay internally consistent.

Who it's for: writers building long-form fiction who need Claude to respect established world rules, DMs running multi-session campaigns who need consistent NPC and location details, collaborative worldbuilders sharing a canonical wiki that AI tools can reference, game designers documenting game world lore for consistent content generation, authors writing series where world consistency across books is critical

Example

"Create a worldbuilding wiki so Claude stops contradicting my established lore" → Wiki pipeline: structured lore file creation for each world element (magic, politics, geography, characters), cross-reference system linking related lore entries, Claude configuration to check lore files before generating new content, inconsistency detection across existing lore documents, and expandable wiki template for adding new world elements over time

CLAUDE.md Template

New here? 3-minute setup guide → | Already set up? Copy the template below.

Or install from your terminal:
npx ccplaybooks add worldbuilding-wiki
# Worldbuilding Wiki

## Role
You help me create and maintain fictional worlds with internal consistency. You manage lore files organized as a wiki and ALWAYS check existing lore before creating new content.

## Directory Structure
- `wiki-structure.md` — Overview of all wiki categories and their status
- `world/geography.md` — Regions, climate, key locations, travel times
- `world/magic-system.md` — Rules, costs, limitations, societal impact
- `world/cultures.md` — Distinct cultures: values, structure, daily life, conflicts
- `world/history.md` — Timeline of major events and their consequences
- `world/factions.md` — Organizations, their goals, and relationships

Get new playbooks like this one

One email a week with new Claude Code workflows. Free, like everything here.

No spam. Unsubscribe anytime.

README.md

What This Does

Keeps your fictional world internally consistent. Lore files for magic systems, cultures, geography, and history that Claude checks before helping you create anything new. No more magic systems that contradict themselves or kingdoms with inconsistent histories.

Inspired by Marco Kotrotsos's 20 Non-Coding Uses for Claude's Code Mode.

Prerequisites

  • Claude Code installed
  • A creative project (novel, game, RPG campaign)
  • Core concepts for your world

Step-by-Step Setup

  1. Create your world folder with a world/ subfolder
  2. Save the CLAUDE.md template
  3. Start with the magic system or core world rules
  4. Add cultures that respond to those rules
  5. Build history that explains the present

Example Usage

"I'm building a world for a fantasy novel. Create the wiki structure"
"Design a magic system: it's drawn from emotions but burns memories as cost"
"Create three cultures — how do they each relate to this magic system?"
"I want to write a scene where a mage uses forbidden magic. Check against the rules"
"Add the Great War to history — trace how it created the current political tensions"

Tips

  • Start with rules and constraints — they create more interesting worlds than freedom
  • Every magic system needs a cost, or it breaks the story
  • Cultures should conflict naturally based on values, not arbitrary hostility
  • Check consistency often — small contradictions compound into plot holes

$Related Playbooks

Creative Writing

Worldbuilding Assistant

Create and maintain consistent fictional worlds for games, novels, or RPG campaigns with interconnected lore and rules.

10 minutes
Intermediate
Creative Writing

YouTube Script Writer

Generate complete, production-ready YouTube video scripts with hooks, structure, and pacing tailored to your channel's style and audience.

10 minutes
Beginner
Creative Writing

Book Bible — AI Novel Writing Assistant

Keep your novel consistent with an AI-powered book bible. Track characters, plot timelines, and world rules. Claude checks for inconsistencies before you write new scenes.

10 minutes
Intermediate
Creative Writing

Clean User-Facing Text

A final text-hygiene pass for authorized prose — audits and strips invisible Unicode artifacts and homoglyphs, then reduces mechanical AI-writing signals with a measure-before/measure-after check, while preserving every fact and the writer's actual voice.

5 minutes
Intermediate
Creative Writing

Chinese AI-Writing Style Audit (中文 AI 味检查)

An 11-rule checklist for stripping the tell-tale patterns of unedited AI-generated Chinese copy — em-dash chains, 不是而是 contrast pairs, 首先其次 sequence stacking, 被 passive chains — refined from real user correction feedback, each with a precise trigger, bad/good example, and scope.

5 minutes
Intermediate
Creative Writing

活人感写作 · Human-Feel Chinese Writing

A generative method for writing Chinese long-form prose that reads as a real person talking — a material-first gate (hold at least five concrete pieces of material that chain into an actual process before writing long, else research/ask/shorten rather than pad), a five-question speaking-position frame, first-draft craft principles, and a revision pass that bans the rhetorical moves of AI Chinese, not just their literal wording.

5 minutes
Intermediate
Creative Writing

Novel Writing Assistant

Develop characters, plot arcs, and maintain narrative consistency across a long-form writing project.

10 minutes
Intermediate
Creative Writing

Storyboard Manager

Support creative writing with character development, story planning, chapter writing, and automated timeline tracking for narrative consistency.

10 minutes
Intermediate
Creative Writing

Voice DNA: Clone Your Writing Style

One markdown file that makes Claude stop sounding like AI and start writing in your actual voice. 95% pre-built, you just paste writing samples.

10 minutes
Beginner

Browse all Creative Writing playbooks →