news 2026/6/7 5:09:16

使用 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/6/3 23:24:06

AI绘画也能用verl?跨界应用可能性大揭秘

AI绘画也能用verl&#xff1f;跨界应用可能性大揭秘 1 概述&#xff1a;verl是什么&#xff0c;它真的能用于AI绘画吗&#xff1f; 你可能已经听说过 verl ——一个由字节跳动火山引擎团队开源的强化学习&#xff08;RL&#xff09;训练框架&#xff0c;专为大型语言模型&…

作者头像 李华
网站建设 2026/5/22 15:11:49

i茅台自动预约终极指南:告别手动抢购的智能解决方案

i茅台自动预约终极指南&#xff1a;告别手动抢购的智能解决方案 【免费下载链接】campus-imaotai i茅台app自动预约&#xff0c;每日自动预约&#xff0c;支持docker一键部署 项目地址: https://gitcode.com/GitHub_Trending/ca/campus-imaotai 还在为每天准时打开i茅台…

作者头像 李华
网站建设 2026/5/29 5:55:24

SGLang如何减少重复计算?一文说清技术原理

SGLang如何减少重复计算&#xff1f;一文说清技术原理 1. 引言&#xff1a;大模型推理的瓶颈与SGLang的定位 你有没有遇到过这种情况&#xff1a;部署一个大语言模型&#xff08;LLM&#xff09;&#xff0c;明明硬件配置不差&#xff0c;但响应慢、吞吐低&#xff0c;用户等…

作者头像 李华
网站建设 2026/6/5 10:34:14

AI专著撰写全流程工具指南,让你的专著创作一路畅通

撰写学术专著&#xff0c;对于很多研究者来说&#xff0c;是个不小的挑战。在“内容的深度”和“覆盖的广度”之间找到恰当的平衡&#xff0c;往往让人倍感压力。从深度的角度来看&#xff0c;专著的核心观点必须有扎实的学术基础&#xff0c;不仅需要清晰地说明“是什么”&…

作者头像 李华
网站建设 2026/5/20 20:21:26

深度解析显卡优化技术:基于AtlasOS的性能调优方法论

深度解析显卡优化技术&#xff1a;基于AtlasOS的性能调优方法论 【免费下载链接】Atlas &#x1f680; An open and lightweight modification to Windows, designed to optimize performance, privacy and security. 项目地址: https://gitcode.com/GitHub_Trending/atlas1/…

作者头像 李华
网站建设 2026/6/6 5:34:33

智能预约系统技术架构深度解析与实战部署

智能预约系统技术架构深度解析与实战部署 【免费下载链接】campus-imaotai i茅台app自动预约&#xff0c;每日自动预约&#xff0c;支持docker一键部署 项目地址: https://gitcode.com/GitHub_Trending/ca/campus-imaotai 在茅台抢购这场没有硝烟的战争中&#xff0c;无…

作者头像 李华