Star 历史趋势
数据来源: GitHub API · 生成自 Stargazers.cn
README.md

skills

The CLI for the open agent skills ecosystem.

Supports OpenCode, Claude Code, Codex, Cursor, and 68 more.

skills.sh

Install a Skill

npx skills add vercel-labs/agent-skills

Use a Skill Without Installing

Generate a prompt for one skill, or start a supported coding agent interactively:

npx skills use vercel-labs/agent-skills@web-design-guidelines | claude npx skills use vercel-labs/agent-skills --skill web-design-guidelines --agent claude-code

skills use resolves sources the same way as skills add, writes the selected skill files to a temporary directory, and prints only the generated prompt to stdout unless --agent is provided. With --agent, it starts one supported agent interactively with the generated prompt.

Source Formats

# GitHub shorthand (owner/repo) npx skills add vercel-labs/agent-skills # Full GitHub URL npx skills add https://github.com/vercel-labs/agent-skills # Direct path to a skill in a repo npx skills add https://github.com/vercel-labs/agent-skills/tree/main/skills/web-design-guidelines # GitLab URL npx skills add https://gitlab.com/org/repo # Any git URL npx skills add git@github.com:vercel-labs/agent-skills.git # Local path npx skills add ./my-local-skills

Options

OptionDescription
-g, --globalInstall to user directory instead of project
-a, --agent <agents...>Target specific agents (e.g., claude-code, codex). See Supported Agents
-s, --skill <skills...>Install specific skills by name (use '*' for all skills)
-l, --listList available skills without installing
--copyCopy files instead of symlinking to agent directories
-y, --yesSkip all confirmation prompts
--allInstall all skills to all agents without prompts

Examples

# List skills in a repository npx skills add vercel-labs/agent-skills --list # Install specific skills npx skills add vercel-labs/agent-skills --skill frontend-design --skill skill-creator # Install a skill with spaces in the name (must be quoted) npx skills add owner/repo --skill "Convex Best Practices" # Install to specific agents npx skills add vercel-labs/agent-skills -a claude-code -a opencode # Non-interactive installation (CI/CD friendly) npx skills add vercel-labs/agent-skills --skill frontend-design -g -a claude-code -y # Install all skills from a repo to all agents npx skills add vercel-labs/agent-skills --all # Install all skills to specific agents npx skills add vercel-labs/agent-skills --skill '*' -a claude-code # Install specific skills to all agents npx skills add vercel-labs/agent-skills --agent '*' --skill frontend-design

Installation Scope

ScopeFlagLocationUse Case
Project(default)./<agent>/skills/Committed with your project, shared with team
Global-g~/<agent>/skills/Available across all projects

Installation Methods

When installing interactively, you can choose:

MethodDescription
Symlink (Recommended)Creates symlinks from each agent to a canonical copy. Single source of truth, easy updates.
CopyCreates independent copies for each agent. Use when symlinks aren't supported.

Other Commands

CommandDescription
npx skills use <source>Use one skill without installing
npx skills listList installed skills (alias: ls)
npx skills find [query]Search for skills interactively or by keyword
npx skills remove [skills]Remove installed skills from agents
npx skills update [skills]Update installed skills to latest versions
npx skills init [name]Create a new SKILL.md template

skills list

List all installed skills. Similar to npm ls.

# List all installed skills (project and global) npx skills list # List only global skills npx skills ls -g # Filter by specific agents npx skills ls -a claude-code -a cursor

skills find

Search for skills interactively or by keyword.

# Interactive search (fzf-style) npx skills find # Search by keyword npx skills find typescript

skills update

# Update all skills (interactive scope prompt) npx skills update # Update a single skill by name npx skills update my-skill # Update multiple specific skills npx skills update frontend-design web-design-guidelines # Update only global or project skills npx skills update -g npx skills update -p # Non-interactive (auto-detects scope: project if in a project, else global) npx skills update -y
OptionDescription
-g, --globalOnly update global skills
-p, --projectOnly update project skills
-y, --yesSkip scope prompt (auto-detect: project if in a project dir, else global)
[skills...]Update specific skills by name instead of all

