doodle top mobile

Automate Warpcast with Codex

Publish casts to the Farcaster protocol, target specific channels, and engage with the decentralized social ecosystem — all from the command line or through your AI agent.

Setup GuideGitHub

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

doodle left mobiledoodle right mobile

Cast to Warpcast 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 Warpcast integration
postiz integrations:list

# Post a cast to Warpcast
postiz posts:create \
  -c "Hello Farcaster! Excited to be here." \
  -s "2025-01-15T10:00:00Z" \
  --settings '{"subreddit":[{"value":{"id":"channel-id"}}]}' \
  -i "your-warpcast-integration-id"

Warpcast-Specific Features

📡

Farcaster Protocol

Post directly to the Farcaster decentralized social protocol. Your casts are stored on-chain and accessible across all Farcaster clients.

📢

Channel Targeting

Target specific Farcaster channels to reach the right audience. Post to niche communities and topic-focused channels.

🌐

Decentralized Social

Own your social graph. Warpcast posts live on the Farcaster protocol, giving you portability and censorship resistance.

💬

Cast Composition

Compose casts with text content and optional channel targeting. Keep your messaging concise and impactful for the Farcaster audience.

🔍

Channel Discovery

Browse and target from thousands of Farcaster channels. Reach communities focused on crypto, tech, art, and more.

📅

Scheduled Casting

Schedule casts with precise timestamps. Plan your Farcaster engagement ahead of time and cast at peak activity hours.

How It Works

1

Find Your Warpcast Integration

List your connected accounts and grab your Warpcast integration ID. You can also fetch available settings to see what options are supported.

Discovery

# List all integrations
postiz integrations:list

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

# Get Warpcast settings schema
postiz integrations:settings <warpcast-id>
2

Choose Your Channel

Optionally target a specific Farcaster channel for your cast. If no channel is specified, the cast will be posted to your main feed.

Channel Targeting

# Cast without a channel (main feed)
postiz posts:create \
  -c "Hello Farcaster!" \
  -i "warpcast-id"

# Cast to a specific channel
postiz posts:create \
  -c "Thoughts on decentralized social" \
  --settings '{"subreddit":[
    {"value":{"id":"decentralized"}}
  ]}' \
  -i "warpcast-id"
3

Create Your Cast

Schedule a Warpcast post with your content and optional channel targeting. Casts are published to the Farcaster protocol for decentralized distribution.

Cast Creation

postiz posts:create \
  -c "Just shipped a new feature! 🚀" \
  -s "2025-03-01T09:00:00Z" \
  --settings '{
    "subreddit": [
      {
        "value": {
          "id": "dev"
        }
      }
    ]
  }' \
  -i "warpcast-id"

Warpcast Settings Reference

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

FieldTypeDescription
__typestringMust be "warpcast"
subredditarrayArray of channel objects: [{value: {id}}]
subreddit[].value.idstringFarcaster channel ID to target

Common Configurations

Copy-paste these settings for common Warpcast posting scenarios.

Simple Cast (No Channel)

settings.json

{}

Cast to a Specific Channel

settings.json

{
  "subreddit": [
    {
      "value": {
        "id": "dev"
      }
    }
  ]
}

Cast to Crypto Channel

settings.json

{
  "subreddit": [
    {
      "value": {
        "id": "crypto"
      }
    }
  ]
}

Cast to Design Channel

settings.json

{
  "subreddit": [
    {
      "value": {
        "id": "design"
      }
    }
  ]
}

What is Codex?

Codex is OpenAI's autonomous coding agent that handles software engineering tasks — writing features, fixing bugs, and answering questions about your codebase. It works via CLI and IDE integrations, and can execute shell commands like Postiz.

💻

CLI & IDE Native

Codex runs from your terminal or IDE. It executes shell commands directly, making Postiz integration seamless — no extra configuration needed.

🔧

Autonomous Execution

Codex works in sandboxed cloud environments, autonomously running commands, reading output, and chaining multi-step workflows like social media posting.

Parallel Tasks

Run multiple Codex tasks simultaneously. Schedule posts to different platforms in parallel while Codex handles other coding work.

