Skip to content

"CLI-Anything: Making ALL Software Agent-Native" -- CLI-Hub: https://clianything.cc/

Python

feat(hub): support remote URLs in skill_md registry field

yuhao58b928935c45
diff --git a/docs/hub/index.html b/docs/hub/index.html
index 1499b77e2..72d24ea1a 100644
--- a/docs/hub/index.html
+++ b/docs/hub/index.html
@@ -1002,7 +1002,7 @@
? `<div class="card-requires"><strong>Requires</strong> ${esc(c.requires)}</div>`
: '';
const skillLink = c.skill_md
- ? `<a href="${REPO}/blob/main/${c.skill_md}" target="_blank">Skill</a>`
+ ? `<a href="${c.skill_md.startsWith('http') ? c.skill_md : `${REPO}/blob/main/${c.skill_md}`}" target="_blank">Skill</a>`
: '';
const sourceLink = `<a href="${REPO}/tree/main/${c.name}/agent-harness" target="_blank">Source</a>`;
const titleHtml = c.homepage
diff --git a/registry.json b/registry.json
index 4de402e55..d595c2d24 100644
--- a/registry.json
+++ b/registry.json
@@ -196,7 +196,7 @@
"homepage": "https://github.com/PiaoyangGuohai1/cli-anything-zotero",
"install_cmd": "pip install cli-anything-zotero",
"entry_point": "cli-anything-zotero",
- "skill_md": null,
+ "skill_md": "https://github.com/PiaoyangGuohai1/cli-anything-zotero/blob/main/cli_anything/zotero/skills/SKILL.md",
"category": "office",
"contributor": "PiaoyangGuohai1",
"contributor_url": "https://github.com/PiaoyangGuohai1"