news 2026/4/15 6:25:45

使用 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/3 7:08:42

Speech Seaco Paraformer技术支持渠道:科哥微信对接注意事项

Speech Seaco Paraformer技术支持渠道&#xff1a;科哥微信对接注意事项 1. 模型背景与定位 Speech Seaco Paraformer 是一款基于阿里 FunASR 框架深度优化的中文语音识别模型&#xff0c;由科哥完成本地化适配与 WebUI 二次开发。它不是简单封装&#xff0c;而是针对中文语音…

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

OpCore Simplify:5分钟掌握黑苹果EFI配置的终极指南

OpCore Simplify&#xff1a;5分钟掌握黑苹果EFI配置的终极指南 【免费下载链接】OpCore-Simplify A tool designed to simplify the creation of OpenCore EFI 项目地址: https://gitcode.com/GitHub_Trending/op/OpCore-Simplify 还在为复杂的OpenCore配置而烦恼吗&am…

作者头像 李华
网站建设 2026/4/8 9:30:52

Consistency Model:AI卧室图像1步极速生成教程

Consistency Model&#xff1a;AI卧室图像1步极速生成教程 【免费下载链接】diffusers-cd_bedroom256_lpips 项目地址: https://ai.gitcode.com/hf_mirrors/openai/diffusers-cd_bedroom256_lpips 导语&#xff1a;OpenAI推出的Consistency Model&#xff08;一致性模型…

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

Qwen2.5推理模型:如何用规则强化学习实现动态对话推理?

Qwen2.5推理模型&#xff1a;如何用规则强化学习实现动态对话推理&#xff1f; 【免费下载链接】Qwen2.5-32B-DialogueReason 项目地址: https://ai.gitcode.com/StepFun/Qwen2.5-32B-DialogueReason 导语&#xff1a;阿里达摩院最新发布的Qwen2.5-32B-DialogueReason模…

作者头像 李华
网站建设 2026/4/13 21:50:08

如何修改输出分辨率?麦橘超然Pipeline参数详解

如何修改输出分辨率&#xff1f;麦橘超然Pipeline参数详解 1. 麦橘超然 - Flux 离线图像生成控制台简介 你是否在使用AI绘画工具时&#xff0c;总被默认的出图尺寸限制住创意&#xff1f;比如想做个社交媒体封面&#xff0c;却发现生成的图片太小、比例不对&#xff0c;还得后…

作者头像 李华
网站建设 2026/4/13 11:34:43

单卡能跑吗?Live Avatar 80GB显存需求与替代方案探讨

单卡能跑吗&#xff1f;Live Avatar 80GB显存需求与替代方案探讨 1. 引言&#xff1a;数字人模型的显存困局 你是不是也遇到过这种情况——看到一个开源的数字人项目&#xff0c;功能惊艳、效果逼真&#xff0c;兴冲冲地准备本地部署&#xff0c;结果一查硬件要求&#xff1a…

作者头像 李华