doodle top mobile

Automate Twitch with Claude Code

Send chat messages, broadcast colored announcements, schedule stream notifications, and engage your community — just by asking Claude Code.

Setup GuideGitHub

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

doodle left mobiledoodle right mobile

Post to Twitch in Seconds

Setup, then just ask

# One-time setup
npx skills add gitroomhq/postiz-agent
export POSTIZ_API_KEY=your_api_key

# Then just ask Claude Code:
> Send a "going live" announcement
  to my Twitch chat at 8pm

Claude Code: Done! Your Twitch post is scheduled.

Twitch-Specific Features

💬

Chat Messages

Send messages directly to your Twitch chat. Keep your community engaged with automated updates, links, and announcements.

📣

Announcements

Broadcast highlighted announcements that stand out in chat. Perfect for stream starts, events, and important updates.

🎨

Colored Announcements

Choose from primary, blue, green, orange, or purple colors for your announcements. Match your brand or highlight different content types.

🔔

Stream Notifications

Schedule pre-stream hype messages and go-live notifications. Let your audience know when you're about to start streaming.

Scheduled Posting

Queue up chat messages and announcements for specific times. Perfect for timed promotions during streams or pre-stream countdowns.

🤖

AI-Powered Chat

Let AI agents compose and send context-aware chat messages. Automate community engagement while maintaining your voice.

How It Works

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

1

Find Your Twitch Integration

Ask Claude Code whether your Twitch account is connected. It also checks which options the platform supports.

Example conversation

> Is my Twitch account connected to Postiz?

Claude Code: Yes — your Twitch account is connected
  and ready. Want me to post something?
2

Choose Your Message Type

Decide whether to send a regular chat message or a highlighted announcement. Announcements support color customization for extra visibility.

Example conversation

> Draft a Twitch post about our new
  feature launch

Claude Code: Here's a draft for Twitch:
  "We just shipped something big..."
  Want me to add media and schedule it?
3

Create Your Post

Send a chat message or announcement to your Twitch channel. Schedule it for a specific time or post immediately.

Example conversation

> Yes — add screenshot.png and schedule
  it for tomorrow at 9am

Claude Code: Done! Scheduled on Twitch for
  tomorrow at 9:00 AM.

Twitch Settings Reference

Mention any of these in plain language and Claude Code sets them for you. These are the Twitch options it can apply to any post.

FieldTypeDescription
__typestringMust be "twitch"
messageTypestring"message" or "announcement" (default: message)
announcementColorstring"primary", "blue", "green", "orange", or "purple" (only for announcements)

Common Configurations

Ask Claude Code for any of these common Twitch scenarios and it applies the matching settings.

Simple Chat Message

Just ask

> Post it with: Simple Chat Message

Claude Code: Got it. Applying:
  messageType: message

Purple Announcement

Just ask

> Post it with: Purple Announcement

Claude Code: Got it. Applying:
  messageType: announcement
  announcementColor: purple

Green Giveaway Announcement

Just ask

> Post it with: Green Giveaway Announcement

Claude Code: Got it. Applying:
  messageType: announcement
  announcementColor: green

Blue Event Announcement

Just ask

> Post it with: Blue Event Announcement

Claude Code: Got it. Applying:
  messageType: announcement
  announcementColor: blue

What is Claude Code?

Claude Code is Anthropic's agentic coding tool that lives in your terminal. It handles software engineering tasks — writing features, fixing bugs, and answering questions about your codebase — and it can run shell commands and MCP tools like Postiz.

💻

Terminal & IDE Native

Claude Code runs in your terminal, with extensions for VS Code and JetBrains. You type what you want in plain English and it handles Postiz for you.

🔧

Agentic Execution

Claude Code plans and works through multi-step tasks on its own — discovering channels, uploading media, and scheduling posts — and asks for permission before it acts.

Parallel Tasks

Run several Claude Code sessions side by side, or spawn subagents in one. Schedule posts to different platforms while it handles other coding work.

How Postiz Works with Claude Code

Claude Code discovers Postiz through the Postiz skill or the Postiz MCP server. It reads the SKILL.md (or the MCP tool list) to learn what it can do, then chains calls together for social media workflows.

  • Install the Postiz skill, or add the Postiz MCP server with claude mcp add
  • Claude Code reads the SKILL.md and learns all Postiz commands
  • POSTIZ_API_KEY must be set in environment
  • Claude Code asks for permission before running commands
  • Works alongside your coding tasks in parallel

Install Postiz

# Option A: add the Postiz MCP server
claude mcp add --transport http postiz https://mcp.postiz.com/mcp-oauth-dynamic

# Option B: install the Postiz skill
npx skills add gitroomhq/postiz-agent
export POSTIZ_API_KEY=your_api_key

# Then just ask
claude "list my social media integrations"

Twitch Posting with Claude Code

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

💻

Just Ask Claude Code

Terminal and IDE integration

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

Claude Code CLI

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

Claude Code: I'll handle that.
  Found your Twitch integration.
  Composing and scheduling the post.

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

Parallel Tasks

Multiple tasks at once

Claude Code runs headless with claude -p, so several tasks can run in parallel. Schedule posts to different platforms while it works on other coding tasks.

Claude Code Parallel Tasks

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

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

$ claude -p "Fix the bug in auth.ts"

# All three tasks run simultaneously

Why Claude Code + Postiz for Twitch

Claude Code'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 Twitch workflows.

  • Runs in your terminal or IDE — just type what you want
  • Permission-based execution — you stay in control
  • Parallel task support — post while coding
  • Announcement colors applied automatically based on your instructions
  • Cross-post to Twitch + other platforms in a single session
  • Powered by Claude — Anthropic's most capable models

SKILL.md (auto-discovered)

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

# Twitch Settings
messageType, announcementColor

Also Works with Claude Cowork

Postiz works with any AI agent that can run commands or call MCP tools — you ask, the agent does the work. That includes Claude Cowork, Anthropic's desktop agent — no terminal needed.

C

Claude Cowork

by Anthropic

Claude Cowork reads the Postiz skill so it knows what it can do, then autonomously discovers your Twitch integration, picks the right message type and color, and sends the message.

Claude Cowork

> Send a purple announcement to Twitch:
  "Stream starting now! Let's build!"

Claude Cowork: Done! Scheduled on Twitch for
  tomorrow at 9:00 AM.

Twitch + Other Platforms

Announce your stream on Twitch and other platforms in a single request. Each platform gets its own settings.

Example

> Post "Excited to announce our new feature!" to
  Twitch and LinkedIn tomorrow at 9am, then schedule
  a daily tip on Twitch every weekday at 10am

Claude Code: Done! Scheduled:
  - Twitch + LinkedIn: tomorrow 9:00 AM
  - Daily tips on Twitch: Mon-Fri 10:00 AM

Announcement Colors

Primary

primary

Blue

blue

Green

green

Orange

orange

Purple

purple

Start posting to Twitch

Install Postiz Agent and automate your Twitch chat with AI-powered announcements and messaging.