NEW: the postqueen MCP server is live. Connect it in a minute

Schedule social media with Codex

Let OpenAI's software agent handle your posting pipeline: one prompt in, a scheduled week out.

What is Codex?

Codex is OpenAI's software engineering agent: it executes commands in a workspace and completes multi-step tasks. That makes the postqueen CLI a natural fit, because scheduling posts becomes just another task it can run and verify.

Task In, Schedule Out

Describe the campaign; Codex creates the posts, sets the times and reports back what it queued.

Works In Pipelines

Wire Codex tasks into CI or cron and let content ship on a schedule alongside your code.

JSON All The Way

Structured CLI output means the agent can verify every step instead of guessing.

How Codex works with postqueen

Install the CLI in the agent's workspace, provide the API key as an environment variable, and include postqueen commands in your task prompts.

Connect
npm install -g postqueen
export POSTQUEEN_API_KEY=your_api_key
 
# Example:
postqueen posts:create --json campaign.json

Works with every channel

Codex drives the same pipeline on all 30 channels postqueen supports. Pick a platform to see the pairing in detail.

F.A.Q.

Frequently asked questions

Can I run this from CI instead of a chat?

Yes, and it is the strongest reason to use Codex here rather than something interactive. A task that runs on merge can turn a changelog entry into a scheduled announcement, so the post ships on the same trigger as the release instead of a day later when someone remembers.

Where does the API key go in a pipeline?

In the runner's secret store, exposed as POSTQUEEN_API_KEY, never in the prompt or the task description. The CLI reads the environment variable, so nothing about the key needs to appear in the text the agent sees.

How do I know what it actually scheduled?

Ask it to list the queue afterwards. Commands return JSON, so the agent can read back exactly which posts exist, on which channels and at which times, and fail the task if the count is wrong rather than reporting success it did not verify.

Does it need a repository to work in?

No. Codex needs a workspace to run commands in; the postqueen CLI does not care whether that workspace has code in it.

Ready to get started?

Queue this week's posts in minutes, or hand the whole thing to your favorite AI. postqueen keeps publishing either way.

Seven days free. Cancel in one click from settings.