Zernio for OpenAI Codex
Add the server
Writes the entry to ~/.codex/config.toml.
Run Bluesky from Codex
Answer DMs, reply to comments, read analytics and publish posts on Bluesky, from Codex. Codex can run the same prompt as a scripted codex exec job, so a daily platform check asks the same question and answers in the same shape every time.
- Inbox
- Analytics
- Publishing
Bluesky DMs and comments counted by a script, answered by you with Codex
Codex runs from the CLI, the IDE extension or a codex exec job with no screen. Put a platform check in a script and cron or CI runs it every morning; when a run turns up something, pick the thread up in the IDE.
- 01
Save the prompt: "count Bluesky DMs and comments waiting more than 24 hours and draft replies to out/drafts.md without sending".
- 02
A scheduled codex exec run reads the conversations through Zernio and writes the counts and drafts.
- 03
You read out/drafts.md, edit what needs it, and ask Codex in the CLI to send the approved ones.
Bluesky numbers written to the repo every day
- 01
Save the prompt: "write yesterday's Bluesky analytics to reports/ in the same format as last time".
- 02
codex exec runs it from cron and Codex reads the numbers through Zernio's analytics tools.
- 03
Each day's file is committed, so git diff shows what moved since last week.
How people run Bluesky from Codex
Unanswered Bluesky DMs and comments counted every morning
A cron entry runs codex exec with one saved prompt. Codex counts Bluesky DMs and comments older than a day and writes them to a file, so the same question gets the same kind of answer daily.
Script finds it, the IDE finishes it
When the morning run flags one of the Bluesky threads, open Codex in your editor, read the conversation through Zernio and write the reply there. Same config file, same server, no second setup.
Structured output for your own tools
codex exec can hold its final answer to a JSON Schema, so Bluesky counts land in fields your dashboard or alerting script already parses, not loose text.
Codex and Bluesky in 4 steps
Codex reaches Bluesky through the Zernio MCP server. No Zernio server to host and no Bluesky developer app of your own.
01
Connect Bluesky
Sign up free and connect a Bluesky account, with an app password from Bluesky's settings in Zernio.
Connect Bluesky02
Add the server
Writes the entry to ~/.codex/config.toml, which the Codex CLI and IDE extension share.
03
Sign in
Approve the connection in the browser window Codex opens.
04
Check it works
Run codex mcp list and confirm zernio is listed and connected.
Good to know in Codex
- codex mcp add writes zernio to ~/.codex/config.toml, which the CLI, the IDE extension and codex exec runs all read.
- codex exec prints only the final message to stdout, and -o saves it to a file, so a script can keep or forward the answer.
- Codex asks before tool calls according to its approval settings; for unattended runs, write prompts that draft and report rather than send.
What Codex can do on Bluesky
Codex can run the same prompt as a scripted codex exec job, so a daily platform check asks the same question and answers in the same shape every time.
Inbox
Counts Bluesky DMs and comments waiting too long in a scheduled run and drafts replies to a file, sending only after you say so.
- List conversations, read messages and send text messages, and archive or unarchive them.
- List, reply to, delete, like and unlike comments on your posts.
Analytics
Writes Bluesky numbers to dated files in the repo, so each run can be compared with git diff.
Per-post likes, comments and reposts only.
Publishing
Queues the Bluesky announcement once a release tag lands, last in the run after the checks.
- Text posts, with mentions, hashtags and links turned into clickable facets automatically
- Image posts with up to 4 images and alt text
Ask in plain words. Codex picks the tools.
Written for how Codex works. Copy one, change the details.
Write the prompt once, run it on a schedule, in Codex
Bluesky rules the agent runs into
Set by Bluesky's API or by Zernio, whichever agent you use. Checked against the Zernio Bluesky docs on December 4, 2026.
- Connecting needs an app password, not the main account password; the user can revoke it from Bluesky's settings at any time.
- Posts cannot be edited after publishing, so the language tag is set at creation only.
Connecting Codex is free. Its calls bill like the API requests behind them.
Each Bluesky account counts as one connected account. The first 2 connected accounts are free, then $6 per account a month, falling to $1 as you add more.
Frequently Asked Questions
Connect a Bluesky account, with an app password from Bluesky's settings in Zernio first. Then, in Codex: add the server and sign in. Run codex mcp list and confirm zernio is listed and connected.
In ~/.codex/config.toml, which codex mcp add writes. The CLI, the IDE extension and codex exec all read it, so one setup covers all three.
Yes, with codex exec. It runs a prompt without the interactive screen, prints only the final message to stdout, and -o writes that message to a file. It expects a Git repository unless you pass --skip-git-repo-check.
codex exec --json streams events as JSON Lines, and --output-schema holds the final answer to a JSON Schema you supply, so counts and lists arrive in fixed fields.
Codex follows its approval settings for tool calls. For unattended runs, write the prompt to draft and report, then send from an interactive session after you have read the drafts.
Yes. codex exec resume --last, or resume with a session id, picks up a previous run with its context, so you can ask follow-up questions about what it found.
No. Bluesky's API returns likes, comments and reposts only. It provides no impressions, reach, clicks or view counts.
Give Codex your Bluesky account
Connect a Bluesky account, with an app password from Bluesky's settings, add Zernio to Codex, and ask.
- Inbox
- Analytics
- Publishing