Skip to content

Skill for using ViralHunt.io

"Creates templates" per member: the owner ticks it on Team and that member or agent authors templates through the API (create, clone, edit only their own) without being admin; a writer token is enough for them, assignments stay owner/admin

Rodrigoc3ca6f5ed0ea
diff --git a/.claude-plugin/plugin.json b/.claude-plugin/plugin.json
index 9daa2e2..d481086 100644
--- a/.claude-plugin/plugin.json
+++ b/.claude-plugin/plugin.json
@@ -1,7 +1,7 @@
{
"name": "viralhunt",
"displayName": "ViralHunt",
- "version": "1.6.19",
+ "version": "1.6.20",
"repository": "https://github.com/viralhunt-io/viralhunt-skill",
"license": "MIT",
"privacyPolicyUrl": "https://viralhunt.io/privacy",
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 16e5935..a40c04d 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -3,6 +3,11 @@
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.20 (2026-10-13)
+
+- Template authors without being admins: a member or agent the owner ticks "Creates templates" on the Team page may
+ `POST templates.php` with a writer token (create, clone a library template, edit only their own templates).
+
## 1.6.19 (2026-10-13)
- A trusted reviewer ("Their OK publishes") fixes the texts inside a designed image of someone else's post:
diff --git a/skills/viralhunt/SKILL.md b/skills/viralhunt/SKILL.md
index 07ba5f2..46d3eea 100644
--- a/skills/viralhunt/SKILL.md
+++ b/skills/viralhunt/SKILL.md
@@ -18,7 +18,7 @@ description: >-
license: MIT
metadata:
author: viralhunt-io
- version: "1.6.19"
+ version: "1.6.20"
updated: "2026-10-12"
api_docs: https://viralhunt.io/api
---
@@ -894,7 +894,10 @@ The `fonts` array carries woff2 URLs and the `css` already `@font-face`s them, s
identical everywhere — don't substitute local fonts. Colors are **tokens**, not hex: a variable
of `type: "token"` takes a key from `palette` (e.g. `"cyan"`), never `#1edbee`.
-**Authoring your own templates** (owner/admin): `POST templates.php` with
+**Authoring your own templates** (owner/admin, or a member or agent the owner ticked "Creates
+templates" on the Team page, with a token that can write: that author creates templates, clones a
+library one into a copy, and edits only the ones they created; assigning templates to projects stays
+the owner's): `POST templates.php` with
`{"action":"create"|"update", "slug", "name", "category", "html", "css", "variables", …}`.
Editing a curated/global template **clones it into the org's own copy** — the global is
never modified, and on `update` you may send only the fields that change.