doodle top mobile

Post to Discord from Hermes Agent

Hermes Agent can send and schedule Discord channel messages through Postiz. Once the Postiz skill is installed, you tell Hermes what to announce and which channel to use from Telegram, Slack, WhatsApp, or the CLI. It picks the channel ID, attaches uploaded media, and schedules the message through the Postiz Discord bot.

Setup GuideGitHub

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

Last updated: September 2026

doodle left mobiledoodle right mobile

Post to Discord 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 Hermes Agent:
> Send the release notes to the
  #announcements Discord channel at 10am

Hermes Agent: Done! Your Discord post is scheduled.

Discord-Specific Features

📢

Channel Messaging

Send messages directly to any Discord channel. Target announcements, general chat, or dedicated content channels.

📎

Media Attachments

Attach images, videos, and files to your Discord messages. Share rich content with your community automatically.

⏰

Scheduled Messages

Schedule Discord messages for specific times. Perfect for announcements, event reminders, and timed content drops.

🤖

Bot Integration

Works through your Discord bot connection. Post messages as your bot to any server and channel it has access to.

💬

Community Updates

Automate recurring community updates, changelogs, and newsletters. Keep your Discord server engaged on autopilot.

📅

Multi-Channel

Post to different channels with different messages. Customize content for each channel in your Discord server.

How to post to Discord from Hermes Agent

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

1

Find Your Discord Integration

Ask Hermes Agent whether your Discord account is connected. It also checks which options the platform supports.

Example conversation

> Is my Discord account connected to Postiz?

Hermes Agent: Yes — your Discord account is connected
  and ready. Want me to post something?
2

Get Your Channel ID

Find the Discord channel ID where you want to post. In Discord, enable Developer Mode, then right-click the channel and copy its ID.

Example conversation

> Draft a Discord post about our new
  feature launch

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

Create Your Message

Schedule a Discord message with your content, optional media attachments, and the target channel ID.

Example conversation

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

Hermes Agent: Done! Scheduled on Discord for
  tomorrow at 9:00 AM.

Discord Settings Reference

Mention any of these in plain language and Hermes Agent sets them for you. These are the options every Discord message can carry.

FieldTypeDescription
__typestringMust be "discord"
channelstringDiscord channel ID to post to

Common Configurations

Ask Hermes Agent for any of these common Discord messaging scenarios and it applies the matching settings.

Announcement Channel Message

Just ask

> Post it with: Announcement Channel Message

Hermes Agent: Got it. Applying:
  channel: 123456789012345678

Message with Media Attachment

Example

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

Hermes Agent: Done! Scheduled:
  - Discord + LinkedIn: tomorrow 9:00 AM
  - Daily tips on Discord: Mon-Fri 10:00 AM

Scheduled Weekly Update

Example

> What's scheduled on Discord this week?

Hermes Agent: 6 posts on Discord: the announcement tomorrow
  at 9:00 AM and daily tips Mon-Fri at 10:00 AM.
  Want me to move or cancel any of them?

Multi-Channel Posting

Example

> What's scheduled on Discord this week?

Hermes Agent: 6 posts on Discord: the announcement tomorrow
  at 9:00 AM and daily tips Mon-Fri at 10:00 AM.
  Want me to move or cancel any of them?

What is Hermes Agent?

Hermes Agent is an open-source AI agent from Nous Research, released under the MIT license. It runs on your own machine or server, you talk to it from Telegram, Discord, Slack, WhatsApp, Signal, or the CLI, and it executes tools such as the Postiz skill to post to Discord and other channels. It works with Nous Portal, OpenRouter, OpenAI, or your own model endpoint.

💬

Message From Anywhere

Talk to Hermes from Telegram, Discord, Slack, WhatsApp, Signal, email, or the terminal. Ask for a Discord post from whichever app you already have open.

⏰

Built-in Cron Scheduler

Create recurring jobs in plain language, such as weekdays at 9am. Hermes drafts and schedules Discord content through Postiz and reports back to your chat.

🔧

Open Source, Any Model

Hermes Agent is MIT licensed and self-hosted. Run it on Nous Portal, OpenRouter, OpenAI, or your own endpoint, and extend it with MCP servers or skills like Postiz.

How Postiz Works with Hermes Agent

Postiz ships as an agent skill in the agentskills.io SKILL.md format that Hermes Agent reads. The skill documents every Postiz CLI command, the credentials it needs, and the Discord settings, so Hermes knows how to list your channels, upload media, and create posts without any custom code.

  • ✓Install the Postiz CLI (npm install -g postiz) and add the skill with npx skills add gitroomhq/postiz-agent
  • ✓Hermes loads skills from ~/.hermes/skills and shows them with hermes skills list
  • ✓Authenticate with POSTIZ_API_KEY, or run postiz auth:login for an OAuth device flow
  • ✓Every Postiz command returns JSON, so Hermes can chain discovery, upload, and posting
  • ✓Prefer MCP? Add https://mcp.postiz.com/mcp-oauth-dynamic under mcp_servers in ~/.hermes/config.yaml

Install Postiz

# Install the Postiz CLI and skill
npm install -g postiz
npx skills add gitroomhq/postiz-agent

# Authenticate: API key or OAuth device flow
export POSTIZ_API_KEY=your_api_key
# or: postiz auth:login

# Confirm Hermes can see the skill
hermes skills list

Discord Messaging with Hermes Agent

Message Hermes Agent from any platform — it reads the Postiz skill, discovers your Discord integration, and handles the entire messaging workflow autonomously.

🧠

From Any Chat App

Telegram, Discord, Slack, WhatsApp, Signal

