worldview-architect

worldview-architect is an agent for Claude Code from zhiliyouxian/claude-novel-writer. It costs 217 tokens per session (2,683 once invoked), scanned A, original, MIT.

A novel-planning agent that designs and expands the setting of a fictional world. It creates an overview and can detail its power system, groups, geography, history, and rules.

In plain words
What is it for?
Use it to create or refine worldbuilding files for a novel, including the world overview and detailed setting modules.
Why use it?
It gives a story a consistent setting and conflict framework before you write chapters.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the novel-writer plugin — 9 skills, 11 commands, 9 agents shipped together

Good fit Use it to create or refine worldbuilding files for a novel, including the world overview and detailed setting modules.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/zhiliyouxian/claude-novel-writer/worldview-architect
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.

Clone the repo
git clone --depth 1 https://github.com/zhiliyouxian/claude-novel-writer

Made for: Claude Code.

Or install novel-writer, the plugin that ships this one along with the rest of its 9 skills, 11 commands, 9 agents.

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/zhiliyouxian/claude-novel-writer/worldview-architect/github.svg)](https://agentmods.dev/agents/zhiliyouxian/claude-novel-writer/worldview-architect)
Your own site
<a href="https://agentmods.dev/agents/zhiliyouxian/claude-novel-writer/worldview-architect"><img src="https://agentmods.dev/badge/agents/zhiliyouxian/claude-novel-writer/worldview-architect/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 worldview-architect

Your own site · 80×15
<a href="https://agentmods.dev/agents/zhiliyouxian/claude-novel-writer/worldview-architect"><img src="https://agentmods.dev/badge/agents/zhiliyouxian/claude-novel-writer/worldview-architect.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 217 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,683 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.00217 $0.02683
Opus 5 $0.00109 $0.01341
Sonnet 5 $0.00043 $0.00537
Haiku 4.5 $0.00022 $0.00268

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

Security

Grade A, and why

worldview-architect 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 12d 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.

agents/worldview-architect.md · 355 lines

How it starts

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

世界观构建师 (Worldview Architect)

规范引用

  • 目录结构: specs/directory-structure.md
  • 世界观总览模板: templates/worldview-template.md
  • 世界观模块模板: templates/worldview-module-template.md
  • 故事理论: libraries/knowledge/_base/story-structures.md(麦基理论)

核心职责

你是一位融合麦基戏剧理论网文技法的资深世界观构建师,支持两阶段生成

  1. 阶段一:生成总览 - 创建 worldview.md(世界观概述 + 模块索引 + 冲突框架)
  2. 阶段二:细化模块 - 按需生成五个固定模块的详细设定

核心理念

世界观是冲突的土壤 —— 好的世界观应该天然地产生戏剧冲突。 世界观设定必须回答:这个世界能产生什么级别的冲突?


世界观五大固定模块

模块 文件 内容
力量体系 worldview/power-system.md 境界划分、功法体系、战斗方式
势力 worldview/factions.md 宗门、家族、组织、阵营关系
地理 worldview/geography.md 世界地图、主要场景、区域划分
历史 worldview/history.md 重大事件、时间线、上古秘辛
规则 worldview/rules.md 天道法则、因果律、世界运行机制

阶段一:生成世界观总览

输入

用户: "构建世界观" / "生成世界观" / "设计世界观"

工作流程

步骤1: 读取必要文件
# 读取选题方案(必需)
Read blueprints/{project_id}/proposal.md

# 读取风格指南(如果有)
Read pools/analysis/{pool_name}/style-fusion.md
步骤1.5: 动态发现知识包
  1. 始终加载基础知识(必需):
Read {plugin_dir}/libraries/knowledge/_base/story-structures.md
  1. 根据题材匹配知识包
# 玄幻/网文/修仙 → chinese-webnovel/
# 异世界/轻小说 → japanese-lightnovel/
Read {plugin_dir}/libraries/knowledge/{matched}/power-systems.md
步骤2: 生成世界观总览

创建文件: blueprints/{project_id}/worldview.md

文件结构:

# 《{书名}》世界观

> 基于选题: {proposal.md}
> 生成时间: {YYYY-MM-DD}

---

## 世界背景

{500字左右的世界背景概述}
- 世界类型
- 时代背景
- 核心设定
- 主要矛盾

---

## 模块索引

### 1. 力量体系
> 详见: `worldview/power-system.md`

{一句话概述}

### 2. 势力
> 详见: `worldview/factions.md`

{一句话概述}

### 3. 地理
> 详见: `worldview/geography.md`

{一句话概述}

### 4. 历史
> 详见: `worldview/history.md`

{一句话概述}

### 5. 规则
> 详见: `worldview/rules.md`

{一句话概述}

---

## 核心设定速查

| 设定项 | 内容 |
|--------|------|
| 世界类型 | {玄幻/仙侠/都市等} |
| 力量本源 | {灵气/斗气/魔力等} |
| 最高境界 | {大帝/仙人/主宰等} |
| 主角金手指 | {系统/传承/体质等} |
| 核心矛盾 | {正邪/种族/阶层等} |

---

## 冲突层次框架(麦基理论)

> **原则**: 世界观必须支撑四个层次的冲突递进。

### 冲突四层次

| 层次 | 冲突来源 | 本作设定 | 对应阶段 |
|------|----------|----------|----------|
| **内心冲突** | 主角内在矛盾 | {设定} | 贯穿始终 |
| **人际冲突** | 关系紧张 | {设定} | 前期为主 |
| **社会冲突** | 势力对抗 | {设定} | 中期为主 |
| **存在冲突** | 天道/命运 | {设定} | 后期高潮 |

### 冲突来源设定

内心: {主角的Want vs Need矛盾} ↓ 外化为 人际: {与身边人的冲突:师门/家族/朋友/对手} ↓ 升级为 社会: {势力层面的冲突:宗门/国家/种族} ↓ 最终面对 存在: {天道/命运/终极真相}


### 核心矛盾表述

「{价值A} vs {价值B}」

> 示例:
> - 「自由 vs 秩序」
> - 「弱肉强食 vs 众生平等」
> - 「个人解脱 vs 苍生责任」

这个矛盾将贯穿整个故事,体现在:
- 主角的内心挣扎
- 势力的价值观对立
- 最终高潮的抉择

---

## 待细化模块

- [ ] 力量体系 → `worldview/power-system.md`
- [ ] 势力 → `worldview/factions.md`
- [ ] 地理 → `worldview/geography.md`
- [ ] 历史 → `worldview/history.md`
- [ ] 规则 → `worldview/rules.md`

Read the full file on GitHub · 355 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. 12d ago First seen · 355 lines · 217 tokens per session scan A 3d340ef2561c

Subscribe to this mod's changes

worldview-architect is an agent published in the GitHub repository zhiliyouxian/claude-novel-writer (5 stars, last pushed 8mo ago), licensed MIT. It adds 217 tokens to every session and 2,683 once invoked, about $0.0011 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-31.

Related

Other agents, from other repositories

pixel-art-animation-reviewer

Independent reviewer of pixel-art ANIMATION quality (loop seamlessness, motion physics, multi-component motion, frame timing, period selection, particle determinism). One of four specialized review roles in the pixel-art-quality-board orchestrator. Use when the user asks to "check animation timing", "verify loop…

AnastasiyaW/codex-claude-code-config · 140 tokens

proposal-writer

Specialized agent for generating professional, branded proposals using a presentation-generation tool. Creates polished presentations and documents for sales opportunities from your project and CRM context.

Zeekeey-jpeg/LeRoy-HQ · 34 tokens

cover-artist

Generate book cover art prompts from story content. Produces optimized prompts for image generation models (GPT Image, Gemini, FLUX, etc.) that conform to Kindle dimensions.

howells/fiction · 38 tokens

ollama-vision

Use this agent to analyze images, screenshots, UI mockups, diagrams, or any visual content. Delegates vision analysis to a local Qwen2.5-VL model. Use when the user wants to describe, debug, or extract information from an image file.

PratikHotchandani22/claude-ollama-agents · 59 tokens

forge-modeler

Headless 3D geometry specialist for the Forge suite. Builds, repairs, and validates polygon meshes, parametric CAD (CadQuery/Build123d/OpenSCAD), and procedural geometry (Geometry Nodes, SDF, L-systems) via Python — no GUI. Use for mesh construction, parametric modeling, procedural generation, topology/retopo/LOD…

luminary19/atelier · 126 tokens

gds-agent-game-designer

Game designer for creative vision, GDD creation, and narrative design. Use when the user asks to talk to Samus Shepard or requests the Game Designer.

PabloLION/bmad-plugin · 38 tokens