doodle top mobile

Post to Twitch Chat from NanoClaw

NanoClaw can send and schedule Twitch chat messages and announcements through Postiz. Message NanoClaw from WhatsApp, Telegram, Slack, or Discord with the text, the time, and whether it should be a plain message or a highlighted announcement. It uses the Postiz skill to post into your Twitch channel chat.

Setup GuideGitHub

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

Last updated: September 2026

doodle left mobiledoodle right mobile

How do I set up NanoClaw to post to Twitch?

Setup, then just ask

# 1. Install NanoClaw (once)
git clone https://github.com/nanocoai/nanoclaw.git
cd NanoClaw && bash nanoclaw.sh

# 2. Add the Postiz skill to your NanoClaw fork
npx skills add gitroomhq/postiz-agent

# 3. Authenticate Postiz (OAuth device flow)
postiz auth:login   # or: export POSTIZ_API_KEY=...

# 4. Connect Twitch in Postiz, then message NanoClaw:
> Send a "going live" announcement
  to my Twitch chat at 8pm

NanoClaw: Done! Your Twitch post is scheduled.

Which Twitch features does NanoClaw support?

💬

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 do I post to Twitch from NanoClaw?

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

1

Find Your Twitch Integration

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

Example conversation

> Is my Twitch account connected to Postiz?

NanoClaw: 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

NanoClaw: 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

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

Twitch Settings Reference

Mention any of these in plain language and NanoClaw 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 NanoClaw for any of these common Twitch scenarios and it applies the matching settings.

Simple Chat Message

Just ask

> Post it with: Simple Chat Message

NanoClaw: Got it. Applying:
  messageType: message

Purple Announcement

Just ask

> Post it with: Purple Announcement

NanoClaw: Got it. Applying:
  messageType: announcement
  announcementColor: purple

Green Giveaway Announcement

Just ask

> Post it with: Green Giveaway Announcement

NanoClaw: Got it. Applying:
  messageType: announcement
  announcementColor: green

Blue Event Announcement

Just ask

> Post it with: Blue Event Announcement

NanoClaw: Got it. Applying:
  messageType: announcement
  announcementColor: blue

What is NanoClaw?

NanoClaw is an open-source AI assistant that runs each agent in its own Docker container and is built on Anthropic's Claude Agent SDK. It was created as a smaller, easier-to-audit alternative to OpenClaw. It connects to WhatsApp, Telegram, Slack, Discord, Microsoft Teams, iMessage, and more, and supports per-group memory and recurring jobs.

📦

Container-Based

NanoClaw runs in containers for easy deployment and isolation. Spin up your social media automation agent in seconds with Docker.

💬

Multi-Platform Chat

Connect to WhatsApp, Telegram, Slack, Discord, Microsoft Teams, and more. Message NanoClaw from wherever you already communicate.

🧠

Memory & Context

Schedule recurring tasks with cron jobs. NanoClaw can post your Twitch announcements on a schedule without you having to ask each time.

How Postiz Works with NanoClaw

When you install Postiz Agent globally, NanoClaw automatically discovers it by reading the bundled SKILL.md file. This file tells NanoClaw what commands are available, what environment variables are needed, and how to compose Twitch messages with the right settings.

  • ✓Install Postiz skill with npx skills add gitroomhq/postiz-agent
  • ✓NanoClaw reads the SKILL.md and learns all Postiz commands
  • ✓Authenticate with postiz auth:login (OAuth device flow) or a POSTIZ_API_KEY
  • ✓Skills are loaded on-demand, keeping the agent context clean
  • ✓Built on Anthropic's Claude Agent SDK, running in an isolated Docker container

Install Postiz

# In your NanoClaw fork: add the Postiz skill
npx skills add gitroomhq/postiz-agent

# Sign in to Postiz (OAuth device flow)
postiz auth:login

# Or use an API key instead
export POSTIZ_API_KEY=your_api_key

# Check the connection
postiz auth:status
postiz integrations:list

Twitch Posting with NanoClaw

Message NanoClaw from WhatsApp, Telegram, or Slack — it discovers your integrations via Postiz, composes your content, and handles the entire posting workflow from within its container.

🐳

From Any Chat App

WhatsApp, Telegram, Slack, or Discord

Send a message to NanoClaw from your favorite chat app. It runs as a background service in an isolated container, so it picks up your message, discovers your Twitch channel via Postiz, and sends the announcement — all while you go about your day.

NanoClaw

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

NanoClaw: On it! Here's my plan:
  1. Found your Twitch integration
  2. Composing your post
  3. Scheduling for tomorrow 9:00 AM

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

