OpenClaw + OpenTweet

Let Your AI Agent
Post to X Autonomously

Connect your OpenClaw agent to Twitter/X in under 3 minutes. Create tweets, schedule posts, publish threads — all autonomously through the OpenTweet API. The simplest way to give your AI agent a voice on X.

View API Docs

7-day free trial · API included in every plan · No extra charge

SKILL.md (OpenClaw)
# Your agent just says:

"Post a tweet about our new
feature launch"

# OpenClaw calls the API:

POST /api/v1/posts
{
  "text": "Just shipped...,
  "scheduled_date": "2026-...T10:00Z"
}

# That's it. Tweet scheduled.

Setup in 3 minutes

1

Sign up & connect your X account

Link your Twitter account securely with one click

2

Create an API key

Settings > API > Generate new key

3

Give the key to your OpenClaw agent

Install the skill or set OPENTWEET_API_KEY in your config

Why OpenTweet for Your OpenClaw Agent?

Your AI agent needs a safe, simple way to post on Twitter. OpenTweet gives it exactly that — a clean REST API with no X credentials exposed.

Post Tweets Instantly

Your OpenClaw agent can publish tweets to X immediately with a single API call. No manual approval needed.

Schedule for Optimal Times

Let your agent schedule posts for when your audience is most active. Queue up a full week of content autonomously.

Create Twitter Threads

Your agent can compose and publish multi-tweet threads. Perfect for breakdowns, tutorials, and storytelling.

Full CRUD Operations

Create, read, update, and delete posts. Your agent has complete control over your content pipeline.

Batch 50 Posts at Once

Bulk-create up to 50 posts in a single API call. Your agent can prep an entire month of content in seconds.

Secure API Key Access

Your agent uses a revocable API key — never your X credentials. Revoke access instantly from your dashboard.

API Reference

Simple REST API Your Agent Already Understands

Standard JSON endpoints. Bearer token auth. Your OpenClaw agent can figure it out in seconds. We also provide LLM-optimized plain-text docs for AI agents.

API Endpoints
GET/api/v1/me
GET/api/v1/posts
POST/api/v1/posts
GET/api/v1/posts/:id
PUT/api/v1/posts/:id
DELETE/api/v1/posts/:id
POST/api/v1/posts/:id/schedule
POST/api/v1/posts/:id/publish

What Your OpenClaw Agent Can Do

Give your AI agent a voice on X. Here's how creators and developers are using OpenClaw + OpenTweet.

Autonomous Content Creator

Let your OpenClaw agent generate and post content daily. Wake up to a growing audience without lifting a finger.

Build in Public Bot

Have your agent auto-tweet your GitHub commits, revenue milestones, and product updates as they happen.

Content Repurposer

Feed your agent blog posts and let it create tweet threads automatically. Turn one blog post into a week of X content.

Engagement Scheduler

Your agent analyzes your best posting times and schedules content strategically across the week.

Multi-Account Manager

Run multiple OpenClaw agents with different API keys to manage several X accounts from one setup.

Newsletter to Twitter Pipeline

Your agent reads your newsletter, extracts key points, and creates a tweet thread for each edition.

ClawHub Skill

Install in One Command

The OpenTweet skill on ClawHub teaches your OpenClaw agent everything it needs to know about posting to X.

Terminal
# Install the OpenTweet skill
$ clawhub install opentweet/x-poster

# Set your API key
$ export OPENTWEET_API_KEY="your-key-here"

# Done! Ask your agent to post:
$ openclaw "post a tweet about our launch"

Everything Your Agent Needs to Post on X

Post tweets and threads via REST API
Schedule posts for any future date/time
Publish immediately with one API call
Bulk create up to 50 posts per request
Update or delete scheduled posts
View posting history and analytics
Rate-limited: 60 req/min, 1,000 req/day
Official ClawHub skill available
Works with any OpenClaw model backend
LLM-optimized API documentation
No X credentials shared with agent
Revoke agent access in one click

Frequently Asked Questions

Can OpenClaw post to Twitter automatically?

Yes. OpenClaw can autonomously post to Twitter/X using the OpenTweet API. Simply give your agent an OpenTweet API key and it can create, schedule, and publish tweets without any manual intervention.

How do I connect OpenClaw to Twitter?

Sign up for OpenTweet, connect your X account, generate an API key from Settings > API, and provide it to your OpenClaw agent. You can use the official skill from ClawHub or configure it manually. Setup takes under 3 minutes.

Does my agent get access to my Twitter password?

No. Your agent only gets an OpenTweet API key. It never sees your X/Twitter credentials. You can revoke the API key at any time from your dashboard.

What AI models work with this?

OpenTweet works with any AI model backend that OpenClaw supports — Claude, GPT-4, Gemini, Llama, or any other. The API is a standard REST API that any LLM can call.

How much does it cost?

OpenTweet is $5.99/month with a 7-day free trial. The API is included in every plan at no extra charge. OpenClaw itself is free and open-source.

Can I use this without OpenClaw?

Absolutely. The OpenTweet API works with any automation tool, script, or AI agent. OpenClaw is just one of many ways to use it.

Give Your AI Agent a Voice on X

Connect OpenClaw to Twitter in 3 minutes. Start auto-posting with the simplest agent-friendly API.

Read the API Docs
7-day free trial
API included free
Cancel anytime