Social media, one command away.
With the PostQueen CLI, OpenClaw, Claude Code, Codex, Grok Build and any agent that runs commands can post, upload and check results on 30+ networks. Everything comes back as JSON.With the PostQueen CLI, OpenClaw, Claude Code, Codex, Grok Build and any agent that runs commands can post, upload and check results on 30+ networks. Everything comes back as JSON, ready for the next step.
npm install -g postqueen
OpenClawClaude Code
Codex
Cursor
Gemini CLIGrok Build
Three commands to your first post.
Install
One global package. The optional skill teaches your agent every command.
npm install -g postqueen # Optional: the agent skill npx skills add \ GkhanKINAY/postqueen-agent
Sign in
Your browser opens PostQueen, a workspace admin approves, and the login stays on your machine. On a server with no browser, use the API key from Connections instead.
postqueen auth:login # Check it works postqueen integrations:list
Post
Pick the accounts and a time. Repeat
-cfor a thread.postqueen posts:create \ -c "Hello from the PostQueen CLI" \ -s "2026-10-01T09:00:00Z" \ -i "your-integration-id"
Every command your agent needs.
Each one prints a short line, then JSON your agent can read.Each one prints a short line, then JSON your agent can read and act on.
Posts
7- posts:create
- Create a post, a thread or a draft
- posts:list
- List posts between two dates
- posts:status <id>
- Switch a post between draft and scheduled
- posts:settings <id>
- Change network settings before it goes out
- posts:delete <id>
- Delete a post
- posts:missing <id>
- Find what was published, if a network did not say
- posts:connect <id>
- Link a post to what was published, for analytics
Channels
4- integrations:list
- List the accounts you connected
- integrations:groups
- List client groups
- integrations:settings <id>
- See what a network accepts
- integrations:trigger <id> <method>
- Fetch flairs, boards or playlists
Media
1- upload <file>
- Upload an image, a video or a document
Analytics
2- analytics:platform <id>
- Results for an account, add -d for days
- analytics:post <id>
- Results for one post
Start with drafts
Add -t draft and the post waits on your calendar until you give it the go.
postqueen posts:create -t draft \ -c "Our spring menu is here" \ -s "2026-10-01T09:00:00Z" \ -i "ig_4d0"
Your agent reads it. Your agent runs it.
Made to be read by agents
Results come back as JSON, so your agent can take the next step without guessing.
Threads and per-network text
Repeat
-cfor a thread. Pass a JSON file to give each network its own text.Media from your disk
The
uploadcommand sends images, videos and documents: PNG, JPG, MP4, MOV, PDF and more.Drafts or scheduled
Add
-t draftand a post waits on your calendar. When you are ready,posts:statusflips it to scheduled.Each network’s settings
The
integrations:settingscommand shows what a network accepts, andintegrations:triggerfetches the values it needs.Results in the loop
The
analytics:platformandanalytics:postcommands tell your agent what worked, so the next post is better.
Not a terminal person? There are more doors.
MCP ServerOne link for any agent that speaks MCP.
api.postqueen.ai/Use the MCP servermcp/YOUR_API_KEY - Public APIREST endpoints to build posting into your own product.
api.postqueen.ai/public/v1API docs - Node SDKTyped calls for your Node app or script.
npm i @postqueen/nodeSDK docs n8n nodeAdd PostQueen to your n8n workflows.
n8n-nodes-postqueenn8n guide
Make and ZapierSOON
Posting by hand is over.
Put posting in your agent’s hands and get your time back.
CLI questions, answered.
Anything else? Write to support@postqueen.ai and a person answers.
Anything else? Write to support@postqueen.ai and a person answers.