Skill for using ViralHunt.io
A post the API answers carries its real links and its project: create, drafts rows and get return url (/schedule/?post=N, opens the detail from any project), drafts_url (the Drafts page on that project), project_id and project_name; the old review_url pointed at /schedule/?view=drafts&highlight=N, a route that never existed, which is why the links Hipatia handed over were dead and drafts 1163 and 1164 could not be found. trending.php answers 422 unknown_sort with the valid sorts of the source instead of falling silently to the default (the agent concluded sort was ignored). The sync's reconcile reads 100 PostProxy posts a page, keeps the profile's (the list ignores profiles=) and pages until before the attempt; cron/postproxy-posts.php --pages=N. Skill 1.6.31, docs, changelog
Rodrigo14c2ccf8f512
diff --git a/.claude-plugin/marketplace.json b/.claude-plugin/marketplace.jsonindex ecd17fd..9e7eb76 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.30",+ "version": "1.6.31","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 1893a52..40a6d1f 100644--- a/.claude-plugin/plugin.json+++ b/.claude-plugin/plugin.json@@ -1,7 +1,7 @@{"name": "viralhunt","displayName": "ViralHunt",- "version": "1.6.30",+ "version": "1.6.31","repository": "https://github.com/viralhunt-io/viralhunt-skill","license": "MIT","privacyPolicyUrl": "https://viralhunt.io/privacy",diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 317ef78..1044d94 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -3,6 +3,13 @@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.31 (2026-10-19)++- `create`, `drafts` rows and `get` carry `url` (the post's detail, `/schedule/?post=N`, opens from any project),+ `drafts_url` (the Drafts page scoped to the post's project), `project_id` and `project_name`; the old `review_url`+ pointed at a route that did not exist. The hand-over rule: id, project name, stage and `url`, one short message per post.+- `trending.php` answers `422 unknown_sort` with the valid sorts of the source instead of falling silently to the default.+## 1.6.30 (2026-10-19)- A timed-out create is never resent by itself: `timed_out: true` on the target, the sync looks the post up on PostProxy anddiff --git a/skills/viralhunt/SKILL.md b/skills/viralhunt/SKILL.mdindex 2166e01..ff7f959 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.30` on every call when your tool lets you set headers; the+Send the header `X-VH-Client: skill/1.6.31` 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)@@ -455,7 +455,14 @@ Your `create` without `draft: true` lands straight in Review (the post is comple(`card_id` in the answer; pass your own `card_id` to use an existing card): a collaborator opens it,changes the picture, adds another one or fixes the text, and the card moves by itself to theboard's Drafts → In review → Scheduled → Published columns as the post moves. So when you verified a-story and it is true, leave it as a complete draft and tell the person: the team finishes it there. When the server has not migrated the review stage yet+story and it is true, leave it as a complete draft and tell the person: the team finishes it there.+**How to hand a post over** (one short message per post): the id, the project name (`project_name` in+the answer), the stage, and the `url` the answer gives (`/schedule/?post=N` opens the post's detail+from any project; `drafts_url` is the Drafts page on that project). Never compose a link yourself.+The Drafts page shows ONE project at a time (the active one, or "all" from its selector); there is+no author filter, so a post the person cannot see is in another project, not hidden from them.+A draft left unfinished for a week loses its files by design (`media_removed: true`), which is+retention, not a failure of whoever made it. When the server has not migrated the review stage yet(`review_stage_ready: false` on `targets`), everything is a `draft` and the person approves from there.- `GET schedule.php?action=drafts` (add `&all=1` for every project, `&stage=draft|review` for one