fantasy-world-building

fantasy-world-building is a skill for Claude Code from wordflowlab/novel-writer-skills. It costs 36 tokens per session (2,645 once invoked), scanned A, original, MIT.

A guide for designing believable fantasy settings, including magic rules, geography, cultures, creatures, history, and politics.

In plain words
What is it for?
Use it when planning a fantasy novel, game, or other story that needs a coherent magic system and connected world history.
Why use it?
It helps keep an invented world internally consistent and gives magic clear limits, costs, and boundaries.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it when planning a fantasy novel, game, or other story that needs a coherent magic system and connected world history.

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

Made for: Claude Code.

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 fantasy-world-building

README.md
[![agentmods](https://agentmods.dev/badge/skills/wordflowlab/novel-writer-skills/fantasy/github.svg)](https://agentmods.dev/skills/wordflowlab/novel-writer-skills/fantasy)
Your own site
<a href="https://agentmods.dev/skills/wordflowlab/novel-writer-skills/fantasy"><img src="https://agentmods.dev/badge/skills/wordflowlab/novel-writer-skills/fantasy/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 fantasy-world-building

Your own site · 80×15
<a href="https://agentmods.dev/skills/wordflowlab/novel-writer-skills/fantasy"><img src="https://agentmods.dev/badge/skills/wordflowlab/novel-writer-skills/fantasy.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,645 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.00036 $0.02645
Opus 5 $0.00018 $0.01323
Sonnet 5 $0.00007 $0.00529
Haiku 4.5 $0.00004 $0.00265

Measured 13d ago against content hash afaa802c1bc9, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

fantasy-world-building 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 13d 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.

templates/skills/genre-knowledge/fantasy/SKILL.md · 356 lines

How it starts

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

奇幻小说世界构建规范

快速参考

元素 指导原则 关键点
魔法系统 必须有清晰规则 限制比力量更重要
世界设定 内在自洽 每个规则都有原因
种族/生物 独特且有逻辑 避免单纯的人类翻版
历史深度 至少三代历史 过去影响现在
政治结构 权力分布清晰 冲突有根源

核心原则

Sanderson 魔法法则

第一法则:读者从魔法中获得的满足感,与其理解魔法的程度成正比

  • 如果魔法要解决问题,读者必须理解它的规则
  • 软魔法系统(神秘)用于氛围和奇观
  • 硬魔法系统(规则明确)用于解决问题

第二法则:限制比力量更有趣

  • 强大的魔法需要强大的代价
  • 限制创造冲突和策略
  • 完美的系统无法创造戏剧

第三法则:在添加新东西之前,先扩展已有的

  • 深化现有元素胜过添加新元素
  • 相互关联的系统比孤立的更强
  • 复杂度应该有机生长

魔法系统设计

硬魔法系统(规则明确)

必要元素

  1. 能量来源

    • 魔法从哪里来?
    • 是有限的还是无限的?
    • 可以耗尽吗?
  2. 使用规则

    • 谁能使用?如何获得?
    • 需要什么条件?
    • 有什么限制?
  3. 代价/后果

    • 使用魔法的成本是什么?
    • 过度使用会怎样?
    • 是否有长期影响?
  4. 可能与不可能

    • 魔法能做什么?
    • 明确不能做什么
    • 边界在哪里?

示例框架

魔法系统:元素操控
来源:每个人出生时拥有一种元素亲和
规则:只能操控自己的元素,需要该元素存在于周围
限制:精神疲劳,过度使用导致元素反噬
代价:使用魔法时消耗生命力,需要休息恢复
禁忌:不能创造元素,只能操控;不能操控生物体内的元素

软魔法系统(神秘感)

特征

  • 规则不完全为读者所知
  • 更多用于氛围和奇观
  • 不应该方便地解决主要冲突
  • 保持神秘感和敬畏

使用场景

  • 古老的魔法,已部分遗失
  • 神祇力量,超越凡人理解
  • 背景奇观和世界建设
  • 不影响主线解决的辅助情节

世界构建框架

地理与环境

必须考虑

  1. 地形

    • 山脉、河流、海洋如何影响文明?
    • 气候如何塑造文化?
    • 资源分布如何影响经济?
  2. 生态系统

    • 食物链是什么样的?
    • 魔法生物如何适应环境?
    • 人类/其他智慧种族如何生存?
  3. 魔法对地理的影响

    • 魔法如何改变自然?
    • 有魔法造成的地标吗?
    • 魔法灾难留下了什么痕迹?

社会与文化

层次架构

政治层面

  • 政府形式(君主制、民主、神权等)
  • 权力如何传递?
  • 魔法如何影响政治?
  • 不同派系的冲突

经济层面

  • 贸易什么?为什么?
  • 货币系统
  • 魔法如何影响经济?
  • 资源稀缺性

社会层面

  • 阶级结构
  • 种族关系
  • 魔法使用者的地位
  • 教育和知识传播

文化层面

  • 宗教和信仰
  • 艺术和娱乐
  • 节日和传统
  • 价值观和禁忌

历史深度

最少三代历史

当代(故事发生时):

  • 现状是什么?
  • 主要冲突和问题
  • 主要势力和人物

父辈代(30-50年前):

  • 什么事件塑造了当代?
  • 老一辈记得什么?
  • 遗留的问题

祖辈代(60-100年前):

  • 传说和故事
  • 失落的知识
  • 历史创伤

古代(更久远):

  • 神话和传说
  • 文明的兴衰
  • 为当代设定埋下种子

种族与生物设计

智慧种族

避免单一特征: ❌ 所有精灵都优雅高贵 ❌ 所有矮人都贪婪暴躁 ❌ 所有兽人都野蛮好战

创造深度: ✅ 内部多样性(不同文化、价值观) ✅ 个体差异(性格各异) ✅ 历史复杂性(好的和坏的历史)

种族特征应该有原因

  • 生理特征如何帮助生存?
  • 文化特征从何而来?
  • 与其他种族的关系历史

魔法生物

设计原则

  1. 生态位

    • 它在生态系统中的角色?
    • 吃什么?被什么吃?
    • 如何繁殖?
  2. 魔法来源

    • 为什么有魔法?
    • 魔法如何帮助它生存?
    • 有什么代价或限制?

Read the full file on GitHub · 356 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. 13d ago First seen · 356 lines · 36 tokens per session scan A afaa802c1bc9

Subscribe to this mod's changes

fantasy-world-building is a skill published in the GitHub repository wordflowlab/novel-writer-skills (258 stars, last pushed 10mo ago), licensed MIT. It adds 36 tokens to every session and 2,645 once invoked, about $0.0002 per session on Opus 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

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens

insight-error-page

Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…

vercel/next.js · 83 tokens