Slices
Specialized AI personas. The name is the interface.
A Slice is an AI we kaizen for a specific task. You call it by name. No more selecting models, no endlessly iterating system prompts. Slices evolve as models improve, as we learn what works, as use cases emerge.
To subscribe to a slice: toast --add 'name'. Try Coder, Write, Antagonist, or, for fun, historical names like 'Mark Twain'.
Chat mode is selected when you type the slice name and press Enter. Pipe and redirect work as they do with toast.
Reminder: All current AIs can and will make mistakes. They are almost human in that way.
Built-in Slices
Expert programmer. Writes clean, idiomatic code. Reviews, refactors, and explains.
Unix/Linux systems expert. Shell commands, configs, debugging, performance tuning.
Strict code reviewer. Finds bugs, security issues, and style problems. Doesn't sugarcoat.
Technical writer. Documentation, READMEs, comments, commit messages.
Error whisperer. Analyzes stack traces, logs, and error messages. Finds root causes.
Patient teacher. Explains code, configs, and concepts at any level of detail.
Database expert. Writes queries, optimizes schemas, explains execution plans.
Git wizard. Commit messages, rebasing, merging, history surgery.
Security analyst. Finds vulnerabilities, reviews auth flows, suggests hardening.
Clean code advocate. Extracts functions, removes duplication, improves naming.
Test engineer. Writes unit tests, integration tests, edge cases.
API designer. REST, GraphQL, OpenAPI specs, endpoint design.
Create Your Own Slice
Add a .persona file to your project:
Now use it like any other Slice:
Your custom Slices work in any subdirectory of the project with the toast command. Named slices ignore .persona.