news 2026/4/23 14:53:30

使用 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/4/23 11:28:38

苹方字体跨平台解决方案:6款免费字体实现完美视觉统一

苹方字体跨平台解决方案&#xff1a;6款免费字体实现完美视觉统一 【免费下载链接】PingFangSC PingFangSC字体包文件、苹果平方字体文件&#xff0c;包含ttf和woff2格式 项目地址: https://gitcode.com/gh_mirrors/pi/PingFangSC 还在为不同设备上字体显示效果不一致而…

作者头像 李华
网站建设 2026/4/23 14:44:11

OpCore Simplify:从硬件识别到EFI生成的智能配置之旅

OpCore Simplify&#xff1a;从硬件识别到EFI生成的智能配置之旅 【免费下载链接】OpCore-Simplify A tool designed to simplify the creation of OpenCore EFI 项目地址: https://gitcode.com/GitHub_Trending/op/OpCore-Simplify 你是否曾经被黑苹果配置的复杂性所困…

作者头像 李华
网站建设 2026/4/18 5:15:19

Playnite游戏库管理器:一站式解决多平台游戏管理难题

Playnite游戏库管理器&#xff1a;一站式解决多平台游戏管理难题 【免费下载链接】Playnite Video game library manager with support for wide range of 3rd party libraries and game emulation support, providing one unified interface for your games. 项目地址: http…

作者头像 李华
网站建设 2026/4/23 12:49:18

5分钟快速上手:WuWa-Mod游戏模组完整配置终极指南

5分钟快速上手&#xff1a;WuWa-Mod游戏模组完整配置终极指南 【免费下载链接】wuwa-mod Wuthering Waves pak mods 项目地址: https://gitcode.com/GitHub_Trending/wu/wuwa-mod 想要在《鸣潮》游戏中体验无限技能释放、自动拾取宝藏、永久晴朗天气等强大功能吗&#x…

作者头像 李华
网站建设 2026/4/23 11:36:04

AutoThink大模型KAT-40B:让AI学会“聪明推理“

AutoThink大模型KAT-40B&#xff1a;让AI学会"聪明推理" 【免费下载链接】KAT-V1-40B 项目地址: https://ai.gitcode.com/hf_mirrors/Kwaipilot/KAT-V1-40B 导语&#xff1a;Kwaipilot团队推出的开源大模型KAT-40B&#xff08;Kwaipilot-AutoThink&#xff0…

作者头像 李华
网站建设 2026/4/16 4:13:51

Kimi-Dev-72B开源:60.4%修复率革新编程AI

Kimi-Dev-72B开源&#xff1a;60.4%修复率革新编程AI 【免费下载链接】Kimi-Dev-72B 探索开源编程新境界&#xff0c;Kimi-Dev-72B模型惊艳亮相&#xff01;基于大规模强化学习优化&#xff0c;此编码LLM在软件工程任务中表现出色&#xff0c;勇夺开源模型新标杆。真实仓库自主…

作者头像 李华