doodle top mobile

Automate Reddit with Claude Cowork

Post to multiple subreddits, target specific communities with flairs, choose post types, and cross-post content — all from the command line or through your AI agent.

Setup Guide

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

doodle left mobiledoodle right mobile

Post to Reddit in Seconds

Terminal

# Install the skill
npx skills add gitroomhq/postiz-agent

# Set your API key
export POSTIZ_API_KEY=your_api_key

# Find your Reddit integration
postiz integrations:list

# Discover available flairs for a subreddit
postiz integrations:trigger <id> getFlairs -d '{"subreddit":"programming"}'

# Create a Reddit post
postiz posts:create \
  -c "Check this out! A great new tool for developers." \
  -s "2025-01-15T10:00:00Z" \
  --settings '{"subreddit":[{"value":{"subreddit":"programming","title":"Cool tool for automating social media","type":"self","is_flair_required":false}}]}' \
  -i "your-reddit-integration-id"

Reddit-Specific Features

🎯

Subreddit Targeting

Post to one or multiple subreddits simultaneously. Target the exact communities where your content belongs.

📝

Post Types

Create self posts, link posts, image posts, or video posts. Each type is optimized for Reddit's native rendering.

🏷

Flair Support

Automatically discover and apply required flairs for each subreddit. Never have a post rejected for missing flair again.

🔄

Cross-Posting

Share content across multiple subreddits in a single command. Each subreddit gets its own title and flair configuration.

🔗

Link & Media Posts

Share URLs, images, or videos directly. Link posts drive traffic while media posts maximize engagement within Reddit.

📅

Scheduled Posting

Schedule Reddit posts for peak activity times. Hit the front page by posting when your target subreddits are most active.

How It Works

1

Find Your Reddit Integration

List your connected accounts and grab your Reddit integration ID. You can also discover available flairs for any subreddit before posting.

Discovery

# List all integrations
postiz integrations:list

# Filter for Reddit
postiz integrations:list | jq \
  '.[] | select(.identifier=="reddit")'

# Get Reddit settings schema
postiz integrations:settings <reddit-id>

# Discover flairs for a subreddit
postiz integrations:trigger <reddit-id> \
  getFlairs -d '{"subreddit":"programming"}'
2

Choose Your Post Type

Reddit supports multiple post types. Self posts contain text, link posts share URLs, and image/video posts upload media directly. Pick the right type for your content.

Post Types

# Self post (text only)
"type": "self"

# Link post (shares a URL)
"type": "link"
"url": "https://example.com/article"

# Image post
"type": "image"
# Use -m flag with image URL

# Video post
"type": "video"
# Use -m flag with video URL
3

Create Your Post

Schedule a Reddit post with your content, target subreddit, post type, and flair. You can post to multiple subreddits at once by adding more items to the subreddit array.

Post Creation

postiz posts:create \
  -c "Check this out" \
  -s "2025-03-01T09:00:00Z" \
  --settings '{
    "subreddit": [
      {
        "value": {
          "subreddit": "programming",
          "title": "Cool tool for developers",
          "type": "self",
          "is_flair_required": false
        }
      }
    ]
  }' \
  -i "reddit-id"

Reddit Settings Reference

Every Reddit post accepts these platform-specific settings via the --settings flag.

FieldTypeDescription
__typestringMust be "reddit"
subredditarrayArray of subreddit targets: [{value: {subreddit, title, type, url?, is_flair_required, flair?}}]
subreddit[].value.subredditstringName of the subreddit to post to (without r/ prefix)
subreddit[].value.titlestringTitle of the Reddit post
subreddit[].value.typestringPost type: "self", "link", "image", or "video"
subreddit[].value.urlstringURL for link-type posts
subreddit[].value.is_flair_requiredbooleanWhether the subreddit requires a flair
subreddit[].value.flairobjectFlair object with id and name (required if is_flair_required is true)
subreddit[].value.flair.idstringFlair template ID from the subreddit
subreddit[].value.flair.namestringDisplay name of the flair

Common Configurations

Copy-paste these settings for common Reddit posting scenarios.

Simple Self Post

settings.json

{
  "subreddit": [
    {
      "value": {
        "subreddit": "programming",
        "title": "Check out this new open-source tool",
        "type": "self",
        "is_flair_required": false
      }
    }
  ]
}

Link Post with Flair

settings.json

{
  "subreddit": [
    {
      "value": {
        "subreddit": "webdev",
        "title": "How we built our scheduling engine",
        "type": "link",
        "url": "https://example.com/blog/scheduling-engine",
        "is_flair_required": true,
        "flair": {
          "id": "abc123",
          "name": "Article"
        }
      }
    }
  ]
}

Cross-Post to Multiple Subreddits

settings.json

{
  "subreddit": [
    {
      "value": {
        "subreddit": "programming",
        "title": "New open-source social media tool",
        "type": "self",
        "is_flair_required": false
      }
    },
    {
      "value": {
        "subreddit": "opensource",
        "title": "We just open-sourced our social media scheduler",
        "type": "link",
        "url": "https://github.com/example/project",
        "is_flair_required": false
      }
    }
  ]
}

Image Post

settings.json

{
  "subreddit": [
    {
      "value": {
        "subreddit": "dataisbeautiful",
        "title": "Social media engagement trends 2025",
        "type": "image",
        "is_flair_required": true,
        "flair": {
          "id": "def456",
          "name": "OC"
        }
      }
    }
  ]
}

What is Claude Cowork?

