skills 1.5.21 → 1.5.23
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 +39 -9
- package/dist/cli.mjs +604 -181
- package/package.json +3 -1
package/README.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
The CLI for the open agent skills ecosystem.
|
|
4
4
|
|
|
5
5
|
<!-- agent-list:start -->
|
|
6
|
-
Supports **OpenCode**, **Claude Code**, **Codex**, **Cursor**, and [
|
|
6
|
+
Supports **OpenCode**, **Claude Code**, **Codex**, **Cursor**, and [73 more](#supported-agents).
|
|
7
7
|
<!-- agent-list:end -->
|
|
8
8
|
|
|
9
9
|
[](https://skills.sh/vercel-labs/skills)
|
|
@@ -47,6 +47,28 @@ npx skills add git@github.com:vercel-labs/agent-skills.git
|
|
|
47
47
|
npx skills add ./my-local-skills
|
|
48
48
|
```
|
|
49
49
|
|
|
50
|
+
### Private Repositories
|
|
51
|
+
|
|
52
|
+
Use the same command for public and private repositories. The CLI uses the authentication already configured for the repository URL:
|
|
53
|
+
|
|
54
|
+
```bash
|
|
55
|
+
# GitHub shorthand or HTTPS (Git credential helper, GitHub CLI, then SSH fallback)
|
|
56
|
+
npx skills add acme/private-skills
|
|
57
|
+
|
|
58
|
+
# SSH on GitHub, GitLab, or another Git host
|
|
59
|
+
npx skills add git@github.com:acme/private-skills.git
|
|
60
|
+
npx skills add ssh://git@git.example.com/acme/private-skills.git
|
|
61
|
+
|
|
62
|
+
# HTTPS on any Git host (uses your configured Git credential helper)
|
|
63
|
+
npx skills add https://git.example.com/acme/private-skills.git
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
For GitHub HTTPS and shorthand sources, `skills` first uses normal Git credentials. If that fails and GitHub CLI is authenticated, it tries `gh repo clone`, followed by SSH. It does not execute `gh auth token` or copy the stored GitHub CLI credential into the Node.js process.
|
|
67
|
+
|
|
68
|
+
For GitHub tree lookups, `skills` first tries the API anonymously, then an explicitly supplied environment token, then `gh api`. GitHub CLI applies its own stored authentication and returns only the API response; the credential is never printed to or read by `skills`. If API access still fails, update checks fall back to an authenticated Git clone.
|
|
69
|
+
|
|
70
|
+
`GITHUB_TOKEN` or `GH_TOKEN` can be set explicitly for GitHub API access, including private repository downloads and update checks. They are optional for installs when Git, GitHub CLI, or SSH authentication is already configured.
|
|
71
|
+
|
|
50
72
|
### Options
|
|
51
73
|
|
|
52
74
|
| Option | Description |
|
|
@@ -289,6 +311,7 @@ Skills can be installed to any of these agents:
|
|
|
289
311
|
| Kode | `kode` | `.kode/skills/` | `~/.kode/skills/` |
|
|
290
312
|
| Lingma | `lingma` | `.lingma/skills/` | `~/.lingma/skills/` |
|
|
291
313
|
| MCPJam | `mcpjam` | `.mcpjam/skills/` | `~/.mcpjam/skills/` |
|
|
314
|
+
| MiniMax Code | `minimax-code` | `.minimax/skills/` | `~/.minimax/skills/` |
|
|
292
315
|
| Mistral Vibe | `mistral-vibe` | `.vibe/skills/` | `~/.vibe/skills/` |
|
|
293
316
|
| Moxby | `moxby` | `.moxby/skills/` | `~/.moxby/skills/` |
|
|
294
317
|
| Mux | `mux` | `.mux/skills/` | `~/.mux/skills/` |
|
|
@@ -296,6 +319,7 @@ Skills can be installed to any of these agents:
|
|
|
296
319
|
| OpenHands | `openhands` | `.openhands/skills/` | `~/.openhands/skills/` |
|
|
297
320
|
| Ona | `ona` | `.ona/skills/` | `~/.ona/skills/` |
|
|
298
321
|
| Pi | `pi` | `.pi/skills/` | `~/.pi/agent/skills/` |
|
|
322
|
+
| Posit Assistant | `posit-assistant` | `.posit/assistant/skills/` | `~/.posit/assistant/skills/` |
|
|
299
323
|
| Qoder | `qoder` | `.qoder/skills/` | `~/.qoder/skills/` |
|
|
300
324
|
| Qoder CN | `qoder-cn` | `.qoder/skills/` | `~/.qoder-cn/skills/` |
|
|
301
325
|
| Qwen Code | `qwen-code` | `.qwen/skills/` | `~/.qwen/skills/` |
|
|
@@ -376,12 +400,13 @@ metadata:
|
|
|
376
400
|
### Skill Discovery
|
|
377
401
|
|
|
378
402
|
The CLI searches for skills in these locations within a repository. Each
|
|
379
|
-
skill container directory is walked
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
(e.g. under
|
|
403
|
+
skill container directory is walked up to three levels deep, covering flat
|
|
404
|
+
layouts (`skills/<name>/SKILL.md`) and catalog layouts with one or two category
|
|
405
|
+
levels (`skills/<category>/<name>/SKILL.md` or
|
|
406
|
+
`skills/<category>/<category>/<name>/SKILL.md`). A `SKILL.md` discovered at a
|
|
407
|
+
shallower level shadows anything nested below it. Use `--full-depth` to also
|
|
408
|
+
discover `SKILL.md` files outside these container directories (e.g. under
|
|
409
|
+
`examples/` or `tests/`).
|
|
385
410
|
|
|
386
411
|
<!-- skill-discovery:start -->
|
|
387
412
|
- Root directory (if it contains `SKILL.md`)
|
|
@@ -421,12 +446,14 @@ to also discover `SKILL.md` files outside these container directories
|
|
|
421
446
|
- `.kode/skills/`
|
|
422
447
|
- `.lingma/skills/`
|
|
423
448
|
- `.mcpjam/skills/`
|
|
449
|
+
- `.minimax/skills/`
|
|
424
450
|
- `.vibe/skills/`
|
|
425
451
|
- `.moxby/skills/`
|
|
426
452
|
- `.mux/skills/`
|
|
427
453
|
- `.openhands/skills/`
|
|
428
454
|
- `.ona/skills/`
|
|
429
455
|
- `.pi/skills/`
|
|
456
|
+
- `.posit/assistant/skills/`
|
|
430
457
|
- `.qoder/skills/`
|
|
431
458
|
- `.qwen/skills/`
|
|
432
459
|
- `.reasonix/skills/`
|
|
@@ -462,7 +489,7 @@ If `.claude-plugin/marketplace.json` or `.claude-plugin/plugin.json` exists, ski
|
|
|
462
489
|
}
|
|
463
490
|
```
|
|
464
491
|
|
|
465
|
-
This enables compatibility with the [Claude Code plugin marketplace](https://code.claude.com/docs/en/plugin-marketplaces) ecosystem. Skill paths declared in a manifest are searched at their declared depth and are not subject to the depth-
|
|
492
|
+
This enables compatibility with the [Claude Code plugin marketplace](https://code.claude.com/docs/en/plugin-marketplaces) ecosystem. Skill paths declared in a manifest are searched at their declared depth and are not subject to the bounded depth-3 catalog walk described above.
|
|
466
493
|
|
|
467
494
|
If no skills are found in standard locations, a recursive search is performed.
|
|
468
495
|
|
|
@@ -501,6 +528,8 @@ Ensure you have write access to the target directory.
|
|
|
501
528
|
| `INSTALL_INTERNAL_SKILLS` | Set to `1` or `true` to show and install skills marked as `internal: true` |
|
|
502
529
|
| `DISABLE_TELEMETRY` | Set to disable anonymous usage telemetry |
|
|
503
530
|
| `DO_NOT_TRACK` | Alternative way to disable telemetry |
|
|
531
|
+
| `GITHUB_TOKEN` | Optional explicit token for authenticated GitHub API requests |
|
|
532
|
+
| `GH_TOKEN` | Fallback explicit token for authenticated GitHub API requests |
|
|
504
533
|
|
|
505
534
|
```bash
|
|
506
535
|
# Install internal skills
|
|
@@ -511,7 +540,7 @@ INSTALL_INTERNAL_SKILLS=1 npx skills add vercel-labs/agent-skills --list
|
|
|
511
540
|
|
|
512
541
|
This CLI collects anonymous usage data to help improve the tool. No personal information is collected.
|
|
513
542
|
|
|
514
|
-
|
|
543
|
+
GitHub repository and skill identifiers are sent only for repositories that GitHub positively confirms are public. Other remote source types may include source and skill identifiers in install telemetry because their visibility cannot be checked through GitHub. Security-audit requests remain limited to confirmed-public GitHub repositories. Set `DISABLE_TELEMETRY=1` or `DO_NOT_TRACK=1` to disable both entirely.
|
|
515
544
|
|
|
516
545
|
## Related Links
|
|
517
546
|
|
|
@@ -539,6 +568,7 @@ Telemetry is automatically disabled in CI environments.
|
|
|
539
568
|
- [Qwen Code Skills Documentation](https://qwenlm.github.io/qwen-code-docs/en/users/features/skills/)
|
|
540
569
|
- [OpenHands Skills Documentation](https://docs.openhands.ai/modules/usage/how-to/using-skills)
|
|
541
570
|
- [Pi Skills Documentation](https://github.com/badlogic/pi-mono/blob/main/packages/coding-agent/docs/skills.md)
|
|
571
|
+
- [Posit Assistant Skills Documentation](https://assistant.posit.co/docs/features/skills/)
|
|
542
572
|
- [Qoder Skills Documentation](https://docs.qoder.com/cli/Skills)
|
|
543
573
|
- [Replit Skills Documentation](https://docs.replit.com/replitai/skills)
|
|
544
574
|
- [Roo Code Skills Documentation](https://docs.roocode.com/features/skills)
|