doodle top mobile

Social Media CLI for AI Agents

Automate social media posting across 30+ platforms. Built for AI agents like Claude and OpenClaw to schedule, publish, and manage your social media presence from the command line.

View DocsClawHub

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

doodle left mobiledoodle right mobile

Get Started in Seconds

Terminal

# Install globally
npm install -g postiz

# Set your API key
export POSTIZ_API_KEY=your_api_key

# List your connected platforms
postiz integrations:list

# Create your first post
postiz posts:create \
  -c "Hello from Postiz Agent!" \
  -s "2025-01-01T12:00:00Z" \
  -i "your-integration-id"

Built for Automation

๐Ÿค–

AI Agent Ready

Every command outputs structured JSON. Designed for LLMs and automation pipelines to parse, plan, and execute social media workflows.

๐ŸŒ

30+ Platforms

Post to Twitter/X, LinkedIn, Reddit, Instagram, YouTube, TikTok, and 22 more platforms from a single CLI.

๐Ÿงต

Threads & Comments

Create threaded posts with multiple comments, each with their own media. Automatic conversion to platform-native threads.

๐Ÿ“ท

Rich Media Support

Upload and attach images, videos, audio, and documents. Supports PNG, JPG, MP4, MOV, PDF, and many more formats.

๐Ÿ“…

Scheduled Posting

Schedule posts with precise timestamps, create drafts for review, and batch schedule entire content campaigns.

โš™๏ธ

Platform-Specific Settings

Dynamic discovery of platform features like Reddit flairs, YouTube playlists, Pinterest boards, and LinkedIn company pages.

How It Works

1

Discover Integrations

List all your connected social media accounts and discover platform-specific features like subreddit flairs and YouTube playlists.

Discovery

postiz integrations:list

# Get platform settings
postiz integrations:settings <id>

# Fetch platform-specific data
postiz integrations:trigger <id> getFlairs \
  -d '{"subreddit":"programming"}'
2

Create Posts

Compose posts with content, media, comments, and platform-specific settings. Use simple CLI flags for quick posts or JSON files for complex campaigns.

Post Creation

# Simple post
postiz posts:create \
  -c "Check out our new feature!" \
  -m "screenshot.png" \
  -s "2025-01-15T09:00:00Z" \
  -i "twitter-id,linkedin-id"

# Complex post from JSON
postiz posts:create --json campaign.json
3

Manage & Analyze

List, filter, and manage your scheduled posts. Track performance with platform and post-level analytics. Build batch workflows to schedule entire content campaigns programmatically.

Management & Analytics

# List scheduled posts
postiz posts:list

# Get platform analytics (last 30 days)
postiz analytics:platform <id> -d 30

# Get analytics for a specific post
postiz analytics:post <post-id> -d 7

# Upload media for reuse
postiz upload video.mp4

One Command, Every Platform

Post to multiple platforms simultaneously, each with their own media and platform-specific settings.

Terminal

# Post to multiple platforms at once
postiz posts:create \
  -c "Launching our new feature today!" \
  -m "banner.png" \
  -s "2025-03-01T09:00:00Z" \
  -i "twitter-id,linkedin-id,facebook-id"

# Post with threaded comments
postiz posts:create \
  -c "Main announcement post" -m "hero.png" \
  -c "First follow-up comment" -m "demo.gif" \
  -c "Links and resources" \
  -s "2025-03-01T09:00:00Z" \
  -i "twitter-id,reddit-id"

# Post with platform-specific settings
postiz posts:create \
  -c "Check out this tutorial" \
  -m "video.mp4" \
  -s "2025-03-01T09:00:00Z" \
  --settings '{"subreddit":[{"value":{"subreddit":"programming","title":"New Tutorial","type":"text"}}]}' \
  -i "reddit-id"

# Batch schedule a week of content
for day in 1 2 3 4 5; do
  postiz posts:create \
    -c "Day $day content" \
    -s "2025-03-0${day}T09:00:00Z" \
    -i "twitter-id,linkedin-id"
done

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 โ€” including managing your social media with Postiz.

๐Ÿ’ฌ

Message From Anywhere

Talk to OpenClaw from WhatsApp, Telegram, Slack, Discord, Signal, iMessage, Google Chat, IRC, Teams, Matrix, and more. No new app to learn.

๐Ÿงฉ

Skill-Based Architecture

