Overview
Workflows are slash commands that trigger predefined sequences of actions. They’re the backbone of Athena’s session management and deep reasoning capabilities.Workflows live in
.agent/workflows/ as Markdown files. Each workflow is a reusable pattern that can be invoked with a simple slash command.Quick Reference
- Session Management
- Reasoning
- Research
- Maintenance
| Command | Purpose | Complexity |
|---|---|---|
/start | Boot session, load identity | Low |
/end | Close session, commit to memory | Low |
/tutorial | Guided first-session walkthrough | Low |
/save | Mid-session checkpoint | Low |
Session Management
/start - Boot Sequence
Purpose: Beginning of every session. Loads identity, recalls context from previous sessions.
What Happens During Boot
What Happens During Boot
- Load
Core_Identity.md(~8K tokens) - Load Memory Bank files (~10K tokens total)
- Recall last session summary
- Initialize session log
- Print active context and current mandates
/end - Session Close
Purpose: End of every session. Commits insights to memory, updates indexes.
/save - Mid-Session Checkpoint
When to Use: Mid-session when you want to checkpoint without closing. Use before risky experiments.
Reasoning Workflows
Depth Comparison
| Workflow | Depth | Token Budget | Use Case |
|---|---|---|---|
| Normal | Standard | ~500 tokens | Most queries |
/think | High | ~2000 tokens | Important decisions, complex problems |
/ultrathink | Maximum | ~5000+ tokens | Life-altering decisions, multi-stakeholder analysis |
Rule: Default to normal mode. Escalate to
/think for $10K+ decisions. Use /ultrathink only for maximum-depth analysis./think - Deep Reasoning
Phases:
- Context Loading: Pull relevant protocols and case studies
- Deep Analysis: Multi-perspective reasoning
- Synthesis: Structured recommendations
- Quality Check: Verify against constraints
/ultrathink - Maximum Depth
When to Use: Maximum-depth analysis for critical decisions.
Triple Crown Mode
Triple Crown Mode
Combine
/think /search /research for nuclear-level investigation:- DeepCode: Planning and structured analysis
- VectorRAG: Historical context from 850+ documents
- DSPy: Optimized reasoning chains
- Web Search: Real-time external validation
- Multi-Source Research: Exhaustive investigation
Planning Workflows
/brief - Pre-Prompt Clarification
Purpose: Clarify requirements before complex tasks to reduce wasted tokens.
Variants:
/brief— Core brief (default)/brief ++— Expanded fields for complex work/brief build— Technical implementation tasks/brief research— Investigation/analysis tasks/brief interview— Iterative Q&A to extract requirements
/plan - Structured Task Planning
For “Heavy” tasks (new features, refactors, architecture changes):
Research Workflows
Search Depth Comparison
| Workflow | Searches | Sources Read | Depth |
|---|---|---|---|
/search | 2-3 | 0-2 | Medium |
/research | 5-10+ | 3-10+ | Maximum |
/search - Quick Web Search
Purpose: Fast web search with citations for fact-checking and current information.
Output:
- 2-3 search queries executed
- Top results summarized
- Citations included
/research - Exhaustive Investigation
Purpose: Multi-source investigation for comprehensive analysis.
Process:
- Generate 5-10 search queries
- Read 3-10+ full sources
- Cross-reference findings
- Synthesize comprehensive report
- Include full bibliography
Maintenance Workflows
/refactor - Full Workspace Optimization
Purpose: Maintain workspace integrity through periodic optimization.
Phases:
Frequency: Run monthly or after major architecture changes.
/vibe - Vibe Coding Mode
Philosophy: Ship at 70% confidence, iterate based on feedback.
Principles:
- No over-engineering
- Rapid iteration
- User feedback drives refinement
- Progress over perfection
- Keyword in H1/Title
- Internal linking
- Descriptive URL slug
- Meta description
/deploy - Public Repo Sync
Purpose: Sanitized public repository sync (removes private data).
Safety Checks:
- Scan for credentials and secrets
- Remove personal information
- Clean sensitive paths
- Validate public-safe content
- Sync to public repo
Creating Custom Workflows
Workflows live in.agent/workflows/ as Markdown files:
Conventions
Workflow File Structure
Workflow File Structure
- Use
// turboannotation above steps that are safe to auto-run - Reference other workflows with relative links
- Include rollback instructions for destructive operations
- Add clear exit conditions
- Document expected token usage
Best Practices
Choose the Right Depth
Don’t
/ultrathink on simple queries. Reserve deep reasoning for important decisions.Checkpoint Often
Use
/save before risky experiments. Prevention beats recovery.Brief First
For complex tasks,
/brief reduces wasted tokens and improves output quality.End Sessions Properly
/end commits insights to long-term memory. Never skip it.Combine Strategically
/think /search /research for maximum coverage on critical decisions.Maintain Regularly
Run
/refactor monthly to keep workspace healthy.Next Steps
Architecture
Understand the overall system design
Memory System
Learn how memory persists across sessions
Protocols
Explore reusable thinking patterns