@affinda/skills 1.3.7
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 +451 -0
- package/ThirdPartyNoticeText.txt +171 -0
- package/bin/cli.mjs +14 -0
- package/dist/_chunks/gitlab-api.mjs +70 -0
- package/dist/_chunks/keys.mjs +195 -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/promote.mjs +98 -0
- package/dist/_chunks/publish.mjs +155 -0
- package/dist/_chunks/rolldown-runtime.mjs +24 -0
- package/dist/cli.d.mts +1 -0
- package/dist/cli.mjs +3919 -0
- package/package.json +106 -0
package/README.md
ADDED
|
@@ -0,0 +1,451 @@
|
|
|
1
|
+
# skills
|
|
2
|
+
|
|
3
|
+
The CLI for the open agent skills ecosystem.
|
|
4
|
+
|
|
5
|
+
<!-- agent-list:start -->
|
|
6
|
+
Supports **OpenCode**, **Claude Code**, **Codex**, **Cursor**, and [35 more](#available-agents).
|
|
7
|
+
<!-- agent-list:end -->
|
|
8
|
+
|
|
9
|
+
## Install a Skill
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
npx skills add vercel-labs/agent-skills
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
### Source Formats
|
|
16
|
+
|
|
17
|
+
```bash
|
|
18
|
+
# GitHub shorthand (owner/repo)
|
|
19
|
+
npx skills add vercel-labs/agent-skills
|
|
20
|
+
|
|
21
|
+
# Full GitHub URL
|
|
22
|
+
npx skills add https://github.com/vercel-labs/agent-skills
|
|
23
|
+
|
|
24
|
+
# Direct path to a skill in a repo
|
|
25
|
+
npx skills add https://github.com/vercel-labs/agent-skills/tree/main/skills/web-design-guidelines
|
|
26
|
+
|
|
27
|
+
# GitLab URL
|
|
28
|
+
npx skills add https://gitlab.com/org/repo
|
|
29
|
+
|
|
30
|
+
# Any git URL
|
|
31
|
+
npx skills add git@github.com:vercel-labs/agent-skills.git
|
|
32
|
+
|
|
33
|
+
# Local path
|
|
34
|
+
npx skills add ./my-local-skills
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
### Options
|
|
38
|
+
|
|
39
|
+
| Option | Description |
|
|
40
|
+
| ------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
41
|
+
| `-g, --global` | Install to user directory instead of project |
|
|
42
|
+
| `-a, --agent <agents...>` | <!-- agent-names:start -->Target specific agents (e.g., `claude-code`, `codex`). See [Available Agents](#available-agents)<!-- agent-names:end --> |
|
|
43
|
+
| `-s, --skill <skills...>` | Install specific skills by name (use `'*'` for all skills) |
|
|
44
|
+
| `-l, --list` | List available skills without installing |
|
|
45
|
+
| `-y, --yes` | Skip all confirmation prompts |
|
|
46
|
+
| `--all` | Install all skills to all agents without prompts |
|
|
47
|
+
|
|
48
|
+
### Examples
|
|
49
|
+
|
|
50
|
+
```bash
|
|
51
|
+
# List skills in a repository
|
|
52
|
+
npx skills add vercel-labs/agent-skills --list
|
|
53
|
+
|
|
54
|
+
# Install specific skills
|
|
55
|
+
npx skills add vercel-labs/agent-skills --skill frontend-design --skill skill-creator
|
|
56
|
+
|
|
57
|
+
# Install a skill with spaces in the name (must be quoted)
|
|
58
|
+
npx skills add owner/repo --skill "Convex Best Practices"
|
|
59
|
+
|
|
60
|
+
# Install to specific agents
|
|
61
|
+
npx skills add vercel-labs/agent-skills -a claude-code -a opencode
|
|
62
|
+
|
|
63
|
+
# Non-interactive installation (CI/CD friendly)
|
|
64
|
+
npx skills add vercel-labs/agent-skills --skill frontend-design -g -a claude-code -y
|
|
65
|
+
|
|
66
|
+
# Install all skills from a repo to all agents
|
|
67
|
+
npx skills add vercel-labs/agent-skills --all
|
|
68
|
+
|
|
69
|
+
# Install all skills to specific agents
|
|
70
|
+
npx skills add vercel-labs/agent-skills --skill '*' -a claude-code
|
|
71
|
+
|
|
72
|
+
# Install specific skills to all agents
|
|
73
|
+
npx skills add vercel-labs/agent-skills --agent '*' --skill frontend-design
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
### Installation Scope
|
|
77
|
+
|
|
78
|
+
| Scope | Flag | Location | Use Case |
|
|
79
|
+
| ----------- | --------- | ------------------- | --------------------------------------------- |
|
|
80
|
+
| **Project** | (default) | `./<agent>/skills/` | Committed with your project, shared with team |
|
|
81
|
+
| **Global** | `-g` | `~/<agent>/skills/` | Available across all projects |
|
|
82
|
+
|
|
83
|
+
### Installation Methods
|
|
84
|
+
|
|
85
|
+
When installing interactively, you can choose:
|
|
86
|
+
|
|
87
|
+
| Method | Description |
|
|
88
|
+
| ------------------------- | ------------------------------------------------------------------------------------------- |
|
|
89
|
+
| **Symlink** (Recommended) | Creates symlinks from each agent to a canonical copy. Single source of truth, easy updates. |
|
|
90
|
+
| **Copy** | Creates independent copies for each agent. Use when symlinks aren't supported. |
|
|
91
|
+
|
|
92
|
+
## Other Commands
|
|
93
|
+
|
|
94
|
+
| Command | Description |
|
|
95
|
+
| ---------------------------- | ------------------------------------------------------- |
|
|
96
|
+
| `npx skills list` | List installed skills (alias: `ls`) |
|
|
97
|
+
| `npx skills find [query]` | Search for skills interactively or by keyword |
|
|
98
|
+
| `npx skills remove [skills]` | Remove installed skills from agents |
|
|
99
|
+
| `npx skills check` | Check for available skill updates |
|
|
100
|
+
| `npx skills update` | Update all installed skills to latest versions |
|
|
101
|
+
| `npx skills init [name]` | Create a new SKILL.md template |
|
|
102
|
+
|
|
103
|
+
### `skills list`
|
|
104
|
+
|
|
105
|
+
List all installed skills. Similar to `npm ls`.
|
|
106
|
+
|
|
107
|
+
```bash
|
|
108
|
+
# List all installed skills (project and global)
|
|
109
|
+
npx skills list
|
|
110
|
+
|
|
111
|
+
# List only global skills
|
|
112
|
+
npx skills ls -g
|
|
113
|
+
|
|
114
|
+
# Filter by specific agents
|
|
115
|
+
npx skills ls -a claude-code -a cursor
|
|
116
|
+
```
|
|
117
|
+
|
|
118
|
+
### `skills find`
|
|
119
|
+
|
|
120
|
+
Search for skills interactively or by keyword.
|
|
121
|
+
|
|
122
|
+
```bash
|
|
123
|
+
# Interactive search (fzf-style)
|
|
124
|
+
npx skills find
|
|
125
|
+
|
|
126
|
+
# Search by keyword
|
|
127
|
+
npx skills find typescript
|
|
128
|
+
```
|
|
129
|
+
|
|
130
|
+
### `skills check` / `skills update`
|
|
131
|
+
|
|
132
|
+
```bash
|
|
133
|
+
# Check if any installed skills have updates
|
|
134
|
+
npx skills check
|
|
135
|
+
|
|
136
|
+
# Update all skills to latest versions
|
|
137
|
+
npx skills update
|
|
138
|
+
```
|
|
139
|
+
|
|
140
|
+
### `skills init`
|
|
141
|
+
|
|
142
|
+
```bash
|
|
143
|
+
# Create SKILL.md in current directory
|
|
144
|
+
npx skills init
|
|
145
|
+
|
|
146
|
+
# Create a new skill in a subdirectory
|
|
147
|
+
npx skills init my-skill
|
|
148
|
+
```
|
|
149
|
+
|
|
150
|
+
### `skills remove`
|
|
151
|
+
|
|
152
|
+
Remove installed skills from agents.
|
|
153
|
+
|
|
154
|
+
```bash
|
|
155
|
+
# Remove interactively (select from installed skills)
|
|
156
|
+
npx skills remove
|
|
157
|
+
|
|
158
|
+
# Remove specific skill by name
|
|
159
|
+
npx skills remove web-design-guidelines
|
|
160
|
+
|
|
161
|
+
# Remove multiple skills
|
|
162
|
+
npx skills remove frontend-design web-design-guidelines
|
|
163
|
+
|
|
164
|
+
# Remove from global scope
|
|
165
|
+
npx skills remove --global web-design-guidelines
|
|
166
|
+
|
|
167
|
+
# Remove from specific agents only
|
|
168
|
+
npx skills remove --agent claude-code cursor my-skill
|
|
169
|
+
|
|
170
|
+
# Remove all installed skills without confirmation
|
|
171
|
+
npx skills remove --all
|
|
172
|
+
|
|
173
|
+
# Remove all skills from a specific agent
|
|
174
|
+
npx skills remove --skill '*' -a cursor
|
|
175
|
+
|
|
176
|
+
# Remove a specific skill from all agents
|
|
177
|
+
npx skills remove my-skill --agent '*'
|
|
178
|
+
|
|
179
|
+
# Use 'rm' alias
|
|
180
|
+
npx skills rm my-skill
|
|
181
|
+
```
|
|
182
|
+
|
|
183
|
+
| Option | Description |
|
|
184
|
+
| ------------------- | ---------------------------------------------------- |
|
|
185
|
+
| `-g, --global` | Remove from global scope (~/) instead of project |
|
|
186
|
+
| `-a, --agent` | Remove from specific agents (use `'*'` for all) |
|
|
187
|
+
| `-s, --skill` | Specify skills to remove (use `'*'` for all) |
|
|
188
|
+
| `-y, --yes` | Skip confirmation prompts |
|
|
189
|
+
| `--all` | Shorthand for `--skill '*' --agent '*' -y` |
|
|
190
|
+
|
|
191
|
+
## What are Agent Skills?
|
|
192
|
+
|
|
193
|
+
Agent skills are reusable instruction sets that extend your coding agent's capabilities. They're defined in `SKILL.md`
|
|
194
|
+
files with YAML frontmatter containing a `name` and `description`.
|
|
195
|
+
|
|
196
|
+
Skills let agents perform specialized tasks like:
|
|
197
|
+
|
|
198
|
+
- Generating release notes from git history
|
|
199
|
+
- Creating PRs following your team's conventions
|
|
200
|
+
- Integrating with external tools (Linear, Notion, etc.)
|
|
201
|
+
|
|
202
|
+
Discover skills at **[skills.sh](https://skills.sh)**
|
|
203
|
+
|
|
204
|
+
## Supported Agents
|
|
205
|
+
|
|
206
|
+
Skills can be installed to any of these agents:
|
|
207
|
+
|
|
208
|
+
<!-- supported-agents:start -->
|
|
209
|
+
| Agent | `--agent` | Project Path | Global Path |
|
|
210
|
+
|-------|-----------|--------------|-------------|
|
|
211
|
+
| Amp, Kimi Code CLI, Replit | `amp`, `kimi-cli`, `replit` | `.agents/skills/` | `~/.config/agents/skills/` |
|
|
212
|
+
| Antigravity | `antigravity` | `.agent/skills/` | `~/.gemini/antigravity/skills/` |
|
|
213
|
+
| Augment | `augment` | `.augment/skills/` | `~/.augment/skills/` |
|
|
214
|
+
| Claude Code | `claude-code` | `.claude/skills/` | `~/.claude/skills/` |
|
|
215
|
+
| OpenClaw | `openclaw` | `skills/` | `~/.moltbot/skills/` |
|
|
216
|
+
| Cline | `cline` | `.cline/skills/` | `~/.cline/skills/` |
|
|
217
|
+
| CodeBuddy | `codebuddy` | `.codebuddy/skills/` | `~/.codebuddy/skills/` |
|
|
218
|
+
| Codex | `codex` | `.agents/skills/` | `~/.codex/skills/` |
|
|
219
|
+
| Command Code | `command-code` | `.commandcode/skills/` | `~/.commandcode/skills/` |
|
|
220
|
+
| Continue | `continue` | `.continue/skills/` | `~/.continue/skills/` |
|
|
221
|
+
| Crush | `crush` | `.crush/skills/` | `~/.config/crush/skills/` |
|
|
222
|
+
| Cursor | `cursor` | `.cursor/skills/` | `~/.cursor/skills/` |
|
|
223
|
+
| Droid | `droid` | `.factory/skills/` | `~/.factory/skills/` |
|
|
224
|
+
| Gemini CLI | `gemini-cli` | `.agents/skills/` | `~/.gemini/skills/` |
|
|
225
|
+
| GitHub Copilot | `github-copilot` | `.agents/skills/` | `~/.copilot/skills/` |
|
|
226
|
+
| Goose | `goose` | `.goose/skills/` | `~/.config/goose/skills/` |
|
|
227
|
+
| Junie | `junie` | `.junie/skills/` | `~/.junie/skills/` |
|
|
228
|
+
| iFlow CLI | `iflow-cli` | `.iflow/skills/` | `~/.iflow/skills/` |
|
|
229
|
+
| Kilo Code | `kilo` | `.kilocode/skills/` | `~/.kilocode/skills/` |
|
|
230
|
+
| Kiro CLI | `kiro-cli` | `.kiro/skills/` | `~/.kiro/skills/` |
|
|
231
|
+
| Kode | `kode` | `.kode/skills/` | `~/.kode/skills/` |
|
|
232
|
+
| MCPJam | `mcpjam` | `.mcpjam/skills/` | `~/.mcpjam/skills/` |
|
|
233
|
+
| Mistral Vibe | `mistral-vibe` | `.vibe/skills/` | `~/.vibe/skills/` |
|
|
234
|
+
| Mux | `mux` | `.mux/skills/` | `~/.mux/skills/` |
|
|
235
|
+
| OpenCode | `opencode` | `.agents/skills/` | `~/.config/opencode/skills/` |
|
|
236
|
+
| OpenHands | `openhands` | `.openhands/skills/` | `~/.openhands/skills/` |
|
|
237
|
+
| Pi | `pi` | `.pi/skills/` | `~/.pi/agent/skills/` |
|
|
238
|
+
| Qoder | `qoder` | `.qoder/skills/` | `~/.qoder/skills/` |
|
|
239
|
+
| Qwen Code | `qwen-code` | `.qwen/skills/` | `~/.qwen/skills/` |
|
|
240
|
+
| Roo Code | `roo` | `.roo/skills/` | `~/.roo/skills/` |
|
|
241
|
+
| Trae | `trae` | `.trae/skills/` | `~/.trae/skills/` |
|
|
242
|
+
| Trae CN | `trae-cn` | `.trae/skills/` | `~/.trae-cn/skills/` |
|
|
243
|
+
| Windsurf | `windsurf` | `.windsurf/skills/` | `~/.codeium/windsurf/skills/` |
|
|
244
|
+
| Zencoder | `zencoder` | `.zencoder/skills/` | `~/.zencoder/skills/` |
|
|
245
|
+
| Neovate | `neovate` | `.neovate/skills/` | `~/.neovate/skills/` |
|
|
246
|
+
| Pochi | `pochi` | `.pochi/skills/` | `~/.pochi/skills/` |
|
|
247
|
+
| AdaL | `adal` | `.adal/skills/` | `~/.adal/skills/` |
|
|
248
|
+
<!-- supported-agents:end -->
|
|
249
|
+
|
|
250
|
+
> [!NOTE]
|
|
251
|
+
> **Kiro CLI users:** After installing skills, manually add them to your custom agent's `resources` in
|
|
252
|
+
> `.kiro/agents/<agent>.json`:
|
|
253
|
+
>
|
|
254
|
+
> ```json
|
|
255
|
+
> {
|
|
256
|
+
> "resources": ["skill://.kiro/skills/**/SKILL.md"]
|
|
257
|
+
> }
|
|
258
|
+
> ```
|
|
259
|
+
|
|
260
|
+
The CLI automatically detects which coding agents you have installed. If none are detected, you'll be prompted to select
|
|
261
|
+
which agents to install to.
|
|
262
|
+
|
|
263
|
+
## Creating Skills
|
|
264
|
+
|
|
265
|
+
Skills are directories containing a `SKILL.md` file with YAML frontmatter:
|
|
266
|
+
|
|
267
|
+
```markdown
|
|
268
|
+
---
|
|
269
|
+
name: my-skill
|
|
270
|
+
description: What this skill does and when to use it
|
|
271
|
+
---
|
|
272
|
+
|
|
273
|
+
# My Skill
|
|
274
|
+
|
|
275
|
+
Instructions for the agent to follow when this skill is activated.
|
|
276
|
+
|
|
277
|
+
## When to Use
|
|
278
|
+
|
|
279
|
+
Describe the scenarios where this skill should be used.
|
|
280
|
+
|
|
281
|
+
## Steps
|
|
282
|
+
|
|
283
|
+
1. First, do this
|
|
284
|
+
2. Then, do that
|
|
285
|
+
```
|
|
286
|
+
|
|
287
|
+
### Required Fields
|
|
288
|
+
|
|
289
|
+
- `name`: Unique identifier (lowercase, hyphens allowed)
|
|
290
|
+
- `description`: Brief explanation of what the skill does
|
|
291
|
+
|
|
292
|
+
### Optional Fields
|
|
293
|
+
|
|
294
|
+
- `metadata.internal`: Set to `true` to hide the skill from normal discovery. Internal skills are only visible and
|
|
295
|
+
installable when `INSTALL_INTERNAL_SKILLS=1` is set. Useful for work-in-progress skills or skills meant only for
|
|
296
|
+
internal tooling.
|
|
297
|
+
|
|
298
|
+
```markdown
|
|
299
|
+
---
|
|
300
|
+
name: my-internal-skill
|
|
301
|
+
description: An internal skill not shown by default
|
|
302
|
+
metadata:
|
|
303
|
+
internal: true
|
|
304
|
+
---
|
|
305
|
+
```
|
|
306
|
+
|
|
307
|
+
### Skill Discovery
|
|
308
|
+
|
|
309
|
+
The CLI searches for skills in these locations within a repository:
|
|
310
|
+
|
|
311
|
+
<!-- skill-discovery:start -->
|
|
312
|
+
- Root directory (if it contains `SKILL.md`)
|
|
313
|
+
- `skills/`
|
|
314
|
+
- `skills/.curated/`
|
|
315
|
+
- `skills/.experimental/`
|
|
316
|
+
- `skills/.system/`
|
|
317
|
+
- `.agents/skills/`
|
|
318
|
+
- `.agent/skills/`
|
|
319
|
+
- `.augment/skills/`
|
|
320
|
+
- `.claude/skills/`
|
|
321
|
+
- `./skills/`
|
|
322
|
+
- `.cline/skills/`
|
|
323
|
+
- `.codebuddy/skills/`
|
|
324
|
+
- `.commandcode/skills/`
|
|
325
|
+
- `.continue/skills/`
|
|
326
|
+
- `.crush/skills/`
|
|
327
|
+
- `.cursor/skills/`
|
|
328
|
+
- `.factory/skills/`
|
|
329
|
+
- `.goose/skills/`
|
|
330
|
+
- `.junie/skills/`
|
|
331
|
+
- `.iflow/skills/`
|
|
332
|
+
- `.kilocode/skills/`
|
|
333
|
+
- `.kiro/skills/`
|
|
334
|
+
- `.kode/skills/`
|
|
335
|
+
- `.mcpjam/skills/`
|
|
336
|
+
- `.vibe/skills/`
|
|
337
|
+
- `.mux/skills/`
|
|
338
|
+
- `.openhands/skills/`
|
|
339
|
+
- `.pi/skills/`
|
|
340
|
+
- `.qoder/skills/`
|
|
341
|
+
- `.qwen/skills/`
|
|
342
|
+
- `.roo/skills/`
|
|
343
|
+
- `.trae/skills/`
|
|
344
|
+
- `.windsurf/skills/`
|
|
345
|
+
- `.zencoder/skills/`
|
|
346
|
+
- `.neovate/skills/`
|
|
347
|
+
- `.pochi/skills/`
|
|
348
|
+
- `.adal/skills/`
|
|
349
|
+
<!-- skill-discovery:end -->
|
|
350
|
+
|
|
351
|
+
### Plugin Manifest Discovery
|
|
352
|
+
|
|
353
|
+
If `.claude-plugin/marketplace.json` or `.claude-plugin/plugin.json` exists, skills declared in those files are also discovered:
|
|
354
|
+
|
|
355
|
+
```json
|
|
356
|
+
// .claude-plugin/marketplace.json
|
|
357
|
+
{
|
|
358
|
+
"metadata": { "pluginRoot": "./plugins" },
|
|
359
|
+
"plugins": [{
|
|
360
|
+
"name": "my-plugin",
|
|
361
|
+
"source": "my-plugin",
|
|
362
|
+
"skills": ["./skills/review", "./skills/test"]
|
|
363
|
+
}]
|
|
364
|
+
}
|
|
365
|
+
```
|
|
366
|
+
|
|
367
|
+
This enables compatibility with the [Claude Code plugin marketplace](https://code.claude.com/docs/en/plugin-marketplaces) ecosystem.
|
|
368
|
+
|
|
369
|
+
If no skills are found in standard locations, a recursive search is performed.
|
|
370
|
+
|
|
371
|
+
## Compatibility
|
|
372
|
+
|
|
373
|
+
Skills are generally compatible across agents since they follow a
|
|
374
|
+
shared [Agent Skills specification](https://agentskills.io). However, some features may be agent-specific:
|
|
375
|
+
|
|
376
|
+
| Feature | OpenCode | OpenHands | Claude Code | Cline | CodeBuddy | Codex | Command Code | Kiro CLI | Cursor | Antigravity | Roo Code | Github Copilot | Amp | Clawdbot | Neovate | Pi | Qoder | Zencoder |
|
|
377
|
+
| --------------- | -------- | --------- | ----------- | ----- | --------- | ----- | ------------ | -------- | ------ | ----------- | -------- | -------------- | --- | -------- | ------- | --- | ----- | -------- |
|
|
378
|
+
| Basic skills | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes |
|
|
379
|
+
| `allowed-tools` | Yes | Yes | Yes | Yes | Yes | Yes | Yes | No | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | No |
|
|
380
|
+
| `context: fork` | No | No | Yes | No | No | No | No | No | No | No | No | No | No | No | No | No | No | No |
|
|
381
|
+
| Hooks | No | No | Yes | Yes | No | No | No | No | No | No | No | No | No | No | No | No | No | No |
|
|
382
|
+
|
|
383
|
+
## Troubleshooting
|
|
384
|
+
|
|
385
|
+
### "No skills found"
|
|
386
|
+
|
|
387
|
+
Ensure the repository contains valid `SKILL.md` files with both `name` and `description` in the frontmatter.
|
|
388
|
+
|
|
389
|
+
### Skill not loading in agent
|
|
390
|
+
|
|
391
|
+
- Verify the skill was installed to the correct path
|
|
392
|
+
- Check the agent's documentation for skill loading requirements
|
|
393
|
+
- Ensure the `SKILL.md` frontmatter is valid YAML
|
|
394
|
+
|
|
395
|
+
### Permission errors
|
|
396
|
+
|
|
397
|
+
Ensure you have write access to the target directory.
|
|
398
|
+
|
|
399
|
+
## Environment Variables
|
|
400
|
+
|
|
401
|
+
| Variable | Description |
|
|
402
|
+
| ------------------------- | -------------------------------------------------------------------------- |
|
|
403
|
+
| `INSTALL_INTERNAL_SKILLS` | Set to `1` or `true` to show and install skills marked as `internal: true` |
|
|
404
|
+
| `DISABLE_TELEMETRY` | Set to disable anonymous usage telemetry |
|
|
405
|
+
| `DO_NOT_TRACK` | Alternative way to disable telemetry |
|
|
406
|
+
|
|
407
|
+
```bash
|
|
408
|
+
# Install internal skills
|
|
409
|
+
INSTALL_INTERNAL_SKILLS=1 npx skills add vercel-labs/agent-skills --list
|
|
410
|
+
```
|
|
411
|
+
|
|
412
|
+
## Telemetry
|
|
413
|
+
|
|
414
|
+
This CLI collects anonymous usage data to help improve the tool. No personal information is collected.
|
|
415
|
+
|
|
416
|
+
Telemetry is automatically disabled in CI environments.
|
|
417
|
+
|
|
418
|
+
## Related Links
|
|
419
|
+
|
|
420
|
+
- [Agent Skills Specification](https://agentskills.io)
|
|
421
|
+
- [Skills Directory](https://skills.sh)
|
|
422
|
+
- [Amp Skills Documentation](https://ampcode.com/manual#agent-skills)
|
|
423
|
+
- [Antigravity Skills Documentation](https://antigravity.google/docs/skills)
|
|
424
|
+
- [Factory AI / Droid Skills Documentation](https://docs.factory.ai/cli/configuration/skills)
|
|
425
|
+
- [Claude Code Skills Documentation](https://code.claude.com/docs/en/skills)
|
|
426
|
+
- [Clawdbot Skills Documentation](https://docs.clawd.bot/tools/skills)
|
|
427
|
+
- [Cline Skills Documentation](https://docs.cline.bot/features/skills)
|
|
428
|
+
- [CodeBuddy Skills Documentation](https://www.codebuddy.ai/docs/ide/Features/Skills)
|
|
429
|
+
- [Codex Skills Documentation](https://developers.openai.com/codex/skills)
|
|
430
|
+
- [Command Code Skills Documentation](https://commandcode.ai/docs/skills)
|
|
431
|
+
- [Crush Skills Documentation](https://github.com/charmbracelet/crush?tab=readme-ov-file#agent-skills)
|
|
432
|
+
- [Cursor Skills Documentation](https://cursor.com/docs/context/skills)
|
|
433
|
+
- [Gemini CLI Skills Documentation](https://geminicli.com/docs/cli/skills/)
|
|
434
|
+
- [GitHub Copilot Agent Skills](https://docs.github.com/en/copilot/concepts/agents/about-agent-skills)
|
|
435
|
+
- [iFlow CLI Skills Documentation](https://platform.iflow.cn/en/cli/examples/skill)
|
|
436
|
+
- [Kimi Code CLI Skills Documentation](https://moonshotai.github.io/kimi-cli/en/customization/skills.html)
|
|
437
|
+
- [Kiro CLI Skills Documentation](https://kiro.dev/docs/cli/custom-agents/configuration-reference/#skill-resources)
|
|
438
|
+
- [Kode Skills Documentation](https://github.com/shareAI-lab/kode/blob/main/docs/skills.md)
|
|
439
|
+
- [OpenCode Skills Documentation](https://opencode.ai/docs/skills)
|
|
440
|
+
- [Qwen Code Skills Documentation](https://qwenlm.github.io/qwen-code-docs/en/users/features/skills/)
|
|
441
|
+
- [OpenHands Skills Documentation](https://docs.openhands.ai/modules/usage/how-to/using-skills)
|
|
442
|
+
- [Pi Skills Documentation](https://github.com/badlogic/pi-mono/blob/main/packages/coding-agent/docs/skills.md)
|
|
443
|
+
- [Qoder Skills Documentation](https://docs.qoder.com/cli/Skills)
|
|
444
|
+
- [Replit Skills Documentation](https://docs.replit.com/replitai/skills)
|
|
445
|
+
- [Roo Code Skills Documentation](https://docs.roocode.com/features/skills)
|
|
446
|
+
- [Trae Skills Documentation](https://docs.trae.ai/ide/skills)
|
|
447
|
+
- [Vercel Agent Skills Repository](https://github.com/vercel-labs/agent-skills)
|
|
448
|
+
|
|
449
|
+
## License
|
|
450
|
+
|
|
451
|
+
MIT
|
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
/*!----------------- Skills CLI ThirdPartyNotices -------------------------------------------------------
|
|
2
|
+
|
|
3
|
+
The Skills CLI incorporates third party material from the projects listed below.
|
|
4
|
+
The original copyright notice and the license under which this material was received
|
|
5
|
+
are set forth below. These licenses and notices are provided for informational purposes only.
|
|
6
|
+
|
|
7
|
+
---------------------------------------------
|
|
8
|
+
Third Party Code Components
|
|
9
|
+
--------------------------------------------
|
|
10
|
+
|
|
11
|
+
================================================================================
|
|
12
|
+
Package: @clack/core@0.4.1
|
|
13
|
+
License: MIT
|
|
14
|
+
Repository: https://github.com/natemoo-re/clack
|
|
15
|
+
--------------------------------------------------------------------------------
|
|
16
|
+
|
|
17
|
+
MIT License
|
|
18
|
+
|
|
19
|
+
Copyright (c) Nate Moore
|
|
20
|
+
|
|
21
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
22
|
+
|
|
23
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
24
|
+
|
|
25
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
================================================================================
|
|
29
|
+
Package: @clack/prompts@0.11.0
|
|
30
|
+
License: MIT
|
|
31
|
+
Repository: https://github.com/bombshell-dev/clack
|
|
32
|
+
--------------------------------------------------------------------------------
|
|
33
|
+
|
|
34
|
+
MIT License
|
|
35
|
+
|
|
36
|
+
Copyright (c) Nate Moore
|
|
37
|
+
|
|
38
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
39
|
+
|
|
40
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
41
|
+
|
|
42
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
================================================================================
|
|
46
|
+
Package: gray-matter@4.0.3
|
|
47
|
+
License: MIT
|
|
48
|
+
Repository: https://github.com/jonschlinkert/gray-matter
|
|
49
|
+
--------------------------------------------------------------------------------
|
|
50
|
+
|
|
51
|
+
The MIT License (MIT)
|
|
52
|
+
|
|
53
|
+
Copyright (c) 2014-2018, Jon Schlinkert.
|
|
54
|
+
|
|
55
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
56
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
57
|
+
in the Software without restriction, including without limitation the rights
|
|
58
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
59
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
60
|
+
furnished to do so, subject to the following conditions:
|
|
61
|
+
|
|
62
|
+
The above copyright notice and this permission notice shall be included in
|
|
63
|
+
all copies or substantial portions of the Software.
|
|
64
|
+
|
|
65
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
66
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
67
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
68
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
69
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
70
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
71
|
+
THE SOFTWARE.
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
================================================================================
|
|
75
|
+
Package: picocolors@1.1.1
|
|
76
|
+
License: ISC
|
|
77
|
+
Repository: https://github.com/alexeyraspopov/picocolors
|
|
78
|
+
--------------------------------------------------------------------------------
|
|
79
|
+
|
|
80
|
+
ISC License
|
|
81
|
+
|
|
82
|
+
Copyright (c) 2021-2024 Oleksii Raspopov, Kostiantyn Denysov, Anton Verinov
|
|
83
|
+
|
|
84
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
85
|
+
purpose with or without fee is hereby granted, provided that the above
|
|
86
|
+
copyright notice and this permission notice appear in all copies.
|
|
87
|
+
|
|
88
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
|
89
|
+
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
|
90
|
+
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
|
91
|
+
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
|
92
|
+
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
|
93
|
+
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
|
94
|
+
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
================================================================================
|
|
98
|
+
Package: simple-git@3.30.0
|
|
99
|
+
License: MIT
|
|
100
|
+
Repository: https://github.com/steveukx/git-js
|
|
101
|
+
--------------------------------------------------------------------------------
|
|
102
|
+
|
|
103
|
+
MIT License
|
|
104
|
+
|
|
105
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
106
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
107
|
+
in the Software without restriction, including without limitation the rights
|
|
108
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
109
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
110
|
+
furnished to do so, subject to the following conditions:
|
|
111
|
+
|
|
112
|
+
The above copyright notice and this permission notice shall be included in all
|
|
113
|
+
copies or substantial portions of the Software.
|
|
114
|
+
|
|
115
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
116
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
117
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
118
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
119
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
120
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
121
|
+
SOFTWARE.
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
================================================================================
|
|
125
|
+
Package: sisteransi@1.0.5
|
|
126
|
+
License: MIT
|
|
127
|
+
Repository: https://github.com/terkelg/sisteransi
|
|
128
|
+
--------------------------------------------------------------------------------
|
|
129
|
+
|
|
130
|
+
MIT License
|
|
131
|
+
|
|
132
|
+
Copyright (c) 2018 Terkel Gjervig Nielsen
|
|
133
|
+
|
|
134
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
135
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
136
|
+
in the Software without restriction, including without limitation the rights
|
|
137
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
138
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
139
|
+
furnished to do so, subject to the following conditions:
|
|
140
|
+
|
|
141
|
+
The above copyright notice and this permission notice shall be included in all
|
|
142
|
+
copies or substantial portions of the Software.
|
|
143
|
+
|
|
144
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
145
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
146
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
147
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
148
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
149
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
150
|
+
SOFTWARE.
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
================================================================================
|
|
154
|
+
Package: xdg-basedir@5.1.0
|
|
155
|
+
License: MIT
|
|
156
|
+
Repository: https://github.com/sindresorhus/xdg-basedir
|
|
157
|
+
--------------------------------------------------------------------------------
|
|
158
|
+
|
|
159
|
+
MIT License
|
|
160
|
+
|
|
161
|
+
Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
|
|
162
|
+
|
|
163
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
164
|
+
|
|
165
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
166
|
+
|
|
167
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
168
|
+
|
|
169
|
+
|
|
170
|
+
================================================================================
|
|
171
|
+
*/
|
package/bin/cli.mjs
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
3
|
+
import module from 'node:module';
|
|
4
|
+
|
|
5
|
+
// https://nodejs.org/api/module.html#module-compile-cache
|
|
6
|
+
if (module.enableCompileCache && !process.env.NODE_DISABLE_COMPILE_CACHE) {
|
|
7
|
+
try {
|
|
8
|
+
module.enableCompileCache();
|
|
9
|
+
} catch {
|
|
10
|
+
// Ignore errors
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
await import('../dist/cli.mjs');
|