doodle top mobile

Post to X (Twitter) from NanoClaw

NanoClaw can publish and schedule X (Twitter) posts through Postiz. Message NanoClaw from WhatsApp, Telegram, Slack, or Discord, and it calls the Postiz skill to write tweets, split threads into ordered posts, set who can reply, and post into X Communities. Setup takes one skill install and one Postiz login.

Setup GuideGitHub

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

Last updated: September 2026

doodle left mobiledoodle right mobile

How do I set up NanoClaw to post to X?

Setup, then just ask

# 1. Install NanoClaw (once)
git clone https://github.com/nanocoai/nanoclaw.git
cd NanoClaw && bash nanoclaw.sh

# 2. Add the Postiz skill to your NanoClaw fork
npx skills add gitroomhq/postiz-agent

# 3. Authenticate Postiz (OAuth device flow)
postiz auth:login   # or: export POSTIZ_API_KEY=...

# 4. Connect X in Postiz, then message NanoClaw:
> Post a thread about our launch on X,
  schedule it for tomorrow at 9am

NanoClaw: Done! Your X post is scheduled.

Which X features does NanoClaw support?

๐Ÿ—ฃ

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 NanoClaw 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 do I post to X from NanoClaw?

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

1

Find Your X Integration

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

Example conversation

> Is my X account connected to Postiz?

NanoClaw: 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 NanoClaw 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

NanoClaw: 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

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

X Settings Reference

Mention any of these in plain language and NanoClaw 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 NanoClaw for any of these common X scenarios and it applies the matching settings.

Public Post โ€” Everyone Can Reply

Just ask

> Post it with: Public Post โ€” Everyone Can Reply

NanoClaw: Got it. Applying:
  who_can_reply_post: everyone

Followers Only Replies

Just ask

> Post it with: Followers Only Replies

NanoClaw: Got it. Applying:
  who_can_reply_post: following

Community Post with Verified Replies

Just ask

> Post it with: Community Post with Verified Replies

NanoClaw: 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

NanoClaw: Got it. Applying:
  who_can_reply_post: mentionedUsers

What is NanoClaw?

NanoClaw is an open-source AI assistant that runs each agent in its own Docker container and is built on Anthropic's Claude Agent SDK. It was created as a smaller, easier-to-audit alternative to OpenClaw. It connects to WhatsApp, Telegram, Slack, Discord, Microsoft Teams, iMessage, and more, and supports per-group memory and recurring jobs.

๐Ÿ“ฆ

Container-Based

NanoClaw runs in containers for easy deployment and isolation. Spin up your social media automation agent in seconds with Docker.

๐Ÿ’ฌ

Multi-Platform Chat

Connect to WhatsApp, Telegram, Slack, Discord, Microsoft Teams, and more. Message NanoClaw from wherever you already communicate.

๐Ÿง 

Memory & Context

NanoClaw remembers your preferences and past interactions. It learns your posting style and content strategy over time.

How Postiz Works with NanoClaw

NanoClaw discovers Postiz through its skill system. Add the Postiz skill to your NanoClaw fork and the agent reads the SKILL.md to learn every postiz command, then runs them inside its own container when you ask.

  • โœ“Install Postiz skill with npx skills add gitroomhq/postiz-agent
  • โœ“NanoClaw reads the SKILL.md and learns all Postiz commands
  • โœ“Authenticate with postiz auth:login (OAuth device flow) or a POSTIZ_API_KEY
  • โœ“Skills are loaded on-demand, keeping the agent context clean
  • โœ“Built on Anthropic's Claude Agent SDK, running in an isolated Docker container

Install Postiz

# In your NanoClaw fork: add the Postiz skill
npx skills add gitroomhq/postiz-agent

# Sign in to Postiz (OAuth device flow)
postiz auth:login

# Or use an API key instead
export POSTIZ_API_KEY=your_api_key

# Check the connection
postiz auth:status
postiz integrations:list

X Posting with NanoClaw

Message NanoClaw from WhatsApp, Telegram, or Slack โ€” it discovers your integrations via Postiz, composes your content, and handles the entire posting workflow from within its container.

๐Ÿณ

From Any Chat App

WhatsApp, Telegram, Slack, or Discord

Message NanoClaw from WhatsApp, Telegram, or Slack โ€” it discovers your integrations via Postiz, composes your content, and handles the entire posting workflow from within its container.

NanoClaw

You: Post to X about our new
  feature launch, schedule for tomorrow
  at 9am

NanoClaw: On it! Here's my plan:
  1. Found your X integration
  2. Composing your post
  3. Scheduling for tomorrow 9:00 AM

  Done! Your post is scheduled.
  Post ID: abc-123
๐Ÿณ

Scheduled & Proactive

Recurring jobs, requested in chat

NanoClaw supports scheduled jobs out of the box. Set up a recurring job that drafts and publishes content on a recurring schedule.

Recurring job (ask in chat)

> @Andy every weekday at 9am, check
  ~/content/posts for new files and
  schedule each one to X for
  noon. Move posted files to
  ~/content/published.

