Skill for using ViralHunt.io
Agents always send design for a template-made picture (skill 1.6.23, MCP 1.1.18, API docs): a PNG alone is a flat picture nobody can edit in the app; the design is what opens the editor on that template; a post sent with the PNG only is repaired with update {id, design}
Rodrigo37feb6db4359
diff --git a/.claude-plugin/marketplace.json b/.claude-plugin/marketplace.jsonindex 9f3d0c4..9f7077e 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.22",+ "version": "1.6.23","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 7103478..971577d 100644--- a/.claude-plugin/plugin.json+++ b/.claude-plugin/plugin.json@@ -1,7 +1,7 @@{"name": "viralhunt","displayName": "ViralHunt",- "version": "1.6.22",+ "version": "1.6.23","repository": "https://github.com/viralhunt-io/viralhunt-skill","license": "MIT","privacyPolicyUrl": "https://viralhunt.io/privacy",diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 285b6e3..6b57586 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.23 (2026-10-14)++- A post whose picture comes from a ViralHunt template ALWAYS carries `design` (slug, format, variables), with the+ rendered PNG in `media` when the agent rendered it. A PNG alone is a flat picture nobody can edit in the app; the+ design is what opens the editor on that exact template. A post already sent without it is repaired with+ `update {id, design}`.+## 1.6.22 (2026-10-14)- `trending.php`: `sort=most_commented` works on every network that counts comments (tiktok gained it; on facebookdiff --git a/skills/viralhunt/SKILL.md b/skills/viralhunt/SKILL.mdindex 7f029f8..be30d5d 100644--- a/skills/viralhunt/SKILL.md+++ b/skills/viralhunt/SKILL.md@@ -152,7 +152,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.22` on every call when your tool lets you set headers; the+Send the header `X-VH-Client: skill/1.6.23` 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)@@ -372,9 +372,12 @@ time, and get a yes before sending it (see Safety rules).```**The picture comes from the organization's templates, always.** Never attach another page's-picture as the post's picture. Either render a template yourself (section 9) and pass the PNG in-`media`, or pass `design` (the template's slug, the format and the dynamic variables) with-`draft: true`: the app renders it on the Drafts page and exports the PNG when a person approves.+picture as the post's picture. **Always pass `design`** (the template's slug, the format and the+dynamic variables) with the post, whether or not you also rendered the PNG yourself: the design is+what lets a person open the image in the editor later and fix a word or swap the photo. A PNG alone+is a flat picture nobody can edit (post 1052, 2026-10-14). If you rendered it, pass the PNG in+`media` too; if you did not, add `draft: true` and the app renders it on the Drafts page and+exports the PNG when a person approves.The original post's photo goes in the template's `image` variable, where the template frames itunder the brand. Only when no template suits the post, and you say so in the review note, maythe draft go without a design.@@ -511,11 +514,11 @@ templates and leave everything in drafts so I evaluate them":(`lang` on `targets`), or the one the user asked for; never switch languages on your own.4. Pick the template by the post (`suits`, favourites first, the organization's own copiesbefore the library, the template's `instructions`). Fill only its `dynamic` variables, with- the post's own picture as `image` and a headline of your own as `text`. Render the PNG- (section 9, step 5) or, when you cannot render, pass `design` and let the app render it.+ the post's own picture as `image` and a headline of your own as `text`. Pass `design` always;+ render the PNG too (section 9, step 5) when you can, and let the app render it when you cannot.When no template fits, say so in the review note; never ship the other page's picture asthe post's picture.-5. `schedule.php?action=create` with the PNG in `media` (or the `design`), the copy in `body`,+5. `schedule.php?action=create` with the `design` (and the PNG in `media` when you rendered it), the copy in `body`,and `scheduled_at` spread over the days at the project's best hours (section 3), five a dayunless told otherwise. As an agent token it lands in Review, complete and dated; pass`draft: true` only when the user wants to touch it before anyone judges it. Then