CLI Reference
aicmo CLI Reference
The aicmo CLI gives solo founders full access to agent orchestration, queue review, and channel publishing from the terminal.
Installation
npm install -g aicmo# or run directlynpx aicmo --helpCore Commands
| Command | Description |
|---|---|
aicmo login | Authenticate CLI via browser device flow (/activate) |
aicmo logout | Remove local authenticated credentials |
aicmo whoami | Inspect active user, plan tier, and token scopes |
aicmo connections | List connected social accounts and OAuth statuses |
aicmo token | Manage granular agent API tokens (aicmo_agt_…) |
aicmo queue | List and review scheduled content queue items |
aicmo publish <id> | Publish queued item or simulate with --dry-run |
aicmo scout | Find marketing opportunities via API |
aicmo write | Draft content from git commits or custom topics |
aicmo ship | Run full strategy loop: commits → validated queue drafts |
aicmo chat | Interactive CMO agent terminal session |
aicmo mcp | Launch AICMOHQ Model Context Protocol server over stdio |
aicmo run <capability> | Run any capability directly by ID |
aicmo capabilities | List supported chatbot, CLI, and MCP capabilities |
Device Flow Authentication
Running aicmo login requests a user code and device code via RFC 8628. Open the activation URL, approve the session, and your CLI receives a scoped JWT stored in ~/.aicmo/config.json.