news 2026/9/3 1:34:53

使用 npx add-skill 安装开源 Skill 到本地

作者头像

张小明

前端开发工程师

1.2k 24
文章封面图
使用 npx add-skill 安装开源 Skill 到本地

add-skillVercel发布 AI 技能管理工具,官方链接。主要用于快速将git仓库上的skill下载到本地并指定安装到对应agent目录,其中包括opencode,claude-code,codex,cursor,antigravity,gitub-copilot,roo

仓库目录

可以查看github对应仓库为vercel-labs/agent-skills

对应存在一个Skills目录。

常用命令

帮助指令

npx add-skill --help

输出如下:

Usage: add-skill[options]<source>Install skills onto coding agents(OpenCode, Claude Code, Codex, Cursor, Antigravity, Github Copilot, Roo Code)Arguments:sourceGit repo URL, GitHub shorthand(owner/repo),localpath(./path), or direct path to skill Options: -V, --version output the version number -g, --global Install skill globally(user-level)instead of project-level -a, --agent<agents...>Specify agents toinstallto(opencode, claude-code, codex, cursor, antigravity, gitub-copilot, roo)-s, --skill<skills...>Specify skill names toinstall(skip selection prompt)-l, --list List available skillsinthe repository without installing -y, --yes Skip confirmation prompts --all Install all skills to all agents without any prompts(implies -y -g)-h, --help displayhelpforcommand

获取skills列表

npx add-skill vercel-labs/agent-skills --list

输出如下:

┌ skills │ ◇ Source: https://github.com/vercel-labs/agent-skills.git │ ◇ Repository cloned │ ◇ Found2skills

再以anthropics/skills 为例。

npx add-skill anthropics/skills --list

输出结果如下:

┌ skills │ ◇ Source: https://github.com/anthropics/skills.git │ ◇ Repository cloned │ ◇ Found17skills

指定路径下载

npx add-skill[source]

完整仓库路径,案例vercel-labs/agent-skills

npx add-skill https://github.com/vercel-labs/agent-skills

短称仓库路径。

npx add-skill vercel-labs/agent-skills

通过git下载。

npx add-skill git@github.com:vercel-labs/agent-skills.git

下载指定skill

npx add-skill[source]-s[skill_name]

例如:

npx add-skill vercel-labs/agent-skills -s vercel-react-best-practices

也可以直接指定skill完整路径。

npx add-skill[source]

例如:

npx add-skill https://github.com/vercel-labs/agent-skills/tree/main/skills/vercel-react-best-practices

指定agent安装skill

npx add-skill[source]-a[agent_name]

[agent_name]支持如下:

opencode,claude-code,codex,cursor,antigravity,gitub-copilot,roo

全局级安装

默认当前目录行安装,则为项目级别生效,可以使用-g/--global进行全局指定。

npx add-skill -g[source]

skill资源

官方提供了一些,知名平台提供的skills仓库。

  • Vercel Agent Skills Repository
  • Agent Skills Specification
  • OpenCode Skills Documentation
  • Claude Code Skills Documentation
  • Codex Skills Documentation
  • Cursor Skills Documentation
  • Gemini CLI Skills Documentation
  • Amp Skills Documentation
  • Antigravity Skills Documentation
  • GitHub Copilot Agent Skills
  • Roo Code Skills Documentation
  • Clawdbot Skills Documentation

集成平台

也可以使用一些skills仓库集成平台。

  • skillsmp
  • aitmpl
  • claudemarketplaces

总结

通过以上对add-skill的了解,就可以做到基本的一个在线skill的下载,就可以愉快的玩耍了,不要问为啥用add-skill,问就是一种简化手段,简化手动一个一个下载的繁琐操作和不同目录的拷贝操作。

版权声明: 本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若内容造成侵权/违法违规/事实不符,请联系邮箱:809451989@qq.com进行投诉反馈,一经查实,立即删除!
网站建设 2026/9/2 21:30:00

开源大模型趋势解读:Hunyuan-MT-7B在多语言场景的落地价值

开源大模型趋势解读&#xff1a;Hunyuan-MT-7B在多语言场景的落地价值 1. 多语言翻译需求爆发&#xff0c;开源模型迎来新机遇 全球化进程加速&#xff0c;企业出海、跨境交流、内容本地化等需求激增&#xff0c;对高质量、低成本的机器翻译能力提出了更高要求。传统商业翻译…

作者头像 李华
网站建设 2026/9/2 14:08:24

SGLang实战项目分享:一个AI工作流搭建

SGLang实战项目分享&#xff1a;一个AI工作流搭建 你有没有遇到过这样的场景&#xff1f;想用大模型做个复杂任务&#xff0c;比如让AI先分析用户问题&#xff0c;再调用API查数据&#xff0c;最后生成结构化结果。传统做法是写一堆胶水代码&#xff0c;每一步都要手动处理输入…

作者头像 李华
网站建设 2026/9/2 23:11:58

GOT-OCR-2.0开源:多场景文本识别全功能解析

GOT-OCR-2.0开源&#xff1a;多场景文本识别全功能解析 【免费下载链接】GOT-OCR-2.0-hf 阶跃星辰StepFun推出的GOT-OCR-2.0-hf是一款强大的多语言OCR开源模型&#xff0c;支持从普通文档到复杂场景的文字识别。它能精准处理表格、图表、数学公式、几何图形甚至乐谱等特殊内容&…

作者头像 李华
网站建设 2026/9/2 21:23:12

Arduino ESP32开发环境配置终极指南:从零到精通的快速上手方案

Arduino ESP32开发环境配置终极指南&#xff1a;从零到精通的快速上手方案 【免费下载链接】arduino-esp32 Arduino core for the ESP32 项目地址: https://gitcode.com/GitHub_Trending/ar/arduino-esp32 还在为ESP32开发环境配置而烦恼&#xff1f;⚡ 面对复杂的工具链…

作者头像 李华
网站建设 2026/9/2 20:41:56

3步轻松获取电子课本:告别在线预览的全新解决方案

3步轻松获取电子课本&#xff1a;告别在线预览的全新解决方案 【免费下载链接】tchMaterial-parser 国家中小学智慧教育平台 电子课本下载工具 项目地址: https://gitcode.com/GitHub_Trending/tc/tchMaterial-parser 备课到深夜&#xff0c;突然发现网络中断无法查阅教…

作者头像 李华