skillhub-cli
できること
このスキルは、公式のコマンドラインツールを使い、エージェントがSkillHubのレジストリからスキルを見つけ、インストールし、管理できるようにします。既製のスキルをエージェントに加えたい人が対象です。
使う場面
- ✓SkillHubのレジストリでスキルを検索して、インストールしたいとき。
- ✓SkillHubからインストールしたスキルを一覧表示またはアップグレードする必要があるとき。
- ✓エージェントを特定のSkillHubレジストリに接続したいとき。
スキルのリンク
https://github.com/iflytek/skillhub/blob/main/builtin-skills/skills/skillhub-cli/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“会議のアジェンダを書くためのSkillHubのスキルを探し、私のエージェントにインストールしてください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントは、使うレジストリを確認し、公式のコマンドラインツールが導入されているかをチェックします。その後、あなたが選んだスキルを検索してインストールします。アップグレードは、依頼された場合にだけ行います。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)を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:
- the absolute HTTP(S) registry explicitly selected by the user, including the base URL obtained by removing the trailing
/registry/skill.mdfrom the URL used to fetch this guide; SKILLHUB_REGISTRY;- the
registryfield in~/.skillhub/config.json; 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 determine whether skillhub exists on PATH. On POSIX shells use command -v skillhub; in PowerShell use (Get-Command skillhub -ErrorAction SilentlyContinue).Source. If the command is missing, install the latest first-party CLI globally so future manual skillhub commands use this implementation:
npm install --global @astron-team/skillhub
skillhub version
If the command exists, do not run the global installation or update yet because its package-manager shim could overwrite the existing launcher. Inspect the existing command without changing anything: resolve the exact command selected by the shell, follow symlinks to the final target, and identify its owner and installing package manager or package. Run skillhub version as an additional compatibility check, not as proof of ownership. Do not infer identity from the command name or output alone.
Treat an existing command as first-party only when its resolved package metadata proves that its installing package is @astron-team/skillhub and its output matches SkillHub CLI <version>. Then connecting authorizes updating it to the latest release with the same global npm command. Verify both the package source and skillhub version again afterward.
If package metadata proves another owner or package, or the version output is unexpected, treat it as non-first-party even when it prints SkillHub CLI <version>. Report the resolved path, final target, owner, package source, and version output to the user.
Only after the user separately confirms removal of that exact identified launcher may you use its package manager's supported uninstall command, refresh command lookup, and install the first-party CLI. Never unlink an executable directly, remove an identity-unknown or system-managed command, use elevated privileges, edit shell startup files, or delete a directory merely to take over the command. If the owner or package source cannot be proven, stop and give the user the resolved path and read-only findings.
Replacing the executable must not replace the other tool's data. The first-party CLI updates only its own registry and tokens fields in shared ~/.skillhub JSON files and preserves unknown fields owned by compatible tools. Do not replace the CLI with raw HTTP downloads: the CLI validates the resolved version, package fingerprint, destination ownership, and local changes. Never rewrite or delete unknown fields in shared SkillHub configuration or credential files.
Before using an operation or flag not shown in this Skill, inspect both live help surfaces for the selected CLI:
skillhub help <command>
skillhub <command> --help
Repository documentation may describe unreleased behavior. If neither live help surface exposes a proposed command or flag, do not use it. Require Node.js 18 or newer when using the npm package.
Choose The Flow
- Connect SkillHub: ensure
@global/skillhub-cliis installed for the current Agent at user scope, then continue the requested operation. - Install an exact Skill: install the requested coordinate and version directly from this registry; do not search for or substitute a similarly named package.
- Discover a Skill: search this registry first. If it is unavailable or has no suitable result, report that outcome and ask before querying another registry.
- Check an upgrade: inspect only
よくある質問
どのレジストリを使いますか?
スキルは、あなたが選んだレジストリか、設定された既定のレジストリを使います。単発の依頼では既定を変更しません。
スキルは自動でアップグレードされますか?
いいえ。スキルによると、アップグレードは明示的に依頼された場合にだけ行われます。
コマンドラインツールは必要ですか?
はい。スキルは公式のSkillHubコマンドラインパッケージを使い、不足していればインストールします。
詳細
作者による元の説明
Connect an Agent to a SkillHub registry and use the official SkillHub CLI to search, install, list, or explicitly upgrade SkillHub skills. Use when a user asks to connect SkillHub, install a SkillHub skill, or manage skills previously installed from SkillHub.
repo: iflytek/skillhub
人気
- GitHubのスター
- 5.4k
- ランキング
- #14984
- ライセンス
- Apache-2.0
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
ai-claim-checker
5.4kエージェントが、AIの回答に含まれる事実の主張を確認し、独立した情報源を選んで、AIを慎重に読み解く習慣づくりを支援します。
cue-omni-reader
5.4kエージェントが、Cue Omni Readerサービスを通じてWebページ、文書、音声、動画ファイルを読み込み、解析された内容をあなたの作業に使えるよう支援します。
daily-standup-journal
5.4kエージェントが、セッションで共有された内容だけに基づいて、短い毎日のスタンドアップ、振り返りの問いかけ、週次のレトロスペクティブを作成できるよう支援します。
decision-matrix
5.4kエージェントが、明確な採点方法を使って選択肢を比べ、長所と短所、そして各点数の裏にある前提を整理できるよう支援します。
似ているスキル
add-model-provider
394k安全なセットアップコマンドで新しいAIモデルプロバイダーをOpenClawに接続し、APIキーを平文で残さず、ライブテストを行うようエージェントを支援します。
acp-router
394kClaude CodeやCursorなどのコーディングアシスタントに、OpenClaw経由でタスクを渡し、その作業がそのツール内で行われるようエージェントを支援します。
browser-automation
394kログイン、タブ、応答しなくなったページからの復旧を含め、Webページを段階的に操作するようエージェントに教えます。