skills init

# Create SKILL.md in current directory npx skills init # Create a new skill in a subdirectory npx skills init my-skill

skills remove

Remove installed skills from agents.

# Remove interactively (select from installed skills) npx skills remove # Remove specific skill by name npx skills remove web-design-guidelines # Remove multiple skills npx skills remove frontend-design web-design-guidelines # Remove from global scope npx skills remove --global web-design-guidelines # Remove from specific agents only npx skills remove --agent claude-code cursor my-skill # Remove all installed skills without confirmation npx skills remove --all # Remove all skills from a specific agent npx skills remove --skill '*' -a cursor # Remove a specific skill from all agents npx skills remove my-skill --agent '*' # Use 'rm' alias npx skills rm my-skill
OptionDescription
-g, --globalRemove from global scope (~/) instead of project
-a, --agentRemove from specific agents (use '*' for all)
-s, --skillSpecify skills to remove (use '*' for all)
-y, --yesSkip confirmation prompts
--allShorthand for --skill '*' --agent '*' -y

What are Agent Skills?

Agent skills are reusable instruction sets that extend your coding agent's capabilities. They're defined in SKILL.md files with YAML frontmatter containing a name and description.

Skills let agents perform specialized tasks like:

  • Generating release notes from git history
  • Creating PRs following your team's conventions
  • Integrating with external tools (Linear, Notion, etc.)

Discover skills at skills.sh

Supported Agents

Skills can be installed to any of these agents:

Agent--agentProject PathGlobal Path
AiderDeskaider-desk.aider-desk/skills/~/.aider-desk/skills/
Amp, Replit, Universalamp, replit, universal.agents/skills/~/.config/agents/skills/
Antigravityantigravity.agents/skills/~/.gemini/antigravity/skills/
Antigravity CLIantigravity-cli.agents/skills/~/.gemini/antigravity-cli/skills/
AstrBotastrbotdata/skills/~/.astrbot/data/skills/
Autohand Code CLIautohand-code.autohand/skills/~/.autohand/skills/
Augmentaugment.augment/skills/~/.augment/skills/
IBM Bobbob.bob/skills/~/.bob/skills/
Claude Codeclaude-code.claude/skills/~/.claude/skills/
OpenClawopenclawskills/~/.openclaw/skills/
Cline, Dexto, Kimi Code CLI, Loaf, Warp, Zedcline, dexto, kimi-code-cli, loaf, warp, zed.agents/skills/~/.agents/skills/
CodeArts Agentcodearts-agent.codeartsdoer/skills/~/.codeartsdoer/skills/
CodeBuddycodebuddy.codebuddy/skills/~/.codebuddy/skills/
Codemakercodemaker.codemaker/skills/~/.codemaker/skills/
Code Studiocodestudio.codestudio/skills/~/.codestudio/skills/
Codexcodex.agents/skills/~/.codex/skills/
Command Codecommand-code.commandcode/skills/~/.commandcode/skills/
Continuecontinue.continue/skills/~/.continue/skills/
Cortex Codecortex.cortex/skills/~/.snowflake/cortex/skills/
Crushcrush.crush/skills/~/.config/crush/skills/
Cursorcursor.agents/skills/~/.cursor/skills/
Deep Agentsdeepagents.agents/skills/~/.deepagents/agent/skills/
Devin for Terminaldevin.devin/skills/~/.config/devin/skills/
Droiddroid.factory/skills/~/.factory/skills/
Eveeveagent/skills/N/A (project-only)
Firebenderfirebender.agents/skills/~/.firebender/skills/
ForgeCodeforgecode.forge/skills/~/.forge/skills/
Gemini CLIgemini-cli.agents/skills/~/.gemini/skills/
GitHub Copilotgithub-copilot.agents/skills/~/.copilot/skills/
Goosegoose.goose/skills/~/.config/goose/skills/
Hermes Agenthermes-agent.hermes/skills/~/.hermes/skills/
inference.shinference-sh.inferencesh/skills/~/.inferencesh/skills/
Jazzjazz.jazz/skills/~/.jazz/skills/
Juniejunie.junie/skills/~/.junie/skills/
iFlow CLIiflow-cli.iflow/skills/~/.iflow/skills/
Kilo Codekilo.kilocode/skills/~/.kilocode/skills/
Kiro CLIkiro-cli.kiro/skills/~/.kiro/skills/
Kodekode.kode/skills/~/.kode/skills/
Lingmalingma.lingma/skills/~/.lingma/skills/
MCPJammcpjam.mcpjam/skills/~/.mcpjam/skills/
Mistral Vibemistral-vibe.vibe/skills/~/.vibe/skills/
Moxbymoxby.moxby/skills/~/.moxby/skills/
Muxmux.mux/skills/~/.mux/skills/
OpenCodeopencode.agents/skills/~/.config/opencode/skills/
OpenHandsopenhands.openhands/skills/~/.openhands/skills/
Onaona.ona/skills/~/.ona/skills/
Pipi.pi/skills/~/.pi/agent/skills/
Qoderqoder.qoder/skills/~/.qoder/skills/
Qoder CNqoder-cn.qoder/skills/~/.qoder-cn/skills/
Qwen Codeqwen-code.qwen/skills/~/.qwen/skills/
Reasonixreasonix.reasonix/skills/~/.reasonix/skills/
Rovo Devrovodev.rovodev/skills/~/.rovodev/skills/
Roo Coderoo.roo/skills/~/.roo/skills/
Tabnine CLItabnine-cli.tabnine/agent/skills/~/.tabnine/agent/skills/
Terramindterramind.terramind/skills/~/.terramind/skills/
Tinycloudtinycloud.tinycloud/skills/~/.tinycloud/skills/
Traetrae.trae/skills/~/.trae/skills/
Trae CNtrae-cn.trae/skills/~/.trae-cn/skills/
Windsurfwindsurf.windsurf/skills/~/.codeium/windsurf/skills/
Zencoder, Zenflowzencoder, zenflow.zencoder/skills/~/.zencoder/skills/
Neovateneovate.neovate/skills/~/.neovate/skills/
Pochipochi.pochi/skills/~/.pochi/skills/
PromptScriptpromptscript.agents/skills/N/A (project-only)
AdaLadal.adal/skills/~/.adal/skills/

