Usage
What It Checks
The basic health check verifies:- CLI Version - Confirms Athena SDK is installed
- Workspace Marker - Checks for
.athena_rootfile - Key Directories - Validates
.agent/,.context/,.framework/exist - Environment Variables - Reports on optional cloud features
Example Output
Interpreting Results
Success Indicators (✅)
- Workspace marker: Found -
.athena_rootexists, workspace is initialized - Directory: Found - Required directory exists
- Environment variable: Set - Cloud feature is configured
Warnings (⚠️)
- Workspace marker: Missing - Run
athena init .to initialize workspace - Directory: Missing - Critical directory not found, run
athena init .or create manually - Environment variable: Not set - Optional cloud feature unavailable (workspace still functional)
Failures (❌)
- Directory: Missing - Core directory structure is incomplete
Common Issues
Workspace Not Initialized
Symptom:Missing Environment Variables
Symptom:.env file in your workspace root:
.env
Environment variables are optional. Athena works fully offline without them. They only enable cloud sync features.
Running in Wrong Directory
Symptom:When to Use
Useathena check when you:
- Just initialized a workspace and want to verify setup
- Cloned a workspace from git and need to check configuration
- Experience issues and want to rule out basic setup problems
- Haven’t used Athena in a while and want to confirm everything’s ready
vs athena doctor
athena check is a lightweight alternative to athena doctor:
| Feature | check | doctor |
|---|---|---|
| Checks run | 4 basic | 15 comprehensive |
| Execution time | Less than 1 second | 2-5 seconds |
| Reports | Essential only | Detailed diagnostics |
| Auto-fix | No | Yes (with --fix) |
| JSON output | No | Yes (with --json) |
| Best for | Quick verification | Deep troubleshooting |
Exit Codes
| Code | Meaning |
|---|---|
0 | Check completed (warnings don’t affect exit code) |
Unlike
athena doctor, the basic check always exits with code 0. It’s informational only.Related Commands
- athena init - Initialize workspace structure
- athena doctor - Run comprehensive diagnostics with auto-fix