Skill instructions
create-post-media2.12 KB
View saved version →
---
name: create-post-media
description: Get pictures or videos into the iHatePosting media library so they can be attached to a post. Use when the person wants to post with a picture or video, gives a web address of one, or wants to upload a file from their computer.
---
# Pictures and videos for a post
A post attaches a file by its `path` from the media library. Look there first, upload only when it is not there.
## Look in the library
Call `mediaListTool` (newest first, 18 to a page; pass a name to filter). If the file the person means is already there, use its `path` and do not upload it again.
## From a public web address
Call `uploadFromUrlTool` with the address. It must be a public `https` address ending in `.png`, `.jpg`, `.jpeg`, `.gif`, `.webp` or `.mp4`. A file on someone's computer cannot be fetched this way. The answer holds the file's id and path.
Some files are prepared after they are uploaded. If the file's status is `processing`, wait about ten seconds and call `mediaStatusTool` with its id until it says `ready`. `ready` means the path can be used. If it says ready with a warning, preparing the file failed and the original is used; tell the person.
## From the person's computer or phone
Call `uploadWidgetTool`. Only clients that can show an interactive panel display it. If it does not appear, ask the person for a public web address instead. What the person adds is listed by `uploadWidgetStatusTool` with the `sessionId` that `uploadWidgetTool` returned; a file whose status is `processing` is still being prepared, so ask again in about ten seconds. Do not call `uploadWidgetTicketTool`: only the panel uses it.
## Using the file
Pass the file's `path` in `attachments` of the post item. Platforms differ in how many files and what kinds they accept (for example a platform may want one video or up to four pictures); `integrationSchema` says which, so read it before you attach. When a platform's rules ask for pictures inside the text, use the path as the `src` of an `<img>` tag.
This plugin does not create pictures or videos with AI. If the person asks for one, say so and offer to use a file they already have.
get-started2.04 KB
View saved version →
---
name: get-started
description: Set up and first use of iHatePosting in the conversation. Use when the person has just added the plugin, asks what it can do, asks which channels are connected, or is not sure how to start posting.
---
# Get started with iHatePosting
iHatePosting publishes to the social channels the person has already connected in their iHatePosting account. You work through the plugin's tools; you never ask for, repeat or store a password or a key.
## First steps
1. Call `integrationList` and show the person their channels: the platform and the name of each, and which are switched off. If a customer or group name was mentioned, call `groupList` first and pass the group's id to `integrationList`.
2. If the list is empty, say so plainly and offer a link to connect one: call `integrationConnectTool` with the platform, and the person opens the link in a browser and approves the access on the platform (Bluesky and Telegram are added inside iHatePosting). They can come back when at least one is connected.
3. Offer three starting points in one short line each: draft a post, schedule a post for a date, or look at what is already scheduled.
## What the plugin can do
- Draft, schedule or publish a post on one or more channels (the `schedule-posts` skill).
- List posts, change the settings of a post that has not gone out, or delete a post (the `manage-scheduled-posts` skill).
- Put a picture or video into the media library from a public web address, or from the person's own computer where the client shows an upload panel (the `create-post-media` skill).
## What it cannot do
- Connect a new channel, write pictures or videos with AI, or recall a post that is already live on a platform.
## Ground rules
- Nothing is published unless the person clearly asked to publish now. When they did not say, make a draft and say it is a draft.
- Say which channels a post will go to, and when, before you send it.
- Tool errors come back in words in the tool's answer. Read them, fix what they name, and try again; do not retry the same call unchanged.
ihateposting2.52 KB
View saved version →
---
name: ihateposting
description: Draft, check, schedule and publish social posts to Bluesky, X, LinkedIn, Facebook, Instagram, Threads, Pinterest, TikTok, YouTube, Mastodon, Telegram, Discord, Tumblr and Slack through the iHatePosting MCP tools. Use when the user asks to post, cross-post, schedule, draft, reschedule or retry a post, or to see what is going out and how it did.
---
# Posting with iHatePosting
## What the user must supply
The post text, and which connected accounts it goes to. A scheduled post also
needs a date and time. Ask for anything missing instead of choosing it.
## Start from the real accounts
Call `list_accounts` first and work only from what it returns. Never guess a
network, an account id or a handle. If the network the user named is not
connected, say so plainly and name the ones that are.
## Writing a post
1. Call `get_platform_rules` for each target network when the post is near a
limit, carries media, or uses a per-network option.
2. Call `validate_post` before creating anything. Report every problem it
finds and correct the post with the user rather than sending it anyway.
3. Call `create_post`. Use status `draft` unless the user has clearly asked to
schedule or to publish.
## Scheduling and publishing
- Confirm the time zone when the user gives a bare clock time.
- Publishing reaches real audiences and cannot be taken back. Name the
accounts that will receive the post and wait for the user to agree before
calling `create_post` with a publish action.
- Use `reschedule_post` to move a scheduled post and `retry_post` after a
failed send. Read the failure reason first and tell the user what it was.
- Decline requests to post to an account the user does not control, and
anything outside drafting, scheduling, publishing and reporting.
## Media
Upload with `upload_media` by URL. For a local file, call
`open_upload_widget` and let the user add it there. Check media against
`get_platform_rules` before attaching it: aspect ratio, duration and file size
differ by network, and a file that suits one may be refused by another.
## Looking back
`list_posts` shows what is drafted, scheduled, published or failed.
`get_analytics` returns engagement for posts already out.
## What to report
Name the account and the network for every action taken, and give the post id
`create_post` returned. When a send fails on one network and succeeds on
another, report both. Never describe a post as published unless the tool said
so, and never estimate a figure a network did not return — call it
unavailable.
manage-scheduled-posts1.89 KB
View saved version →
---
name: manage-scheduled-posts
description: Look at, change or delete posts that are already in iHatePosting. Use when the person asks what is scheduled, wants to see drafts or failed posts, change a post's platform settings, or remove a post.
---
# Review and manage existing posts
## See the posts
Call `postsListTool` with a start and an end date, both in UTC. To see what is coming up, pass now and a year ahead. Each post comes back with its id, time, state (`QUEUE` waiting, `DRAFT`, `PUBLISHED`, `ERROR`), the reason a failed post failed, its text, its current platform settings and its channel.
Show the person a short list: time, channel, state and the first words of the text. When a post failed, give the reason in plain words.
## Change a post's settings
Only a post that has not gone out (waiting or a draft) can change, and only its platform settings; its text and time stay.
1. Find the post with `postsListTool` and take its id.
2. Call `integrationSchema` for its channel to see which settings the platform has.
3. Call `postSettingsTool` with the post id and only the keys that change. They are merged into the settings it already has.
4. If the answer holds `errors`, read the words, fix the settings and call again.
To change the text or the time of a post, tell the person that this plugin cannot do it: make a new post and delete the old one only if they agree.
## Delete a post
Deleting cannot be undone. Before you call `deletePostTool`:
1. Show the person the post: its channel, time and text.
2. Ask them to confirm.
3. Only then call `deletePostTool` with the post's id.
A post made for several channels has a separate id on each channel; a repeating post is one id for all its repeats. A deleted waiting post is never published. A published post only disappears from iHatePosting and stays live on the platform; say so.
If no post matches what the person described, say that and delete nothing.
schedule-posts2.51 KB
View saved version →
---
name: schedule-posts
description: Draft, schedule or publish a social media post with iHatePosting. Use when the person wants to post, write a post for a channel, schedule something for a date and time, save a draft, or publish now.
---
# Draft, schedule or publish a post
## Steps
1. **Find the channels.** Call `integrationList` (and `groupList` first if a customer was named). Use a channel's `id` as `integrationId`. If the person named a platform and more than one channel matches, ask which one.
2. **Read the platform's rules.** Call `integrationSchema` for each channel before every scheduling. Follow its rules exactly: the longest post, what attachments are allowed, and the settings the platform needs. If it lists helper functions under `tools`, run them through `triggerTool` to get an id a setting needs (for example a board or channel id) instead of asking the person to look it up.
3. **Prepare any pictures or videos.** Use the `create-post-media` skill, then attach the file's `path`.
4. **Choose the type.**
- `draft`: saved, not published. Use this whenever the person did not clearly ask to publish.
- `schedule`: published at the given time.
- `now`: published at once. Only when the person clearly asked for it.
5. **Write the post.** `content` is HTML with every line in a `<p>` tag. The only other tags allowed are `h1`, `h2`, `h3`, `u`, `strong`, `ul` and `li`, and `u` and `strong` must not be used together. No code blocks. The first entry of `postsAndComments` is the post; every later entry is a reply or the next part of a thread.
6. **Set the date.** `date` is in UTC like `2026-12-01T09:30:00`. When the person gives a local time, convert it and say the time you used. For type `now`, pass the current time.
7. **Call `integrationSchedulePostTool`.** Pass one item per channel. Pass the settings the platform needs as `{ key, value }` pairs; send an empty list when it needs none.
8. **Report back.** On success each item answers a post id and a preview link; give the person the link and say whether it is a draft, scheduled for a time, or published. If the answer holds `errors`, nothing was saved: read the words, fix the post and call again.
## Rules
- The tool checks every item first and saves nothing unless all are fine, so a retry after an error does not make duplicates.
- Do not invent a channel id, a date or settings. If something needed is missing, ask for it in one short question.
- Never promise a result the tool did not return. If a channel is switched off or needs reconnecting in iHatePosting, say so.