Skip to main content
This guide will walk you through installing and using your first agent skill.

Install a Skill

The quickest way to get started is to install skills from a GitHub repository:
Terminal
1

Source Detection

The CLI parses the source and clones the repository
2

Skill Discovery

Automatically discovers all skills in the repository
3

Agent Detection

Detects which coding agents you have installed
4

Interactive Selection

Select which skills and agents to install to
5

Installation

Installs skills with your chosen method (symlink or copy)

List Available Skills

Before installing, you can preview available skills in a repository:
Terminal
This shows all skills without installing anything.

Source Formats

The CLI supports multiple source formats:

Installation Options

Install to Specific Agents

Target specific coding agents using the --agent or -a flag:
Terminal
Available agent names: claude-code, codex, cursor, cline, opencode, windsurf, and 37 more.

Install Specific Skills

Install only certain skills from a repository:
Terminal

Global vs Project Installation

By default, skills are installed at the project level. Use -g for global installation:

Installation Methods

When installing interactively, you can choose between: To force copy mode non-interactively:
Terminal

Non-Interactive Installation

For CI/CD pipelines or automation, skip all prompts:
Terminal
The --all flag is shorthand for --skill '*' --agent '*' -y

Managing Skills

List Installed Skills

View all installed skills:
Terminal

Search for Skills

Find skills interactively or by keyword:
Terminal

Check for Updates

Check if any installed skills have updates:
Terminal
The CLI compares the GitHub tree SHA of your installed skills against the latest version in the repository.
Update checking only works for skills installed from GitHub repositories. Local paths and git URLs are skipped.

Update Skills

Update all skills to their latest versions:
Terminal
This automatically reinstalls each skill that has an available update.

Remove Skills

Remove installed skills:
Terminal

Creating Your Own Skills

Initialize a Skill

Create a new skill template:
Terminal
This creates a SKILL.md file with the required frontmatter:
SKILL.md

Skill Structure

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

Required Fields

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

Publishing Your Skill

Once you’ve created a skill:
1

Create Repository

Push your skill to GitHub in a repository
2

Organize Skills

Place skills in a skills/ directory (recommended) or root
3

Share

Others can install with npx skills add owner/repo
4

Submit to Registry

Submit to skills.sh for discovery

Advanced Features

Restore from Lock File

Restore skills from skills-lock.json (experimental):
Terminal

Sync from node_modules

Sync skills found in node_modules (experimental):
Terminal

Common Workflows

Team Collaboration

Share skills with your team by installing at project level:
Terminal
Team members will have the skills when they clone the repository.

Personal Productivity

Install skills globally for personal use across all projects:
Terminal

CI/CD Integration

Use non-interactive mode in CI pipelines:
Terminal

Example Commands

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 using npx skills list
  • Check the agent’s documentation for skill loading requirements
  • Ensure the SKILL.md frontmatter is valid YAML
  • Restart your coding agent to reload skills

Permission errors

Ensure you have write access to the target directory. Try using global installation (-g) or check directory permissions.

Rate limit errors

If you hit GitHub API rate limits:
Terminal

Next Steps

Browse Skills

Discover community skills at skills.sh

Agent Skills Spec

Learn about the Agent Skills specification

Create a Skill

Build your own skill with npx skills init

View Source

Explore the CLI source code