Hermes Agent + Mastodon
Post to Mastodon from Hermes Agent
Through iHatePosting, Hermes Agent can publish posts with pictures or video to your Mastodon account. Install the iHatePosting skill for Hermes Agent and sign in once, then ask it for the post you want.
Setup takes about a minute. A post can hold up to 500 characters.
Posting to Mastodon from Hermes Agent
Add iHatePosting to Hermes Agent once, connect Mastodon, and then describe the post. Setup takes about a minute.
Add iHatePosting to Hermes Agent once
Install the iHatePosting skill for Hermes Agent and sign in once. Then connect Mastodon in iHatePosting if you have not already.
npx skills add iHatePostingOrg/iHatePosting-Agent
npm install -g ihateposting
ihateposting auth:loginAsk for the Mastodon post
Describe the post in plain language. Hermes Agent writes it, applies the settings and schedules it.
> Post a short note about the new release on Mastodon tomorrow at 9:00.
Hermes Agent: Done. Scheduled on Mastodon.What Hermes Agent can do on Mastodon
On Mastodon, Hermes Agent can publish posts with pictures or video to your Mastodon account.
Posts
Publish text posts to your account on mastodon.social, the server iHatePosting connects to.
Threads
Ask for a thread and the text is split into connected posts.
Media
Attach pictures or video from your media library.
Scheduling
Choose a date and time for the post.
How Hermes Agent gets a post onto Mastodon
You say what you want and Hermes Agent makes the calls. A typical conversation goes like this.
Find your Mastodon channel
Which Mastodon accounts do I have in iHatePosting?
What happens
- Hermes Agent lists your channels and finds Mastodon
- It also reads the channel's rules and settings
Compose your content
Split this article summary into a Mastodon thread and schedule it for Friday at 11:00.
What happens
- Hermes Agent drafts the text for Mastodon
- It uploads any media you mention
Schedule and publish
Yes, schedule it for tomorrow at 9:00.
What happens
- Hermes Agent schedules the post in iHatePosting
- iHatePosting publishes it to Mastodon at that time
Mastodon settings reference
Mastodon needs nothing beyond the text, the media and the time.
| Field | Type | Required | Description |
|---|---|---|---|
| (none) | - | No | No extra settings: Hermes Agent sends the text, the media and the time |
What is Hermes Agent?
Hermes Agent is Nous Research's open-source terminal agent. It reads MCP servers from one YAML file and can also use skills.
What it writes stays a draft unless you ask for the post to go out now or at a set time.
How iHatePosting works with Hermes Agent
Installed as a skill, iHatePosting gives Hermes Agent a SKILL.md that teaches it the commands and how to shape a post for each platform, and the ihateposting command line does the work.
- iHatePosting skill (command line): npx skills add
iHatePostingOrg/iHatePosting-Agent - iHatePosting MCP server (sign in): Entry in
~/.hermes/config.yamlwith auth: oauth - iHatePosting MCP server (API key): Entry in
~/.hermes/config.yamlwith an Authorization header
# iHatePosting skill (command line)
npx skills add iHatePostingOrg/iHatePosting-Agent
npm install -g ihateposting
ihateposting auth:loginMastodon and the other platforms Hermes Agent reaches
Ask for Mastodon and other channels in a single message; every channel still applies its own settings.
Mastodon requests to try in Hermes Agent
A post
Post a short note about the new release on Mastodon tomorrow at 9:00.
A thread
Split this article summary into a Mastodon thread and schedule it for Friday at 11:00.
A picture
Post diagram.png on Mastodon with a one-sentence explanation.
Mastodon limits and gotchas to know
A few of Mastodon's rules shape how Hermes Agent writes your request, so it helps to know them.
- A post can hold up to 500 characters.
- The channel has no extra settings to choose.
Frequently asked questions
Start free for 30 daysInstall the iHatePosting skill for Hermes Agent and sign in once, connect Mastodon in iHatePosting, then ask Hermes Agent for the post in plain language. It schedules the post and iHatePosting publishes it at the time you set.
A post can hold up to 500 characters.
Mastodon has no extra settings to choose, so Hermes Agent only needs the text, the media and the time.
No. The command line signs in with ihateposting auth:login in your browser; IHATEPOSTING_API_KEY is only the alternative. The route that takes a key uses one from Settings → Agents / Dev in iHatePosting.
Yes. Name a day and a time and iHatePosting publishes the post then, whether or not Hermes Agent is still open. An agent that keeps running can also repeat a job on a routine you give it.