NanoClaw: Got it. I'll run this every
  weekday at 9:00 AM and schedule the
  posts through Postiz.

Why NanoClaw + Postiz for X

NanoClaw makes Postiz a natural fit for your X workflow. The agent discovers all available commands and autonomously chains them together.

  • โœ“Message from WhatsApp or Telegram to post to X โ€” no terminal needed
  • โœ“Container-based โ€” easy to deploy, isolate, and scale
  • โœ“Built-in memory remembers your content preferences
  • โœ“Scheduled jobs for hands-free daily posting
  • โœ“Cross-post to X + other platforms in a single conversation
  • โœ“Built on Anthropic's Claude Agent SDK, with each agent group in its own container

SKILL.md (auto-discovered)

---
name: postiz
description: Social media automation
  CLI for scheduling posts across
  30+ platforms including X
metadata:
  NanoClaw:
    requirements:
      env:
        - POSTIZ_API_KEY
      binaries:
        - postiz
---

# Available Commands
- postiz integrations:list
- postiz integrations:settings <id>
- postiz posts:create
- postiz upload <file>
- postiz analytics:platform <id>

# X Settings
who_can_reply_post, community

Does Postiz work with other agents too?

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.

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.

Can NanoClaw post to X and other platforms at once?

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

NanoClaw: 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 I ask NanoClaw to post on X?

You can ask NanoClaw for anything Postiz supports on X: a single post, a scheduled batch, or a recurring job. These are prompts you would type in WhatsApp, Telegram, Slack, or Discord. @Andy is NanoClaw's default trigger word; use whatever name you gave your agent.

Schedule a thread

Say to NanoClaw

> @Andy turn my launch notes into a 5-tweet thread on X, schedule it for tomorrow at 9am, and let everyone reply

NanoClaw: Splits the text into five ordered tweets, sets who_can_reply_post to everyone, schedules for 9:00 AM.

Post into a Community

Say to NanoClaw

> @Andy post this screenshot to the Indie Hackers X Community with verified-only replies at 2pm

NanoClaw: Uploads the image, sets community to the Community URL and who_can_reply_post to verified.

Check what is queued

Say to NanoClaw

> @Andy what X posts do I have scheduled this week, and how did last week's thread do?

NanoClaw: Lists scheduled X posts and pulls post analytics for the thread.

What should I know before posting to X from NanoClaw?

X has a few rules that Postiz enforces at publish time. NanoClaw applies them when you mention them in plain language, and asks when a required value is missing.

  • โœ“Standard X accounts are limited to 280 characters per post. Ask NanoClaw for a thread when your text is longer and it splits it into separate, ordered tweets.
  • โœ“who_can_reply_post is required on every X post. If you do not mention a reply setting, NanoClaw should ask or default to everyone.
  • โœ“To post into an X Community, give NanoClaw the Community URL (for example https://x.com/i/communities/...). A Community name alone is not enough.
  • โœ“Media is uploaded through Postiz first (postiz upload), then attached. Mention the file or send it in chat and NanoClaw handles both steps.

Frequently asked questions about NanoClaw and X

How do I post to X from NanoClaw?

Install the Postiz skill in your NanoClaw fork with npx skills add gitroomhq/postiz-agent, run postiz auth:login, and connect your X account in Postiz. Then message NanoClaw from WhatsApp, Telegram, Slack, or Discord with the tweet text and time. It calls postiz posts:create with the X settings and confirms the schedule.

Can NanoClaw post X threads?

Yes. Ask for a thread and NanoClaw splits your text into separate tweets, each under 280 characters, and Postiz publishes them in order as replies to the first post. Each tweet in the thread can carry its own image or video, so you can attach different media to different parts of the thread.

Can NanoClaw control who replies to my X posts?

Yes. Postiz exposes who_can_reply_post with five values: everyone, following, mentionedUsers, subscribers, and verified. Say something like "only people I follow can reply" and NanoClaw maps it to the right value. The field is required, so every X post created through Postiz has an explicit reply setting.

Can NanoClaw post to X on a recurring schedule?

Yes. NanoClaw supports recurring jobs that you request in chat, for example "every weekday at 9am, post one tip from my notes to X". The agent wakes on that schedule, reads the source you point it at, and schedules the post through Postiz. Keep a human reviewing the queue in the Postiz calendar.

Does posting to X from NanoClaw need an X developer account?

No. You connect X to Postiz once with OAuth in the Postiz dashboard, and Postiz holds the connection. NanoClaw authenticates to Postiz with postiz auth:login (an OAuth device flow) or a POSTIZ_API_KEY. You never paste X API keys into NanoClaw or into your chat app.

Is this different from posting to X with OpenClaw?

The Postiz side is identical: the same skill, the same X settings, and the same Postiz account. The difference is the agent. NanoClaw is a smaller, container-isolated project built on the Claude Agent SDK, while OpenClaw is the larger original. If you run OpenClaw, use the OpenClaw X guide instead.

Start posting to X

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