Automate

Automate X (Twitter) with OpenClaw

X is the only platform that does not count characters the way you do, and the only one where a GIF is its own kind of attachment.

One command
$ mcporter config add antwork --url https://api.antwork.io/mcp --auth oauth

OpenClaw connects to Antwork over MCP with a browser OAuth prompt. There is no API key to generate, copy, or paste into a URL.

Connect it

  1. 01Approve in the browserThe command opens an OAuth consent screen. Approve it and the connection is live — the token refreshes itself, so publishing does not silently break weeks later.
  2. 02Connect the social accountAsk OpenClaw to connect your account and it renders a panel with a button per platform. Authorize once and Antwork holds and refreshes that token for you.
  3. 03Add the skill (optional)clawhub install iker-gonzalez/antwork teaches the agent the right tool order — pull context, draft, then schedule or publish as a second explicit step.

What you can say once X (Twitter) is connected

Draft an X (Twitter) post about what we shipped this week and keep it inside the limit once the link is counted.

Turn the opening of this blog post into something for X, in my voice, no hashtags.

Attach this GIF to the X draft and schedule it for tomorrow morning.

How did my last five posts on X do? Show me impressions and engagement.

You see it before it goes out

Antwork does not answer with a wall of text. It renders real, clickable panels inside OpenClaw — the same interface you would get in a dashboard, in the conversation you are already in. No other social tool does this.

  • 01A post card with the draft, editable in place, with the publish and schedule buttons on it
  • 02A month calendar of everything scheduled across every connected account
  • 03Your media library as a thumbnail grid you can attach from
  • 04A connections panel with a Connect button per platform
  • 05A table of recent posts you can click into
Rendered in the chat
Draft · X (Twitter)271 / 280

Shipped something small this week that fixed a big thing. Our token refresh ran daily but checked X (Twitter) against a five minute expiry window, so it could only ever catch a token that happened to die inside those five minutes. It never did. Accounts just went quiet.

PublishScheduleedit in place

What is different about X (Twitter)

Only here

The counter does not match yours

X weighs characters rather than counting them. Every URL counts as 23 however long it is, and anything outside the Latin range counts double. Antwork counts the same way the server does, so a draft that fits here is a draft that posts.

A GIF is not an image

X is the only platform where Antwork treats GIF as its own media type with its own ceiling: one per post, up to 15 MB, and never beside a photo or a video.

Four slots, and they do not mix

Up to four images in a post, but images and video can never share one. Ask for both and the agent splits them before it drafts rather than failing at publish.

It takes a PDF, but on its own

X accepts a document post up to 100 MB. Unlike LinkedIn it cannot ride alongside images, so a document here is the whole post or none of it.

Questions

Do I need an API key to connect OpenClaw?
No. Antwork connects over OAuth — you approve a consent screen in the browser and you are done. There is no key to generate or paste into a URL, which is how most social MCP servers handle it.
Do I need a paid account?
No. Your first two connected accounts are free forever, with unlimited posts and workspaces, and there is no plan gate on MCP access.
Will OpenClaw post without showing me first?
Not unless you ask it to. Drafting and publishing are two separate steps: the agent writes, renders the post card, and only publishes when you confirm.
Does the writing sound like AI?
Antwork hands the agent that account's recent posts, along with how each performed, and the agent writes to match them. On X (Twitter) that includes writing to the length the format rewards, up to 280 characters.

Never leave OpenClaw to post again.

One command, one consent screen, and X (Twitter) is something you can just ask for.

Connect your AI