Skip to content

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

Terminal window
npm install -g aicmo
# or run directly
npx aicmo --help

Core Commands

CommandDescription
aicmo loginAuthenticate CLI via browser device flow (/activate)
aicmo logoutRemove local authenticated credentials
aicmo whoamiInspect active user, plan tier, and token scopes
aicmo connectionsList connected social accounts and OAuth statuses
aicmo tokenManage granular agent API tokens (aicmo_agt_…)
aicmo queueList and review scheduled content queue items
aicmo publish <id>Publish queued item or simulate with --dry-run
aicmo scoutFind marketing opportunities via API
aicmo writeDraft content from git commits or custom topics
aicmo shipRun full strategy loop: commits → validated queue drafts
aicmo chatInteractive CMO agent terminal session
aicmo mcpLaunch AICMOHQ Model Context Protocol server over stdio
aicmo run <capability>Run any capability directly by ID
aicmo capabilitiesList 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.