Claude Cowork is Anthropic's agentic AI tool for knowledge workers. It runs on your desktop, connects to local files and apps like Google Drive, Gmail, and DocuSign, and completes multi-step tasks autonomously.

💻

Desktop Native

Claude Cowork runs directly on your desktop, connecting to your local files and apps. No browser or cloud setup needed to manage your social media workflow.

🔗

App Integrations

Connects to Google Drive, Gmail, DocuSign, and more. Pull content from your existing tools and publish it to social media seamlessly.

🤖

Autonomous Tasks

Claude Cowork completes multi-step tasks on its own. Tell it to draft, schedule, and publish posts — it handles the entire workflow.

How Postiz Works with Claude Cowork

Claude Cowork discovers Postiz through MCP (Model Context Protocol) tool integration. Once configured, it can call Postiz commands directly from your desktop — no terminal needed.

  • Install Postiz Agent and set your POSTIZ_API_KEY
  • Claude Cowork discovers Postiz through MCP integration
  • All Postiz commands become available as tools
  • Claude Cowork autonomously chains commands for complex workflows
  • Works seamlessly with your existing desktop apps and files

Install Postiz

# Install the Postiz skill
npx skills add gitroomhq/postiz-agent

# Set your API key
export POSTIZ_API_KEY=your_api_key

# Claude Cowork discovers Postiz
# through MCP tool integration
# and can call all commands directly

Reddit Posting with Claude Cowork

Tell Claude Cowork what to post from your desktop — it connects to Postiz, discovers your integrations, and handles the entire publishing workflow without you touching the terminal.

🦀

From Any Chat App

Tell Claude Cowork what to post from you...

Send a message to Claude Cowork from your favorite chat app. It runs as a persistent daemon on your machine, so it picks up your message, discovers your Reddit account via Postiz, finds the right flairs, and schedules the post — all while you go about your day.

Claude Cowork

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

Claude Cowork: I'll handle that for you.
  1. Found your Reddit integration
  2. Composing your post
  3. Scheduling for tomorrow at 9:00 AM

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

Scheduled & Proactive

Claude Cowork can be asked to perfo...

Claude Cowork supports cron-based heartbeat tasks. Set up a recurring job that monitors for new content and posts it to the right subreddits automatically — no manual trigger needed.

Claude Cowork Task

Tell Claude Cowork:

"Every weekday morning, check my
~/content/drafts folder for new posts
and schedule them to Reddit
for noon today. Move published drafts
to ~/content/published."

Claude Cowork will autonomously:
  1. Monitor your drafts folder
  2. Read and format each post
  3. Schedule via Postiz
  4. Move files when done

Why Claude Cowork + Postiz for Reddit

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

  • Desktop-native — no terminal or CLI knowledge needed
  • Connects to your local files to pull content for Reddit posts
  • Multi-step autonomy — handles discovery, composition, and scheduling
  • Works with Google Drive, Gmail, and other desktop apps
  • Cross-post to Reddit + other platforms in a single request
  • Powered by Claude — Anthropic&apos;s most capable AI model

SKILL.md (auto-discovered)

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

# Available Commands
- postiz integrations:list
- postiz integrations:settings <id>
- postiz integrations:trigger <id>
    getFlairs -d '{"subreddit":"..."}'
- postiz posts:create
- postiz upload <file>
- postiz analytics:platform <id>

# Reddit Settings
subreddit (array of targets),
type (self/link/image/video),
title, url, flair, is_flair_required

Also Works with OpenClaw

Postiz Agent works as a CLI tool with any AI agent that can execute shell commands — including OpenClaw, the open-source personal AI agent.

🦀

OpenClaw

Open-source AI agent

Claude reads the SKILL.md file to learn all available Postiz commands, then autonomously discovers your Reddit integration, checks flair requirements, and schedules posts to the right subreddits.

OpenClaw

> Post to r/programming and r/webdev
  about our new feature, schedule for
  tomorrow morning

Claude will automatically run:
  postiz integrations:list
  postiz integrations:trigger <id> \
    getFlairs -d '{"subreddit":"programming"}'
  postiz posts:create \
    -c "Details about the feature..." \
    -s "2025-03-02T09:00:00Z" \
    --settings '{"subreddit":[
      {"value":{"subreddit":"programming",
        "title":"New feature release",
        "type":"self",
        "is_flair_required":false}},
      {"value":{"subreddit":"webdev",
        "title":"New feature release",
        "type":"self",
        "is_flair_required":false}}
    ]}' \
    -i "reddit-id"

Reddit + Other Platforms

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

Terminal

# Post to Reddit and Twitter simultaneously
postiz posts:create \
  -c "We just launched something awesome! Check it out." \
  -s "2025-03-01T09:00:00Z" \
  --settings '{
    "subreddit": [
      {
        "value": {
          "subreddit": "programming",
          "title": "We just launched our new tool",
          "type": "link",
          "url": "https://example.com",
          "is_flair_required": false
        }
      }
    ]
  }' \
  -i "reddit-id,twitter-id"

# Batch schedule a week of Reddit content
for day in 1 2 3 4 5; do
  postiz posts:create \
    -c "Day $day insights from our dev team" \
    -s "2025-03-0${day}T10:00:00Z" \
    --settings '{"subreddit":[{"value":{"subreddit":"programming","title":"Dev insight day '$day'","type":"self","is_flair_required":false}}]}' \
    -i "reddit-id"
done

Start posting to Reddit

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

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.