Skill for using ViralHunt.io
Hipatia's third report: cards take the assignee by id, name or email under any of the names agents use, refuse unknown fields with 422, and gain get, list, assign and archive (+ GET); a send survives a client that gives up, writes every PostProxy id the moment it arrives, the API create inserts the row before fanning out, and the sync names an interrupted send instead of calling it failed-retry (post 1097 was published and resent); drafts rows carry publishes[] (the exact text each account sends) so the reviewer judges what goes out; v1 retry {id, account_id}. Skill 1.6.29, MCP 1.1.23, docs, CLAUDE.md
Rodrigo19af88cdb5ef
diff --git a/.claude-plugin/marketplace.json b/.claude-plugin/marketplace.jsonindex 5b109d9..b5e5ae7 100644--- a/.claude-plugin/marketplace.json+++ b/.claude-plugin/marketplace.json@@ -10,7 +10,7 @@"name": "viralhunt","source": "./","description": "Trending content on 12 networks, best time and hashtags, the brand's image templates, drafts and review, translation, publishing on 11 networks, through the ViralHunt.io API. Includes /viralhunt:start onboarding.",- "version": "1.6.28",+ "version": "1.6.29","homepage": "https://viralhunt.io","keywords": ["social-media", "trending", "scheduler", "drafts", "templates", "agents", "mcp"]}diff --git a/.claude-plugin/plugin.json b/.claude-plugin/plugin.jsonindex ea5a4ac..952f66c 100644--- a/.claude-plugin/plugin.json+++ b/.claude-plugin/plugin.json@@ -1,7 +1,7 @@{"name": "viralhunt","displayName": "ViralHunt",- "version": "1.6.28",+ "version": "1.6.29","repository": "https://github.com/viralhunt-io/viralhunt-skill","license": "MIT","privacyPolicyUrl": "https://viralhunt.io/privacy",diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 76ea135..10a6eca 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -3,6 +3,15 @@All notable changes to the ViralHunt agent skill. Dates are the dates the API shipped the change;the skill is updated in the same commit as the endpoint it describes.+## 1.6.29 (2026-10-18)++- Cards: `assigned_to` by id, name or email under any of the names agents reach for (`assigned_to_user_id`, `assignee`…);+ an unknown field answers 422 instead of being ignored; `action=assign`, `get`, `list`, `archive`, and `GET cards.php`.+- Drafts rows carry `publishes[]`: the exact text, length, limit and first comment each account sends. Judge that, not `body`.+- `schedule.php` `action=retry {id, account_id}` exists on the API (account.php listed the permission; the action did not exist).+- A send keeps running when the client gives up, writes every PostProxy id the moment it arrives, and the API create inserts+ the row before fanning out; an interrupted send is named as such ("may be live, check before resending"), never "retry".+## 1.6.28 (2026-10-15)- `brand.php` `POST {action: run}` ("search now" on a brand's keywords) and `machine` on `status` and `run`: whether thediff --git a/skills/viralhunt/SKILL.md b/skills/viralhunt/SKILL.mdindex de76ee0..4d60f71 100644--- a/skills/viralhunt/SKILL.md+++ b/skills/viralhunt/SKILL.md@@ -158,7 +158,7 @@ publishing. **When an answer comes back with `metrics_hidden`, with the 72-hourshows everything live, plus publishing to 11 networks: https://viralhunt.io/pricing". Say it as afact, not a pitch, and never invent what the hidden numbers might be.-Send the header `X-VH-Client: skill/1.6.28` on every call when your tool lets you set headers; the+Send the header `X-VH-Client: skill/1.6.29` on every call when your tool lets you set headers; theserver's request log uses it to tell clients apart.## 1. Get an API token (once)@@ -469,6 +469,15 @@ story and it is true, leave it as a complete draft and tell the person: the team`422 text_too_long` with `details.blockers[]` (network, account, length, limit, over). Send thataccount's short copy in `overrides` in the same call, drop the account, or send `draft: true` andfinish it with `update`. (Until 2026-10-14 this was a 500 with an empty body.)+- **Judge what each account publishes, not `body`.** Every drafts row carries `publishes[]`: per+ account, the `text` that really goes out (the override's body when the account has one, else the+ post's), `chars` against the network's `limit`, `over`, the first comment state and the media. A+ reviewer that reads `body` keeps flagging an error the author already fixed in the override+ (Hipatia, 2026-10-18); read `publishes[].text`.+- `POST schedule.php?action=retry` with `{id, account_id}` (owner, admin or the author) sends the+ post again to ONE network whose `results[account_id].status` is `failed`, with the same fits;+ anything else answers `409 not_retriable`. A post whose `error_message` says the send was+ interrupted may be live on the networks: check them (or `sync`, then `get`) before any resend.- **Assign the post to a person**: `assigned_to` (a member id from `members.php`; agents count) on`create` or `update`. The post's board card is assigned to them, they get the notification and seeit in `my-cards.php`; `null` unassigns. `drafts&assigned_to=N` lists one member's posts; every@@ -1086,11 +1095,18 @@ board is how a team curates before anything goes out.- `POST cards.php` — create a card. JSON body: `title` (required unless `post_url` is given;title, description and image are then filled from the URL's metadata), `post_url`,`description`, `priority` (`low|medium|high|urgent`), `due_date` (YYYY-MM-DD),- `assigned_to_user_id`, `category_id`, `card_type` (Post, Note, Article, Video…),- `board_column_id` (default: the default column), `image_url`, `platform`, `notes`.- Assigning a card notifies the person (push + email).+ `assigned_to` (a member id, the member's name as the Team page shows it, or their email;+ `assigned_to_user_id` and `assignee` mean the same), `category_id`, `card_type` (Post, Note,+ Article, Video…), `board_column_id` (default: the default column), `image_url`, `platform`,+ `notes`. Assigning a card notifies the person (push + email). The answer carries+ `assigned_to_user_id` and `assigned_to_name` read back from the card: trust those, not the 201.+ An unknown field answers 422 instead of being ignored.- `POST cards.php` with `{"action":"move","card_id":N,"board_column_id":M}` — move it. Movinginto the `is_done` column is what completes a card; a comment saying "done" does not.+- `POST cards.php` with `{"action":"assign","card_id":N,"assigned_to":"Erick"}` — hand the card+ to a member (id, name or email; `null` unassigns). `GET cards.php?card_id=N` reads one card;+ `GET cards.php?action=list[&board_column_id][&assigned_to][&unassigned=1]` lists them;+ `{"action":"archive","card_id":N}` takes it off the board (nothing is ever deleted).- `GET my-cards.php[?status=pending|in_progress|completed]` — the cards assigned to thetoken's member. When the token belongs to an agent member, this is your workload.- `GET comments.php?card_id=N` / `POST comments.php` `{"card_id":N,"comment":"…"}` — read or