CLI Package (@auto-social-io/cli)
Command-line tool for managing campaigns, integrations, and publications.
CLI Package (@auto-social-io/cli)
The official auto-social.io CLI package brings agent capabilities directly into your terminal, automation pipelines, and CI workflows.
Installation
Run instantly without global installation:
Or install globally:
Authentication
Save credentials once on your machine:
If you don't pass an API key, the CLI will offer to open your browser to Account Settings and prompt you to paste your key.
You can also specify the key directly:
Credentials are saved in ~/.auto-social/config.json.
Commands
Autopilot Campaigns
Posts
Media generation
Generate copy or media on an existing draft (post_id from posts create or posts list):
Image, video, and audio tools return a public url in the compact response. Media generation consumes credits and does not require a confirmation_code.
Publications
Account and integrations
Brands
There is no dedicated brands subcommand yet. Use call with the brand tools:
See Brands for tool semantics and credit costs.
Product docs
Publishing Posts
On a TTY, sensitive commands prompt for the 6-digit confirmation code. In scripts, pass --confirmation-code after the first call returns confirmation_required.
Call any tool
Related: Agent guide, MCP server, REST API.