Send a message to Hermes Agent from your favorite chat app. Its gateway runs in the background, so it picks up your message, discovers your Discord bot via Postiz, and sends the message to the right channel — all while you go about your day.

Hermes Agent

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

Hermes: I'll handle that! Let me:
  1. Find your Discord integration
  2. Compose your post content
  3. Schedule for tomorrow 9:00 AM

  Done! Post scheduled successfully.
  Post ID: abc-123
🧠

Scheduled & Proactive

Built-in Hermes cron jobs

Hermes Agent has a built-in cron scheduler. Create a recurring job in plain language and Hermes drafts and schedules your Discord content through Postiz on that schedule, then reports back to whichever chat you use.

Hermes cron job

# From the terminal
hermes cron create "weekdays at 9am" \
  "Check ~/content/discord for new posts.
   Upload any media with postiz upload,
   then schedule each one to Discord
   for noon today via Postiz. Move posted
   files to ~/content/published."

# Or from any chat with Hermes
/cron add "weekdays at 9am" "Schedule
  today's Discord post via Postiz"

Why Hermes Agent + Postiz for Discord

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

  • ✓Hermes Agent is MIT licensed and Postiz has a public API, so nothing is locked in
  • ✓Chat-first: ask for a Discord post from Telegram, Discord, Slack, WhatsApp, or Signal
  • ✓Cron jobs in plain language for hands-free recurring Discord posts
  • ✓Cross-post to Discord and other channels in one request, each with its own settings
  • ✓Model-agnostic: run Hermes on Nous Portal, OpenRouter, OpenAI, or your own endpoint
  • ✓Credentials stay in Postiz; Hermes only holds a Postiz API key or OAuth session

SKILL.md (what Hermes reads)

---
name: postiz
description: Postiz is a tool to schedule
  social media and chat posts to 28+
  channels including Discord
homepage: https://docs.postiz.com/public-api/introduction
---

# Commands Hermes can run
postiz auth:status
postiz integrations:list
postiz integrations:settings <id>
postiz upload <file>
postiz posts:create -i <id> -c "..." -s <iso>
postiz posts:list
postiz analytics:platform <id>

# Discord settings
channel

Using a different agent for Discord?

Postiz works with any AI agent that can run CLI commands or call MCP tools, and the Discord settings on this page are the same for every agent. Read the same guide for Claude Code, OpenClaw, Codex. Or see the guide for any AI agent and the Postiz MCP server.

Discord + Other Platforms

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

Example

> What's scheduled on Discord this week?

Hermes Agent: 6 posts on Discord: the announcement tomorrow
  at 9:00 AM and daily tips Mon-Fri at 10:00 AM.
  Want me to move or cancel any of them?

What can you ask Hermes Agent to do on Discord?

You can ask Hermes Agent to create, schedule, cancel, and measure Discord posts in plain language. These are the kinds of requests it handles through Postiz.

Ask Hermes Agent

> Send the release notes to the #announcements channel on Discord at 10am tomorrow.

Hermes resolves the channel ID, formats the notes, and schedules the message via Postiz.

Ask Hermes Agent

> Post screenshot.png with a short caption to #general on Discord now.

Hermes uploads the image with postiz upload and sends the message with the attachment.

Ask Hermes Agent

> Every Friday at 4pm, post a summary of this week's merged PRs to #dev on Discord.

Hermes creates a cron job that gathers the summary and schedules the message through Postiz.

Discord rules Hermes Agent has to follow

Postiz validates every Discord post before it is scheduled, so these limits and required settings decide whether a request succeeds.

  • ▸The Postiz Discord bot must be invited to your server and have permission to post in the target channel.
  • ▸channel is a Discord channel ID, not a #name. Hermes resolves the ID from the channels Postiz can see.
  • ▸Discord messages are limited to 2,000 characters. Ask Hermes to split long announcements.
  • ▸Attachments must be uploaded through postiz upload before they can be sent.

Hermes Agent and Discord: frequently asked questions

Can Hermes Agent post to Discord?

Yes. With the Postiz skill installed, Hermes Agent sends and schedules messages to any Discord channel the Postiz bot has access to. It can include images or files it uploads through Postiz and target several channels in one request. You ask in plain language and Hermes runs the Postiz CLI commands.

How do I connect Discord to Hermes Agent?

Add the Postiz Discord bot to your server from the Postiz dashboard and pick the channels it may post in. Then install the Postiz skill in Hermes with npx skills add gitroomhq/postiz-agent and set POSTIZ_API_KEY. Hermes lists the Discord channel with postiz integrations:list and never needs a Discord token.

Is this the same as talking to Hermes Agent on Discord?

No. Hermes Agent's messaging gateway lets you chat with Hermes from Discord, Telegram, Slack, WhatsApp, or Signal. Posting to Discord through Postiz is a separate action where Hermes publishes a scheduled message to a channel. You can do both: message Hermes on Discord and ask it to post to another server.

How does Hermes Agent choose the Discord channel?

The channel setting takes a Discord channel ID. Hermes fetches the channels available to the Postiz bot through postiz integrations:trigger, matches the name you mentioned, and passes the ID. If several channels share a name across servers, Hermes should confirm which server you mean.

Can Hermes Agent post to Discord on a recurring schedule?

Yes. Hermes Agent has a built-in cron scheduler. Run hermes cron create "every friday 4pm" with a prompt such as "summarize this week's changelog and post it to #announcements via Postiz". Hermes runs it unattended and sends you a confirmation in whichever chat you use.

Start posting to Discord

Install Postiz Agent and automate your Discord community messaging with AI-powered scheduling and publishing.