X · from Kilo Code
Post to X from Kilo Code without a blanket rule.
One glob rule would let every 1Social tool run quietly in Kilo, publishing included. On X, where each post has a price, that is the rule to avoid.
In Kilo Code an X post usually comes out of the work itself: a fix worth mentioning, a feature that just merged, a link to the pull request. The agent can draft it, preview it against X’s 280-character ceiling and, when it runs long, send it as a chain of up to 25 posts. Your X account is connected once in the 1Social web app with X’s own sign-in, so the workspace never holds an X key, and kilo.jsonc carries nothing but the server entry.
Kilo makes it very easy to stop being asked. Each 1Social tool has a permission key made of the server name and the tool name, and Kilo’s own example shows a glob such as onesocial_* set to allow, which covers every one of them. That includes the publish tool. Each X post carries a heavier weight in units than posts elsewhere, and one with a link weighs more again, so the sensible setup for X is narrower: allow the preview and the account list by their full names, and give publishing no allow rule, so it keeps stopping in the Permission Dock.
Asking Kilo Code for an X post
The X ceilings in this exchange come from the same table the publisher enforces — the conversation is drawn, the numbers are not.
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.
draft an x post about the cache fix that just merged, link the PR, preview it and tell me what it costs before you publish anything
Code agent · preview allowed · publish asks
Drafted from the pull request. The preview for X says:
The link makes it heavier on X. The publish call is waiting in the Permission Dock — approve it if the wording and the cost both look right.
What X allows
Read from the same table the publisher enforces, so this cannot drift from what actually happens when you press send.
- Caption limit
- 280 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
Kilo Code, on the other networks
X, from the other agents
- X from ChatGPT
- X from Claude
- X from Cursor
- X from Claude Code
- X from OpenClaw
- X from Hermes
- X from Codex
- X from Claude Cowork
- X from Gemini CLI
- X from VS Code
- X from Windsurf
- X from Cline
- X from Zed
- X from OpenCode
- X from Amp
- X from Goose
- X from Grok
- X from Perplexity
- X from Le Chat
- X from Raycast
- X from LM Studio
- X from Warp
- X from Kimi Code
- X from Junie
- X from DeepSeek
Publishing to X from Kilo Code
The price beside the length
The preview reports how many units an X post will use next to its character count, so the prompt in the Permission Dock is about the cost as well as the wording.
Name the tools you trust
Rules for onesocial_preview_post and onesocial_list_accounts let drafting run without interruption, while the publish tool, with no rule of its own, still asks.
A glob catches publishing too
Setting onesocial_* to allow is the shortest rule Kilo’s docs show, and it lets the agent post to X, and every other network, the moment it decides to.
Long write-ups as a chain
When the post about a change runs past the ceiling, the agent can split it into parts that X shows in order, instead of cutting the last point to make it fit.
How it works
Connect once
~2 minLink the accounts you use in a browser. OAuth, no passwords typed into a chat, no API keys to paste anywhere.
ChatGPT
Claude
Cursor
Ask, in your own words
one sentenceTell Kilo Code to publish to X, now or on a day you name. No dashboard, no tab switch.
Read the receipt
per networkOne line per network — what landed, what failed and why, and what genuinely could not be determined.
The glob that also allows the paid call
Kilo’s MCP documentation shows two ways to auto-approve a server’s tools: name one tool, or write a wildcard such as onesocial_* that matches all of them. The wildcard is tempting because the reading tools are harmless and the prompts get tiring. But it matches the publish tool as well, and on X every post has a price that 1Social pays and passes on as a heavier weight in units, more again when the post carries a link. So a single glob rule quietly turns each X post the agent decides to make into spending without a look. Allow the preview and the account list by name instead.
A rule of X from Kilo Code, not ours and not the network’s. From documentation, checked 2026-11-23.
When this is the wrong tool
If you announce every merge on X, the units go faster there than on any other network, and an agent posting as the last step of a bigger task makes that easy to miss — read the weights on the pricing page first. And replies and mentions around a post are not brought back into Kilo, so it is no place to follow the conversation.
Questions people actually ask
How do I let Kilo Code preview X posts without asking, but still ask before publishing?
Add allow rules for the preview and account-list tools by their full names, such as onesocial_preview_post, in the permission block of kilo.jsonc, and leave the publish tool without one. Drafts and previews then run quietly and the paid call waits for you.
Is onesocial_* set to allow safe for X in Kilo Code?
Not if you want to see each X post first. The wildcard matches every 1Social tool, publishing included, so the agent can post as soon as it decides to. It also covers cancelling and deleting posts, which is rarely what anyone means to allow.
Why does an X post from Kilo Code use more units than a LinkedIn post?
Because X charges for posts made through its API, and more for posts that include a link, and that charge is passed on as a heavier weight on the X delivery. The preview shows the figure before Kilo asks you to approve anything.
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.