Agent安装
- 作者仓库星标 215
- 作者更新于 实时读取
- 作者仓库 nextclaw
- 领域
- 通用
- 兼容 Agent
-
- Claude Code
- Cursor
- Cline
- Codex
- Windsurf
- Gemini CLI
- +20
- 信任分
- 83 / 100 · 社区维护
- 作者 / 版本 / 许可
- @Peiiii · 未声明 license
- Token 消耗评级
- 低消耗
- 接入复杂程度
- 需简单配置
- 是否需要外部 API Key
- 不需要
- 兼容的系统
- macOS · Linux · Windows · WSL
- 底层运行要求
- 无特殊要求
- 文件与系统权限
-
- 只读
- 允许写入 / 修改
- Shell 执行
- 网络行为
- 允许外网请求
- 安装命令数
- 26 条
档案由构建时根据 SKILL.md 与安装命令自动衍生,可能与作者实际意图存在差异。
需要注意: 未限定 allowed-tools,默认拥有全部工具权限。;检出高风险片段:pipe_curl_to_shell
---
name: skillhub-guide
description: Use when the user wants to discover, install, or use Tencent Skillhub from NextClaw, especially…
category: 通用
runtime: 无特殊运行时
---
# skillhub-guide 输出预览
## PART A: 任务判断
- 适用问题:通用任务拆解、检查和交付。
- 输入要求:目标材料、限制条件、期望输出和验收方式。
- 证据边界:围绕“Overview / Platform Notes / What Skillhub Is”读取原文规则,不把推断写成作者承诺。
## PART B: 执行结果
- **01** 任务判断:确认你的需求是否属于通用任务拆解、检查和交付,并标出输入、限制和预期结果。
- **02** 执行计划:优先按“Overview / Platform Notes / What Skillhub Is”拆成步骤,说明每一步会读取什么、修改什么、产出什么。
- **03** 交付结果:给出可复制的命令、文件改动、检查清单或内容草稿,并说明如何继续迭代。
- **04** 风险边界:结合 读取文件、写入/修改文件、执行终端命令、会按任务需要访问外部网络、通常不需要额外 API Key 给出执行前确认项。
## Running Rules
- 读取文件、写入/修改文件、执行终端命令;会按任务需要访问外部网络;通常不需要额外 API Key。
- 先小样例验证,再放大到真实任务。
- 交付时同时给结果、检查口径和下一步迭代建议。 原文没有稳定的斜杠命令要求。安装验证后通常全局生效,直接在对话里点名这个 Skill 并描述任务即可。
告诉 Agent 目标文件或材料、期望结果、不可改范围、是否允许联网或执行命令。本 Skill 的权限画像是:读取文件、写入/修改文件、执行终端命令。
先用一个小任务确认它会围绕“Overview / Platform Notes / What Skillhub Is”工作;涉及文件或命令时,先看 diff、日志、预览或测试结果。
检查最终产物是否包含明确结果、必要证据和下一步动作;如果输出泛泛而谈,就补充输入、边界和验收标准后重跑。
---
name: skillhub-guide
description: Use when the user wants to discover, install, or use Tencent Skillhub from NextClaw, especially…
category: 通用
source: Peiiii/nextclaw
---
# skillhub-guide
## 什么时候使用
- 把通用方向的常用动作沉淀成 Agent 可调用的技能 适合处理通用任务拆解、检查、交付和复盘,核心价值是把输入、判断、执行、验证和交付边界固定下来,避免 Agent 泛泛回答。 把任务拆成可执行、可检查、可继续迭代的步骤;通常不需要额外…
- 面向通用任务拆解、检查和交付,优先处理能明确输入、步骤和验收标准的工作。
## 需要提供什么
- 目标材料、目录范围、期望结果和不可改动内容。
- 是否允许联网、执行命令、读写文件或调用外部服务。
## 执行规则
- 围绕「Overview / Platform Notes / What Skillhub Is」组织步骤,不把推断写成作者事实。
- 读取文件、写入/修改文件、执行终端命令;会按任务需要访问外部网络;通常不需要额外 API Key。
- 先跑小样例,确认结果可检查后再扩大任务范围。
## 输出要求
- 给出最终产物、关键证据、验证方式和下一步动作。
- 信息不足时标记 unknown,不编造命令、平台或依赖。 作者原文负责流程事实;仓库文件负责来源和命令;流狐只补充适用场景、限制和质量判断。
skill "skillhub-guide" {
输入层 -> 用户目标 + 目标文件 + 禁止范围 + 验收标准
上下文层 -> Overview / Platform Notes / What Skillhub Is
规则层 -> SKILL.md 触发条件 / 执行顺序 / 输出格式
运行层 -> 无特殊运行时 | 读取文件、写入/修改文件、执行终端命令 | 会按任务需要访问外部网络
安全层 -> 通常不需要额外 API Key + 小任务验证 + diff / 日志复核
输出层 -> 可复制结果 + 检查清单 + 下一步迭代
} Skillhub Guide
Overview
Use this skill when the user wants to work with Tencent Skillhub from inside NextClaw.
This skill is intentionally explicit about boundaries:
- This marketplace skill owns explanation, onboarding, readiness checks, and troubleshooting guidance.
- The upstream
skillhubCLI owns actual search and install behavior. - NextClaw marketplace and Tencent Skillhub are different ecosystems and should not be described as the same thing.
From the user's point of view, the flow should feel complete:
- understand what Skillhub is,
- install the CLI with the least surprising path,
- verify that the CLI is actually ready,
- discover available Skillhub skills,
- then install a specific Skillhub skill into the intended workspace.
Do not pretend Skillhub is ready when it is not.
Platform Notes
NextClaw itself is cross-platform, so this skill must not assume the user is on macOS or Linux.
Current upstream Skillhub installation guidance is shell-based and routes through a bash installer.
That means:
- on macOS and Linux, the documented command can be used directly;
- on Windows, do not present the
bashinstaller as a native PowerShell command; - if the user is on Windows, explain that they currently need a Bash-compatible environment such as Git Bash or WSL unless Tencent publishes a native Windows installer.
Use platform-appropriate readiness checks:
Get-Command skillhub
skillhub --help
where skillhub
skillhub --help
command -v skillhub
skillhub --help
What Skillhub Is
Skillhub is a Tencent-provided skill distribution channel for AI agents.
Useful mental model:
- NextClaw marketplace: installs NextClaw marketplace skills.
- Skillhub: installs Tencent Skillhub skills through the local
skillhubCLI. - This skill: helps the AI guide the user through Skillhub setup and usage inside NextClaw.
Default Recommendation
Default to the CLI-only install path unless the user explicitly wants the upstream full install behavior.
Why:
- CLI-only is more predictable.
- It avoids silently pulling in extra upstream skill assets.
- It lets the user search and install specific Skillhub skills intentionally.
Preferred install command:
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash -s -- --cli-only
Optional upstream full install:
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash
Use the full install path only when the user explicitly wants Skillhub's upstream default integration behavior.
First-Use Workflow
When the user asks to use Skillhub, follow this order.
1. Classify the goal
Classify the request into one of these:
- learn what Skillhub is,
- install the Skillhub CLI,
- search for available Skillhub skills,
- install a specific Skillhub skill,
- troubleshoot an existing Skillhub setup.
If the user only wants to browse skills, do not jump straight into installation.
2. Check whether skillhub already exists
Run:
command -v skillhub
On Windows, use:
Get-Command skillhub
If missing, recommend the CLI-only install command by default.
After install, do not assume success until a real command works.
3. Verify readiness
Run at least one of these:
skillhub --help
skillhub search test
Interpretation:
--helpsucceeds: the CLI is installed and callable.searchreturns normal output or a normal empty result: the CLI can reach its search flow.- command not found, permission failure, or shell parse failure: setup is not ready yet.
4. Prefer direct CLI verification over host-agent assumptions
Inside NextClaw, keep behavior explicit:
- if the user wants guaranteed usage right now, prefer direct CLI commands first;
- do not promise implicit host-agent discovery unless it has been directly observed.
Treat skillhub CLI readiness as the source of truth instead of inventing a restart step.
5. Discover available skills
Use:
skillhub search <keyword>
Examples:
skillhub search code-review
skillhub search seo
skillhub search feishu
If the user does not know the exact skill name, search first and present the likely matches before offering installation.
6. Install a specific Skillhub skill
Use:
skillhub install <skill-name>
Tencent's install doc says the skill is installed into the current workspace.
Because this is a write action, confirm the intended workspace first if there is any ambiguity. Do not install into an accidental directory.
7. Verify post-install result
After installation, ask the user to test one real task that should invoke the newly installed Skillhub skill.
Success means:
skillhubcommands run successfully,- the target skill installs without error,
- the user can invoke the resulting capability in the intended workspace or host agent flow.
Safe Execution Rules
- Prefer CLI-only install unless the user asks for upstream full install.
- On Windows, explicitly say that the current upstream installer is Bash-based.
- Search before install when the exact skill name is uncertain.
- Treat
skillhub install <skill-name>as a write action to the current workspace. - If the current workspace is unclear, stop and clarify the target directory before installing.
- Do not describe Skillhub as built into NextClaw.
- Do not claim automatic agent-side detection unless the user has directly observed it.
Troubleshooting
skillhub command not found
- The CLI is not installed or not on
PATH. - Re-run the CLI-only install command.
- On Windows, confirm the user is running it from Git Bash or WSL if they are following the current upstream installer.
- Open a new shell if the current shell has not picked up the updated
PATHyet.
skillhub --help works but agent does not seem to notice Skillhub
- Do not invent a host-app restart requirement.
- Use direct CLI commands in the meantime instead of waiting on implicit discovery.
Search or install fails
- Check network connectivity.
- Retry the same command once.
- If it still fails, keep the failure visible instead of pretending the skill was installed.
User is unsure what to install
- Start with
skillhub search <keyword>. - Present the likely matches and ask which one they want.
Success Criteria
This skill is working correctly when:
- the user understands what Skillhub is and is not,
- the user receives the CLI-only install path by default,
- readiness is verified with an observable command,
- skill discovery happens through
skillhub search, - installation happens intentionally through
skillhub install, - and ambiguous workspace writes are not performed silently.
Resources
- Tencent Skillhub install doc: https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md
- Quick readiness check script in this skill:
bash skills/skillhub-guide/scripts/check-skillhub.sh - Windows PowerShell readiness check in this skill:
powershell -ExecutionPolicy Bypass -File skills/skillhub-guide/scripts/check-skillhub.ps1
先判断是否适合
作者设计意图
作者的方法与取舍
边界和复核