[!NOTE] Kiro CLI users: The default agent automatically loads skills from .kiro/skills/ and ~/.kiro/skills/ — no configuration needed. If you use a custom agent, add skills to its resources in .kiro/agents/<agent>.json:

{ "resources": ["skill://.kiro/skills/**/SKILL.md"] }

The CLI automatically detects which coding agents you have installed. If none are detected, you'll be prompted to select which agents to install to.

Creating Skills

Skills are directories containing a SKILL.md file with YAML frontmatter:

--- name: my-skill description: What this skill does and when to use it --- # My Skill Instructions for the agent to follow when this skill is activated. ## When to Use Describe the scenarios where this skill should be used. ## Steps 1. First, do this 2. Then, do that

Required Fields

  • name: Unique identifier (lowercase, hyphens allowed)
  • description: Brief explanation of what the skill does

Optional Fields

  • metadata.internal: Set to true to hide the skill from normal discovery. Internal skills are only visible and installable when INSTALL_INTERNAL_SKILLS=1 is set. Useful for work-in-progress skills or skills meant only for internal tooling.
--- name: my-internal-skill description: An internal skill not shown by default metadata: internal: true ---

Skill Discovery

The CLI searches for skills in these locations within a repository. Each skill container directory is walked one level deep for the common flat layout (skills/<name>/SKILL.md) and one extra level deep for catalog layouts (skills/<category>/<name>/SKILL.md). A SKILL.md discovered at the shallower level shadows anything nested below it. Use --full-depth to also discover SKILL.md files outside these container directories (e.g. under examples/ or tests/).

  • Root directory (if it contains SKILL.md)
  • skills/
  • skills/.curated/
  • skills/.experimental/
  • skills/.system/
  • .aider-desk/skills/
  • .agents/skills/
  • data/skills/
  • .autohand/skills/
  • .augment/skills/
  • .bob/skills/
  • .claude/skills/
  • .codeartsdoer/skills/
  • .codebuddy/skills/
  • .codemaker/skills/
  • .codestudio/skills/
  • .commandcode/skills/
  • .continue/skills/
  • .cortex/skills/
  • .crush/skills/
  • .devin/skills/
  • .factory/skills/
  • agent/skills/
  • .forge/skills/
  • .goose/skills/
  • .hermes/skills/
  • .inferencesh/skills/
  • .jazz/skills/
  • .junie/skills/
  • .iflow/skills/
  • .kilocode/skills/
  • .kiro/skills/
  • .kode/skills/
  • .lingma/skills/
  • .mcpjam/skills/
  • .vibe/skills/
  • .moxby/skills/
  • .mux/skills/
  • .openhands/skills/
  • .ona/skills/
  • .pi/skills/
  • .qoder/skills/
  • .qwen/skills/
  • .reasonix/skills/
  • .rovodev/skills/
  • .roo/skills/
  • .tabnine/agent/skills/
  • .terramind/skills/
  • .tinycloud/skills/
  • .trae/skills/
  • .windsurf/skills/
  • .zencoder/skills/
  • .neovate/skills/
  • .pochi/skills/
  • .adal/skills/

