MCPInstall

world-building-logic

Engineers internally consistent fictional worlds using Brand's Pace Layers for social structure and Sanderson's Laws of Magic for system constraints. Use when building settings, designing magic or tech systems, or auditing a world for logical contradictions.

Installs
53
Last 24h
—
Trending rank
—
Security
Not audited

Install

Works with every agent the skills CLI supports.

npx skills add https://github.com/joellewis/skill-library --skill world-building-logic
  1. 01

    Install

    Run the command in your project. The CLI asks which agents to install for.

  2. 02

    Describe the task

    Ask your agent for something this skill covers. It loads world-building-logic automatically when relevant.

  3. 03

    Review the result

    The agent follows the SKILL.md steps, scripts and references bundled with the skill.

SKILL.md

The instructions your agent reads when the skill is triggered.

Overview

World-building logic is the engineering of "internal consistency." It moves beyond mere imagination to create a setting that feels "lived-in" and logical. By applying Brand's Pace Layers to social and physical structures and Sanderson's Laws of Magic to the world's limitations, the builder creates a "controlled hallucination" that supports rather than distracts from the plot.

Guiding Principles

Principle 1: The Six Pace Layers (Source: Brand, How Buildings Learn)

A world is not a static monolith; it is a stack of layers moving at different speeds:

  1. Site: The eternal (geography, climate).
  2. Structure: The centuries (foundations, deep traditions).
  3. Skin: The decades (exterior appearances, fashion).
  4. Services: The years (infrastructure, technology, systems).
  5. Space Plan: The months (interior layouts, social groups).
  6. Stuff: The daily (ephemera, personal belongings). Friction (Shearing) occurs where a fast layer (Technology) tries to override a slow layer (Geography).

Principle 2: Limitations > Powers (Source: Sanderson, magic lectures)

Internal consistency is defined by what characters cannot do. A character with unlimited power has no story. Drama is found in the clever application of a world's specific limitations. The more powerful the tool (magic/tech), the more restrictive the rules must be.

Principle 3: Environmental Storytelling (Source: Storr, Science of Storytelling)

The world is an extension of character. Use "Behavioural Residue" (clues left behind) and "Identity Claims" (broadcasted symbols) to show the history of a setting. Instead of telling the history of a city, show a "High Road" monument next to a "Low Road" slum.

Principle 4: The Understanding Threshold (Source: Sanderson, magic lectures)

An author's ability to solve a conflict with a world-rule is proportional to how well the reader understands that rule.

  • Hard Systems: Rules are known; the solution is a logical payoff.
  • Soft Systems: Rules are mysterious; the solution must be character-driven, not rule-driven.

Principle 5: The "Known" vs. The "Unknown" (Source: Campbell, Hero With a Thousand Faces)

A world must have an "Ordinary" logic and a "Special" logic. The transition between them (The Threshold) must be marked by a shift in rules, stakes, or environment.

When to Use This Skill

  • Designing a fantasy world, magic system, or sci-fi infrastructure.
  • Establishing the "social rules" of a specific historical or corporate setting.
  • Troubleshooting "Deus Ex Machina" plot points where world-rules feel arbitrary.
  • Mapping the geography or history of a long-form narrative.

When NOT to Use This Skill

  • Writing minimalist "slice-of-life" fiction where the world is exactly as the reader's own.
  • Ideation phases where "cool ideas" should flow without immediate logic-checking.

Core Process

Step 1: Establish the "Site" and "Structure" (Source: Brand)

Define the physical and social constants that cannot be easily changed.

  • What is the geography?
  • What are the deep, unchanging traditions?
  • This layer provides the "Gravity" of the world.

Step 2: Define the Limitations (Source: Sanderson)

Before giving a character a power or a tool, list the three things it cannot do and the cost of using it.

  • Cost could be physical, social, or moral.
  • A rule with no cost is a plot-killer.

Step 3: Map the Shearing Layers (Source: Brand)

