skillhub-cli
Skill này làm gì
Skill này giúp agent tìm, cài đặt và quản lý skill từ một registry SkillHub bằng công cụ dòng lệnh chính thức. Nó dành cho người muốn thêm các skill có sẵn vào agent của mình.
Khi nào nên dùng
- ✓Khi bạn muốn tìm một skill trong registry SkillHub và cài đặt nó.
- ✓Khi bạn cần liệt kê hoặc nâng cấp các skill đã cài từ SkillHub.
- ✓Khi bạn muốn kết nối agent của mình tới một registry SkillHub cụ thể.
Liên kết skill
https://github.com/iflytek/skillhub/blob/main/builtin-skills/skills/skillhub-cli/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Bạn có thể tìm một skill SkillHub để viết chương trình họp và cài đặt nó cho agent của tôi không?”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent xác nhận registry nào sẽ dùng, kiểm tra xem công cụ dòng lệnh chính thức đã cài chưa, rồi tìm và cài skill bạn chọn. Việc nâng cấp chỉ diễn ra khi bạn yêu cầu.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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
Câu hỏi thường gặp
Nó dùng registry nào?
Skill dùng registry bạn chọn hoặc mặc định đã cấu hình, và không thay đổi mặc định của bạn cho một yêu cầu một lần.
Nó có tự nâng cấp skill không?
Không. Skill ghi rằng nâng cấp chỉ diễn ra khi được yêu cầu rõ ràng.
Có cần công cụ dòng lệnh không?
Có. Skill dùng gói CLI chính thức của SkillHub và tự cài nếu thiếu.
Chi tiết
Mô tả gốc của tác giả
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
Độ phổ biến
- Sao GitHub
- 5.4k
- Vị trí xếp hạng
- #14984
- Giấy phép
- Apache-2.0
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
ai-claim-checker
5.4kGiúp agent của bạn kiểm tra các khẳng định thực tế trong một câu trả lời AI, chọn nguồn độc lập và xây dựng thói quen đọc hiểu AI cẩn thận.
cue-omni-reader
5.4kGiúp agent của bạn đọc một trang web, tài liệu, file âm thanh hoặc video qua dịch vụ Cue Omni Reader, rồi dùng nội dung đã phân tích cho việc của bạn.
daily-standup-journal
5.4kGiúp agent của bạn viết một bản standup hằng ngày ngắn, các câu hỏi suy ngẫm hoặc một buổi nhìn lại hằng tuần, chỉ dựa trên những gì bạn chia sẻ trong phiên.
decision-matrix
5.4kGiúp agent của bạn so sánh các lựa chọn bằng phương pháp chấm điểm rõ ràng, liệt kê ưu nhược điểm và các giả định đằng sau mỗi điểm số.
Skill tương tự
add-model-provider
394kGiúp agent của bạn kết nối nhà cung cấp mô hình AI mới với OpenClaw bằng lệnh an toàn, giữ API key khỏi văn bản thuần và chạy thử.
acp-router
394kGiúp agent của bạn gửi một tác vụ đến trợ lý lập trình như Claude Code hoặc Cursor qua OpenClaw, để công việc chạy ngay trong công cụ đó.
browser-automation
394kHướng dẫn agent của bạn điều khiển trang web từng bước, gồm đăng nhập, tab và cách khôi phục khi trang ngừng phản hồi.