Skill for using ViralHunt.io
One brand, two languages, made once: the standing pattern in the skill (1.6.25: onboarding step, the shortened overrides, design for two languages), a prompt in the agent guide, a card on /claude, the MCP translate tool says what comes back (1.1.20)
Rodrigodd2f4bef4ec4
diff --git a/.claude-plugin/marketplace.json b/.claude-plugin/marketplace.jsonindex f13ade5..b0c6696 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.24",+ "version": "1.6.25","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 b3bc0cf..602c6a5 100644--- a/.claude-plugin/plugin.json+++ b/.claude-plugin/plugin.json@@ -1,7 +1,7 @@{"name": "viralhunt","displayName": "ViralHunt",- "version": "1.6.24",+ "version": "1.6.25","repository": "https://github.com/viralhunt-io/viralhunt-skill","license": "MIT","privacyPolicyUrl": "https://viralhunt.io/privacy",diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 2a19be5..3ffe26b 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.25 (2026-10-15)++- One brand, two languages, made once: the standing pattern (link the projects once in Projects; work in one project; the+ translation on approve or with `translate` adapts the copy and the text of the image and re-renders the same template),+ the `shortened` overrides the translation writes for the networks that cut, the no-dashes house style, the onboarding+ step that proposes the link when two projects have two languages, and how to design a template for two languages.+## 1.6.24 (2026-10-14)- `create`: a complete post whose text passes a network's limit answers `422 text_too_long` with the blockers (it was adiff --git a/skills/viralhunt/SKILL.md b/skills/viralhunt/SKILL.mdindex 976a00b..f1e1b21 100644--- a/skills/viralhunt/SKILL.md+++ b/skills/viralhunt/SKILL.md@@ -81,6 +81,9 @@ this instead of listing endpoints:take its most viral posts, verify them, rewrite them for your brand, make the images andleave five drafts a day for you to approve"- drafts waiting → "You have N drafts waiting; want me to review them and flag anything risky?"+ - two projects in two languages (`targets` shows each project's `lang`) with no `translates_to`+ between them → "Link the two brands in Projects ("Also publish translated in…") and every post+ I make on a template in one comes out in the other language too, image included"- everything set → "What performed best last month? I can find more like it"4. **One step per turn.** Do the step, show the result, propose the next. Never dump the wholeworkflow on someone who asked one question.@@ -152,7 +155,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.24` on every call when your tool lets you set headers; the+Send the header `X-VH-Client: skill/1.6.25` 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)@@ -565,6 +568,24 @@ preselected and whether the translation waits as a draft or goes out with the or- When you approve a draft, `translations: [{project_id, account_ids?, image?}]` on`action=approve` does the same in one call. Ask the user first when the link is notpreselected (`auto: false`), and never create the same translation twice (the app refuses).+- The translation respects the house style (no em dashes) and the target project's networks:+ for every network whose limit the translated body passes (X 280, Bluesky 300, Threads 500) the+ app writes a short copy as that network's override in the same call; the answer lists them in+ `shortened` (network, limit, the full length, the short one) and `overrides`. Read them back+ and say so to the user instead of trusting the length by eye.++**One brand, two languages, made once.** This is the standing pattern for a brand that runs a+project per language (Cerebro Digital ES and EN): the owner links them once in Projects ("Also+publish translated in…", target language, preselected, draft or send). From then on you work in+ONE project only: verify the story, make the image on a template (`design`, section 9), leave the+complete post in Review. When it is approved, `translations` on `approve` (or `translate` right+after you leave the draft, when the user wants both ready for review at once) produces the other+language: the copy, the first comment, the thread, the per-network copies and the TEXT of the+image are adapted, the template re-renders with the translated words, the highlight stays inside+the translated headline, and the picture is the same. Never write the second language yourself+and never make two posts by hand: one post, one translation, both from the same template, so a+fix in the image is made once. Tell the user the translation waits in the other project's Review+(or went out with the original when the link says send).**Learn from the edits.** `GET schedule.php?action=edit_log&since=<ISO>` returns every change aperson made to drafts after you left them: field, before, after, who. Read it at the start of@@ -942,6 +963,10 @@ Two rules the API enforces, so design for them:- `html` and `css` are capped at 256KB each. Reference images and fonts by URL — the`fonts` array is how a font travels with the template. Fonts and pictures embedded as`data:font/…` / `data:image/…` are accepted too.+- **Design for two languages.** When the brand publishes in two languages, the same template+ renders both: give the headline room to grow (Spanish runs 15 to 20% longer than English) and+ use `data-fit` on it so a longer translation shrinks instead of overflowing; keep the fixed+ texts of the template (slots the owner locked) language-neutral or make one copy per language.- **A template is html, css and images, never code.** Scripts, iframes, forms, `on*=` handlers,`javascript:` URLs and stylesheets from anywhere but Google Fonts are REMOVED before it isstored; the answer lists them in `removed`. Don't put them in: the platform's runtime does the