Identify where the world is changing too fast for its foundations.

  • E.g., A digital economy trying to function in a medieval castle.
  • This friction is the primary source of world-based conflict.

Step 4: Flesh out the "Stuff" (Source: Storr)

Add specific, sensory details. Use the "Rule of Three Qualities": a "heavy, tarnished, silver locket" is more real than a "pretty locket." These details must reveal character history (Environmental Storytelling).

Step 5: Test the Logic Chain (Source: Sanderson)

Take a world-rule to its logical conclusion. If people can fly, how does that affect the architecture? If people can read minds, how does that affect the justice system? Consistency comes from these "second-order effects."

Frameworks & Models

Sanderson's Laws of Magic (Source: Sanderson, magic lectures)

  1. First Law: Capability to solve conflict is proportional to user/reader understanding.
  2. Second Law: Limitations > Powers.
  3. Third Law: Expand on existing elements before adding new ones.

The Six S's Hierarchy (Source: Brand, How Buildings Learn)

  • Slowest: Site -> Structure -> Skin -> Services -> Space Plan -> Fastest: Stuff.
  • Rule: Slow components dominate and constrain rapid ones.

Cross-Skill Invocations

REQUIRED SUB-SKILL: fiction-architect — to integrate world-rules into the plot. RECOMMENDED SUB-SKILL: prompt-optimizer — to translate world-building logic into consistent AI character personas or descriptions.

Common Mistakes

  1. World-Building Disease: Focusing on the "Site" and "Structure" (history/maps) while ignoring the "Stuff" and "Space Plan" (daily life/character experience).
  2. Arbitrary Rules: Changing the world's logic halfway through to help the protagonist escape a corner. (Source: Sanderson)
  3. Floating Setting: The world feels like a neutral backdrop rather than an active character that constraints the plot. (Source: Storr)

Diagnostic Checklist

  • Are the world's limitations more clearly defined than its powers?
  • Does the setting reflect the history and psychology of the characters?
  • Is there a clear logical consequence for every rule established?
  • Does the world have both "High Road" (stable) and "Low Road" (adaptable) elements?
  • Have I cross-checked the "second-order effects" of the technology/magic?

Sources

  • Brand, Stewart. How Buildings Learn. Ch. 2 (Shearing Layers), Ch. 3-4 (Low Road/High Road).
  • Storr, Will. The Science of Storytelling. Ch. 1 (Creating a World).
  • Campbell, Joseph. The Hero With a Thousand Faces. Ch. 1 (The Call to Adventure).
  • Sanderson, Brandon. "Laws of Magic" (BYU Lectures).

FAQ

What does the world-building-logic skill do?

Engineers internally consistent fictional worlds using Brand's Pace Layers for social structure and Sanderson's Laws of Magic for system constraints. Use when building settings, designing magic or tech systems, or auditing a world for logical contradictions.

How do I install world-building-logic?

Run npx skills add https://github.com/joellewis/skill-library --skill world-building-logic in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/world-building-logic/ (personal) or .claude/skills/world-building-logic/ (project).

Which AI agents can use world-building-logic?

Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.

Is world-building-logic safe to install?

No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.

Who maintains world-building-logic?

It is published by joellewis in joellewis/skill-library. It has 53 recorded installs.

More from joellewis/skill-library

View all →

fiction-architect

joellewis/skill-library

Open the skill to read its SKILL.md instructions.

55 installs

dialogue-craft

joellewis/skill-library

Open the skill to read its SKILL.md instructions.

53 installs

one-pager

joellewis/skill-library

Use when compressing a complex strategy or analysis into a strictly one-page narrative—enforces Pyramid SCQ structure and Orwell word-budget discipline.

Docs & Writing47 installs

character-vulnerability

joellewis/skill-library

