# Schedule Mastodon posts with Gemini CLI

> Gemini CLI runs in your terminal and reads the project in the folder you start it from, so it fits posts about the code you're already working on. Add Tesselith to its settings and you can ask the agent to draft a Mastodon post from a commit range, a changelog or a README. It's a good choice when you want the post written right where the work happened.

Canonical: https://tesselith.com/ai-agents/gemini-cli/mastodon

## A week of commits for a dev tool

A developer runs a small static site generator and wants one Mastodon post per week. Gemini CLI reads the commits since the last release tag, groups them by what a user would notice and drafts a post with the top three items. The developer trims it to fit and asks for it to be queued for Monday.

## A post from a new config option

A maintainer adds a config option to a logging library. Gemini CLI reads the option's entry in the docs and writes a Mastodon post with a short example of the setting, keeping the code on its own line. The post goes into drafts, and the maintainer schedules it for the day the docs are published.

## Announcing a beta to a small group

A founder building a note-taking app in the terminal wants to tell early testers about a beta. Gemini CLI reads the release notes file and drafts a Mastodon post that invites people to try the build and links to the install steps. The founder reviews the wording and schedules the post for the evening.

## Prompts to try

- "Summarize the commits since v1.4 as a Mastodon post, under 400 characters, with the top three changes."
- "Draft a Mastodon post about the new config option, with a one-line example, under 350 characters."
- "Turn the beta release notes into a Mastodon invite, with the install link at the end."
- "Show me which Mastodon channels have posts queued for the next seven days."
- "Schedule the approved draft on Mastodon for 6pm Tuesday, my local time."

## Tips

- Give the agent a commit range, not the whole history. A narrow range keeps the post on this release, and a full history makes it hard to tell which changes are new.
- Sort the changes by what users will notice. A commit that cleans up internal code rarely belongs in a post. Ask the agent to drop those before it writes.
- Put code on its own line in plain text. Mastodon doesn't render code blocks, so a short command or setting reads best when it sits alone after the sentence that introduces it.
- Check the version numbers and the links against the release before scheduling. Agents sometimes copy a version from an older file they read, and a wrong number in a release post is hard to walk back.

## Questions people ask

### Does Gemini CLI publish to Mastodon without me?

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

### Do I need Gemini CLI running in a specific folder?

It helps. Start it in the project so it can read the commits and docs, then point it at the files or range you want.

### Can Gemini CLI help with more than one project?

Yes, but name the project in the prompt and check the Mastodon channel before scheduling, so a post doesn't go to the wrong account.

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