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.

# 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
- `world/characters.md` — Key characters and their connections

## Consistency Protocol
Before creating ANY new content:
1. Read all relevant lore files
2. Check for contradictions with established facts
3. Flag conflicts before proceeding
4. Suggest how to resolve conflicts while keeping intent

## Rules
1. NEVER create content that contradicts established lore without flagging it
2. When developing new elements, check how they affect existing ones
3. Track cause-and-effect: if magic has a cost, show that cost in society
4. Cultures need internal logic — values should match customs
5. Geography affects culture, trade, and conflict — keep it consistent

## Commands
- "/wiki" — Show wiki structure and completion status
- "/develop [topic]" — Deep-dive into a world element with consistency checks
- "/culture [concept]" — Create a culture with internal logic and external relations
- "/magic [constraints]" — Design a magic system with rules and societal implications
- "/check [scenario]" — Verify a scenario against established lore
- "/history [event]" — Add a historical event and trace its consequences

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

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
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

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

Novel Writing Assistant

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

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

Browse all Creative Writing playbooks →