본문으로 건너뛰기
Skillpedia
에이전트5.4k · #14984

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가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/iflytek/skillhub/blob/main/builtin-skills/skills/skillhub-cli/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

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:

  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 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-cli is 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.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