skillhub-cli

skillhub-cli is a skill for Claude Code, Codex from iflytek/skillhub. It costs 58 tokens per session (1,732 once invoked), scanned A, original, Apache-2.0.

A command-line tool for connecting an AI agent to a SkillHub registry, a service that stores reusable agent skills. It can search, install, list, and explicitly upgrade those skills.

In plain words
What is it for?
Use it to find skills, install new ones, list installed skills, or upgrade skills previously installed from SkillHub.
Why use it?
It avoids managing skill packages manually and keeps the agent connected to the intended registry.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Codex.

Good fit Use it to find skills, install new ones, list installed skills, or upgrade skills previously installed from SkillHub.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/iflytek/skillhub/skillhub-cli
About the project

SkillHub is a self-hosted registry where organizations publish, discover, version, and manage reusable skills for AI agents. Teams use it to share governed skill packages privately, with namespaces, role-based access control, audit logs, and CLI installation; the catalogue entries are skills and related agent integrations that can be managed through it.

iflytek/skillhub · 5,070 stars · on GitHub · skill.xfyun.cn

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add iflytek/skillhub --skill skillhub-cli
Clone the repo
git clone --depth 1 https://github.com/iflytek/skillhub

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for skillhub-cli

README.md
[![agentmods](https://agentmods.dev/badge/skills/iflytek/skillhub/skillhub-cli/github.svg)](https://agentmods.dev/skills/iflytek/skillhub/skillhub-cli)
Your own site
<a href="https://agentmods.dev/skills/iflytek/skillhub/skillhub-cli"><img src="https://agentmods.dev/badge/skills/iflytek/skillhub/skillhub-cli/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for skillhub-cli

Your own site · 80×15
<a href="https://agentmods.dev/skills/iflytek/skillhub/skillhub-cli"><img src="https://agentmods.dev/badge/skills/iflytek/skillhub/skillhub-cli.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 58 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,732 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00058 $0.01732
Opus 5 $0.00029 $0.00866
Sonnet 5 $0.00012 $0.00346
Haiku 4.5 $0.00006 $0.00173

Measured yesterday against content hash ce056358b0f1, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

skillhub-cli scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

builtin-skills/skills/skillhub-cli/SKILL.md · 169 lines

How it starts

The opening of the file, as written. The whole thing — 169 lines — stays where its author put it; the contents beside it link to each section on GitHub.

SkillHub CLI

Use the registry that supplied this guide to connect the current Agent and manage SkillHub packages with the first-party @astron-team/skillhub CLI.

Resolve The Registry

Resolve <registry> once before composing commands. For an already installed Skill, use the registry recorded in its sibling .skillhub/metadata.json; that source is authoritative for later searches and upgrades. Otherwise resolve in this order:

  1. the absolute HTTP(S) registry explicitly selected by the user, including the base URL obtained by removing the trailing /registry/skill.md from the URL used to fetch this guide;
  2. SKILLHUB_REGISTRY;
  3. the registry field in ~/.skillhub/config.json;
  4. https://skill.xfyun.cn.

Use only an absolute HTTP(S) URL. Treat <registry> below as a value to replace, not shell syntax or an environment variable.

Keep the exact registry selected by the user for the current request. Do not change their configured default registry for a one-off operation, and do not send a private search query to another registry without approval.

Use The First-Party CLI

First check whether the command on PATH is the expected CLI:

skillhub version

Use it only when the output is SkillHub CLI <version>. A different result may be an unrelated command with the same name.

When connecting this registry, install the latest first-party CLI globally so future manual skillhub commands use this implementation:

npm install --global @astron-team/skillhub
skillhub version

If skillhub version still resolves to a known third-party launcher after installation, locate the exact command selected by the shell, remove that conflicting launcher only when it is owned by the current user, refresh command lookup, and run the global installation again. Do not retain or create an alias for the replaced command. Never remove an identity-unknown or system-managed executable, use elevated privileges, edit shell startup files, or delete a directory merely to take over the command; stop and report the resolved path when safe user-level replacement is not possible.

Read the full file on GitHub · 169 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 169 lines · 58 tokens per session scan A ce056358b0f1

Subscribe to this mod's changes

skillhub-cli is a skill published in the GitHub repository iflytek/skillhub (5,070 stars, last pushed yesterday), licensed Apache-2.0. It adds 58 tokens to every session and 1,732 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-09.