Skill for using ViralHunt.io
Two pictures go out only when the post is marked as a carousel (Rodrigo: publishing two pictures nobody asked for is absurd; the rule existed only on the API and on template posts). scheduled_posts.carousel (migration api/scheduled-posts-carousel-schema.sql) stores the author's mark; vh_post_pictures_check / vh_post_pictures_check_all is THE rule (a design post: one picture whatever the mark; else more than one picture without the mark is refused naming the files, on the post's media and on every per-account list), run in vh_post_fanout for every send (the mark travels in vh_fanout_carousel, set by vh_post_send, both creates, the three retries and the sync), in vh_draft_insert and vh_draft_submit for a post into Review, on the web save_draft of a post in Review, and on the v1 create/update (422 multiple_pictures; carousel: false on a post holding several pictures is refused). A working draft may hold several pictures until it is submitted. vh_media_dedupe makes the same URL count once. Composer: the Carousel tick appears under the thumbnails from the second picture and publish/submit is refused without it; Drafts page: a row naming the pictures with the tick; the mark is in the content hash and on every API row. Skill 1.6.37, docs, changelog EN+ES, CLAUDE.md, tests/one-picture-rule.php; the release script treats a registry already at the MCP version as done
Rodrigoe2f677a1de90
diff --git a/.claude-plugin/marketplace.json b/.claude-plugin/marketplace.jsonindex 8285b85..9eb1bc4 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.36",+ "version": "1.6.37","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 ad78be1..76bfe7b 100644--- a/.claude-plugin/plugin.json+++ b/.claude-plugin/plugin.json@@ -1,7 +1,7 @@{"name": "viralhunt","displayName": "ViralHunt",- "version": "1.6.36",+ "version": "1.6.37","repository": "https://github.com/viralhunt-io/viralhunt-skill","license": "MIT","privacyPolicyUrl": "https://viralhunt.io/privacy",diff --git a/CHANGELOG.md b/CHANGELOG.mdindex fa86f00..8046beb 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -3,6 +3,12 @@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.37 (2026-10-22)++- The carousel mark is stored: `carousel: true` on `create`/`update` is kept on the post and returned as `carousel` on every+ drafts row and on `get`. Every send (the app's too) refuses a second picture on a post without the mark, and `carousel: false`+ on a post that holds several pictures is refused until the extra ones leave. The same URL twice in `media` counts once.+## 1.6.36 (2026-10-22)- One picture per post, always. A post made on a template has exactly one picture, the render of its design: `png` ondiff --git a/skills/viralhunt/SKILL.md b/skills/viralhunt/SKILL.mdindex 25a56b2..175bf48 100644--- a/skills/viralhunt/SKILL.md+++ b/skills/viralhunt/SKILL.md@@ -18,7 +18,7 @@ description: >-license: MITmetadata:author: viralhunt-io- version: "1.6.36"+ version: "1.6.37"updated: "2026-10-12"api_docs: https://viralhunt.io/api---@@ -178,7 +178,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.36` on every call when your tool lets you set headers; the+Send the header `X-VH-Client: skill/1.6.37` 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)@@ -587,9 +587,11 @@ project name, `url`, angle, what you verified, the decision you need. When the sAND pass `png`: either `media: [your render]` + `design`, or `design` alone with `media: []` andthe app renders it at approval. Several pictures on a plain post are a carousel, which the userhas to have asked for: pass `carousel: true` with the list, else `create`/`update` answer- `422 multiple_pictures` and the approval refuses a template post with two pictures. (Posts 1250- and 1251, 2026-10-22: the approval's render was ADDED next to the agent's render and both went- out; the app replaces now, and this rule is the lock.)+ `422 multiple_pictures` and the approval refuses a template post with two pictures. The mark is+ stored on the post (`carousel` on every drafts row) and every send, from the app too, refuses a+ second picture without it; the same URL twice counts once. (Posts 1250 and 1251, 2026-10-22: the+ approval's render was ADDED next to the agent's render and both went out; the app replaces now,+ and this rule is the lock.)- `first_comment` inside an override has THREE states: key absent = the account inherits the post'sfirst comment; `""` = this account posts no first comment at all; text = its own. To remove a commentfrom one account send `"first_comment": ""`, never drop the key (dropping it means inherit, and the