README
These slash commands make it easy to generate and edit chapters with any fresh Claude Code session.
Claude CodeGeneric
# ABITS Claude Code Commands
These slash commands make it easy to generate and edit chapters with any fresh Claude Code session.
## Available Commands
### `/make-draft`
**Generate a new chapter using AI models**
```bash
/make-draft
Claude will:
- Ask which chapter to generate
- Check for context file (
.build/contexts/{chapter}.yaml) - Ask which generation mode (iteration/balanced/production)
- Generate all 4 layers
- Combine into readable draft
- Show you the result
/edit-draft
Shape and refine a generated chapter
/edit-draft manuscript/combined/act1_ch2.md
Claude will:
- Read your draft and its context file
- Ask what you want to change
- Show you which config to update
- Update the context YAML
- Offer to regenerate with changes
/generate-outline
Create a bullet outline of all three acts
/generate-outline
Claude will:
- Read plot structure and reveal sequence
- Generate comprehensive chapter-by-chapter outline
- Show plot beats, character arcs, and reveal timing
- Save to
docs/outline.md(or custom path)
Perfect for:
- Seeing the whole story structure at a glance
- Checking pacing and flow
- Ensuring reveals happen in the right order
- Verifying character arcs develop properly
/generate-synopsis
Create a 1-page thematic treatment
/generate-synopsis
Claude will:
- Read themes, worldbuilding, and plot structure
- Generate compelling 1-page treatment
- Focus on themes/insights rather than plot summary
- Save to
docs/synopsis.md(or custom path)
Perfect for:
- Pitch documents and query letters
- Marketing copy
- Reminding yourself what the story is really about
- Capturing the philosophical/emotional essence
Daily Workflow
# Start of project: Get the big picture
/generate-outline # See all plot beats across acts
/generate-synopsis # Understand thematic core
# Morning: Generate new chapter
/make-draft
> act1_ch2
> balanced
# Read the draft, decide what to change
/edit-draft manuscript/combined/act1_ch2.md
> Make Edreema more cautious
> yes (regenerate)
# Iterate until happy
/edit-draft manuscript/combined/act1_ch2.md
> Add a scene where...
> yes
# After major plot changes: Regenerate planning docs
/generate-outline # Check if beats still flow
/generate-synopsis # Verify themes still land
# Commit when satisfied
git add .build/contexts/act1_ch2.yaml
git commit -m "act1_ch2 complete"
Key Principle
Context files are source code. Drafts are build artifacts.
- Context files (
.build/contexts/*.yaml) → Version controlled - Generated drafts (
manuscript/combined/*.md) → Gitignored, disposable - You iterate by changing context and regenerating, not editing prose directly
Cost Control
- iteration mode: FREE (Llama) or very cheap
- balanced mode: ~$0.02-0.10 per chapter (Haiku/Sonnet mix)
- production mode: ~$0.50+ per chapter (Opus/Sonnet)
Check current models and costs:
source .venv/bin/activate
python3 scripts/build.py models
Maintain README?
Let people know it's listed here — add the badge (live metrics, light/dark aware) or a plain link to your README or docs.
[README on getagentictools](https://getagentictools.com/loops/nickcottrell-abits-claude-code-commands?ref=badge)