Loading...
Loading...
Full-Process Web Novel/Story World Builder, suitable for users' overall novel writing needs such as saying "I want to write a novel", "Write a web novel", "Create a novel from scratch", "Help me write a novel of XX genre", "I want to write a novel", "Give me the entire novel creation process", "Auto-write a novel", "One-stop novel creation service", "Help me finish a novel", "How to write a novel with only an idea", etc. It automatically coordinates the full process of topic selection, outline design, writing, review, and polishing. Even if you only have a rough idea, it can help you complete a full work from 0 to 1 and build a unified story world. **All chapter-level operations are processed in parallel by sub-Agents, with each Agent responsible for a maximum of 3 chapters**
npx skill4agent add xindoo/sumeru sumeru-worldbuildersumeru-topicsumeru-outlinesumeru-writesumeru-reviewsumeru-polishsumeru-finalizeUser Requirements
↓
[Collect Creation Requirements → Save to .sumeru/session/requirements.json]
↓
[sumeru-topic] Topic Planning
→ Output: Topic Planning Report.md, .sumeru/topic/options.json
↓
[sumeru-outline] Outline Design (**Generate complete detailed chapter outlines**)
→ Input: .sumeru/topic/options.json (optional)
→ Output: Novel Outline_*.md, .sumeru/outline/*.json (including chapter-outlines.json)
↓
[Stage Checkpoint 1] Check outline completeness, confirm detailed chapter outlines are generated
↓
[sumeru-write] Chapter Writing (**Outline-driven, parallel batch generation, max 3 chapters per Agent**)
→ Input: .sumeru/outline/chapter-outlines.json
→ Output: chapters/*.md, .sumeru/write/*.json
→ ✅ **Must complete all chapters** (Check that the number of chapters matches the outline)
→ ⚠️ **Follow global 3 chapters/Agent constraint**
↓
[Stage Checkpoint 2] Verify all chapters are completed, record writing progress
↓
[sumeru-review] Logic Review (**Review all chapters, max 3 chapters per Agent**)
→ Input: .sumeru/outline/*.json, chapters/*.md
→ Output: Plot Review Report.md, .sumeru/review/*.json, .sumeru/review/fix-plan.json
→ ✅ **Must complete full-book review**
→ ⚠️ **Follow global 3 chapters/Agent constraint**
↓
[Stage Checkpoint 3] Verify review completion, check if fix-plan.json has rewrite repair items
↓
{Does fix-plan.json have rewrite repair items?}
→|Yes| [Call sumeru-write to rewrite specified chapters → Directly modify chapters/ (auto-backup to .sumeru/write/original/)]
→|No| Continue
↓
[Review lightweight fixes have directly modified chapters/, no additional application steps required]
↓
[sumeru-polish] Content Polishing (**Polish all chapters, max 3 chapters per Agent**)
→ Input: chapters/*.md, .sumeru/review/*.json
→ Output: chapters/*.md (directly modified after polishing, auto-backup to .sumeru/write/original/), .sumeru/polish/*.json
→ ✅ **Must complete full-book polishing**
→ 📝 **Polishing results directly modify chapters/, auto-backup to .sumeru/write/original/ before modification**
→ ⚠️ **Follow global 3 chapters/Agent constraint**
↓
[Stage Checkpoint 4] Verify polishing completion
↓
[sumeru-finalize] Finalization Check (**Process all chapters, max 3 chapters per Agent**)
→ Input: chapters/*.md (already includes review fixes and polished content)
→ Output: publish/*, .sumeru/finalize/*
→ ⚠️ **Follow global 3 chapters/Agent constraint**WORKBUILDER_PROGRESS.jsonchapter-outlines.jsonchapters/Plot Review Report.mdfix-plan.jsonchapters/.sumeru/write/original/chapters/.sumeru/write/original/publish/.sumeru/session/topic/outline/chapter-outlines.jsonwrite/review/polish/finalize/flowchart LR
A[Receive Creation Requirements] --> B[Parameter Validation & Initialization]
B --> C[Call topic for Topic Planning]
C --> D[Call outline for Outline Design]
D --> E[Call write for Complete Chapter Writing]
E -->|✅ All Chapters Completed| F[Call review for Full-Book Logic Review]
F --> G{Does fix-plan.json have rewrite items?}
G -->|Yes| H[Call write to rewrite specified chapters]
H --> I[Directly modify chapters/, auto-backup to .sumeru/write/original/]
I --> J[Call polish for Full-Book Content Polishing]
G -->|No| J
J --> K{Polishing Confirmation?}
K -->|No| L[Targeted Adjustment Polishing]
L --> J
K -->|Yes| M[Call finalize for Finalization Check]
M --> N[Generate Creation Report & Work Files]
subgraph Progress Saving
O[WORKBUILDER_PROGRESS.json]
E -->|Save Progress| O
F -->|Save Progress| O
J -->|Save Progress| O
M -->|Save Progress| O
endWORKBUILDER_PROGRESS.jsonsumeru-reviewchapters/.sumeru/write/original/fix-plan.jsonfix-plan.jsonsumeru-writechapters/sumeru-polishchapters/.sumeru/write/original/.sumeru/polish/sumeru-finalizechapters/publish/.sumeru/session/user-requirements.json> /worldbuilder Xuanhuan "Underdog Counterattack"
🤖 Let me help you refine your creation requirements, just answer a few simple questions:
1️⃣ What specific sub-genre of Xuanhuan do you want? [High Martial Xuanhuan/Cultivation Xuanhuan/Other World Xuanhuan/System Xuanhuan/Other]
> System Xuanhuan
2️⃣ What's the expected total word count? [Under 200k/200k-500k/500k-1M/Over 1M]
> Over 1M
3️⃣ What core hook points do you value most? [Face-slapping/Level-up/Hiding Strength/Recruiting Subordinates/Harem/Other]
> Face-slapping + Hiding Strength
4️⃣ Preferred protagonist personality? [Forbearing & Scheming/Arrogant & Domineering/Funny & Humorous/Gentle & Steady/Other]
> Forbearing & Scheming
5️⃣ Are there any favorite reference works? For example, a style similar to "XX"
> Similar to the funny style of "King of Slaughter"
...
✅ Requirements collection completed, let's confirm:
Genre: System Xuanhuan
Length: Over 1 million words
Core Hook Points: Face-slapping + Hiding Strength
Protagonist Personality: Forbearing & Scheming
Style Reference: Funny style of "King of Slaughter"
Confirm? [Y/n]
> Y
🚀 Start creation!# Simplest call method, only specify genre and keywords
/worldbuilder Xuanhuan "Underdog Counterattack+System Flow"
# Urban romance work, specify title
/worldbuilder Romance "Domineering CEO+Contract Relationship" title"The CEO's Contract Bride"
# Sci-fi mystery, long length, fast-paced style
/worldbuilder Sci-Fi "Time Loop+Locked Room Puzzle" long fast-paced# Complete call with detailed parameters
/worldbuilder Xianxia "Rebirth+Invincible Flow+Sect" title"Rebirth of the Supreme Sect Leader" long detailed-style inspirational-tone
# Resume creation from breakpoint
/worldbuilder Xuanhuan "Underdog Counterattack+System Flow" resume-last-session
# Skip topic stage, continue creation directly from existing outline
/worldbuilder Urban "Workplace+Rebirth" skip-topic-stage# Humorous urban cultivation
/worldbuilder Urban "Cultivation+Part-time Job+Funny" balanced-style humorous-tone
# Dark mystery推理
/worldbuilder Mystery "Serial Murder+Psychological Profiling+Twist" detailed-style dark-tone
# Passionate inspirational sports
/worldbuilder Sports "Basketball+Talent+Counterattack" fast-paced inspirational-tone| Error Code | Error Message | Cause Analysis | Solution |
|---|---|---|---|
| Unsupported work genre | The passed genre parameter is not in the supported list | Check genre spelling. Supported genres: Xuanhuan, Urban, Xianxia, Sci-Fi, Romance, Mystery, History, Game, Sports, Military, Wuxia, Light Novel |
| Keywords too long | The keywords parameter exceeds the 100-character limit | Simplify keywords, keep the core 3-5 keywords |
| Missing dependent skills | Required sub-skills (such as topic) are not installed | Run |
| No permission for output directory | The specified output-dir has no write permission | Change to a directory with permission, or use the default directory |
| Invalid session ID | The session ID passed in the resume parameter does not exist | Check if the session ID is correct, or start creation again |
| Stage skip conflict | The skipped stage has dependencies with subsequent stages | Remove the skip of the prerequisite stage, or provide necessary prerequisite files |
| Content generation failed | Content review or model restrictions encountered during creation | Adjust keywords or style parameters, or confirm manually stage by stage |
{output-dir}/error.log# After planning completes topic and outline, hand over to writer
/worldbuilder Xuanhuan "Underdog Counterattack+System Flow" skip-writing, skip-review, skip-polish, skip-finalize stages
# Writer takes over, continues from creation stage
/worldbuilder Xuanhuan "Underdog Counterattack+System Flow" skip-topic, skip-outline stages resume-last-session# Generate multiple versions for comparison
/worldbuilder Romance "Time Travel+Palace Intrigue" title"Qing Palace·Legend of Zhen Huan" literary-style
/worldbuilder Romance "Time Travel+Palace Intrigue" title"Qing Palace·Startling by Each Step" fast-paced# First installment
/worldbuilder Xuanhuan "System+Level-up" title"The Martial Emperor Arrives" medium
# Second installment (reuse worldview)
/worldbuilder Xuanhuan "System+Level-up" skip-topic, skip-outline stages resume-last-session title"The Martial Emperor Arrives 2"# Test different opening styles
/worldbuilder Urban "Rebirth+Business War" skip-writing, skip-review, skip-polish, skip-finalize stages
# Manually modify opening settings in the outline, then continue
/worldbuilder Urban "Rebirth+Business War" skip-topic-stage resume-last-session# Generate multiple topic options for later selection
/worldbuilder Xuanhuan "Underdog" skip-outline, skip-writing, skip-review, skip-polish, skip-finalize stages
/worldbuilder Xuanhuan "System" skip-outline, skip-writing, skip-review, skip-polish, skip-finalize stages
/worldbuilder Xuanhuan "Rebirth" skip-outline, skip-writing, skip-review, skip-polish, skip-finalize stages.sumeru/.sumeru/
├── session/ # Global session data
│ ├── config.json # Creation configuration parameters
│ ├── status.json # Current progress status
│ └── history.log # Operation history record
├── topic/ # Topic stage output
│ ├── report.md # Complete topic planning report
│ └── options.json # Raw data of multiple topic options
├── outline/ # Outline stage output
│ ├── world.md # Worldview settings
│ ├── characters.json # Character setting cards
│ ├── plot.md # Plot outline
│ ├── plot-outline.json # Structured plot outline data
│ └── chapter-outlines.json # **Complete detailed chapter outlines (core output)**
├── write/ # Creation stage output
│ ├── draft/ # Chapter drafts
│ ├── original/ # Original chapter backups (auto-backup before review/polish modification)
│ └── progress.json # Creation progress tracking
├── review/ # Review stage output
│ ├── timeline.json # Timeline data
│ ├── issues.json # Issue list
│ ├── fix-plan.json # Rewrite repair plan
│ └── plot-map.json # Plot脉络图
├── polish/ # Polishing stage output
│ └── diff.json # Modification comparison record
└── finalize/ # Finalization stage output
├── clean/ # Clean full text
├── platforms/ # Platform-specific export versions
└── report.md # Finalization check report{
"session_id": "session-20240315-abc123",
"created_at": "2024-03-15T10:00:00",
"updated_at": "2024-03-15T14:30:00",
"current_stage": "review",
"stages": {
"topic": {
"status": "completed",
"completed_at": "2024-03-15T10:15:00",
"output_files": [
"Topic Planning Report.md",
".sumeru/topic/options.json"
]
},
"outline": {
"status": "completed",
"completed_at": "2024-03-15T11:20:00",
"output_files": [
"Novel Outline_Xuanhuan System Flow.md",
".sumeru/outline/chapter-outlines.json"
]
},
"write": {
"status": "completed",
"completed_at": "2024-03-15T13:45:00",
"output_files": [
"chapters/001-Underdog Awakens System.md",
"chapters/002-System Sign-in Reward.md",
".sumeru/write/progress.json"
],
"statistics": {
"total_chapters": 100,
"completed_chapters": 100,
"total_words": 520000
}
},
"review": {
"status": "completed",
"completed_at": "2024-03-15T14:45:00",
"output_files": [
"Plot Review Report.md",
".sumeru/review/issues.json",
".sumeru/review/fix-plan.json"
],
"statistics": {
"total_issues_found": 8,
"critical_issues": 2,
"issues_fixed": 6,
"issues_rewritten": 2
},
"fix_plan_generated": true
},
"polish": {
"status": "in_progress",
"started_at": "2024-03-15T15:00:00",
"progress": "60%",
"polish_level": "moderate",
"style": "Light爽文"
},
"finalize": {
"status": "pending"
}
}
}WORKBUILDER_PROGRESS.json{stage}-{timestamp}.json.sumeru/.sumeru/{output-dir}/hooks.json{
"before_topic": "my-preprocess-script.sh",
"after_outline": "validate-outline.js",
"before_write": "setup-write-env.py",
"after_final": "deploy-to-platform.sh"
}