Table of Contents
Foreword
Chapter 1 – Foundations: How LLMs See the World
1.1 Tokens and Why They Matter
1.2 Context Windows
1.3 Pretraining and Why Lore Dumps Fail
1.4 The U-Shaped Memory Curve
1.5 How Prompts Are Sent (Send Order)
1.6 Why Bots Drift
1.7 Exercises
Chapter 2 – Token Efficiency & Memory Management
2.1 Why Efficiency Matters
2.2 The Token Budget
2.3 Placement and the U-Shaped Curve
2.4 Reply Length and Pacing
2.5 Cutting the Fat
2.6 Collapse and Condense
2.7 Signal vs. Noise
2.8 Confusion Drift
2.9 Final Takeaways
Exercises
Chapter 3 – Personality Blocks I: Structure & Theory
3.1 What a Personality Block Is
3.2 The Formula: Personality Block Template
3.3 Teaching Each Section
3.4 Worked Example: Susan Benson
3.5 Common Mistakes
Exercises
Chapter 4 – Scenario Blocks I: The Identity vs. the Script
4.1 What a Scenario Block Is
4.2 Why the Scenario Block Matters
4.3 The Formula: Scenario Block Template
4.4 Teaching Each Section
4.5 Worked Example: Susan Benson
4.6 Common Mistakes
Exercises
Chapter 5 – Scenario Blocks II: States, Triggers, and Interaction Categories
5.1 Why States and Triggers Matter
5.2 Defining States
5.3 Writing Triggers
5.4 Interaction Categories Expanded
5.5 Worked Example: Triggered States in Play
5.6 Common Mistakes
Exercises
Chapter 6 – Example Dialogue
6.1 Why Example Dialogue Matters
6.2 Formatting Conventions
6.3 Pacing Tricks
6.4 Example Dialogue (Good vs. Bad)
6.5 Building a Sample Set
6.6 Key Takeaways
Chapter 7 – Initial Messages & First Impressions
7.1 The Curtain Rises
7.2 Anatomy of an Effective Opener
7.3 Case Study: Nina’s Room
7.4 Why Length Matters
7.5 Common Pitfalls
7.6 Alternative Openers Across Archetypes
7.7 Practical Design Tips
7.8 Conclusion: The First Beat
Chapter 8 – Bot Cards & Presentation
8.1 Why Bot Cards Matter
8.2 The Six Structural Parts of a Card
8.3 Visuals and Generators
8.4 Prompting Basics
8.5 Writing the Blurb
8.6 Structural Flow Checklist
8.7 Worked Example: Tomboy Judo Girlfriend
8.8 Common Mistakes
8.9 Conclusion: The Storefront Window
Chapter 9 – Testing & Debugging Bots
9.1 Why Testing Matters
9.2 The Tester’s Mindset
9.3 Quick Checks for Tone
9.4 Quick Checks for Scenario Rules
9.5 Quick Checks for Emotion
9.6 Quick Checks for Tokens
9.7 Common Pitfalls in Testing
9.8 Case Studies
9.9 Debugging Quick Checklist
9.10 Conclusion
Chapter 10 – Multi-Character Philosophy
10.1 Introduction: From Solos to Ensembles
10.2 The Core Challenge: Many Voices, One Engine
10.3 The Scenario as Director
10.4 Efficiency and Token Management
10.5 From Solo Act to Ensemble Cast
10.6 Case Illustration: The Two-Voice Test
10.7 Conclusion
Chapter 11 – Multi-Character Personality Blocks
11.1 Why Multi-Part Personality Matters
11.2 Core Categories for Each Personality
11.3 Teaching Each Section
11.4 Worked Example (Duo)
11.5 Worked Example (Trio)
11.6 Common Mistakes
11.7 Practical Guidelines
Chapter 12 – The Shared Scenario & Trigger Matrix
12.1 Introduction
12.2 Why the Shared Scenario Matters
12.3 Core Components of the Shared Scenario
12.4 Good Example – Dual-Character Scenario + Trigger Matrix
12.5 Bad Example – Dual-Character Scenario + Trigger Matrix
12.6 Good Example – Triple-Character Scenario + Trigger Matrix
12.7 Escalation and De-escalation
12.8 Practical Guidelines
12.9 Diagram Prompt
12.10 Conclusion
Chapter 13 – Dialogue, Formatting & Troubleshooting
13.1 Why Dialogue Management Matters
13.2 Turn-Taking: Who Speaks When
13.3 Formatting Rules: Teaching the Model Voice Separation
13.4 Pacing: Dialogue Length and Rhythm
13.5 Troubleshooting Common Problems
13.6 Case Study: Banter Flow in a Duo
13.7 Case Study: Triangulation in a Trio
13.8 Diagram Prompt
13.9 Conclusion
Chapter 14 – Scenario Bots: Simulations and Environments
14.1 Introduction
14.2 Scenario Bot Personality Blocks
14.3 Scenario Bot Scenarios
14.4 Triggering Simulation Logic
14.5 Case Study: Dragon Ball Z Simulator
14.6 Common Pitfalls
14.7 Conclusion
Chapter 15 – Advanced Scenario Bot Design
15.1 Expanding Interaction Categories
15.2 Layered Triggers and States
15.3 Environmental Logic as Scenario Personality
15.4 Worked Example: Noir Detective Simulator
15.5 Practical Guidelines
15.6 Conclusion
Chapter 16 – Wrap-Up & Looking Ahead
16.1 Key Lessons
16.2 Common Mistakes to Avoid
16.3 The Future of Botmaking
16.4 Final Words
Appendices
Appendix 1 – Single Character Templates (Personality + Scenario)
Appendix 2 – Dual Character Templates (Personality + Scenario)
Appendix 3 – Triple Character Templates (Personality + Scenario)
Appendix 4 – Scenario Bot Templates (Personality + Scenario)
Appendix 5 – Spark Notes / Most Important Takeaways
Appendix 6 – Glossary of Key Terms