doodle top mobile

Post to X (Twitter) from OpenClaw

OpenClaw can publish tweets, threads, and X Community posts through the Postiz skill. You message OpenClaw from a chat app such as WhatsApp or Telegram, describe the post, and it calls the Postiz CLI to upload media, set who can reply, and schedule the tweet at the time you asked for.

Setup GuideClawHub

Please make sure there is always a human in the loop.

Last updated: September 2026

doodle left mobiledoodle right mobile

How do you set up OpenClaw to post to X?

Setup takes three commands: install the Postiz skill, sign in, and confirm OpenClaw lists it as eligible. After that you talk to OpenClaw in plain language and it runs the Postiz CLI for X.

Setup once, then just ask

# Install the Postiz skill (ClawHub or the skills CLI)
openclaw skills install @nevo-david/postiz
# or: npx skills add gitroomhq/postiz-agent

# Sign in (OAuth2 device flow) or use an API key
postiz auth:login
# or: export POSTIZ_API_KEY=your_api_key

# Confirm OpenClaw can see the skill
openclaw skills list --eligible

# Then just ask OpenClaw from any chat app:
> Post a 3-tweet thread about our launch on X
  tomorrow at 9am, everyone can reply

OpenClaw: Done! Your X thread is scheduled for 9:00 AM.

X-Specific Features

🗣

Reply Controls

Control who can reply to your posts: everyone, people you follow, mentioned users, subscribers, or verified accounts only.

🧵

Thread Support

Ask for a thread and OpenClaw splits it into separate tweets, posted in order.

🏘

Community Posting

Post directly to X Communities by providing a community URL. Reach targeted audiences with relevant content.

Simple Text Posts

Quickly publish text-only tweets with hashtags, mentions, and links. No media upload required for basic posts.

📸

Media Attachments

Attach images or videos to your posts. Upload media through Postiz and include it seamlessly in your scheduled tweets.

📅

Scheduled Posting

Schedule posts with precise timestamps. Queue up a week of content in minutes and let Postiz handle the publishing.

How does posting to X from OpenClaw work?

You describe what you want in plain language and OpenClaw handles the Postiz calls for you. Here is how a typical conversation goes.

1

Find Your X Integration

Ask OpenClaw whether your X account is connected. It also checks which options the platform supports.

Example conversation

> Is my X account connected to Postiz?

OpenClaw: Yes — your X account is connected
  and ready. Want me to post something?
2

Compose Your Content

Describe your tweet or thread. Ask for a thread and OpenClaw splits it into separate tweets; mention an image or video and it uploads it for you.

Example conversation

> Draft an X post about our new
  feature launch

OpenClaw: Here's a draft for X:
  "We just shipped something big..."
  Want me to add media and schedule it?
3

Schedule & Publish

Schedule your post for a specific time or publish immediately. Set reply controls and optionally target an X Community.

Example conversation

> Yes — add screenshot.png and schedule
  it for tomorrow at 9am

OpenClaw: Done! Scheduled on X for
  tomorrow at 9:00 AM.

X Settings Reference

Mention any of these in plain language and OpenClaw sets them for you. These are the X options it can apply to any post.

FieldTypeDescription
__typestringMust be "x"
who_can_reply_poststringWho can reply: everyone, following, mentionedUsers, subscribers, verified
communitystringX Community URL to post into

Common Configurations

Ask OpenClaw for any of these common X posting scenarios and it applies the matching settings.

Public Post — Everyone Can Reply

Just ask

> Post it with: Public Post — Everyone Can Reply

OpenClaw: Got it. Applying:
  who_can_reply_post: everyone

Followers Only Replies

Just ask

> Post it with: Followers Only Replies

OpenClaw: Got it. Applying:
  who_can_reply_post: following

Community Post with Verified Replies

Just ask

> Post it with: Community Post with Verified Replies

OpenClaw: Got it. Applying:
  who_can_reply_post: verified
  community: https://x.com/i/communities/1234567890

Mentioned Users Only

Just ask

> Post it with: Mentioned Users Only

OpenClaw: Got it. Applying:
  who_can_reply_post: mentionedUsers

