# Schedule Mastodon posts with Codex

> Codex runs in the terminal and in the IDE extension, so it works close to the code and the commit history. That makes it a good fit for posts about changes people can actually see, such as a fixed bug or a new flag. Add Tesselith once in the shared config file, and Codex can draft and queue Mastodon posts from the same session where you made the change.

Canonical: https://tesselith.com/ai-agents/codex/mastodon

## Announcing a fixed bug in a library

A maintainer of a small Node library closes an issue that has been open for a year. Codex reads the commit, the test it added and the issue thread, then writes a Mastodon post that says what was broken and what changed. The post stays under 500 characters and quotes the issue number. The maintainer approves the draft and takes the next free slot.

## Previewing a new CLI flag

A team building a command-line backup tool adds a --dry-run flag in a branch. Before the merge, Codex reads the help text and writes two Mastodon posts: one that shows the command, and one that explains why it's safe to try. Tesselith holds both as drafts on the team's account, and the team schedules them for the afternoon after the release.

## A Friday thread for a self-hosted project

A volunteer who runs a self-hosted photo app keeps a weekly thread on Mastodon. On Friday, Codex collects the week's merged commits, groups them into changes users will notice and writes a thread of three to five posts. The volunteer fixes any wrong version numbers and queues the thread for Saturday morning.

## Prompts to try

- "Write a Mastodon post for the --dry-run flag in this branch. Under 400 characters, with the command in plain text."
- "Summarize the commits since v0.9 as a Mastodon thread of four posts, each under 450 characters."
- "Draft a Mastodon post about the crash fixed in issue 214, and leave out the internal refactor."
- "List my Mastodon channels and tell me which one has no posts this month."
- "Schedule the approved thread on my Mastodon account for 8am tomorrow, my local time."

## Tips

- Describe what users can now do, not what the diff does. Developers read a changelog for impact, so 'you can resume an interrupted upload' lands better than 'refactored the retry loop'. Ask Codex to rewrite each change that way.
- Put a command on its own line in plain text. Mastodon has no code blocks, so readers can only copy a command they can see clearly. Keep it short and place it after the sentence that explains it.
- Name the project and the version in the first sentence. Once a post is boosted it travels without context, so 'v0.10 is out' alone tells nobody what the project is.
- Check the draft against the merged code before scheduling. Agents sometimes describe a feature as finished when a commit only added the flag, so verify each claim.

## Questions people ask

### Can Codex publish a Mastodon post without me?

No. Codex can draft, queue and schedule, but publishing right away and deleting need your confirmation.

### Does Codex read my whole repo to write posts?

Only what you point it at. Commits, changelogs and files named in the prompt are enough, and a narrow commit range usually gives a better post than the full history.

### Where does the Tesselith setup live?

In ~/.codex/config.toml, which the Codex CLI, the IDE extension and the ChatGPT desktop app share. Configure it once and every one of them can draft posts.

---
Tesselith · https://tesselith.com · Full site index: https://tesselith.com/llms.txt
