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

Coder code

Expert programmer. Writes clean, idiomatic code. Reviews, refactors, and explains.

cat api.py | Coder "add error handling"
Sys sysadmin

Unix/Linux systems expert. Shell commands, configs, debugging, performance tuning.

Sys "why is my disk full"
Reviewer code

Strict code reviewer. Finds bugs, security issues, and style problems. Doesn't sugarcoat.

git diff | Reviewer
Writer docs

Technical writer. Documentation, READMEs, comments, commit messages.

cat lib.py | Writer "write docstrings"
Debug debugging

Error whisperer. Analyzes stack traces, logs, and error messages. Finds root causes.

cat error.log | Debug
Explain learning

Patient teacher. Explains code, configs, and concepts at any level of detail.

cat nginx.conf | Explain
SQL database

Database expert. Writes queries, optimizes schemas, explains execution plans.

SQL "find users with no orders in 30 days"
Git git

Git wizard. Commit messages, rebasing, merging, history surgery.

git log --oneline -20 | Git "squash these"
Security security

Security analyst. Finds vulnerabilities, reviews auth flows, suggests hardening.

cat auth.py | Security "audit this"
Refactor code

Clean code advocate. Extracts functions, removes duplication, improves naming.

cat messy.js | Refactor
Test testing

Test engineer. Writes unit tests, integration tests, edge cases.

cat utils.py | Test "write pytest tests"
API api

API designer. REST, GraphQL, OpenAPI specs, endpoint design.

API "design endpoints for a todo app"

Create Your Own Slice

Add a .persona file to your project:

# .persona You are a Django specialist with 10 years of experience. Prefer class-based views over function-based. Always consider security implications. Use Django REST Framework for APIs. Follow the Django style guide.

Now use it like any other Slice:

cat views.py | toast "add pagination"

Your custom Slices work in any subdirectory of the project with the toast command. Named slices ignore .persona.