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 |
aicmo geo | Local GEO demos: citation check, gap draft, robots audit (fixtures; nothing is published) |
aicmo listen | Local listening demos: score a fixture feed, preview an alert, show a reply draft (nothing is sent) |
aicmo index | IndexRush: sync sitemaps and submit URLs via IndexNow (init, add-site, sync-sitemap, submit, status, doctor, serve, autopilot) |
IndexRush (built into AICMOHQ)
aicmo index is IndexRush — AICMOHQ’s indexing/discovery autopilot, not a separate open-source product. It syncs a sitemap and submits same-host URLs through IndexNow. Google’s Indexing API stays off unless you opt in for JobPosting or BroadcastEvent pages only.
Full guide: IndexRush inside AICMOHQ. Local state: ~/.aicmo/indexrush.json (0600).
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.