Bluesky · from Gemini CLI

Post to Bluesky from Gemini CLI.

Gemini CLI already has the notes open. Bluesky takes them as one post or as a real chain, and a script can do the same with nobody watching.

Bluesky suits the short updates a terminal session tends to produce: a fix that landed, a branch that merged, a note from the changelog. Gemini CLI reads the file itself, either through an @ reference in your prompt or with its own file tool, so you name the file rather than paste it. The draft is checked against Bluesky before anything goes, and if it runs past 300 characters it can become a chain of up to 25 posts that Bluesky links root to reply to reply.

The server sits in the mcpServers block of your Gemini CLI settings, and you sign in to it once with /mcp auth from inside the CLI. Your Bluesky account is connected in 1Social rather than in the terminal, so no app password ends up in settings.json, an environment variable or the project. Gemini CLI asks before each publishing call unless you have told it to always allow that tool or the whole server.

Asking Gemini CLI for a Bluesky post

The Bluesky ceilings in this exchange come from the same table the publisher enforces — the conversation is drawn, the numbers are not.

Gemini CLI18:12

› Set me up — what do you need?

Just the accounts. Connect them in the browser once and I can publish from here after that.

› Done, connected

I will tell you before publishing if a network cannot take what you wrote.

› Good. Drafting the launch note now

Send it over and I will check it before anything goes out.

› read the newest section of CHANGELOG.md and post it to bluesky, split it into a thread if it’s too long

reads CHANGELOG.md · one account

1S

That section is longer than one Bluesky post, so it splits like this:

Bluesky caption3003-part thread
Image or videooptional here
Reply chainsup to 25 parts
Attachments allowed4per post

Sent as a chain of replies. Every part was measured before the first went out.

› _

What Bluesky allows

Read from the same table the publisher enforces, so this cannot drift from what actually happens when you press send.

Caption limit
300 characters
Post with no image or video
Fine
Reply chains
Yes — up to 25 parts
Images or video per post
4
Image formats
Anything we accept for upload

Gemini CLI, on the other networks

Bluesky, from the other agents

Publishing to Bluesky from Gemini CLI

Notes past the ceiling become a chain

Ask Gemini CLI for a thread and every part is measured against Bluesky on its own before the first is sent, so the chain never stops halfway on a part that was too long.

Checked against the public post

Bluesky can be read without an account, so a delivery started from Gemini CLI is confirmed by reading the post itself, not by trusting a status code.

Headless runs with readable output

Started with -p from cron, Gemini CLI can return JSON, so a script can pick the post link or the refusal out of the result instead of scraping prose.

No app password in settings.json

Gemini CLI holds only its sign-in to our server, in a token file under your home directory. The Bluesky credentials themselves never reach the machine.

How it works

1

Connect once

~2 min

Link the accounts you use in a browser. OAuth, no passwords typed into a chat, no API keys to paste anywhere.

ChatGPT

Claude

Cursor

2

Ask, in your own words

one sentence

Tell Gemini CLI to publish to Bluesky, now or on a day you name. No dashboard, no tab switch.

3

Read the receipt

per network

One line per network — what landed, what failed and why, and what genuinely could not be determined.

A headless run has nobody to say yes

In an interactive session Gemini CLI stops before each call to the publishing tools and asks whether to allow it once, always allow that tool, always allow the whole server, or cancel. A run started with -p from cron has nobody there to choose. So a job that posts release notes to Bluesky needs its approval settled in advance: either set trust on the 1Social entry in settings.json, which skips confirmation for that server’s tools only, or start the run with an approval mode that does not ask. The first is narrower; yolo also waves through every shell command the run decides to make.

A rule of Bluesky from Gemini CLI, not ours and not the network’s. From documentation, checked 2026-11-23.

When this is the wrong tool

If you want replies, mentions or follower counts from Bluesky in the terminal, none of that comes back; this only publishes. And if the job is the same fixed line after every release, with no writing in it, a direct call to our API from the script is less to maintain than a model run that sends it.

Questions people actually ask

Can Gemini CLI post a Bluesky thread from a markdown file?

Yes. Reference the file with @ or name it in the prompt, ask for a thread, and Gemini CLI splits the text into parts of up to 300 characters that go out as one reply chain. Bluesky shows markdown symbols as typed, so ask for plain text if the file is mostly headings and bullets.

Should I use trust or yolo for a scheduled Gemini CLI job that posts to Bluesky?

Trust, if you can. Setting trust on the 1Social server entry skips confirmation for its tools and nothing else, while the yolo approval mode approves every tool the run calls, the shell included. Either way, sign in interactively before the job runs for the first time.

Where does Gemini CLI keep its sign-in to 1Social?

In a token file under ~/.gemini in your home directory, refreshed when it can be. It is a sign-in to our server only: your Bluesky account stays connected inside 1Social, and nothing about it is written into the project you are working in.

Something else? Ask us — a person answers.

Read next

Start where you already work.

Connect an account and post your first update in about two minutes. Every plan starts with a free trial.

Posts go out through each network’s official API — not scraping.