Skip to content

Skill for using ViralHunt.io

skill plugin: five more commands (trending, job, review, publish, stats), shortcuts into the skill's workflows with argument hints; README and changelog

Rodrigoef7ccf61aa19
diff --git a/CHANGELOG.md b/CHANGELOG.md
index f89bead..f45539b 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -5,6 +5,8 @@ the skill is updated in the same commit as the endpoint it describes.
## Unreleased
+- Five more Claude Code commands beside `/viralhunt:start`: `trending`, `job` (the standing job on a page),
+ `review` (the drafts waiting), `publish` and `stats`, each a shortcut into the matching section of the skill.
- The language of a post is the project's (`lang` on `targets`) or the one the user asked for, never
the source page's by default; the template-instructions example no longer names a language.
diff --git a/README.md b/README.md
index eccc881..48e4526 100644
--- a/README.md
+++ b/README.md
@@ -54,7 +54,7 @@ Cline, a custom LLM loop) how to use that API well and safely. The same API is a
/plugin marketplace add viralhunt-io/viralhunt-skill
/plugin install viralhunt@viralhunt
```
-Then `/viralhunt:start` introduces ViralHunt and proposes your first step. From a shell:
+Then `/viralhunt:start` introduces ViralHunt and proposes your first step; `/viralhunt:trending`, `/viralhunt:job`, `/viralhunt:review`, `/viralhunt:publish` and `/viralhunt:stats` jump straight into each workflow. From a shell:
`claude plugin marketplace add viralhunt-io/viralhunt-skill` and `claude plugin install viralhunt@viralhunt`.
**skills.sh**
diff --git a/commands/job.md b/commands/job.md
new file mode 100644
index 0000000..6884ce4
--- /dev/null
+++ b/commands/job.md
@@ -0,0 +1,17 @@
+---
+description: The standing job on one page or account: take its most viral posts, verify each, rewrite for the brand, make the image on a template, leave drafts a few a day
+argument-hint: <network> <page or account name> [period, e.g. 1y] [drafts per day]
+---
+
+Run the standing job from the `viralhunt` skill, section 5b ("A standing job, one post at a time"). The user asked: $ARGUMENTS
+
+Before starting, confirm in one message: the project (from `targets`), the page, the period, how many drafts a day (default five), and that everything goes to Drafts for the user to approve. Then:
+
+1. `GET trending.php?source=<network>&author=<page>&time_range=<period>&sort=viral&per_page=30`. Keep the list and work it in order, one post per turn.
+2. For each post: verify the claim (`search.php?keyword=` and `trending.php?source=rss&keyword=`; a DOI comes from the paper found by title, never invented). Skip what does not hold up and say why in one line.
+3. Rewrite in the project's language and the brand's voice; never copy the source text.
+4. Pick a template (`templates.php?favorites=1`, then by `suits` and `instructions`), fill only its dynamic variables; the source photo goes in `image` only if it is unbranded, otherwise a licensed picture with its credit.
+5. `schedule.php?action=create` with `draft: true`, the `design` (or your rendered PNG in `media`), the copy in `body`, `scheduled_at` spread at the project's best hours (section 3). Then `action=review` on it with the source URL and what you verified.
+6. Report after each post; at the end give the Drafts page URL. Never approve.
+
+Read `schedule.php?action=edit_log&since=<start of this batch minus 30 days>` first and apply what people changed last time.
diff --git a/commands/publish.md b/commands/publish.md
new file mode 100644
index 0000000..8e3d487
--- /dev/null
+++ b/commands/publish.md
@@ -0,0 +1,12 @@
+---
+description: Publish now or schedule a post on the user's connected accounts (or leave it as a draft), with per-network copy and the media checked against each network's ceilings
+argument-hint: <what to post> [networks] [when] ["draft"]
+---
+
+Use the `viralhunt` skill, sections 4, 5 and 6. The user asked: $ARGUMENTS
+
+1. `GET schedule.php?action=targets`: the project, its accounts, `needs_reconnect` (name any expired network before anything else) and `media_limits`.
+2. Draft the post: the copy in the project's language, a shorter version in `overrides` for Bluesky (300) and X (280) when the body is longer, a first comment if the user gave a link, and the media (check size and length against `media_limits`; say which networks will refuse a video).
+3. Show the user exactly what will go out: caption, media, accounts, time. Wait for an explicit yes. If the user did not ask to publish right now, send it with `draft: true` and tell them where it waits.
+4. `POST schedule.php?action=create` with the fields above. Report `id`, `status`, and every warning; a `partial` means a network refused and `results[account].error` says why.
+5. If the project translates into another one (`translates_to`), offer the translation (section 5b, `action=translate`).
diff --git a/commands/review.md b/commands/review.md
new file mode 100644
index 0000000..125de5f
--- /dev/null
+++ b/commands/review.md
@@ -0,0 +1,12 @@
+---
+description: Review the drafts waiting in ViralHunt as the team's checker: terms of each network, unverified claims, sensationalism, grammar; one review per draft, never an approval
+argument-hint: [project name or "all"]
+---
+
+Use the `viralhunt` skill, section 5b ("Reviewing as the team's checker"). Scope: $ARGUMENTS
+
+1. `GET schedule.php?action=drafts` (add `&all=1` for every project). If none, say so and stop.
+2. For each draft: read the body, the media (or the rendered `design`), the targets and the existing reviews. Judge the terms of each target network (violence, health claims, politics, minors, copyright, spam patterns), unverified claims (cross-check with `search.php?keyword=` and `trending.php?source=rss&keyword=`), sensationalism and grammar.
+3. `POST schedule.php?action=review` once per draft: verdict `ok`, `fix` or `block` (`block` only for what must not go out as it is), `score`, `scores {tos_risk, fake_news, sensationalism, grammar}`, one warning per issue with its network, and a short note on how to fix it.
+4. Before giving `ok`, check `auto_approve` on `targets`: when the organization sends drafts by themselves on OK, an `ok` is a publish and you confirm it with the user first.
+5. Report a one-line verdict per draft and the Drafts page URL. Do not edit anyone's draft unless asked; never approve.
diff --git a/commands/stats.md b/commands/stats.md
new file mode 100644
index 0000000..8875330
--- /dev/null
+++ b/commands/stats.md
@@ -0,0 +1,10 @@
+---
+description: What performed: the networks' own engagement of the posts published through ViralHunt, by network and by brand, and more content like the winners
+argument-hint: [project] [days, default 30]
+---
+
+Use the `viralhunt` skill, section 8a. The user asked: $ARGUMENTS
+
+1. `GET stats.php[?project=…][&days=30]`. If `ready: false`, say no stats have been collected yet and stop.
+2. Summarize in a few lines: the network that performed best, the brand's totals, the top three posts with their permalinks. Numbers only from the response; never invent one.
+3. Read the winning topics off the top posts and run `GET search.php?keyword=<topic>` to propose two or three pieces of content like them, each as something the user can turn into a draft (section 5b).
diff --git a/commands/trending.md b/commands/trending.md
new file mode 100644
index 0000000..71f1055
--- /dev/null
+++ b/commands/trending.md
@@ -0,0 +1,13 @@
+---
+description: What is viral right now on one network or all of them, for a niche, a keyword or one page; with measured growth and the sample behind it
+argument-hint: [network or "all"] [niche, keyword or "page: Name"]
+---
+
+Use the `viralhunt` skill, section 2 (Find trending content). The user asked: $ARGUMENTS
+
+1. If a network is named, call `GET trending.php?source=<network>&sort=viral&time_range=7d[&keyword=…][&author=…]` (use `author=` when the user names a page or account). If they said "all" or named none, call `GET search.php?keyword=<the words>` for every network at once, or `trending.php` on the networks they publish to (from `targets`) when there is no keyword.
+2. Present the top 8 to 10 as a short ranked list: network, hook of the post, author, the main metric, and `growth_24h` read honestly (`null` means we cannot say, `delta 0` with two readings means flat, quote the real `hours`).
+3. Say where the topic lives and where the corpus holds nothing (`sources[].total`).
+4. Offer the next step: rework one of them for the user's brand as a draft (section 5b), or find the best time and hashtags for it (section 3).
+
+Free plan: the numbers come back null and the posts are at least 72 hours old; say "numbers are on paid plans", never 0.