What is OpenClaw?

OpenClaw is the open-source personal AI agent with 145k+ GitHub stars. It runs locally on your machine, connects through apps you already use, and takes real actions on your behalf.

💬

Works Where You Are

Message OpenClaw from WhatsApp, Telegram, Slack, Discord, Signal, iMessage, or 10+ other platforms. No new app to learn.

🧩

Skill-Based Architecture

OpenClaw extends its abilities through Skills — lightweight plugins defined in Markdown files. Postiz is available as a skill on ClawHub.

Proactive Automation

Schedule recurring tasks with cron jobs. OpenClaw can post your X content on a schedule without you having to ask each time.

How Postiz Becomes an OpenClaw Skill

When you install Postiz Agent globally, OpenClaw automatically discovers it by reading the bundled SKILL.md file. This file tells OpenClaw what commands are available, what environment variables are needed, and how to compose X posts with the right settings.

  • Install from ClawHub with one command: openclaw skills install @nevo-david/postiz
  • OpenClaw reads the SKILL.md and learns all Postiz commands
  • Run openclaw skills check to confirm the postiz binary and credentials are in place
  • Skills are loaded on-demand, keeping the agent context clean
  • Works with any LLM backend: Claude, GPT, Gemini, Llama, and more

Install from ClawHub

# Install the Postiz skill from ClawHub
openclaw skills install @nevo-david/postiz

# Or with the skills CLI
npx skills add gitroomhq/postiz-agent

# Sign in with OAuth2 (or set POSTIZ_API_KEY)
postiz auth:login

# Verify OpenClaw sees it
openclaw skills list --eligible
openclaw skills check

X Posting with OpenClaw

Message OpenClaw from any platform — it reads the Postiz skill, discovers your X integration, and handles the entire posting workflow autonomously.

🦀

From Any Chat App

WhatsApp, Telegram, Slack, Discord...

Send a message to OpenClaw from your favorite chat app. It runs as a persistent daemon on your machine, so it picks up your message, discovers your X account via Postiz, composes your tweet, and schedules the post — all while you go about your day.

WhatsApp / Telegram

You: Post a thread on X about our new
  feature launch, schedule for tomorrow
  at 9am, let everyone reply

OpenClaw: Got it! Here's what I'll do:
  1. Create a 3-tweet thread
  2. Schedule for 2025-03-02T09:00:00Z
  3. Settings: everyone can reply

  Done! Your X thread is scheduled.
  Post ID: abc-123
🦀

Scheduled & Proactive

openclaw automations for recurring content

OpenClaw automations run on cron expressions in an isolated session and can announce results to a chat channel. Create one that drafts and schedules your X content through Postiz, so nothing waits on a manual trigger.

openclaw automations (cron)

openclaw automations create "0 9 * * 1-5" \
  "Read ~/content/tweets, schedule one X post for noon, let everyone reply, then move the file to ~/content/posted." \
  --name "X daily post" \
  --session isolated \
  --announce --channel telegram \
  --to "<your chat id>"

# openclaw cron is an alias for the same command

Why OpenClaw + Postiz for X

OpenClaw's skill system makes Postiz a natural fit. The agent reads the SKILL.md to understand every available command, then autonomously chains them together for X workflows.

  • Message from WhatsApp to post a tweet — no terminal needed
  • Cron jobs for hands-free daily posting schedules
  • Structured JSON output lets OpenClaw verify each step succeeded
  • Thread creation handled automatically with multiple content flags
  • Cross-post to X + other platforms in a single conversation
  • Model-agnostic — works with Claude, GPT, Gemini, or open-source LLMs

SKILL.md (auto-discovered)

---
name: postiz
description: Postiz is a tool to schedule
  social media and chat posts to 28+
  channels ...
homepage: https://docs.postiz.com/public-api/introduction
metadata: {"openclaw":{"emoji":"🌎",
  "requires":{"bins":[],"env":["POSTIZ_API_URL"]}}}
---

# Essential Commands
- postiz auth:login
- postiz integrations:list
- postiz integrations:settings <id>
- postiz integrations:trigger
- postiz posts:create
- postiz upload <file>
- postiz analytics:platform <id>

