Usage
Arguments
Target directory to initialize. Use
. for current directory. If omitted and --here is not specified, initializes in current directory.Options
Initialize in current directory (alias for
athena init .)Generate IDE-specific configuration filesChoices:
antigravity, cursor, vscode, gemini, kilocode, roocodeExamples
Initialize in Current Directory
Initialize with Cursor Config
.cursor/rules.md with Athena-specific agent instructions.
Initialize with Antigravity Config
AGENTS.md with Athena workspace context.
Initialize New Project Directory
Directory Structure
The init command creates the following structure:Template Files
Core Identity
.framework/modules/Core_Identity.md defines your agent’s:
- Operating principles
- Reasoning standards
- Memory-first approach
- Success metrics
Workflow Templates
Three essential workflows are created:- start.md - Boot sequence
- end.md - Session close and save
- save.md - Quicksave checkpoint
Project State
.context/project_state.md tracks:
- System health status
- Session count
- Recent changes
- Project-specific notes
IDE-Specific Configuration
Antigravity (--ide antigravity)
Creates AGENTS.md with:
- Boot sequence:
athena - Save sequence:
athena --end - Quicksave:
athena save "summary" - Directory context guide
Cursor (--ide cursor)
Creates .cursor/rules.md with:
- Athena workspace context
- Key directory explanations
- Session discipline workflow
- Boot command instructions
VS Code (--ide vscode)
Creates .vscode/settings.json with:
- Markdown file associations
- Word wrap enabled
- Python cache exclusions
- Markdown preview settings
Gemini (--ide gemini)
Creates .gemini/AGENTS.md with:
- Workspace context
- Directory structure guide
- Session command table
- Quick reference
Kilo Code (--ide kilocode)
Creates .kilocode/rules/athena.md with:
- Full context guide
- Slash command reference
- Session discipline
- Boot instructions
Roo Code (--ide roocode)
Creates .roo/rules/athena.md with:
- Workspace operating principles
- Slash command table
- Session workflow
- Directory context
Exit Codes
| Code | Meaning |
|---|---|
0 | Workspace initialized successfully |
1 | Initialization failed |
Next Steps
After initializing your workspace:Related Commands
- athena check - Verify workspace health
- athena doctor - Run comprehensive diagnostics
- athena save - Create session checkpoints