Skill for using ViralHunt.io
review: content_hash on the review (409 content_changed when the post moved under the reviewer, nothing stored), self review spelled out as by user not token in the policy (version 2026-10-06), skill 1.6.2, MCP 1.1.2, docs, token template, four more gate checks
Rodrigo034495dd5622
diff --git a/.claude-plugin/plugin.json b/.claude-plugin/plugin.jsonindex 0022d44..e4d23d4 100644--- a/.claude-plugin/plugin.json+++ b/.claude-plugin/plugin.json@@ -1,7 +1,7 @@{"name": "viralhunt","displayName": "ViralHunt",- "version": "1.6.1",+ "version": "1.6.2","repository": "https://github.com/viralhunt-io/viralhunt-skill","license": "MIT","privacyPolicyUrl": "https://viralhunt.io/privacy",diff --git a/CHANGELOG.md b/CHANGELOG.mdindex a3d976d..d80a7d3 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.2 (2026-10-06)++- `review` takes `content_hash` (the drafts row's value when the post was read): the server writes the review only+ if the post is still that content, else `409 content_changed` with the current hash. Section 5c says to always send+ it. The self-review rule is spelled out as by user, not by token (the reviewer is its own agent member).+## 1.6.1 (2026-10-06)- The reviewer checks four more things on every post (section 5c): the picture against the text (`image_match`,diff --git a/commands/review.md b/commands/review.mdindex 4baed09..a6bd7d5 100644--- a/commands/review.md+++ b/commands/review.md@@ -10,6 +10,6 @@ Use the `viralhunt` skill, section 5c ("The reviewer"). Scope: $ARGUMENTS (defau3. For each post: read the body, the media (or the rendered `design` from `get`), every target network, the time, the first comment and the per-network copies. `media_removed: true` is a `fix` on its own.4. Judge it against the rule, block first, then fix, then ok, for every target network. Verify claims with `trending.php?source=rss&keyword=` and `search.php?keyword=` before judging them.5. On every post also: the picture against the text (`image_match` 0-100, a mismatch is `fix_image_mismatch`), spelling and grammar in the post's language, how likely an AI wrote it (`ai_written` 0-100, said in the note), and the facts, with the DOI rule (a scientific, medical or statistical claim without a DOI or a primary source is `fix_doi`: the author is flagged). Then one overall `risk10`, 1 (safe) to 10 (breaks a network's terms).-6. `POST schedule.php?action=review` once per post: `verdict`, `score`, `scores {tos_risk, rights, fake_news, sensationalism, brand, grammar, risk10, image_match, ai_written}`, one warning per issue with the policy's code, the network and the severity, and a note in the post's language that says what to change.+6. `POST schedule.php?action=review` once per post: `verdict`, `score`, `scores {tos_risk, rights, fake_news, sensationalism, brand, grammar, risk10, image_match, ai_written}`, one warning per issue with the policy's code, the network and the severity, a note in the post's language that says what to change, and `content_hash` as the row carried it. A `409 content_changed` means the post was edited meanwhile: read it again, review the current content.7. Report the answer as it is: the stored `verdict` (the server may have raised yours), `returned` when it went back to Drafts, and `sent` (the send result, or `{skipped, reason}` when a server rule kept it for an owner or admin).8. Never `update`, `approve` or `cancel`. One line per post at the end (id, verdict, risk10, reason).diff --git a/skills/viralhunt/SKILL.md b/skills/viralhunt/SKILL.mdindex 447e394..d09b7c0 100644--- a/skills/viralhunt/SKILL.md+++ b/skills/viralhunt/SKILL.md@@ -18,7 +18,7 @@ description: >-license: MITmetadata:author: viralhunt-io- version: "1.6.1"+ version: "1.6.2"updated: "2026-10-01"api_docs: https://viralhunt.io/api---@@ -502,7 +502,9 @@ user what you changed because of it.The organization can give one token the job of checking what waits in Review, so posts fromcollaborators and from the creating agent go out on time without a person reading each one, andnothing that breaks a network's rules goes out at all. The reviewer is a token of its own: the-token that creates posts never reviews them (the server ignores a self OK anyway).+token that creates posts never reviews them (the server ignores a self OK anyway). The rule is by USER,+not by token: a second token of the writer's user changes nothing; the reviewer is its own member, which is+what "Create an agent" on API Access makes.**1. Read the rule first.** `GET policy.php` → `policy {version, block[], fix[], ok, scores{},thresholds, networks{}, review_rules[]}`. This is the content rule of ViralHunt, kept on the@@ -547,8 +549,10 @@ network's terms). The server reports it per collaborator; it never changes the v**5. Leave ONE review.** `POST schedule.php?action=review` with `{id, verdict, score, scores{tos_risk, rights, fake_news, sensationalism, brand, grammar, risk10, image_match, ai_written},-warnings[{code, network, text, severity}], note}`. The six policy scores carry the thresholds; `risk10`,-`image_match` and `ai_written` are recorded and reported, never thresholded. The note is what the author reads in Drafts: say what to change, in the+warnings[{code, network, text, severity}], note, content_hash}`. The six policy scores carry the thresholds; `risk10`,+`image_match` and `ai_written` are recorded and reported, never thresholded. **Always send `content_hash`**: the+value the drafts row carried when you read the post. If someone edited it in between, the server answers+`409 content_changed` with the current hash and stores nothing; read the post again and review what it says now. The note is what the author reads in Drafts: say what to change, in thelanguage of the post. The answer carries the stored `verdict` (the server may have raised it),`returned: true` when a `fix` sent it back to Drafts, and `sent`: the send result when your OKreleased the post, or `{skipped, reason}` when a server rule kept it waiting for an owner or admin