How Postiz Works with Codex

Codex discovers Postiz when you install it globally. It reads the SKILL.md to understand available commands and can autonomously chain them for social media workflows.

  • Install Postiz Agent globally with npx skills add
  • Codex reads the SKILL.md and learns all Postiz commands
  • POSTIZ_API_KEY must be set in environment
  • Codex executes commands in sandboxed environments
  • Works alongside your coding tasks in parallel

Install Postiz

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

# Set your API key
export POSTIZ_API_KEY=your_api_key

# Codex discovers Postiz commands
# from the SKILL.md automatically
codex "list my social media integrations"

Warpcast Posting with Codex

Tell Codex what to post from your terminal or IDE — it discovers your integrations via Postiz and handles the entire publishing workflow.

💻

CLI Workflow

Terminal and IDE integration

Tell Codex what to post from your terminal or IDE — it discovers your integrations via Postiz and handles the entire publishing workflow.

Codex CLI

$ codex "Post to Warpcast about our
  new feature launch, schedule for
  tomorrow at 9am"

Codex: I'll handle that.
  Running: postiz integrations:list
  Found your Warpcast integration.
  Running: postiz posts:create ...

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

Parallel Tasks

Multiple tasks at once

Codex can handle multiple tasks in parallel. Schedule posts to different platforms while it works on other coding tasks simultaneously.

Codex Parallel Tasks

# Run multiple posting tasks in parallel
$ codex "Schedule a post about our
  launch to X for tomorrow 9am" &

$ codex "Write a LinkedIn article
  about our new feature and schedule
  for tomorrow noon" &

$ codex "Fix the bug in auth.ts"

# All three tasks run simultaneously

Why Codex + Postiz for Warpcast

Codex's autonomous execution makes Postiz a natural fit. The agent reads the SKILL.md to understand every available command, then autonomously chains them together for Warpcast workflows.

  • CLI-native — runs from your terminal or IDE
  • Autonomous execution in sandboxed environments
  • Parallel task support — post while coding
  • Target specific channels for focused community engagement
  • Cross-post to Warpcast + other platforms in a single session
  • Powered by OpenAI&apos;s most capable models

SKILL.md (auto-discovered)

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

# Warpcast Settings
subreddit (optional array of channels),
each with: id (channel ID)

Also Works with Claude Code

Postiz Agent works as a CLI tool with any AI agent that can execute shell commands — including Anthropic's Claude Code.

C

Claude Code

by Anthropic

Claude reads the SKILL.md file to learn all available Postiz commands, then autonomously discovers your Warpcast integration, composes your cast with optional channel targeting, and publishes it to Farcaster.

Claude Code

> Cast about our product launch to the
  dev and crypto channels on Farcaster

Claude will automatically run:
  postiz integrations:list
  postiz posts:create \
    -c "We just launched! Check it out" \
    -s "2025-03-02T09:00:00Z" \
    --settings '{"subreddit":[
      {"value":{"id":"dev"}}
    ]}' \
    -i "warpcast-id"

  postiz posts:create \
    -c "New crypto tool just dropped" \
    --settings '{"subreddit":[
      {"value":{"id":"crypto"}}
    ]}' \
    -i "warpcast-id"

Warpcast + Other Platforms

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

Terminal

# Post to Warpcast and Twitter simultaneously
postiz posts:create \
  -c "Just shipped something new! Check it out." \
  -s "2025-03-01T09:00:00Z" \
  --settings '{
    "subreddit": [
      {
        "value": {
          "id": "dev"
        }
      }
    ]
  }' \
  -i "warpcast-id,twitter-id"

# Batch schedule a week of Farcaster casts
for day in 1 2 3 4 5; do
  postiz posts:create \
    -c "Day $day building in public! #buildinpublic" \
    -s "2025-03-0${day}T10:00:00Z" \
    --settings '{"subreddit":[{"value":{"id":"dev"}}]}' \
    -i "warpcast-id"
done

Start casting on Warpcast

Install Postiz Agent and automate your Farcaster presence 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.