Chapter Writer Agent
The Chapter Writer Agent generates the first draft of each chapter based on the outline, character profiles, and worldbuilding details.
Overview
This agent transforms your outline into fully-written chapters, incorporating character development, world details, and maintaining narrative consistency throughout the writing process.
Features
Chapter Creation
- Generates complete chapter drafts
- Follows outline structure
- Incorporates character voices
- Maintains narrative flow
- Implements world details
Content Integration
- Uses character profiles
- Implements worldbuilding elements
- Follows plot points
- Maintains story continuity
Writing Elements
- Dialogue generation
- Scene description
- Action sequences
- Character introspection
- Setting details
Input Requirements
The Chapter Writer requires:
- Chapter outline
- Character profiles
- Worldbuilding information
- Project metadata
- Chapter number
Process Flow
-
Preparation
- Loads chapter outline
- References character data
- Accesses worldbuilding details
- Verifies project settings
-
Content Generation
- Creates chapter structure
- Develops scenes
- Writes dialogue
- Adds descriptions
- Incorporates details
-
Output Processing
- Formats content
- Adds chapter headers
- Implements styling
- Saves to file
Usage
# Through Project Manager
libriscribe write-chapter CHAPTER_NUMBER
# Direct usage
chapter_writer.execute(
outline_path,
character_path,
world_path,
chapter_number,
output_path
)
Best Practices
-
Preparation
- Review chapter outline
- Check character references
- Verify world details
- Confirm story progression
-
Quality Control
- Monitor narrative flow
- Check character consistency
- Verify plot progression
- Maintain pacing
-
Integration
- Follow outline structure
- Use character voices
- Include world details
- Maintain continuity
Error Handling
The agent handles:
- Missing input files
- Invalid chapter numbers
- Content generation issues
- File system errors
Output Format
Chapters are generated in Markdown format:
# Chapter [Number]: [Title]
[Chapter content with proper formatting]
## Scene breaks where appropriate
[Continued content...]