OpenClaw extends its abilities through Skills โ€” lightweight Markdown plugins. Postiz is available as a skill on ClawHub, the open-source registry with 13,000+ skills.

โฐ

Proactive Automation

Set up cron-based heartbeat tasks. OpenClaw can post to your socials on a schedule โ€” checking for new content and publishing without you lifting a finger.

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 posts with the right settings for each platform.

  • โœ“Install from ClawHub with one command: clawhub install nevo-david/postiz
  • โœ“OpenClaw reads the SKILL.md and learns all Postiz commands
  • โœ“Eligibility is checked automatically โ€” POSTIZ_API_KEY must be set
  • โœ“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
clawhub install nevo-david/postiz

# Or install the CLI globally
npm install -g postiz

# Set your API key
export POSTIZ_API_KEY=your_api_key

# Verify OpenClaw sees it
openclaw skills list --eligible

# Output:
# - postiz: Social media automation
#   CLI for scheduling posts
#   across 30+ platforms

Post From Any Chat App

Message OpenClaw from WhatsApp, Telegram, or Slack โ€” it reads the Postiz skill, discovers your integrations, 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 accounts via Postiz, uploads media, and schedules posts โ€” all while you go about your day.

WhatsApp / Telegram

You: Post my blog article to Twitter,
  LinkedIn, and Reddit with the cover
  image, schedule for tomorrow at 9am

OpenClaw: Done! Posts scheduled:
  - X (Twitter): scheduled 9:00 AM
  - LinkedIn: scheduled 9:00 AM
  - Reddit (r/programming): scheduled 9:00 AM
  Post ID: abc-123
๐Ÿฆ€

Scheduled & Proactive

Cron jobs for recurring content

OpenClaw supports cron-based heartbeat tasks. Set up a recurring job that checks for new content and posts it to all your platforms automatically โ€” no manual trigger needed.

openclaw.json (heartbeat)

{
  "heartbeat": [
    {
      "cron": "0 9 * * 1-5",
      "prompt": "Check ~/content/pending
  for new posts. Upload any media,
  then schedule to Twitter, LinkedIn,
  and Instagram for today at noon.
  Move posted files to ~/content/done."
    }
  ]
}

Why AI Agents Love Postiz

  • โœ“Every command returns structured JSON for easy parsing
  • โœ“Built-in SKILL.md provides full command documentation
  • โœ“Discovery workflow lets agents explore available platforms
  • โœ“Platform-specific tools (flairs, playlists, boards) are dynamically queryable
  • โœ“No SDK needed โ€” any agent that can run CLI commands works
  • โœ“Model-agnostic โ€” works with Claude, GPT, Gemini, or open-source LLMs

SKILL.md (auto-discovered)

---
name: postiz
description: Social media automation
  CLI for scheduling posts across
  30+ platforms
metadata:
  openclaw:
    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>

Also Works with Claude Code

Postiz Agent is a CLI tool โ€” it works with any AI agent that can run shell commands, including Anthropic's Claude Code.

C

Claude Code

by Anthropic

Claude reads the SKILL.md file to learn all available Postiz commands. It autonomously discovers your integrations, uploads media, composes posts with platform-specific settings, and schedules content across all your connected platforms.

Claude Code

> Schedule a tweet for tomorrow morning
  announcing our new feature, attach
  the screenshot from ./assets/launch.png

Claude will automatically run:
  postiz integrations:list
  postiz upload ./assets/launch.png
  postiz posts:create \
    -c "We just launched..." \
    -m "uploaded-url" \
    -s "2025-03-02T09:00:00Z" \
    -i "twitter-id"

Command Reference

CommandDescription
postiz integrations:listList all connected social media accounts
postiz integrations:settings <id>Get platform-specific settings schema
postiz integrations:trigger <id> <method>Trigger platform tools (flairs, playlists, etc.)
postiz posts:createCreate and schedule a new post
postiz posts:listList all scheduled and published posts
postiz posts:delete <id>Delete a scheduled post
postiz analytics:platform <id>Get analytics for an integration/channel
postiz analytics:post <id>Get analytics for a specific post
postiz upload <file>Upload media and get a reusable URL

Start automating today

Install Postiz Agent and let your AI agents handle social media posting across all your platforms.

Ready to get started?

Grow your social media presence with Postiz.
Schedule, analyze, and engage with your audience.

Grow your social media presence with Postiz.

ยฉ Postiz, 2026. All rights reserved.

Designed by

Peppermint
Proudly open-source โค๏ธ