How to Install the Postiz Skill in Hermes Agent
- Install Hermes Agent, then the Postiz CLI
- Add the skill: npx skills add gitroomhq/postiz-agent
- Authenticate with a Postiz API key or OAuth login
Postiz is the agentic social media scheduling platform that Hermes Agent drives through the Postiz skill and CLI. Please make sure there is always a human in the loop. Last updated: September 2026.
What do I need before installing?
You need three things: a machine or server for Hermes Agent (Linux, macOS, WSL2, or Windows), Node.js with npm for the Postiz CLI, and a Postiz account with at least one social channel connected. If you only want the commands, they are here; each step is explained below.
Run this in your terminal
Four commands install Hermes Agent, the Postiz CLI and the skill, then sign you in. Everything runs on your own machine or server.
# 1. Install Hermes Agent and run setup
curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash
hermes setup
# 2. Install the Postiz CLI
npm install -g postiz
# 3. Add the Postiz skill
npx skills add gitroomhq/postiz-agent
# 4. Authenticate (API key or OAuth device flow)
export POSTIZ_API_KEY=your_api_key # or: postiz auth:login
postiz auth:status
hermes skills list # postiz should be listedPrefer no CLI? Add the Postiz MCP server to ~/.hermes/config.yaml instead; the config is further down this page.
Ask Hermes to post for you
Once the skill is loaded, Hermes runs the postiz CLI for you. Posts publish at the scheduled time even after the session ends.
Draft a LinkedIn post about our launch as a Postiz draft for tomorrow at 9am.
Ran postiz posts:create -s 2026-09-25T09:00:00Z --draft on your LinkedIn channel. Draft created. Review it in Postiz and I can move it to the queue.
via Postiz
Also try
- 1Install Hermes Agent with the install script, then run hermes setup
- 2Install the Postiz CLI globally with npm install -g postiz
- 3Add the skill with npx skills add gitroomhq/postiz-agent
- 4Export POSTIZ_API_KEY or run postiz auth:login, then postiz auth:status
- 5Run hermes skills list and ask Hermes to list your Postiz channels
How do I install the Postiz skill in Hermes Agent, step by step?
Follow the five steps in order. Each one is a single command, and the whole setup usually takes a few minutes.
- 1
Install Hermes Agent and run setup
Hermes Agent is an open-source (MIT) AI agent by Nous Research that runs on your own machine or server. The install script works on Linux, macOS, WSL2, and Termux; Windows uses a PowerShell installer. hermes setup then walks you through the model provider (Nous Portal, OpenRouter, OpenAI, or your own endpoint) and can migrate an existing OpenClaw install.Step 1# Linux, macOS, WSL2 curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash # Windows (PowerShell) iex (irm https://hermes-agent.nousresearch.com/install.ps1) # Full setup wizard hermes setup - 2
Install the Postiz CLI
The Postiz skill is a set of instructions for the postiz command-line tool, so the binary has to exist on the same machine Hermes runs on. Install it globally with npm or pnpm. Every command it exposes returns JSON, which is what makes it easy for an agent to chain calls.Step 2npm install -g postiz # or pnpm install -g postiz postiz --help - 3
Add the Postiz skill
The skill is published as a SKILL.md in the agentskills.io format that Hermes Agent reads. Install it with the skills CLI. Hermes loads skills from ~/.hermes/skills, so if the skill does not show up in hermes skills list, copy the postiz folder there. The skill source is on GitHub.
Step 3npx skills add gitroomhq/postiz-agent # Confirm Hermes sees it hermes skills list # Skills live here ls ~/.hermes/skills - 4
Authenticate with Postiz
Create an API key under Settings in your Postiz dashboard and export it as POSTIZ_API_KEY where the Hermes process can read it, or run postiz auth:login for an OAuth device flow that stores credentials locally with no key to copy. Your social account logins stay inside Postiz; Hermes only ever holds this Postiz credential.Step 4# Option A: API key export POSTIZ_API_KEY=your_api_key # Option B: OAuth device flow postiz auth:login # Self-hosted Postiz? Also set: export POSTIZ_API_URL=https://your-postiz.example.com/api postiz auth:status - 5
Verify with a first request
Ask Hermes to list your connected channels. If it returns your accounts, the skill, the CLI, and the credentials are all working. Then try scheduling a draft so you can review it in Postiz before anything goes live. To talk to Hermes from Telegram, Discord, Slack, WhatsApp, or Signal, run hermes gateway setup and hermes gateway start.Step 5> List my connected Postiz channels Hermes Agent: You have 3 channels connected: X, LinkedIn, and Reddit. > Draft a LinkedIn post about our launch as a Postiz draft for tomorrow at 9am Hermes Agent: Draft created. Review it in Postiz and I can move it to the queue.
Can I connect Hermes Agent to Postiz over MCP instead?
Yes. Hermes Agent supports remote MCP servers, so you can skip the CLI and add the Postiz MCP server to ~/.hermes/config.yaml. Hermes opens a browser for the OAuth login once and exposes the tools as mcp_postiz_<tool>. No API key is stored, and the server includes the full Postiz toolset.
mcp_servers:
postiz:
url: "https://mcp.postiz.com/mcp-oauth-dynamic"
auth: oauthThe Hermes Agent overview has a side-by-side comparison of the skill and the MCP server.
Why is the Postiz skill not working in Hermes Agent?
Almost every failure comes down to one of seven causes. Postiz returns a JSON error that Hermes can read, so asking it "what went wrong?" usually points at the row below.
| Symptom | Fix |
|---|---|
| hermes skills list does not show postiz | Hermes loads skills from ~/.hermes/skills. Check that a postiz folder with SKILL.md exists there; if the installer put it elsewhere, copy the folder into ~/.hermes/skills and restart Hermes. |
| Commands fail with an authentication error | Run postiz auth:status in the same environment Hermes uses. Either export POSTIZ_API_KEY (from Postiz settings) where the Hermes process can read it, or run postiz auth:login to complete the OAuth device flow. |
| Hermes says no integrations were found | Connect your social accounts in the Postiz dashboard first. Hermes only sees channels that already exist in Postiz; run postiz integrations:list to confirm they appear. |
| The post is rejected because of the media | Every file must go through postiz upload first, and the returned path is what posts:create accepts. Raw file paths and external URLs are rejected, especially by TikTok, Instagram, and YouTube. |
| The post is scheduled at the wrong time | Postiz schedules use ISO 8601 timestamps in UTC. Tell Hermes your timezone, or say the time as UTC, so it converts correctly when it calls posts:create -s. |
| A platform rejects the post over a missing setting | Ask Hermes to run postiz integrations:settings <id> for that channel. It returns the required fields, such as a Reddit flair or a YouTube title, so Hermes can fill them in and retry. |
| You self-host Postiz and the CLI talks to the cloud | Set POSTIZ_API_URL to your own Postiz server's API URL alongside POSTIZ_API_KEY. The CLI and the skill respect it, so Hermes posts through your instance. |
Installing Postiz in Hermes Agent: frequently asked questions
Does npx skills add work with Hermes Agent?
Where does Hermes Agent store skills?
Do I need a Postiz API key if I use OAuth?
Can I use the Postiz MCP server with Hermes Agent instead of the skill?
Can Hermes Agent use a self-hosted Postiz instance?
How do I update or remove the Postiz skill in Hermes Agent?
How do I talk to Hermes Agent from Telegram or Discord after installing?
What should I read next?
Ready to install?
Create your Postiz account, connect your channels, and Hermes Agent can start posting in minutes.
