@bud-fe/skills 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +563 -0
- package/ThirdPartyNoticeText.txt +125 -0
- package/bin/cli.mjs +14 -0
- package/dist/_chunks/libs/@clack/core.mjs +767 -0
- package/dist/_chunks/libs/@clack/prompts.mjs +275 -0
- package/dist/_chunks/libs/@kwsites/file-exists.mjs +562 -0
- package/dist/_chunks/libs/@kwsites/promise-deferred.mjs +37 -0
- package/dist/_chunks/libs/esprima.mjs +5338 -0
- package/dist/_chunks/libs/extend-shallow.mjs +31 -0
- package/dist/_chunks/libs/gray-matter.mjs +2596 -0
- package/dist/_chunks/libs/simple-git.mjs +3584 -0
- package/dist/_chunks/libs/xdg-basedir.mjs +14 -0
- package/dist/_chunks/rolldown-runtime.mjs +24 -0
- package/dist/cli.d.mts +1 -0
- package/dist/cli.mjs +5321 -0
- package/package.json +111 -0
package/README.md
ADDED
|
@@ -0,0 +1,563 @@
|
|
|
1
|
+
# skills-x
|
|
2
|
+
|
|
3
|
+
The CLI for the open agent skills, commands ecosystem.
|
|
4
|
+
|
|
5
|
+
Forked from [vercel-labs/skills](https://github.com/vercel-labs/skills), **recent spec changes**:
|
|
6
|
+
|
|
7
|
+
- `skills add` now supports implicit default-registry source resolution when flags are provided without a source (for example `--list` and `--all`).
|
|
8
|
+
- `skills add` maps simple identifiers (for example `code-review`) to the curated default registry, while explicit sources (`owner/repo`, URLs, local paths) keep their existing behavior.
|
|
9
|
+
- `skills add-c` installs command markdown files from the default registry `commands/` directory by command name.
|
|
10
|
+
- `skills find` is provider-scoped:
|
|
11
|
+
- default mode searches the curated registry
|
|
12
|
+
- `-g` / `--global` searches [skills.sh](https://skills.sh)
|
|
13
|
+
- the CLI does not silently fall back to another provider if the selected provider fails
|
|
14
|
+
|
|
15
|
+
---
|
|
16
|
+
|
|
17
|
+
<!-- agent-list:start -->
|
|
18
|
+
|
|
19
|
+
Supports **OpenCode**, **Claude Code**, **Codex**, **Cursor**, and [37 more](#available-agents).
|
|
20
|
+
|
|
21
|
+
<!-- agent-list:end -->
|
|
22
|
+
|
|
23
|
+
## Install a Skill
|
|
24
|
+
|
|
25
|
+
```bash
|
|
26
|
+
# Install a curated skill by name
|
|
27
|
+
npx @bud-fe/skills add code-review
|
|
28
|
+
|
|
29
|
+
# Install from a specific repository
|
|
30
|
+
npx @bud-fe/skills add vercel-labs/agent-skills
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
### Source Formats
|
|
34
|
+
|
|
35
|
+
```bash
|
|
36
|
+
# Curated skill name (from default registry)
|
|
37
|
+
npx @bud-fe/skills add code-review
|
|
38
|
+
|
|
39
|
+
# GitHub shorthand (owner/repo)
|
|
40
|
+
npx @bud-fe/skills add vercel-labs/agent-skills
|
|
41
|
+
|
|
42
|
+
# Full GitHub URL
|
|
43
|
+
npx @bud-fe/skills add https://github.com/vercel-labs/agent-skills
|
|
44
|
+
|
|
45
|
+
# Direct path to a skill in a repo
|
|
46
|
+
npx @bud-fe/skills add https://github.com/vercel-labs/agent-skills/tree/main/skills/web-design-guidelines
|
|
47
|
+
|
|
48
|
+
# GitLab URL
|
|
49
|
+
npx @bud-fe/skills add https://gitlab.com/org/repo
|
|
50
|
+
|
|
51
|
+
# Any git URL
|
|
52
|
+
npx @bud-fe/skills add git@github.com:vercel-labs/agent-skills.git
|
|
53
|
+
|
|
54
|
+
# Local path
|
|
55
|
+
npx @bud-fe/skills add ./my-local-skills
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
### Source Resolution Rules
|
|
59
|
+
|
|
60
|
+
- Simple identifier input (letters, numbers, hyphens only) resolves to the curated default registry:
|
|
61
|
+
- `npx @bud-fe/skills add code-review`
|
|
62
|
+
- Explicit sources are always preserved (no default-registry remap):
|
|
63
|
+
- `owner/repo`
|
|
64
|
+
- full URLs
|
|
65
|
+
- local paths
|
|
66
|
+
- No source + options uses the default registry:
|
|
67
|
+
- `npx @bud-fe/skills add --list`
|
|
68
|
+
- `npx @bud-fe/skills add --all`
|
|
69
|
+
- No source + no options returns an error:
|
|
70
|
+
- `npx @bud-fe/skills add`
|
|
71
|
+
|
|
72
|
+
### Options
|
|
73
|
+
|
|
74
|
+
| Option | Description |
|
|
75
|
+
| ------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
76
|
+
| `-g, --global` | Install to user directory instead of project |
|
|
77
|
+
| `-a, --agent <agents...>` | <!-- agent-names:start -->Target specific agents (e.g., `claude-code`, `codex`). See [Available Agents](#available-agents)<!-- agent-names:end --> |
|
|
78
|
+
| `-s, --skill <skills...>` | Install specific skills by name (use `'*'` for all skills) |
|
|
79
|
+
| `-l, --list` | List available skills without installing |
|
|
80
|
+
| `--copy` | Copy files instead of symlinking to agent directories |
|
|
81
|
+
| `-y, --yes` | Skip all confirmation prompts |
|
|
82
|
+
| `--all` | Install all skills to all agents without prompts (defaults to curated registry if no source provided) |
|
|
83
|
+
|
|
84
|
+
### Examples
|
|
85
|
+
|
|
86
|
+
```bash
|
|
87
|
+
# List all skills in the default curated registry
|
|
88
|
+
npx @bud-fe/skills add --list
|
|
89
|
+
|
|
90
|
+
# List skills in a specific repository
|
|
91
|
+
npx @bud-fe/skills add vercel-labs/agent-skills --list
|
|
92
|
+
|
|
93
|
+
# Install a curated skill
|
|
94
|
+
npx @bud-fe/skills add code-review
|
|
95
|
+
|
|
96
|
+
# Install specific skills from a repo
|
|
97
|
+
npx @bud-fe/skills add vercel-labs/agent-skills --skill frontend-design --skill skill-creator
|
|
98
|
+
|
|
99
|
+
# Install a skill with spaces in the name (must be quoted)
|
|
100
|
+
npx @bud-fe/skills add owner/repo --skill "Convex Best Practices"
|
|
101
|
+
|
|
102
|
+
# Install to specific agents
|
|
103
|
+
npx @bud-fe/skills add vercel-labs/agent-skills -a claude-code -a opencode
|
|
104
|
+
|
|
105
|
+
# Non-interactive installation (CI/CD friendly)
|
|
106
|
+
npx @bud-fe/skills add vercel-labs/agent-skills --skill frontend-design -g -a claude-code -y
|
|
107
|
+
|
|
108
|
+
# Install all skills from a repo to all agents
|
|
109
|
+
npx @bud-fe/skills add vercel-labs/agent-skills --all
|
|
110
|
+
|
|
111
|
+
# Install all skills to specific agents
|
|
112
|
+
npx @bud-fe/skills add vercel-labs/agent-skills --skill '*' -a claude-code
|
|
113
|
+
|
|
114
|
+
# Install specific skills to all agents
|
|
115
|
+
npx @bud-fe/skills add vercel-labs/agent-skills --agent '*' --skill frontend-design
|
|
116
|
+
|
|
117
|
+
# Install all curated skills to all agents
|
|
118
|
+
npx @bud-fe/skills add --all
|
|
119
|
+
|
|
120
|
+
# Install all skills from a repo to all agents
|
|
121
|
+
npx @bud-fe/skills add vercel-labs/agent-skills --all
|
|
122
|
+
```
|
|
123
|
+
|
|
124
|
+
### Installation Scope
|
|
125
|
+
|
|
126
|
+
| Scope | Flag | Location | Use Case |
|
|
127
|
+
| ----------- | --------- | ------------------- | --------------------------------------------- |
|
|
128
|
+
| **Project** | (default) | `./<agent>/skills/` | Committed with your project, shared with team |
|
|
129
|
+
| **Global** | `-g` | `~/<agent>/skills/` | Available across all projects |
|
|
130
|
+
|
|
131
|
+
### Installation Methods
|
|
132
|
+
|
|
133
|
+
When installing interactively, you can choose:
|
|
134
|
+
|
|
135
|
+
| Method | Description |
|
|
136
|
+
| ------------------------- | ------------------------------------------------------------------------------------------- |
|
|
137
|
+
| **Symlink** (Recommended) | Creates symlinks from each agent to a canonical copy. Single source of truth, easy updates. |
|
|
138
|
+
| **Copy** | Creates independent copies for each agent. Use when symlinks aren't supported. |
|
|
139
|
+
|
|
140
|
+
## Other Commands
|
|
141
|
+
|
|
142
|
+
| Command | Description |
|
|
143
|
+
| ------------------------------------ | --------------------------------------------------------------- |
|
|
144
|
+
| `npx @bud-fe/skills add-c [command]` | Install command files from default registry |
|
|
145
|
+
| `npx @bud-fe/skills list` | List installed skills (alias: `ls`) |
|
|
146
|
+
| `npx @bud-fe/skills find [query]` | Search curated registry by default (`-g` for global API search) |
|
|
147
|
+
| `npx @bud-fe/skills remove [skills]` | Remove installed skills from agents |
|
|
148
|
+
| `npx @bud-fe/skills check` | Check for available skill updates |
|
|
149
|
+
| `npx @bud-fe/skills update` | Update all installed skills to latest versions |
|
|
150
|
+
| `npx @bud-fe/skills init [name]` | Create a new SKILL.md template |
|
|
151
|
+
|
|
152
|
+
### `skills list`
|
|
153
|
+
|
|
154
|
+
List all installed skills. Similar to `npm ls`.
|
|
155
|
+
|
|
156
|
+
```bash
|
|
157
|
+
# List all installed skills (project and global)
|
|
158
|
+
npx @bud-fe/skills list
|
|
159
|
+
|
|
160
|
+
# List only global skills
|
|
161
|
+
npx @bud-fe/skills ls -g
|
|
162
|
+
|
|
163
|
+
# Filter by specific agents
|
|
164
|
+
npx @bud-fe/skills ls -a claude-code -a cursor
|
|
165
|
+
```
|
|
166
|
+
|
|
167
|
+
### `skills add-c`
|
|
168
|
+
|
|
169
|
+
Install command markdown files from the default registry `commands/` directory.
|
|
170
|
+
|
|
171
|
+
`add-c` only accepts command names (not repository URLs, `owner/repo`, or local paths).
|
|
172
|
+
|
|
173
|
+
- Command discovery is filename-based from `commands/**/*.md` (command name = filename without `.md`).
|
|
174
|
+
- `--list` shows command descriptions from YAML frontmatter when a `description` field is present.
|
|
175
|
+
- Commands are installed as `<name>.md` files into each selected agent's command/workflow path.
|
|
176
|
+
- Interactive agent selection for `add-c` only includes command-capable agents.
|
|
177
|
+
|
|
178
|
+
```bash
|
|
179
|
+
# Install one command by name
|
|
180
|
+
npx @bud-fe/skills add-c my-command
|
|
181
|
+
|
|
182
|
+
# Install specific commands
|
|
183
|
+
npx @bud-fe/skills add-c -c my-command -c another-command
|
|
184
|
+
|
|
185
|
+
# List available commands
|
|
186
|
+
npx @bud-fe/skills add-c --list
|
|
187
|
+
|
|
188
|
+
# Install all commands to all supported agents without prompts
|
|
189
|
+
npx @bud-fe/skills add-c --all
|
|
190
|
+
|
|
191
|
+
# Install globally
|
|
192
|
+
npx @bud-fe/skills add-c my-command --global
|
|
193
|
+
```
|
|
194
|
+
|
|
195
|
+
| Option | Description |
|
|
196
|
+
| -------------------------- | -------------------------------------------------------------------- |
|
|
197
|
+
| `-g, --global` | Install to user directory instead of project |
|
|
198
|
+
| `-a, --agent <agents...>` | Install to specific command-capable agents (`'*'` for all supported) |
|
|
199
|
+
| `-c, --command <names...>` | Install specific commands by name (`'*'` for all commands) |
|
|
200
|
+
| `-l, --list` | List available commands without installing |
|
|
201
|
+
| `-y, --yes` | Skip confirmation prompts |
|
|
202
|
+
| `--all` | Shorthand for `--command '*' --agent '*' -y` |
|
|
203
|
+
|
|
204
|
+
Supported command-capable agents:
|
|
205
|
+
|
|
206
|
+
| Agent | `--agent` | Project Path | Global Path |
|
|
207
|
+
| ----------- | ------------- | ------------------------ | ------------------------------ |
|
|
208
|
+
| Claude Code | `claude-code` | `.claude/commands/` | `~/.claude/commands/` |
|
|
209
|
+
| OpenCode | `opencode` | `.opencode/commands/` | `~/.opencode/commands/` |
|
|
210
|
+
| Cline | `cline` | `.clinerules/workflows/` | `~/Documents/Cline/Workflows/` |
|
|
211
|
+
| Kilo Code | `kilo` | `.kilocode/workflows/` | `~/.kilocode/workflows/` |
|
|
212
|
+
|
|
213
|
+
### `skills find`
|
|
214
|
+
|
|
215
|
+
Search for skills by provider mode:
|
|
216
|
+
|
|
217
|
+
- default mode (`npx @bud-fe/skills find ...`) searches the curated default registry
|
|
218
|
+
- global mode (`npx @bud-fe/skills find -g ...`) searches `https://skills.sh`
|
|
219
|
+
- default registry matching is case-insensitive substring matching on skill names
|
|
220
|
+
- default-registry results include:
|
|
221
|
+
- install hint: `npx @bud-fe/skills add <name>`
|
|
222
|
+
- link to the skill directory in the default registry repository
|
|
223
|
+
- results are scoped to the active provider only (no implicit cross-provider fallback)
|
|
224
|
+
|
|
225
|
+
```bash
|
|
226
|
+
# Interactive search in default registry (fzf-style)
|
|
227
|
+
npx @bud-fe/skills find
|
|
228
|
+
|
|
229
|
+
# Search default registry by keyword
|
|
230
|
+
npx @bud-fe/skills find typescript
|
|
231
|
+
|
|
232
|
+
# Search globally on skills.sh API
|
|
233
|
+
npx @bud-fe/skills find -g typescript
|
|
234
|
+
```
|
|
235
|
+
|
|
236
|
+
### `skills check` / `skills update`
|
|
237
|
+
|
|
238
|
+
```bash
|
|
239
|
+
# Check if any installed skills have updates
|
|
240
|
+
npx @bud-fe/skills check
|
|
241
|
+
|
|
242
|
+
# Update all skills to latest versions
|
|
243
|
+
npx @bud-fe/skills update
|
|
244
|
+
```
|
|
245
|
+
|
|
246
|
+
### `skills init`
|
|
247
|
+
|
|
248
|
+
```bash
|
|
249
|
+
# Create SKILL.md in current directory
|
|
250
|
+
npx @bud-fe/skills init
|
|
251
|
+
|
|
252
|
+
# Create a new skill in a subdirectory
|
|
253
|
+
npx @bud-fe/skills init my-skill
|
|
254
|
+
```
|
|
255
|
+
|
|
256
|
+
### `skills remove`
|
|
257
|
+
|
|
258
|
+
Remove installed skills from agents.
|
|
259
|
+
|
|
260
|
+
```bash
|
|
261
|
+
# Remove interactively (select from installed skills)
|
|
262
|
+
npx @bud-fe/skills remove
|
|
263
|
+
|
|
264
|
+
# Remove specific skill by name
|
|
265
|
+
npx @bud-fe/skills remove web-design-guidelines
|
|
266
|
+
|
|
267
|
+
# Remove multiple skills
|
|
268
|
+
npx @bud-fe/skills remove frontend-design web-design-guidelines
|
|
269
|
+
|
|
270
|
+
# Remove from global scope
|
|
271
|
+
npx @bud-fe/skills remove --global web-design-guidelines
|
|
272
|
+
|
|
273
|
+
# Remove from specific agents only
|
|
274
|
+
npx @bud-fe/skills remove --agent claude-code cursor my-skill
|
|
275
|
+
|
|
276
|
+
# Remove all installed skills without confirmation
|
|
277
|
+
npx @bud-fe/skills remove --all
|
|
278
|
+
|
|
279
|
+
# Remove all skills from a specific agent
|
|
280
|
+
npx @bud-fe/skills remove --skill '*' -a cursor
|
|
281
|
+
|
|
282
|
+
# Remove a specific skill from all agents
|
|
283
|
+
npx @bud-fe/skills remove my-skill --agent '*'
|
|
284
|
+
|
|
285
|
+
# Use 'rm' alias
|
|
286
|
+
npx @bud-fe/skills rm my-skill
|
|
287
|
+
```
|
|
288
|
+
|
|
289
|
+
| Option | Description |
|
|
290
|
+
| -------------- | ------------------------------------------------ |
|
|
291
|
+
| `-g, --global` | Remove from global scope (~/) instead of project |
|
|
292
|
+
| `-a, --agent` | Remove from specific agents (use `'*'` for all) |
|
|
293
|
+
| `-s, --skill` | Specify skills to remove (use `'*'` for all) |
|
|
294
|
+
| `-y, --yes` | Skip confirmation prompts |
|
|
295
|
+
| `--all` | Shorthand for `--skill '*' --agent '*' -y` |
|
|
296
|
+
|
|
297
|
+
## What are Agent Skills?
|
|
298
|
+
|
|
299
|
+
Agent skills are reusable instruction sets that extend your coding agent's capabilities. They're defined in `SKILL.md`
|
|
300
|
+
files with YAML frontmatter containing a `name` and `description`.
|
|
301
|
+
|
|
302
|
+
Skills let agents perform specialized tasks like:
|
|
303
|
+
|
|
304
|
+
- Generating release notes from git history
|
|
305
|
+
- Creating PRs following your team's conventions
|
|
306
|
+
- Integrating with external tools (Linear, Notion, etc.)
|
|
307
|
+
|
|
308
|
+
Discover skills at **[skills.sh](https://skills.sh)**
|
|
309
|
+
|
|
310
|
+
## Supported Agents
|
|
311
|
+
|
|
312
|
+
Skills can be installed to any of these agents:
|
|
313
|
+
|
|
314
|
+
<!-- supported-agents:start -->
|
|
315
|
+
|
|
316
|
+
| Agent | `--agent` | Project Path | Global Path |
|
|
317
|
+
| ------------------------------------- | ---------------------------------------- | ---------------------- | ------------------------------- |
|
|
318
|
+
| Amp, Kimi Code CLI, Replit, Universal | `amp`, `kimi-cli`, `replit`, `universal` | `.agents/skills/` | `~/.config/agents/skills/` |
|
|
319
|
+
| Antigravity | `antigravity` | `.agent/skills/` | `~/.gemini/antigravity/skills/` |
|
|
320
|
+
| Augment | `augment` | `.augment/skills/` | `~/.augment/skills/` |
|
|
321
|
+
| Claude Code | `claude-code` | `.claude/skills/` | `~/.claude/skills/` |
|
|
322
|
+
| OpenClaw | `openclaw` | `skills/` | `~/.openclaw/skills/` |
|
|
323
|
+
| Cline | `cline` | `.cline/skills/` | `~/.cline/skills/` |
|
|
324
|
+
| CodeBuddy | `codebuddy` | `.codebuddy/skills/` | `~/.codebuddy/skills/` |
|
|
325
|
+
| Codex | `codex` | `.agents/skills/` | `~/.codex/skills/` |
|
|
326
|
+
| Command Code | `command-code` | `.commandcode/skills/` | `~/.commandcode/skills/` |
|
|
327
|
+
| Continue | `continue` | `.continue/skills/` | `~/.continue/skills/` |
|
|
328
|
+
| Cortex Code | `cortex` | `.cortex/skills/` | `~/.snowflake/cortex/skills/` |
|
|
329
|
+
| Crush | `crush` | `.crush/skills/` | `~/.config/crush/skills/` |
|
|
330
|
+
| Cursor | `cursor` | `.agents/skills/` | `~/.cursor/skills/` |
|
|
331
|
+
| Droid | `droid` | `.factory/skills/` | `~/.factory/skills/` |
|
|
332
|
+
| Gemini CLI | `gemini-cli` | `.agents/skills/` | `~/.gemini/skills/` |
|
|
333
|
+
| GitHub Copilot | `github-copilot` | `.agents/skills/` | `~/.copilot/skills/` |
|
|
334
|
+
| Goose | `goose` | `.goose/skills/` | `~/.config/goose/skills/` |
|
|
335
|
+
| Junie | `junie` | `.junie/skills/` | `~/.junie/skills/` |
|
|
336
|
+
| iFlow CLI | `iflow-cli` | `.iflow/skills/` | `~/.iflow/skills/` |
|
|
337
|
+
| Kilo Code | `kilo` | `.kilocode/skills/` | `~/.kilocode/skills/` |
|
|
338
|
+
| Kiro CLI | `kiro-cli` | `.kiro/skills/` | `~/.kiro/skills/` |
|
|
339
|
+
| Kode | `kode` | `.kode/skills/` | `~/.kode/skills/` |
|
|
340
|
+
| MCPJam | `mcpjam` | `.mcpjam/skills/` | `~/.mcpjam/skills/` |
|
|
341
|
+
| Mistral Vibe | `mistral-vibe` | `.vibe/skills/` | `~/.vibe/skills/` |
|
|
342
|
+
| Mux | `mux` | `.mux/skills/` | `~/.mux/skills/` |
|
|
343
|
+
| OpenCode | `opencode` | `.agents/skills/` | `~/.config/opencode/skills/` |
|
|
344
|
+
| OpenHands | `openhands` | `.openhands/skills/` | `~/.openhands/skills/` |
|
|
345
|
+
| Pi | `pi` | `.pi/skills/` | `~/.pi/agent/skills/` |
|
|
346
|
+
| Qoder | `qoder` | `.qoder/skills/` | `~/.qoder/skills/` |
|
|
347
|
+
| Qwen Code | `qwen-code` | `.qwen/skills/` | `~/.qwen/skills/` |
|
|
348
|
+
| Roo Code | `roo` | `.roo/skills/` | `~/.roo/skills/` |
|
|
349
|
+
| Trae | `trae` | `.trae/skills/` | `~/.trae/skills/` |
|
|
350
|
+
| Trae CN | `trae-cn` | `.trae/skills/` | `~/.trae-cn/skills/` |
|
|
351
|
+
| Windsurf | `windsurf` | `.windsurf/skills/` | `~/.codeium/windsurf/skills/` |
|
|
352
|
+
| Zencoder | `zencoder` | `.zencoder/skills/` | `~/.zencoder/skills/` |
|
|
353
|
+
| Neovate | `neovate` | `.neovate/skills/` | `~/.neovate/skills/` |
|
|
354
|
+
| Pochi | `pochi` | `.pochi/skills/` | `~/.pochi/skills/` |
|
|
355
|
+
| AdaL | `adal` | `.adal/skills/` | `~/.adal/skills/` |
|
|
356
|
+
|
|
357
|
+
<!-- supported-agents:end -->
|
|
358
|
+
|
|
359
|
+
> [!NOTE]
|
|
360
|
+
> **Kiro CLI users:** After installing skills, manually add them to your custom agent's `resources` in
|
|
361
|
+
> `.kiro/agents/<agent>.json`:
|
|
362
|
+
>
|
|
363
|
+
> ```json
|
|
364
|
+
> {
|
|
365
|
+
> "resources": ["skill://.kiro/skills/**/SKILL.md"]
|
|
366
|
+
> }
|
|
367
|
+
> ```
|
|
368
|
+
|
|
369
|
+
The CLI automatically detects which coding agents you have installed. If none are detected, you'll be prompted to select
|
|
370
|
+
which agents to install to.
|
|
371
|
+
|
|
372
|
+
## Creating Skills
|
|
373
|
+
|
|
374
|
+
Skills are directories containing a `SKILL.md` file with YAML frontmatter:
|
|
375
|
+
|
|
376
|
+
```markdown
|
|
377
|
+
---
|
|
378
|
+
name: my-skill
|
|
379
|
+
description: What this skill does and when to use it
|
|
380
|
+
---
|
|
381
|
+
|
|
382
|
+
# My Skill
|
|
383
|
+
|
|
384
|
+
Instructions for the agent to follow when this skill is activated.
|
|
385
|
+
|
|
386
|
+
## When to Use
|
|
387
|
+
|
|
388
|
+
Describe the scenarios where this skill should be used.
|
|
389
|
+
|
|
390
|
+
## Steps
|
|
391
|
+
|
|
392
|
+
1. First, do this
|
|
393
|
+
2. Then, do that
|
|
394
|
+
```
|
|
395
|
+
|
|
396
|
+
### Required Fields
|
|
397
|
+
|
|
398
|
+
- `name`: Unique identifier (lowercase, hyphens allowed)
|
|
399
|
+
- `description`: Brief explanation of what the skill does
|
|
400
|
+
|
|
401
|
+
### Optional Fields
|
|
402
|
+
|
|
403
|
+
- `metadata.internal`: Set to `true` to hide the skill from normal discovery. Internal skills are only visible and
|
|
404
|
+
installable when `INSTALL_INTERNAL_SKILLS=1` is set. Useful for work-in-progress skills or skills meant only for
|
|
405
|
+
internal tooling.
|
|
406
|
+
|
|
407
|
+
```markdown
|
|
408
|
+
---
|
|
409
|
+
name: my-internal-skill
|
|
410
|
+
description: An internal skill not shown by default
|
|
411
|
+
metadata:
|
|
412
|
+
internal: true
|
|
413
|
+
---
|
|
414
|
+
```
|
|
415
|
+
|
|
416
|
+
### Skill Discovery
|
|
417
|
+
|
|
418
|
+
The CLI searches for skills in these locations within a repository:
|
|
419
|
+
|
|
420
|
+
<!-- skill-discovery:start -->
|
|
421
|
+
|
|
422
|
+
- Root directory (if it contains `SKILL.md`)
|
|
423
|
+
- `skills/`
|
|
424
|
+
- `skills/.curated/`
|
|
425
|
+
- `skills/.experimental/`
|
|
426
|
+
- `skills/.system/`
|
|
427
|
+
- `.agents/skills/`
|
|
428
|
+
- `.agent/skills/`
|
|
429
|
+
- `.augment/skills/`
|
|
430
|
+
- `.claude/skills/`
|
|
431
|
+
- `./skills/`
|
|
432
|
+
- `.cline/skills/`
|
|
433
|
+
- `.codebuddy/skills/`
|
|
434
|
+
- `.commandcode/skills/`
|
|
435
|
+
- `.continue/skills/`
|
|
436
|
+
- `.cortex/skills/`
|
|
437
|
+
- `.crush/skills/`
|
|
438
|
+
- `.factory/skills/`
|
|
439
|
+
- `.goose/skills/`
|
|
440
|
+
- `.junie/skills/`
|
|
441
|
+
- `.iflow/skills/`
|
|
442
|
+
- `.kilocode/skills/`
|
|
443
|
+
- `.kiro/skills/`
|
|
444
|
+
- `.kode/skills/`
|
|
445
|
+
- `.mcpjam/skills/`
|
|
446
|
+
- `.vibe/skills/`
|
|
447
|
+
- `.mux/skills/`
|
|
448
|
+
- `.openhands/skills/`
|
|
449
|
+
- `.pi/skills/`
|
|
450
|
+
- `.qoder/skills/`
|
|
451
|
+
- `.qwen/skills/`
|
|
452
|
+
- `.roo/skills/`
|
|
453
|
+
- `.trae/skills/`
|
|
454
|
+
- `.windsurf/skills/`
|
|
455
|
+
- `.zencoder/skills/`
|
|
456
|
+
- `.neovate/skills/`
|
|
457
|
+
- `.pochi/skills/`
|
|
458
|
+
- `.adal/skills/`
|
|
459
|
+
<!-- skill-discovery:end -->
|
|
460
|
+
|
|
461
|
+
### Plugin Manifest Discovery
|
|
462
|
+
|
|
463
|
+
If `.claude-plugin/marketplace.json` or `.claude-plugin/plugin.json` exists, skills declared in those files are also discovered:
|
|
464
|
+
|
|
465
|
+
```json
|
|
466
|
+
// .claude-plugin/marketplace.json
|
|
467
|
+
{
|
|
468
|
+
"metadata": { "pluginRoot": "./plugins" },
|
|
469
|
+
"plugins": [
|
|
470
|
+
{
|
|
471
|
+
"name": "my-plugin",
|
|
472
|
+
"source": "my-plugin",
|
|
473
|
+
"skills": ["./skills/review", "./skills/test"]
|
|
474
|
+
}
|
|
475
|
+
]
|
|
476
|
+
}
|
|
477
|
+
```
|
|
478
|
+
|
|
479
|
+
This enables compatibility with the [Claude Code plugin marketplace](https://code.claude.com/docs/en/plugin-marketplaces) ecosystem.
|
|
480
|
+
|
|
481
|
+
If no skills are found in standard locations, a recursive search is performed.
|
|
482
|
+
|
|
483
|
+
## Compatibility
|
|
484
|
+
|
|
485
|
+
Skills are generally compatible across agents since they follow a
|
|
486
|
+
shared [Agent Skills specification](https://agentskills.io). However, some features may be agent-specific:
|
|
487
|
+
|
|
488
|
+
| Feature | OpenCode | OpenHands | Claude Code | Cline | CodeBuddy | Codex | Command Code | Kiro CLI | Cursor | Antigravity | Roo Code | Github Copilot | Amp | OpenClaw | Neovate | Pi | Qoder | Zencoder |
|
|
489
|
+
| --------------- | -------- | --------- | ----------- | ----- | --------- | ----- | ------------ | -------- | ------ | ----------- | -------- | -------------- | --- | -------- | ------- | --- | ----- | -------- |
|
|
490
|
+
| Basic skills | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes |
|
|
491
|
+
| `allowed-tools` | Yes | Yes | Yes | Yes | Yes | Yes | Yes | No | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | No |
|
|
492
|
+
| `context: fork` | No | No | Yes | No | No | No | No | No | No | No | No | No | No | No | No | No | No | No |
|
|
493
|
+
| Hooks | No | No | Yes | Yes | No | No | No | No | No | No | No | No | No | No | No | No | No | No |
|
|
494
|
+
|
|
495
|
+
## Troubleshooting
|
|
496
|
+
|
|
497
|
+
### "No skills found"
|
|
498
|
+
|
|
499
|
+
Ensure the repository contains valid `SKILL.md` files with both `name` and `description` in the frontmatter.
|
|
500
|
+
|
|
501
|
+
### Skill not loading in agent
|
|
502
|
+
|
|
503
|
+
- Verify the skill was installed to the correct path
|
|
504
|
+
- Check the agent's documentation for skill loading requirements
|
|
505
|
+
- Ensure the `SKILL.md` frontmatter is valid YAML
|
|
506
|
+
|
|
507
|
+
### Permission errors
|
|
508
|
+
|
|
509
|
+
Ensure you have write access to the target directory.
|
|
510
|
+
|
|
511
|
+
## Environment Variables
|
|
512
|
+
|
|
513
|
+
| Variable | Description |
|
|
514
|
+
| ------------------------- | -------------------------------------------------------------------------- |
|
|
515
|
+
| `INSTALL_INTERNAL_SKILLS` | Set to `1` or `true` to show and install skills marked as `internal: true` |
|
|
516
|
+
| `DISABLE_TELEMETRY` | Set to disable anonymous usage telemetry |
|
|
517
|
+
| `DO_NOT_TRACK` | Alternative way to disable telemetry |
|
|
518
|
+
|
|
519
|
+
```bash
|
|
520
|
+
# Install internal skills
|
|
521
|
+
INSTALL_INTERNAL_SKILLS=1 npx @bud-fe/skills add vercel-labs/agent-skills --list
|
|
522
|
+
```
|
|
523
|
+
|
|
524
|
+
## Telemetry
|
|
525
|
+
|
|
526
|
+
This CLI collects anonymous usage data to help improve the tool. No personal information is collected.
|
|
527
|
+
|
|
528
|
+
Telemetry is automatically disabled in CI environments.
|
|
529
|
+
|
|
530
|
+
## Related Links
|
|
531
|
+
|
|
532
|
+
- [Agent Skills Specification](https://agentskills.io)
|
|
533
|
+
- [Skills Directory](https://skills.sh)
|
|
534
|
+
- [Amp Skills Documentation](https://ampcode.com/manual#agent-skills)
|
|
535
|
+
- [Antigravity Skills Documentation](https://antigravity.google/docs/skills)
|
|
536
|
+
- [Factory AI / Droid Skills Documentation](https://docs.factory.ai/cli/configuration/skills)
|
|
537
|
+
- [Claude Code Skills Documentation](https://code.claude.com/docs/en/skills)
|
|
538
|
+
- [OpenClaw Skills Documentation](https://docs.openclaw.ai/tools/skills)
|
|
539
|
+
- [Cline Skills Documentation](https://docs.cline.bot/features/skills)
|
|
540
|
+
- [CodeBuddy Skills Documentation](https://www.codebuddy.ai/docs/ide/Features/Skills)
|
|
541
|
+
- [Codex Skills Documentation](https://developers.openai.com/codex/skills)
|
|
542
|
+
- [Command Code Skills Documentation](https://commandcode.ai/docs/skills)
|
|
543
|
+
- [Crush Skills Documentation](https://github.com/charmbracelet/crush?tab=readme-ov-file#agent-skills)
|
|
544
|
+
- [Cursor Skills Documentation](https://cursor.com/docs/context/skills)
|
|
545
|
+
- [Gemini CLI Skills Documentation](https://geminicli.com/docs/cli/skills/)
|
|
546
|
+
- [GitHub Copilot Agent Skills](https://docs.github.com/en/copilot/concepts/agents/about-agent-skills)
|
|
547
|
+
- [iFlow CLI Skills Documentation](https://platform.iflow.cn/en/cli/examples/skill)
|
|
548
|
+
- [Kimi Code CLI Skills Documentation](https://moonshotai.github.io/kimi-cli/en/customization/skills.html)
|
|
549
|
+
- [Kiro CLI Skills Documentation](https://kiro.dev/docs/cli/custom-agents/configuration-reference/#skill-resources)
|
|
550
|
+
- [Kode Skills Documentation](https://github.com/shareAI-lab/kode/blob/main/docs/skills.md)
|
|
551
|
+
- [OpenCode Skills Documentation](https://opencode.ai/docs/skills)
|
|
552
|
+
- [Qwen Code Skills Documentation](https://qwenlm.github.io/qwen-code-docs/en/users/features/skills/)
|
|
553
|
+
- [OpenHands Skills Documentation](https://docs.openhands.ai/modules/usage/how-to/using-skills)
|
|
554
|
+
- [Pi Skills Documentation](https://github.com/badlogic/pi-mono/blob/main/packages/coding-agent/docs/skills.md)
|
|
555
|
+
- [Qoder Skills Documentation](https://docs.qoder.com/cli/Skills)
|
|
556
|
+
- [Replit Skills Documentation](https://docs.replit.com/replitai/skills)
|
|
557
|
+
- [Roo Code Skills Documentation](https://docs.roocode.com/features/skills)
|
|
558
|
+
- [Trae Skills Documentation](https://docs.trae.ai/ide/skills)
|
|
559
|
+
- [Vercel Agent Skills Repository](https://github.com/vercel-labs/agent-skills)
|
|
560
|
+
|
|
561
|
+
## License
|
|
562
|
+
|
|
563
|
+
MIT
|