skills 1.5.21 → 1.5.23-snapshot.0

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.
Files changed (3) hide show
  1. package/README.md +36 -9
  2. package/dist/cli.mjs +694 -119
  3. package/package.json +2 -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 [70 more](#supported-agents).
6
+ Supports **OpenCode**, **Claude Code**, **Codex**, **Cursor**, and [72 more](#supported-agents).
7
7
  <!-- agent-list:end -->
8
8
 
9
9
  [![skills.sh](https://skills.sh/b/vercel-labs/skills)](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/` |
@@ -376,12 +399,13 @@ metadata:
376
399
  ### Skill Discovery
377
400
 
378
401
  The CLI searches for skills in these locations within a repository. Each
379
- skill container directory is walked one level deep for the common flat
380
- layout (`skills/<name>/SKILL.md`) and one extra level deep for catalog
381
- layouts (`skills/<category>/<name>/SKILL.md`). A `SKILL.md` discovered at
382
- the shallower level shadows anything nested below it. Use `--full-depth`
383
- to also discover `SKILL.md` files outside these container directories
384
- (e.g. under `examples/` or `tests/`).
402
+ skill container directory is walked up to three levels deep, covering flat
403
+ layouts (`skills/<name>/SKILL.md`) and catalog layouts with one or two category
404
+ levels (`skills/<category>/<name>/SKILL.md` or
405
+ `skills/<category>/<category>/<name>/SKILL.md`). A `SKILL.md` discovered at a
406
+ shallower level shadows anything nested below it. Use `--full-depth` to also
407
+ discover `SKILL.md` files outside these container directories (e.g. under
408
+ `examples/` or `tests/`).
385
409
 
386
410
  <!-- skill-discovery:start -->
387
411
  - Root directory (if it contains `SKILL.md`)
@@ -421,6 +445,7 @@ to also discover `SKILL.md` files outside these container directories
421
445
  - `.kode/skills/`
422
446
  - `.lingma/skills/`
423
447
  - `.mcpjam/skills/`
448
+ - `.minimax/skills/`
424
449
  - `.vibe/skills/`
425
450
  - `.moxby/skills/`
426
451
  - `.mux/skills/`
@@ -462,7 +487,7 @@ If `.claude-plugin/marketplace.json` or `.claude-plugin/plugin.json` exists, ski
462
487
  }
463
488
  ```
464
489
 
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-2 catalog walk described above.
490
+ 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
491
 
467
492
  If no skills are found in standard locations, a recursive search is performed.
468
493
 
@@ -501,6 +526,8 @@ Ensure you have write access to the target directory.
501
526
  | `INSTALL_INTERNAL_SKILLS` | Set to `1` or `true` to show and install skills marked as `internal: true` |
502
527
  | `DISABLE_TELEMETRY` | Set to disable anonymous usage telemetry |
503
528
  | `DO_NOT_TRACK` | Alternative way to disable telemetry |
529
+ | `GITHUB_TOKEN` | Optional explicit token for authenticated GitHub API requests |
530
+ | `GH_TOKEN` | Fallback explicit token for authenticated GitHub API requests |
504
531
 
505
532
  ```bash
506
533
  # Install internal skills
@@ -511,7 +538,7 @@ INSTALL_INTERNAL_SKILLS=1 npx skills add vercel-labs/agent-skills --list
511
538
 
512
539
  This CLI collects anonymous usage data to help improve the tool. No personal information is collected.
513
540
 
514
- Telemetry is automatically disabled in CI environments.
541
+ 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
542
 
516
543
  ## Related Links
517
544