Post to Twitch Chat from Claude Code
Claude Code can send and schedule Twitch chat messages through Postiz. Add the Postiz MCP server with one command, sign in with OAuth, connect your Twitch channel in Postiz, and ask Claude Code to post a plain chat message or a highlighted announcement in a chosen color, for example a stream reminder right before you go live.
Please make sure there is always a human in the loop.
Last updated: September 2026
How to post to Twitch from Claude Code
Add the Postiz MCP server to Claude Code once, sign in with OAuth, connect Twitch in Postiz, and then describe the post in plain language. Setup takes about a minute.
Setup once, then just ask
# One-time setup: add the Postiz MCP server (OAuth, no API key)
claude mcp add --transport http postiz https://mcp.postiz.com/mcp-oauth-dynamic
# Or install the Postiz skill instead
npx skills add gitroomhq/postiz-agent
export POSTIZ_API_KEY=your_api_key
# Then ask Claude Code:
> Post an announcement in my Twitch chat:
"Live coding session starts in 10 minutes"
in purple, today at 5:50pm
Claude Code: Done! Twitch announcement
scheduled (announcementColor: purple) for
5:50 PM today.What can Claude Code do on Twitch?
On Twitch, Claude Code can post regular chat messages or announcements, and pick the announcement color from primary, blue, green, orange, or purple.
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 does Claude Code post to Twitch through Postiz?
You describe what you want in plain language and Claude Code handles the Postiz calls for you. Here is how a typical conversation goes.
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?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?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.
| Field | Type | Description |
|---|---|---|
__type | string | Must be "twitch" |
messageType | string | "message" or "announcement" (default: message) |
announcementColor | string | "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: messagePurple Announcement
Just ask
> Post it with: Purple Announcement
Claude Code: Got it. Applying:
messageType: announcement
announcementColor: purpleGreen Giveaway Announcement
Just ask
> Post it with: Green Giveaway Announcement
Claude Code: Got it. Applying:
messageType: announcement
announcementColor: greenBlue Event Announcement
Just ask
> Post it with: Blue Event Announcement
Claude Code: Got it. Applying:
messageType: announcement
announcementColor: blueExample prompts for Twitch in Claude Code
These are prompts you can type into a Claude Code session, or pass to claude -p in a script. Claude Code reads your repo, calls Postiz, and confirms before publishing.
Go-live announcement
Claude Code
> Send a green announcement to my Twitch chat
saying we're live and building the new
dashboard tonight
Claude Code: messageType: announcement,
announcementColor: green. Sent.Plain chat message
Claude Code
> Post "Repo for tonight's stream:
github.com/gitroomhq/postiz-app" in my
Twitch chat
Claude Code: Sent as a regular chat message
(messageType: message).Stream schedule, headless
Claude Code
$ claude -p "Announce in my Twitch chat via
Postiz that the stream starts at 8pm, orange
announcement."
# Schedule this with cron on stream daysTwitch limits and gotchas to know
Twitch messaging through Postiz is chat based, so a few limits apply.
- ✓messageType defaults to message; ask for an announcement when you want the highlighted style.
- ✓announcementColor only applies to announcements and must be primary, blue, green, orange, or purple.
- ✓Twitch chat messages are limited to 500 characters, so keep reminders short.
- ✓The Postiz connection must have permission to post in your channel's chat.
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.
Not the same as Claude Cowork (Anthropic's desktop agent for knowledge workers) or the Postiz connector for Claude.ai (chat in the browser or desktop app). Claude Code runs in your terminal and IDE and can read your repository while it writes Twitch posts.
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 discovers the Postiz tools over MCP, or reads SKILL.md when you use the skill
- ✓MCP route: sign in with OAuth, no API key. Skill route: set POSTIZ_API_KEY
- ✓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-123Parallel 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 simultaneouslyWhy 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, announcementColorAlso Works with Claude Cowork
Postiz works with any AI agent that can run commands or call MCP tools. That includes Claude Cowork, Anthropic's desktop agent, and the Claude.ai connector. See the agents overview for every supported agent.
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.Post to Twitch and other platforms from Claude Code
One request can schedule the same content to Twitch and other channels, and each platform keeps its own settings. Every platform below has its own Claude Code guide.
Example
> Post "Excited to announce our new feature!" to
Twitch and Discord tomorrow at 9am, then schedule
a daily tip on Twitch every weekday at 10am
Claude Code: Done! Scheduled:
- Twitch + Discord: tomorrow 9:00 AM
- Daily tips on Twitch: Mon-Fri 10:00 AMSee all 25 platforms in the Claude Code social media guide, compare agents on the AI agents overview, read about the Postiz MCP server, or check pricing. For the channel itself, seeTwitch scheduling features in Postiz.
Announcement Colors
Primary
primaryBlue
blueGreen
greenOrange
orangePurple
purpleTwitch and Claude Code: frequently asked questions
How do I post to Twitch chat from Claude Code?
Add the Postiz MCP server to Claude Code, sign in to Postiz with OAuth, and connect your Twitch channel in Postiz. Then ask Claude Code to send a chat message or announcement. It sets messageType and, for announcements, announcementColor, then sends or schedules the message through Postiz.
What is the difference between a Twitch message and an announcement in Postiz?
A message is a normal line in chat. An announcement is Twitch's highlighted chat post with a colored bar, useful for go-live notes and reminders. Ask Claude Code for an announcement and name a color: primary, blue, green, orange, or purple. Without a color request, Twitch uses primary.
Can Claude Code schedule Twitch chat reminders before I go live?
Yes. Give Claude Code the time and the text and it schedules the message through Postiz, for example a purple announcement ten minutes before the stream. For a regular streaming schedule, run claude -p from cron so the reminder posts automatically on stream days.
Is there a character limit for Twitch messages sent through Postiz?
Twitch limits chat messages to 500 characters, and that applies to announcements too. Claude Code keeps drafts under the limit when it knows the target is Twitch. For longer content, ask it to post a short line with a link and publish the full version somewhere like YouTube or Discord.
Start posting to Twitch
Install Postiz Agent and automate your Twitch chat with AI-powered announcements and messaging.