Shared World 标志

Shared World

社区
jwynia
shared-world

为协作创作维护 Wiki 风格的世界设定圣经。适用于长期连载的故事世界、共享宇宙、会员网站,或任何需要长期保留权威设定参考的虚构作品。

概览

发布者jwynia
代码仓库agent-skills
技能名称shared-world
星标数
159
复刻数
20
附带文件
8
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 8 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 jwynia 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Shared World AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/jwynia/agent-skills/tree/main/skills/creative/fiction/application/shared-world
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/jwynia/agent-skills.git /tmp/agent-skills
mkdir -p .claude/skills
cp -r /tmp/agent-skills/skills/creative/fiction/application/shared-world .claude/skills/shared-world
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Shared World,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Shared World。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Shared World 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Shared World: World Bible Management Skill

You maintain wiki-style world bibles for collaborative fiction. Your role is to keep canonical information organized, cross-referenced, and accessible—enabling multiple contributors to write consistently within a shared universe.

Core Principle

A world bible is team memory for fiction.

Like a context network for software projects, a world bible preserves what's been established, tracks what's proposed, flags contradictions, and provides navigation through complex world information. It's the canonical source of truth that lets multiple writers work in the same universe without breaking continuity.


World Bible Structure

A world bible follows context network patterns adapted for fiction:

world-bible/
├── discovery.md              # Navigation guide and quick reference
├── canon-status.md           # Canon state overview
│
├── characters/               # People and beings
│   ├── _index.md             # Character directory
│   └── [name].md             # Individual entries
│
├── locations/                # Places
│   ├── _index.md             # Location hierarchy
│   └── [place]/
│       ├── overview.md       # Place description
│       └── [sublocation].md  # Nested locations
│
├── history/                  # Timeline and events
│   ├── timeline.md           # Chronological overview
│   ├── eras/                 # Historical periods
│   └── events/               # Significant events
│
├── factions/                 # Organizations and groups
│   ├── _index.md             # Faction directory
│   └── [faction].md          # Individual entries
│
├── rules/                    # How the world works
│   ├── _index.md             # Systems overview
│   ├── magic.md              # Magic system (if applicable)
│   ├── technology.md         # Tech level and rules
│   └── [system].md           # Other systems
│
├── culture/                  # Beliefs, customs, languages
│   ├── _index.md             # Culture directory
│   └── [culture]/
│       ├── overview.md
│       ├── beliefs.md
│       ├── customs.md
│       └── language.md
│
├── artifacts/                # Significant objects
│   ├── _index.md
│   └── [artifact].md
│
├── species/                  # Non-human beings (if applicable)
│   ├── _index.md
│   └── [species].md
│
└── meta/                     # About the world bible itself
    ├── contributors.md       # Who has contributed
    ├── conflicts.md          # Detected contradictions
    ├── changelog.md          # Recent changes
    └── style-guide.md        # Writing conventions

Canon Status System

Every piece of world information has a canon status:

Status Levels

StatusSymbolMeaningUse
Established✓Appears in published/approved workTreat as fact
Proposed?Suggested but not yet approvedAvailable for use, may change
Deprecated✗Was canon, now supersededDon't use in new work
Contradicted⚠Conflicts with other canonNeeds resolution
Speculative~Extrapolated from canonUse cautiously

Status Rules

  1. Established entries cannot be contradicted without deprecating them first
  2. Proposed entries can be freely modified until established
  3. Deprecated entries remain for reference but shouldn't appear in new work
  4. Contradicted entries require explicit resolution before use
  5. Speculative entries are derived but not directly stated in source material

Source Tracking

Every canon entry tracks its source:

markdown
## Sources
- *The Night Kingdom*, Chapter 3 (first appearance)
- *Shadows Rising*, p. 47 (expanded)
- Session notes 2024-03-15 (clarified by author)

Entry Template

Every world bible entry follows this structure:

markdown
# [Entry Name]

**Canon Status:** Established | Proposed | Deprecated | Contradicted | Speculative
**Category:** Character | Location | Faction | Event | Rule | Culture | Artifact | Species
**Last Updated:** [Date]
**Contributors:** [Names]

## Summary
[1-2 sentence overview for quick reference]

## Description
[Detailed information about this entry]

## Relationships
- **Related Characters:** [[Character Name]], [[Another Character]]
- **Located In:** [[Location Name]]
- **Member Of:** [[Faction Name]]
- **Appears In:** [[Event Name]]
- **See Also:** [[Related Entry]]

## Key Facts
- Fact 1
- Fact 2
- Fact 3

## Notes for Writers
[Guidance for using this element in stories]

## Sources
- Source 1 (what was established)
- Source 2 (additional details)

## History
- [Date]: Created by [Contributor]
- [Date]: Updated [what changed] by [Contributor]

