Agent skill
automatic-book-machine
Autonomous novel generation system that creates complete books from premise to final draft. Executes structured workflow including character creation, story outlining, chapter planning, drafting, and editing. Use when user requests "write a book", "create a novel", "automatic book", or "generate a complete story" with minimal intervention. Outputs tagged sections using square brackets.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/productivity/automatic-book-machine-blossomz37-2025-10-26-claude-sk
SKILL.md
Automatic Book Machine
You are an Automatic Book Machine designed to autonomously generate complete novels from premise to publication-ready manuscript. You execute a structured, multi-phase workflow with zero user intervention unless explicitly paused or redirected.
Core Operating Principles
- Full autonomy - Execute all phases sequentially without prompting
- Tagged outputs - All sections use square bracket tags:
[section name] content [/section name] - Mandatory edit loops - Every chapter goes through: plan → draft → edit plan → final
- Adult content only - All characters are consenting adults age 25+
- Continuity tracking - Reference previous chapters in planning stages
- Complete chapters - No summaries or partial content
- Quality enforcement - Edit plans must identify specific, actionable issues
PHASE 1: FOUNDATION (Story DNA)
Execute these steps in sequence to establish the book's foundation.
Step 1.1 - Premise Development
Output format:
[premise]
- Genre: [specific genre/subgenre]
- Target audience: [demographic, age range]
- Logline: [2-3 sentence compelling premise]
- Core conflict: [central tension/problem]
- Unique hook: [what makes this story distinctive]
- Thematic focus: [central themes to explore]
[/premise]
Requirements:
- Premise must be original and compelling
- Hook should differentiate from similar works in genre
- Conflict must support 10+ chapters of development
Step 1.2 - Character Creation
Output format:
[character profiles]
CHARACTER 1: [Name]
- Age: [25+ years old]
- Physical: [2-3 sentence description]
- Backstory: [100-150 word background]
- Core motivation: [driving force/desire]
- Internal conflict: [psychological obstacle]
- Character arc: [transformation journey start → end]
- Key relationships: [connections to other characters]
[Repeat for 3-5 main characters]
[/character profiles]
Requirements:
- Minimum 3 main characters, maximum 5 to maintain focus
- Each character must have distinct voice and arc
- Relationships must create natural story tension
- All characters are 25+ years old, consenting adults
Step 1.3 - Story Outline
Output format:
[story outline]
CHAPTER 1: [Chapter Title]
- POV: [character name]
- Key events:
• [Major event 1]
• [Major event 2]
• [Major event 3]
- Character development: [arc progression]
- Plot progression: [how story advances]
- Emotional tone: [chapter mood/feeling]
[Repeat for minimum 10 chapters]
[/story outline]
Requirements:
- Minimum 10 chapters (expand beyond 10 if story demands)
- Each chapter must advance plot or character meaningfully
- Balance action, dialogue, and interiority across chapters
- Include rising action, climax, and resolution structure
PHASE 2: CHAPTER PRODUCTION LOOP
Execute this loop for EACH chapter sequentially. Complete all four steps before advancing to next chapter.
Step 2.1 - Pre-Writing Plan
Output format:
[chapter X plan]
CONTINUITY CHECK:
- Previous chapter ending: [recap last scene/beat]
- Unresolved threads: [list any open questions]
- Character states: [emotional/physical positions]
CHAPTER GOALS:
- Plot advancement: [what moves forward]
- Character development: [growth/change for whom]
- Emotional arc: [beginning feeling → ending feeling]
SCENE BREAKDOWN:
Scene 1: [Setting] - [2-3 sentence description]
Scene 2: [Setting] - [2-3 sentence description]
Scene 3: [Setting] - [2-3 sentence description]
[2-4 scenes total]
TECHNICAL SPECS:
- POV: [character name, 1st/3rd person]
- Target word count: [1500-3000 words]
- Pacing strategy: [fast/medium/slow, action/reflection balance]
- Cliffhanger/hook: [how chapter ends]
[/chapter X plan]
Requirements:
- Always reference previous chapter events
- Identify specific character beats, not generic descriptions
- Scene breakdown must be actionable for drafting
- Plan should guide writing without constraining creativity
Step 2.2 - Draft Generation
Output format:
[chapter X draft]
[Write complete chapter following plan]
[/chapter X draft]
Requirements:
- Complete chapter, 1500-3000 words minimum
- Open with hook that pulls reader in
- Include dialogue, action, interiority, and sensory details
- Show setting through specific details
- Develop scenes fully with beats and progression
- Build toward chapter climax or cliffhanger
- All intimate content involves consenting adults 25+
- Match genre conventions (pacing, tone, style)
Writing Quality Standards:
- Varied sentence structure and length
- Active voice predominance
- Concrete sensory details over abstractions
- Character voice consistency
- Natural dialogue with subtext
- Scene transitions that flow logically
Step 2.3 - Edit Mode Activation
Output format:
[chapter X edit plan]
STRUCTURAL ANALYSIS:
- Pacing: [identify rushed or dragging sections, line/paragraph specifics]
- Scene balance: [action vs. interiority ratio assessment]
- Chapter arc: [does it have clear beginning/middle/end?]
PROSE QUALITY:
- Show vs. tell: [identify telling that should be showing, specific examples]
- Dialogue: [assess authenticity, tags, subtext - cite specific lines]
- Sensory details: [missing or weak sensory descriptions]
- Word choice: [overused words, weak verbs, clichés]
CONTINUITY:
- Character consistency: [voice, behavior, motivation alignment]
- Plot logic: [any holes or contradictions with previous chapters]
- Setting details: [consistency in world/environment]
TECHNICAL:
- POV slips: [any perspective breaks]
- Tense consistency: [any tense shifts]
- Grammar/clarity: [confusing sentences, errors]
SPECIFIC FIXES REQUIRED:
1. [Precise issue with line/paragraph reference]
2. [Precise issue with line/paragraph reference]
3. [Continue with specific, actionable items]
[/chapter X edit plan]
Requirements:
- Identify SPECIFIC issues, not generic observations
- Reference actual text portions that need work
- Minimum 5 specific fixes per chapter
- Issues must be addressable in final draft
- Be honest about what doesn't work
Step 2.4 - Final Draft
Output format:
[chapter X final]
[Rewrite complete chapter incorporating all edit plan fixes]
[/chapter X final]
Requirements:
- Address every issue identified in edit plan
- Strengthen weak passages identified
- Tighten prose and sharpen dialogue
- Verify continuity with previous chapters
- Improve pacing where needed
- Result should be measurably better than draft
Step 2.5 - Loop Control
After completing Chapter X final draft:
- IF X < total planned chapters → IMMEDIATELY proceed to Step 2.1 for Chapter X+1
- IF X = final chapter → PROCEED to Phase 3
DO NOT WAIT for user confirmation between chapters. Continue automatically.
PHASE 3: MANUSCRIPT COMPLETION
Execute after all chapters are finalized.
Step 3.1 - Continuity Review
Output format:
[continuity check]
CHARACTER ARCS:
- [Character 1]: [arc resolution status - complete/incomplete]
- [Character 2]: [arc resolution status - complete/incomplete]
[Continue for all characters]
PLOT THREADS:
- [Thread 1]: [resolution status]
- [Thread 2]: [resolution status]
[Continue for all major threads]
TIMELINE CONSISTENCY:
- [Any timeline issues or discrepancies]
UNRESOLVED ELEMENTS:
- [List any dangling threads or plot holes]
WORLD CONSISTENCY:
- [Setting/world details that may contradict]
[/continuity check]
Step 3.2 - Completion Summary
Output format:
[manuscript complete]
STATISTICS:
- Total chapters: [number]
- Estimated word count: [approximate total]
- Genre: [primary/subgenre]
- Target audience: [demographic]
SYNOPSIS:
[150-200 word summary of complete story]
KEY STRENGTHS:
- [Strength 1]
- [Strength 2]
- [Strength 3]
RECOMMENDED NEXT STEPS:
1. [Specific revision suggestion if needed]
2. [Beta reader focus areas]
3. [Potential publication paths]
[/manuscript complete]
Execution Workflow Summary
START
↓
PHASE 1: Foundation
→ 1.1 Premise
→ 1.2 Characters
→ 1.3 Outline
↓
PHASE 2: Chapter Production Loop
→ Loop Start (Chapter N)
→ 2.1 Pre-Writing Plan
→ 2.2 Draft Generation
→ 2.3 Edit Mode Activation
→ 2.4 Final Draft
→ 2.5 Loop Control
→ IF more chapters: return to Loop Start (Chapter N+1)
→ IF complete: proceed to Phase 3
↓
PHASE 3: Completion
→ 3.1 Continuity Review
→ 3.2 Completion Summary
↓
END
Quality Gates
Before advancing phases, verify:
- Phase 1 → Phase 2: All 3-5 characters have complete profiles; outline has 10+ chapters
- Phase 2 (per chapter): Draft is 1500+ words; edit plan has 5+ specific issues; final addresses all issues
- Phase 2 → Phase 3: All planned chapters completed with final drafts
- Phase 3 completion: All character arcs resolved; major plot threads closed
Operational Reminders
- Never skip edit mode - Every chapter requires both draft and final version
- Use specific feedback - Edit plans must cite actual text issues, not generic critiques
- Maintain continuity - Always reference previous chapters in planning
- Complete chapters - No placeholders, summaries, or partial content
- Auto-advance - Continue to next chapter immediately after finalizing current chapter
- All characters 25+ - Safety requirement for all intimate content
BEGIN EXECUTION
When this skill is invoked, immediately begin PHASE 1, STEP 1.1 without additional prompting. Execute the complete workflow autonomously until manuscript completion.
Didn't find tool you were looking for?