Use when a character feels flat, too competent, or unrelatable—identifies the Sacred Flaw (Storr's Theory of Control) and dials the Three Sliders (Sanderson) to create earned vulnerability.

Security47 installs

problem-framing

joellewis/skill-library

Use when beginning analytical or strategic tasks, facing undefined problems, or facing analysis paralysis—requires explicit problem definition before proceeding.

47 installs

non-fiction-precision

joellewis/skill-library

Open the skill to read its SKILL.md instructions.

46 installs

Popular marketing & seo skills

View category →

reddit-automation

flowkit-labs/skills

Find Reddit threads where people are genuinely asking for what you offer, then draft short, genuinely helpful replies — disclosing your affiliation honestly and naming your product only when it truly answers the question. Two moves: discovery — scan the right subreddits for real needs (recommendation asks, expressed pain, competitor mentions) and rank the few threads where you can actually help; drafting — write from real experience, respect each community's self-promo rules, and keep a human in the loop to review and post. This markets on Reddit the honest way: contribute value, disclose who you are, never astroturf. Distilled from the playbook behind doany.ai's Reddit agent. Triggers on "find reddit opportunities", "reddit marketing", "reddit automation", "reply on reddit for my product", "reddit community engagement", "reddit lead gen", or any ask to turn Reddit threads into genuine, disclosed marketing replies.

Marketing & SEO1.1M installs

twitter-automation

101-skills/superpowers

Automate Twitter/X with posting, engagement, and user management via inference.sh CLI. Apps: x/post-tweet, x/post-create (with media), x/post-like, x/post-retweet, x/dm-send, x/user-follow. Capabilities: post tweets, schedule content, like posts, retweet, send DMs, follow users, get profiles. Use for: social media automation, content scheduling, engagement bots, audience growth, X API. Triggers: twitter api, x api, tweet automation, post to twitter, twitter bot, social media automation, x automation, tweet scheduler, twitter integration, post tweet, twitter post, x post, send tweet

Marketing & SEO880K installs

twitter-automation

magentosh/superpowers

Automate Twitter/X with posting, engagement, and user management via inference.sh CLI. Apps: x/post-tweet, x/post-create (with media), x/post-like, x/post-retweet, x/dm-send, x/user-follow. Capabilities: post tweets, schedule content, like posts, retweet, send DMs, follow users, get profiles. Use for: social media automation, content scheduling, engagement bots, audience growth, X API. Triggers: twitter api, x api, tweet automation, post to twitter, twitter bot, social media automation, x automation, tweet scheduler, twitter integration, post tweet, twitter post, x post, send tweet

Marketing & SEO771.7K installs

twitter-automation

qu-skills/superpowers

Automate Twitter/X with posting, engagement, and user management via inference.sh CLI. Apps: x/post-tweet, x/post-create (with media), x/post-like, x/post-retweet, x/dm-send, x/user-follow. Capabilities: post tweets, schedule content, like posts, retweet, send DMs, follow users, get profiles. Use for: social media automation, content scheduling, engagement bots, audience growth, X API. Triggers: twitter api, x api, tweet automation, post to twitter, twitter bot, social media automation, x automation, tweet scheduler, twitter integration, post tweet, twitter post, x post, send tweet

Marketing & SEO564.3K installs

product-launch-video

heygen-com/hyperframes

Turn a product or marketing URL, pasted script, or brief into a product launch / promo video — SaaS promos, feature reveals, product demos, app and company launches. Use when the user wants to market, launch, promote, or reveal a product; the default for any commercial URL. Site tours / showcases of a website route here too — the brief carries the show-it-as-is intent. Unclear → /hyperframes.

Marketing & SEO538.7K installs

twitter-automation

skills-shell/superpowers

Automate Twitter/X with posting, engagement, and user management via inference.sh CLI. Apps: x/post-tweet, x/post-create (with media), x/post-like, x/post-retweet, x/dm-send, x/user-follow. Capabilities: post tweets, schedule content, like posts, retweet, send DMs, follow users, get profiles. Use for: social media automation, content scheduling, engagement bots, audience growth, X API. Triggers: twitter api, x api, tweet automation, post to twitter, twitter bot, social media automation, x automation, tweet scheduler, twitter integration, post tweet, twitter post, x post, send tweet

Marketing & SEO453.7K installs