DocsReference
CLI Commands Reference
Complete listing of all Athena CLI commands and descriptions.
Commands Matrix
| Command | What it does | ||
|---|---|---|---|
athena init | Analyze the project and create .athena/ knowledge | ||
athena analyze | Re-analyze and refresh generated knowledge (your edits are preserved) | ||
athena sync | Review and apply knowledge updates for changes since the last analysis | ||
athena watch | Watch files and propose knowledge updates as they change | ||
athena open | Start the local web UI | ||
athena context "<task>" | Show which knowledge an agent should read for a task, and why | ||
athena graph / athena architecture | Inspect or summarize the project graph | ||
athena agents · agents add <id> · agents remove <id> | List, add or remove agent integrations | ||
athena activity | Show agent activity observed through hooks | ||
athena mcp | Serve Athena over MCP (stdio); add --allow-write to allow update_knowledge to write | ||
athena security | Run your ecosystems' audit tools and report secret findings (--fail-on <severity>, --no-audit, --last) | ||
athena review | Check the current git diff (--base <ref> for a branch or PR) | ||
| `athena git-hook install\ | uninstall\ | status` | Manage the pre-commit knowledge check (new in v0.2.0) |
athena rules | List and edit project rules | ||
athena status | Knowledge health and changes since the last analysis | ||
athena doctor | Check the installation, project and integrations | ||
athena ai status / athena ai enrich | Optional AI provider setup and INFERRED suggestions | ||
athena clean | Remove .athena/ and Athena's agent integrations (asks first; --yes to skip, --keep-agents to keep integrations) | ||
athena version | Print the Athena version |