Scheduled & Proactive

Recurring jobs, requested in chat

NanoClaw supports recurring jobs you request in chat. Set up a recurring job that sends pre-stream announcements and chat messages automatically — no manual trigger needed.

Recurring job (ask in chat)

> @Andy every weekday at 9am, check
  ~/content/posts for new files and
  schedule each one to Twitch for
  noon. Move posted files to
  ~/content/published.

NanoClaw: Got it. I'll run this every
  weekday at 9:00 AM and schedule the
  posts through Postiz.

Why NanoClaw + Postiz for Twitch

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

  • ✓Message from WhatsApp or Telegram to post to Twitch — no terminal needed
  • ✓Container-based — easy to deploy, isolate, and scale
  • ✓Built-in memory remembers your content preferences
  • ✓Scheduled jobs for hands-free daily posting
  • ✓Cross-post to Twitch + other platforms in a single conversation
  • ✓Built on Anthropic's Claude Agent SDK, with each agent group in its own container

SKILL.md (auto-discovered)

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

Does Postiz work with other agents too?

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

C

Claude Code

by Anthropic

Claude 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 Code

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

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

Can NanoClaw post to Twitch and other platforms at once?

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

NanoClaw: 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

What can I ask NanoClaw to post on Twitch?

You can ask NanoClaw for anything Postiz supports on Twitch: a single post, a scheduled batch, or a recurring job. These are prompts you would type in WhatsApp, Telegram, Slack, or Discord. @Andy is NanoClaw's default trigger word; use whatever name you gave your agent.

Going-live announcement

Say to NanoClaw

> @Andy post a purple Twitch announcement at 7pm saying tonight's stream starts in 10 minutes

NanoClaw: Sets messageType announcement and announcementColor purple, schedules for 7:00 PM.

Recurring schedule reminder

Say to NanoClaw

> @Andy every Saturday at noon, post this week's stream schedule to my Twitch chat

NanoClaw: Creates a recurring job that posts a chat message through Postiz each Saturday.

Cross-platform go-live

Say to NanoClaw

> @Andy when I go live at 8pm, post to Twitch chat, Discord #announcements, and X at the same time

NanoClaw: Schedules three posts in one Postiz request with platform-specific settings.

What should I know before posting to Twitch from NanoClaw?

Twitch has a few rules that Postiz enforces at publish time. NanoClaw applies them when you mention them in plain language, and asks when a required value is missing.

  • ✓messageType is message by default; set it to announcement for the highlighted banner style. announcementColor only applies to announcements.
  • ✓Valid announcement colors are primary, blue, green, orange, and purple. Other color names are rejected.
  • ✓Chat messages are short by nature. Twitch enforces its own chat limits and moderation settings, so keep NanoClaw's messages concise.
  • ✓Posts go to your channel's chat, not to your stream or VOD. The Postiz connection must have chat permissions on your channel.

Frequently asked questions about NanoClaw and Twitch

How do I post to Twitch chat from NanoClaw?

Add the Postiz skill to NanoClaw with npx skills add gitroomhq/postiz-agent, authenticate with postiz auth:login, and connect Twitch in Postiz. Then message NanoClaw with the text and time, and say "announcement" if you want the highlighted style. It schedules the chat message through Postiz.

Can NanoClaw send Twitch announcements in a specific color?

Yes. Ask for an announcement and name the color: primary, blue, green, orange, or purple. NanoClaw sets messageType to announcement and announcementColor to your choice. Plain chat messages ignore the color field. Announcements stand out in chat, so use them for go-live notices and schedule changes.

Can NanoClaw post to Twitch chat when I am not live?

Yes. Chat stays open when you are offline, so scheduled messages still post. That makes it useful for schedule reminders or links to your other channels between streams. Just remember fewer people read offline chat, so pair it with a Discord or X post for reach.

Can NanoClaw automate weekly Twitch chat reminders?

Yes. Ask NanoClaw for a recurring job in chat, for example "every Saturday at noon post the week's stream schedule". It runs on that schedule inside its container and sends the message through Postiz. Combine it with Discord and X posts in the same request to announce everywhere at once.

Does NanoClaw need my Twitch login or a chat bot token?

No. Twitch is connected to Postiz with OAuth once in the dashboard, and Postiz posts to chat using that connection. NanoClaw authenticates to Postiz only, with postiz auth:login or a POSTIZ_API_KEY. You do not create a Twitch bot or handle tokens on the NanoClaw side.

Start posting to Twitch

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