Tesselith
ProductSolutionsAI agentsCompareFree toolsBlogPricing
Log inStart free
  1. Home/
  2. AI agents/
  3. Gemini CLI/
  4. Instagram
Gemini CLI + Instagram

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.

Start freeFull Gemini CLI setup

1. Connect Gemini CLI

terminal
# 1. Add the Tesselith MCP server for your user
gemini mcp add -s user --transport http tesselith https://api.tesselith.com/mcp

# 2. Start Gemini CLI and sign in
gemini
/mcp auth tesselith

Then connect Instagram in Tesselith under Channels. How Instagram scheduling works.

2. Ask for a Instagram post

Read RELEASE_NOTES.md and draft an Instagram caption for the two biggest changes.

Used Tesselith · create_draft

Saved a draft for your project's Instagram channel with a caption about the two biggest changes in the release. It's in drafts, and nothing is scheduled until you pick a time.

What people use Gemini CLI for on 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 in Gemini CLI for Instagram

  • “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.”

Instagram limits to keep in mind

Instagram captions can be up to 2,200 characters, but only about the first 125 show before the 'more' cut-off. Bios are limited to 150 characters. Tesselith checks drafts against these before they can be scheduled, so Gemini CLI gets a clear error instead of a failed post.

Instagram limits
Limit
Caption2,200
Visible before 'more'~125
Hashtags per post30
Bio150
Username30
Comment2,200

Tips for Instagram posts written with Gemini CLI

  • 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.

If something goes wrong

Troubleshooting Gemini CLI with Tesselith
Fix
Connects as SSE and failsThe entry uses url instead of httpUrl. Use httpUrl, or re-add with --transport http.
Server not found in other projectsThe default scope is the project. Re-add it with -s user.
DISCONNECTED after a 401Run /mcp auth tesselith again, or use an API key header.
403: your plan doesn't include API accessMCP is included on Pro, Team and Agency. New workspaces get a 14-day Pro trial; upgrade under Settings → Billing.
401: connection revoked or lost accessSomeone disconnected the assistant in Settings → AI assistants, or your role changed. Connect again and approve the workspace.
The assistant can read posts but can't scheduleYou unticked Schedule and queue on the consent screen. Disconnect and connect again, keeping that permission.
No channels foundThe assistant only sees accounts already connected in Tesselith. Connect them under Channels first.
Post scheduled at the wrong timeTell the assistant your time zone. Tesselith takes ISO 8601 times with an offset, and your workspace time zone is shown in get_queue.
429: rate limitedEach connection can make 120 requests a minute on Pro, 300 on Team and 600 on Agency. Wait for the Retry-After seconds.

Questions

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.

Gemini CLI with other networks

Facebook PagesThreadsYouTubeBlueskyMastodonTelegram

Other AI agents for Instagram

ClaudeClaude CodeClaude CoworkChatGPTCodexOpenAI APICursorVS Code (GitHub Copilot)WindsurfZedClineHermes AgentOpenClawGoosen8nMistral Le ChatPerplexityManus

Put Gemini CLI to work on Instagram

Connect Instagram to Tesselith, connect Gemini CLI, and schedule your next post from a conversation.

Start free

Free to start

One calendar for everything you post.

No credit card. Connect your first channel and schedule a post in under two minutes.

Start free
Tesselith

The social scheduler for creators, teams and agencies. One calendar, every network you post to.

Product

  • Composer
  • Calendar
  • Analytics
  • Automation
  • AI assistant
  • Posting queue
  • API & webhooks
  • MCP server
  • All features

AI agents

  • Claude
  • Claude Code
  • ChatGPT
  • Codex
  • Cursor
  • Gemini CLI
  • n8n
  • All AI agents

Solutions

  • Creators
  • Agencies
  • Small business
  • E-commerce
  • All solutions

Compare

  • Scheduler pricing 2026
  • vs Buffer
  • vs Hootsuite
  • Metricool alternatives
  • Planoly alternatives
  • SocialBee alternatives
  • All comparisons
  • All alternatives

Free tools

  • Character counter
  • Best time to post
  • UTM builder
  • Engagement rate
  • All tools

Company

  • About
  • Blog
  • Research
  • Developer docs
  • Pricing
  • Contact
  • Security
  • Status

Legal

  • Privacy
  • Terms
  • Cookies
  • Acceptable Use
  • DPA
  • Refunds

Schedule posts for

  • X (Twitter)
  • Instagram
  • Facebook Pages
  • LinkedIn
  • YouTube
  • TikTok
  • Threads
  • Bluesky
  • Mastodon
  • Pinterest
  • Reddit
  • Discord
  • Telegram
  • Dev.to
  • Hashnode

Popular guides

  • Post to all social media at once
  • Schedule Discord messages
  • Cross-post to Bluesky, Mastodon and Threads
  • Buffer pricing
  • Sprout Social pricing
  • Metricool pricing
  • Sendible pricing
  • Loomly pricing
© 2026 Tesselith. All rights reserved.
PrivacyTermsCookiesSecurityData deletion
Tesselith