Installation Modes
When installing skills, you can choose between two modes:Symlink (Default)
Creates a canonical copy and symlinks to each agent directory. Single source of truth, easy updates.
Copy
Creates independent copies for each agent. Use when symlinks aren’t supported.
Symlink Mode (Recommended)
How It Works
- Canonical copy: Skills are copied to
.agents/skills/<skill-name>(or~/.agents/skills/<skill-name>for global) - Symlinks: Each agent’s skill directory symlinks to the canonical location
- Single source: Updates to the canonical copy automatically apply to all agents
Directory Structure
Benefits
Single Source of Truth
Single Source of Truth
Skills live in one canonical location (
.agents/skills/). When you update a skill, all agents see the changes immediately.Disk Space Efficiency
Disk Space Efficiency
One copy on disk instead of multiple duplicates saves space, especially for repositories with many skills.
Easy Updates
Easy Updates
Run
npx skills update to update all skills at once. No need to track which agents have which versions.Team Collaboration
Team Collaboration
Commit
.agents/skills/ to version control and your team gets consistent skills across all agents.When to Use
- Most projects - Default and recommended for typical use cases
- Team collaboration - When skills should be version-controlled and shared
- Active development - When you’re frequently updating skills
- Multiple agents - When using several coding agents on the same machine
Automatic Fallback
If symlink creation fails (e.g., on some Windows configurations or restricted filesystems), the CLI automatically falls back to copy mode for that installation.Copy Mode
How It Works
- Direct copies: Skills are copied directly to each agent’s directory
- Independent: Each agent has its own copy of the skill
- No symlinks: Works on any filesystem without symlink support
Directory Structure
When to Use
- Restricted filesystems - When symlinks aren’t supported or allowed
- Windows (some configs) - When symlink permissions aren’t available
- Agent-specific customization - When you want different versions per agent
- Explicit requirement - When you specifically need independent copies
Usage
Enable copy mode with the--copy flag:
Trade-offs
Installation Scopes
Both methods support two installation scopes:| Scope | Flag | Location | Use Case |
|---|---|---|---|
| Project | (default) | ./<agent>/skills/ | Committed with your project, shared with team |
| Global | -g | ~/<agent>/skills/ | Available across all projects |
Project Scope (Default)
- Skills are installed to
.agents/skills/and.claude/skills/,.cursor/skills/, etc. - Typically committed to version control
- Team members get the same skills when they clone the repo
- Isolated per project
Global Scope
- Skills are installed to
~/.agents/skills/and~/.claude/skills/,~/.cursor/skills/, etc. - Available across all projects on your machine
- Not committed to version control
- Personal skills or tools you use everywhere
Universal Agents
Some agents natively use the.agents/skills/ directory and don’t need symlinks:
- OpenCode
- Codex
- Cursor
- Cline
- Amp
- Kimi Code CLI
- Replit
- Gemini CLI
- GitHub Copilot
- Project installs: Skills are placed directly in
.agents/skills/ - Global installs: Skills may still require symlinks from agent-specific directories (e.g.,
~/.cursor/skills/→~/.config/opencode/skills/)
Interactive Installation
When you runnpx skills add without the --copy flag, you’ll be prompted to choose:
Checking Installation
Verify which skills are installed:- Skill name and description
- Installation scope (project or global)
- Which agents have the skill installed
Updating Skills
Update all installed skills to the latest versions:Troubleshooting
Symlinks not working on Windows
Symlinks not working on Windows
Developer mode or administrator privileges may be required for symlinks on Windows. If you don’t have these permissions, use
--copy mode instead:Permission errors during installation
Permission errors during installation
Ensure you have write access to the target directory. For global installs, you may need appropriate permissions for
~/ directories.Skills not loading in agent
Skills not loading in agent
- Verify installation with
npx skills list - Check that the skill has valid
SKILL.mdfrontmatter - Restart your coding agent to reload skills
- Check the agent’s documentation for skill loading requirements
Next Steps
Source Formats
Learn about all supported installation sources
Creating Skills
Create your own custom skills