Plugin Manifest Discovery

If .claude-plugin/marketplace.json or .claude-plugin/plugin.json exists, skills declared in those files are also discovered:

// .claude-plugin/marketplace.json { "metadata": { "pluginRoot": "./plugins" }, "plugins": [ { "name": "my-plugin", "source": "my-plugin", "skills": ["./skills/review", "./skills/test"] } ] }

This enables compatibility with the Claude Code plugin marketplace ecosystem. Skill paths declared in a manifest are searched at their declared depth and are not subject to the depth-2 catalog walk described above.

If no skills are found in standard locations, a recursive search is performed.

Compatibility

Skills are generally compatible across agents since they follow a shared Agent Skills specification. However, some features may be agent-specific:

FeatureOpenCodeOpenHandsClaude CodeClineCodeBuddyCodexCommand CodeKiro CLICursorAntigravityRoo CodeGithub CopilotAmpOpenClawNeovatePiQoderZencoder
Basic skillsYesYesYesYesYesYesYesYesYesYesYesYesYesYesYesYesYesYes
allowed-toolsYesYesYesYesYesYesYesNoYesYesYesYesYesYesYesYesYesNo
context: forkNoNoYesNoNoNoNoNoNoNoNoNoNoNoNoNoNoNo
HooksNoNoYesYesNoNoNoYesNoNoNoNoNoNoNoNoNoNo

Troubleshooting

"No skills found"

Ensure the repository contains valid SKILL.md files with both name and description in the frontmatter.

Skill not loading in agent

  • Verify the skill was installed to the correct path
  • Check the agent's documentation for skill loading requirements
  • Ensure the SKILL.md frontmatter is valid YAML

Permission errors

Ensure you have write access to the target directory.

Environment Variables

VariableDescription
INSTALL_INTERNAL_SKILLSSet to 1 or true to show and install skills marked as internal: true
DISABLE_TELEMETRYSet to disable anonymous usage telemetry
DO_NOT_TRACKAlternative way to disable telemetry
# Install internal skills INSTALL_INTERNAL_SKILLS=1 npx skills add vercel-labs/agent-skills --list

Telemetry

This CLI collects anonymous usage data to help improve the tool. No personal information is collected.

Telemetry is automatically disabled in CI environments.

Related Links

License

MIT

关于 About

The open agent skills tool - npx skills

语言 Languages

TypeScript95.1%
JavaScript4.9%

提交活跃度 Commit Activity

代码提交热力图
过去 52 周的开发活跃度
322
Total Commits
峰值: 65次/周
Less
More

核心贡献者 Contributors