# X settings
who_can_reply_post, community

Also Works with Claude Code

Postiz works with any AI agent that can run commands or call MCP tools — you ask, the agent does the work. That includes Anthropic's Claude Code, which has its own guide for posting to X from Claude Code.

C

Claude Code

by Anthropic

Claude reads the Postiz skill so it knows what it can do, then autonomously discovers your X integration, composes your tweet or thread, applies reply settings, and schedules the post.

Claude Code

> Post a thread about our product launch
  on X, schedule for tomorrow, everyone
  can reply

Claude: Done! Scheduled on X for
  tomorrow at 9:00 AM.

X + Other Platforms

Schedule the same content to X and other platforms in a single request. Each platform gets its own settings.

Example

> Post "Excited to announce our new feature!" to
  X and LinkedIn tomorrow at 9am, then schedule
  a daily tip on X every weekday at 10am

OpenClaw: Done! Scheduled:
  - X + LinkedIn: tomorrow 9:00 AM
  - Daily tips on X: Mon-Fri 10:00 AM

Reply Options

Everyone

everyone

Following

following

Mentioned Users

mentionedUsers

Subscribers

subscribers

Verified

verified

What can you ask OpenClaw to do on X?

These are real messages you can send OpenClaw from WhatsApp, Telegram, Slack, or Discord. OpenClaw maps each one to the right Postiz command and X settings.

Thread with media

Send to OpenClaw

> Turn this blog post into a 4-tweet thread on X, attach cover.png to the first tweet, and schedule it for Tuesday at 10am.

Community post

Send to OpenClaw

> Post this update to our X Community at https://x.com/i/communities/123 and only let verified accounts reply.

Check performance

Send to OpenClaw

> How did yesterday's X post do? Give me impressions and likes, then draft a follow-up tweet.

X rules OpenClaw has to follow

Postiz enforces these X constraints when OpenClaw creates a post. Knowing them up front avoids a failed request.

  • Standard X accounts are limited to 280 characters per tweet. Ask OpenClaw for a thread when your text runs longer and Postiz posts each part as a reply in order.
  • who_can_reply_post is required. If you do not mention reply settings, OpenClaw should default to everyone, so say "followers only" or "verified only" when you want a restriction.
  • Community posting needs the full community URL. OpenClaw cannot look up a community by name, so paste the link into your message.
  • Each tweet can carry up to four images or one video. Upload media through Postiz first, or just attach it in the chat and ask OpenClaw to include it.

OpenClaw and X: frequently asked questions

How do I post to X from OpenClaw?

Install the Postiz skill with openclaw skills install @nevo-david/postiz, sign in with postiz auth:login, and connect your X account in Postiz. Then message OpenClaw from any connected chat app with the tweet text and a time. It runs postiz posts:create with the X settings and confirms the schedule.

Can OpenClaw post a thread on X?

Yes. Ask for a thread and OpenClaw sends the first tweet as the post body and the rest as ordered comments. Postiz publishes them as native replies, so the thread appears exactly as if you wrote it by hand. Each part can have its own image or video.

Can OpenClaw control who replies to my tweets?

Yes. X exposes the who_can_reply_post setting through Postiz with five values: everyone, following, mentionedUsers, subscribers, and verified. Say the option in plain language, for example "only people I follow can reply", and OpenClaw applies the matching value before scheduling the post.

Does OpenClaw need the X API directly?

No. OpenClaw never touches the X API. It runs the Postiz CLI, and Postiz holds the OAuth connection to your X account. You authenticate OpenClaw once with postiz auth:login or a Postiz API key, and there is nothing to configure on the X developer portal.

Can OpenClaw post to X on a schedule without me?

Yes. Create an OpenClaw automation with a cron expression, for example weekdays at 9am, and give it a prompt that reads your drafts folder and schedules an X post through Postiz. The job runs in an isolated session and can announce results back to your chat channel.

Start posting to X

Install Postiz Agent and automate your X content strategy with AI-powered scheduling and publishing.