# Schedule Instagram posts with Gemini CLI

> Gemini CLI runs in your terminal, so it sits next to the files your posts come from: release notes, a docs folder or a list of product photos. Add Tesselith to it and you can ask for an Instagram caption from the same prompt you used to read the files. Gemini drafts and queues, and you decide what goes out.

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

## Captions from a weekly release notes file

A developer who maintains a command-line tool for image compression keeps a weekly release notes file in the repo. Each Friday they run Gemini CLI in the project, ask it to read the new notes and write one Instagram caption that lists the two biggest changes. Gemini saves a draft on the project's account, and the developer schedules the post for Saturday morning.

## A product launch from a spreadsheet export

A small candle company exports its new product list to a CSV file. The owner runs Gemini CLI in the folder and asks it to write one Instagram post per candle, using the name and the scent notes from each row. Gemini saves the drafts, and the owner picks slots for them across two weeks so the feed doesn't get crowded.

## A reading list from a blog's RSS feed

A newsletter writer who also posts on Instagram saves the RSS feed of their blog to a file. Once a week they ask Gemini CLI to read the three newest posts and draft one Instagram caption for each, with a line that says what the reader will learn. The drafts go in as posts, and the writer checks the times before the week begins.

## Prompts to try

- "Read the newest section of RELEASE_NOTES.md and draft an Instagram caption that lists the two biggest changes. Save it as a draft."
- "Read products.csv and write one Instagram post per candle, using the name and scent notes from each row. Keep each under 125 characters before the cut-off."
- "Read blog-feed.xml, take the three newest posts and draft an Instagram caption for each with what the reader will learn."
- "Check my Instagram queue for the next two weeks and suggest the next free slot for the blog post. Don't add it yet."
- "Write an Instagram caption for this photo of the new bottle, with three hashtags at most, and keep the tone plain."

## Tips

- Give Gemini the file, not a summary. When the caption comes straight from the notes or the feed, the wording stays accurate. Name the file in the prompt so the agent doesn't guess where the content lives.
- Ask for the benefit in the first line. Instagram shows about 125 characters before the cut-off, so the opening sentence should tell the reader what they'll get before any detail.
- Set the hashtag count explicitly. Instagram allows 30 per post, but a long list of generic tags does less than three or four specific ones. Put the number in the prompt.
- Check dates and prices against the source. Gemini will quote a number from a file confidently, even if the file has changed since, so compare each figure with the source before you schedule.

## Questions people ask

### How do I add Tesselith to Gemini CLI?

Add the Tesselith server to your Gemini CLI settings following the install guide, then approve the workspace in the browser. The tools are available the next time you start the CLI.

### Can Gemini CLI publish a post straight away?

Only after you confirm. Publishing right away needs your confirmation, and Gemini can schedule or queue posts only when you ask it to.

### Can I attach a product photo to a draft?

Yes. Gemini can attach an image from a public URL with upload_media_from_url. Check the preview in Tesselith to confirm the crop before the post is due.

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