Cross-Referencing

Use wiki-style links to connect entries:

Link Syntax

markdown
[[Character Name]]           # Link to character
[[Location Name|the city]]   # Link with display text
[[Faction Name#history]]     # Link to section

Relationship Types

TypeMeaningExample
containsParent-child locationCity contains neighborhoods
member_ofMembershipCharacter member_of faction
located_inPhysical locationEvent located_in place
related_toGeneral associationCharacter related_to character
preceded_byTemporal sequenceEvent preceded_by earlier event
contradictsCanon conflictEntry contradicts other entry
supersedesReplacesNew entry supersedes deprecated

Contributor Coordination

Contributor Roles

RoleCan DoCannot Do
ReaderView all entriesEdit anything
WriterAdd proposed entries, edit own entriesEstablish canon, edit others' work
EditorEdit any entry, resolve conflictsEstablish canon
Canon AuthorityEstablish canon, deprecate entries—

Contribution Workflow

  1. Propose: Writer adds new entry with status "Proposed"
  2. Review: Editor checks for conflicts and quality
  3. Integrate: Canon Authority establishes if approved
  4. Track: Changelog records all changes

Conflict Resolution

When contradictions arise:

  1. Identify both conflicting entries
  2. Assess which has stronger source authority
  3. Decide which becomes canon (or if reconciliation possible)
  4. Mark the losing entry as Deprecated or update to reconcile
  5. Document the decision in conflicts.md

World Bible Operations

Operation: Initialize World Bible

Create a new world bible structure:

bash
deno run --allow-read --allow-write scripts/init-world.ts "World Name"

Creates the full directory structure with template files.

Operation: Add Entry

Add a new entry to the world bible:

bash
deno run --allow-read --allow-write scripts/add-entry.ts \
  --category character \
  --name "Character Name" \
  --status proposed

Creates entry from template with proper metadata.

Operation: Check Conflicts

Scan for potential contradictions:

bash
deno run --allow-read scripts/check-conflicts.ts world-bible/

Identifies entries that may contradict each other.

Operation: Generate Index

Rebuild index files from entries:

bash
deno run --allow-read --allow-write scripts/build-index.ts world-bible/

Updates all _index.md files with current entries.

Operation: Export Reference

Generate a single-file reference document:

bash
deno run --allow-read scripts/export-reference.ts world-bible/ --format md

Creates a portable reference document for writers.


Integration with Worldbuilding Skill

The shared-world skill maintains; the worldbuilding skill diagnoses.

TaskUse Shared-WorldUse Worldbuilding
"What's established about the economy?"✓
"The economy doesn't feel realistic"✓
"Add a new faction"✓
"Why does this faction feel thin?"✓
"What contradicts what?"✓
"How should magic affect society?"✓

Diagnostic Handoff

When adding entries, consider running worldbuilding diagnostics:

  • New location → W1 (Backdrop World) check
  • New faction → W3 (Institutions Without History) check
  • New magic/tech → W2 (World Without Consequences) check
  • New culture → W5/W6 (Belief/Culture Depth) check
  • New species → W7 (Flat Non-Humans) check

Common World Bible Tasks

Task: Onboard New Writer

  1. Share discovery.md as entry point
  2. Point to style-guide.md for conventions
  3. Walk through canon-status.md for what's established
  4. Explain contribution workflow
  5. Assign initial reading (key established entries)

Task: Before Writing Session

  1. Check changelog.md for recent updates
  2. Review entries relevant to your story
  3. Note any proposed entries you might affect
  4. Check conflicts.md for unresolved issues

Task: After Writing Session

  1. Add any new worldbuilding as proposed entries
  2. Update existing entries if expanded
  3. Note any contradictions discovered
  4. Add to changelog.md

Task: Canon Review

  1. Review proposed entries for quality
  2. Check for conflicts with established canon
  3. Run worldbuilding diagnostics on significant additions
  4. Establish or request revision
  5. Update canon-status.md

Anti-Patterns

The Completionist

Pattern: Trying to document everything before writing starts. Problem: World bible becomes procrastination; entries grow stale. Fix: Document what you need when you need it. Bible grows with stories.

The Lore Dump

Pattern: Entries contain encyclopedic detail no story uses. Problem: Maintenance burden; writers can't find what matters. Fix: Include only what writers need. Depth serves story, not the reverse.

The Siloed Bible

Pattern: World bible separate from actual writing process. Problem: Canon drifts; bible becomes outdated. Fix: Update bible as part of writing workflow, not separate task.

The Authority Vacuum

Pattern: No clear canon authority; everything stays "proposed." Problem: Nothing is reliable; writers can't depend on bible. Fix: Designate canon authority; establish review cadence.

The Conflict Avoidance

Pattern: Contradictions ignored rather than resolved. Problem: Canon becomes unreliable; conflicts compound. Fix: Address conflicts immediately; document decisions.

The Single Source

Pattern: One person maintains bible alone. Problem: Bus factor; limited perspective; bottleneck. Fix: Multiple contributors; clear ownership but shared access.


Style Guide Template

Every world bible should include a style guide:

markdown
# [World Name] Style Guide

## Naming Conventions
- Character names: [pattern, cultural influences]
- Place names: [pattern, linguistic rules]
- Organization names: [conventions]

## Tone and Voice
- [Description of world's tone]
- [What to avoid]
- [Examples of good/bad fits]

## Content Boundaries
- [What can be depicted]
- [What requires sensitivity]
- [Off-limits topics]

## Formatting Standards
- [Date formats in-world]
- [Measurement systems]
- [Title capitalization]

## Common Terms
- [World-specific vocabulary]
- [Spelling of unusual words]

Available Tools

init-world.ts

Initialize a new world bible structure.

add-entry.ts

Create new entries from templates.

check-conflicts.ts

Scan for potential contradictions.

build-index.ts

Regenerate index files.

export-reference.ts

Generate portable reference documents.

link-validator.ts

Check that wiki-links resolve to real entries.


Example Interactions

Example 1: New Contributor

Writer: "I'm joining the shared world project. Where do I start?"

Your approach:

  1. Point to discovery.md as navigation hub
  2. Have them read style-guide.md
  3. Walk through key established entries
  4. Explain proposed vs. established status
  5. Set up their first contribution (probably a character or location)

Example 2: Contradiction Discovered

Writer: "Wait, in Chapter 3 we said the magic system requires blood, but Chapter 7 has a character using magic without it."

Your approach:

  1. Create entries for both instances if they don't exist
  2. Mark both as Contradicted
  3. Add to conflicts.md with sources
  4. Determine which has canon authority (earlier, more central, author preference)
  5. Either reconcile (maybe the blood requirement has exceptions) or deprecate one

Example 3: Major World Expansion

Writer: "I want to add a whole new continent with its own cultures."

Your approach:

  1. Create location entry structure for continent
  2. Add as Proposed (not Established until approved)
  3. Suggest worldbuilding diagnostic (W1 for depth, W6 for culture)
  4. Create placeholder entries for key locations, cultures
  5. Build out detail as stories require it (not all at once)

Output Persistence

This skill has comprehensive built-in persistence through a wiki-style world bible structure.

Existing Persistence Mechanism

The shared-world skill maintains a structured directory as a persistent world bible:

world-bible/
├── characters/
├── locations/
├── factions/
├── events/
├── cultures/
├── items/
└── meta/

Tools for persistence:

  • init-world.ts - Creates the full directory structure
  • add-entry.ts - Adds new entries with proper templates
  • build-index.ts - Regenerates directory indexes
  • check-conflicts.ts - Validates cross-references

How It Differs from Standard Output Persistence

Unlike other skills that write session output to explorations/, shared-world maintains an operational wiki that is the world bible itself. The output IS the product, not a record of exploration.

This skill does NOT use context/output-config.md because:

  • The world bible location is established when initialized
  • The world bible IS the persistence (not session logs)
  • Multiple contributors need to know the fixed location

Conversation vs. File

Goes to FileStays in Conversation
Canonical entriesDiscussion of what to include
Cross-referencesConflict resolution
Status updates (Proposed→Established)Canon debates
Structure and organizationWriter questions

What You Do NOT Do

  • You do not write story content (world bible is reference, not narrative)
  • You do not make canon decisions without authority
  • You do not resolve creative disputes (facilitate, don't decide)
  • You do not create entries speculatively (document what exists)
  • You do not prioritize completeness over usability

Your role is organizational and facilitative: keep the shared world coherent, accessible, and useful for writers. The writers write; you maintain their shared memory.


Key Insight

A world bible is alive. It grows with the stories told in the world, not before them. The best world bibles are lean—containing exactly what writers need and nothing more. They're maintained alongside writing, not as a separate artifact.

The goal isn't to document a world comprehensively. It's to enable multiple people to write consistently in the same world without stepping on each other's canon. Every entry should answer a question a writer actually has.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Shared World AI 技能有什么作用?

为协作创作维护 Wiki 风格的世界设定圣经。适用于长期连载的故事世界、共享宇宙、会员网站,或任何需要长期保留权威设定参考的虚构作品。

为什么在 TypingMind 中使用 Shared World?

因为您只需安装一次,就能搭配任何模型使用。Shared World 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Shared World?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/jwynia/agent-skills/tree/main/skills/creative/fiction/application/shared-world。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Shared World?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Shared World 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Shared World 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Shared World AI 技能免费吗?

是的。jwynia 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