Skip to content

Skill for using ViralHunt.io

skill: examples use a neutral token placeholder instead of an environment variable (the directory holds plugins that read a credential from the user's environment, even in examples)

Rodrigoa5cd5c8ff248
diff --git a/README.md b/README.md
index d5f7b65..516b14c 100644
--- a/README.md
+++ b/README.md
@@ -77,7 +77,7 @@ and a token.
2. In the app, **Account → API Access → New token**. It looks like `vhk_…`. An owner or admin can also
create an **agent member**: a token bound to a virtual teammate with its own name, which can be
assigned cards and signs its reviews.
-3. Give the token to your agent. It is sent as `Authorization: Bearer vhk_…` and nowhere else.
+3. Give the token to your agent. It travels as a bearer token in the Authorization header, to viralhunt.io and nowhere else.
---
diff --git a/skills/viralhunt/SKILL.md b/skills/viralhunt/SKILL.md
index 6eaee4a..fc18dc5 100644
--- a/skills/viralhunt/SKILL.md
+++ b/skills/viralhunt/SKILL.md
@@ -207,7 +207,7 @@ ran the same story (`coverage_count`), and how many posts in our own corpus link
(`*_mentions`, `x_engagement`, `x_top_url`). `total_engagement` and `trend_score` rank them.
```bash
-curl -H "Authorization: Bearer $VH" \
+curl -H "Authorization: Bearer <token>" \
"https://viralhunt.io/tool/api/v1/trending.php?source=tiktok&sort=viral&time_range=7d&per_page=10"
```
@@ -271,9 +271,9 @@ posts of the last year" is an answer, a bare hour is a guess.
`&feed=<slug>` adds top posts, authors and hashtags.
```bash
-curl -H "Authorization: Bearer $VH" \
+curl -H "Authorization: Bearer <token>" \
"https://viralhunt.io/tool/api/v1/best-time.php?network=instagram&timezone=Europe/Madrid"
-curl -H "Authorization: Bearer $VH" \
+curl -H "Authorization: Bearer <token>" \
"https://viralhunt.io/tool/api/v1/communities.php?network=reddit&q=running&max_members=300000"
```
@@ -353,7 +353,7 @@ in which case every post becomes a draft whatever you send (the answer says `sta
Tell the user where it went (`review_url`).
```bash
-curl -X POST -H "Authorization: Bearer $VH" -H "Content-Type: application/json" \
+curl -X POST -H "Authorization: Bearer <token>" -H "Content-Type: application/json" \
-d '{"project":"My Brand","body":"Hello world","networks":["instagram"]}' \
"https://viralhunt.io/tool/api/v1/schedule.php?action=create"
```