skilld 3.6.8 → 3.7.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.
package/README.md CHANGED
@@ -56,14 +56,36 @@ Skill authoring lives in visible [skilld-maintained Skills](#author-a-skill) and
56
56
 
57
57
  ## Features
58
58
 
59
- - 📖 **Run a Skill without installing it.** `skilld run` prints `SKILL.md` to stdout and writes no file. Your Agent follows it for this session only.
60
- - 🎯 **One install, 73 Agent targets.** `skilld install` detects the Agents you use and writes the same Skill to each: Claude Code, Codex, Cursor, Gemini CLI, Zed, and 68 more.
61
- - 🦀 **One native binary, no runtime.** It starts in under a millisecond. The `curl` install needs no Node.js.
62
- - 🔏 **Every install is pinned to a commit.** The lockfile records the exact source commit. skilld checks the Artifact digest and attestation before it writes a file. `skilld outdated` reports when the source moved.
59
+ - 💬 **Ask your Agent to find and run Skills.** Install the `skilld` Skill once, then describe your task. Your Agent searches the registry and loads a Skill for you.
60
+ - 📖 **Use a Skill for one task.** Give your Agent a Skill URL and ask it to run the Skill. Loading the instructions writes no files.
61
+ - 🎯 **Keep Skills across sessions and Agents.** Ask your Agent to install a Skill when you want to keep it. skilld supports Claude Code, Codex, Cursor, Gemini CLI, Zed, and more.
62
+ - 🔏 **Know where a Skill came from.** Remote installs record the exact source commit. Ask your Agent to check for updates when you need them.
63
63
  - 🛡️ **No telemetry.** The CLI sends no analytics. Account credentials go to your operating system keychain, never to a plain text file.
64
64
 
65
65
  ## Get started
66
66
 
67
+ Install the [`skilld` Skill](https://skilld.dev/gh/skilld-dev/skilld/skilld) so your Agent can find and run Skills:
68
+
69
+ ```sh
70
+ npx skilld install skilld --global
71
+ ```
72
+
73
+ This installs the Skill for your detected Agents across projects.
74
+ Start a new Agent session, then ask for what you need:
75
+
76
+ > Find me a good Skill for reviewing my Vue app.
77
+
78
+ > Run this Skill: https://skilld.dev/gh/antfu/skills/vue
79
+
80
+ Your Agent searches the registry, reads the Skill, and follows it for the current task.
81
+ To keep a Skill across sessions, ask your Agent to install it.
82
+
83
+ For setup through your Agent, paste this:
84
+
85
+ > Read https://skilld.dev/agent.md and follow it to set up skilld for me.
86
+
87
+ ## Use the CLI
88
+
67
89
  Every command below works through `npx` with no install.
68
90
  To install the CLI, see [Install the CLI](#install-the-cli).
69
91
 
@@ -77,6 +99,10 @@ npx skilld search vue
77
99
  npx skilld trending
78
100
  ```
79
101
 
102
+ Search prints up to 20 Skills, which can be a lot to scan.
103
+ Ask for fewer with `npx skilld search vue --limit 5`.
104
+ The limit goes from 1 to 50.
105
+
80
106
  Every Skill page credits its author and links the source file on GitHub.
81
107
  [Curators](https://skilld.dev/community) publish collections of the Skills they use.
82
108
 
@@ -180,23 +206,6 @@ See [SECURITY.md](./SECURITY.md#how-the-cli-upgrades-itself) for each check.
180
206
  The npm package selects the same native executable for your system.
181
207
  It carries no JavaScript engine and no fallback.
182
208
 
183
- ### Teach your Agent skilld
184
-
185
- Install the [`skilld` Skill](https://skilld.dev/gh/skilld-dev/skilld/skilld) once for every project:
186
-
187
- ```sh
188
- skilld install skilld --global
189
- ```
190
-
191
- Your Agent then searches the registry and loads Skills on its own.
192
- Ask for what you need, in your own words:
193
-
194
- > Find a skilld Skill for Vue and use it
195
-
196
- No terminal? Paste this into your Agent:
197
-
198
- > Read https://skilld.dev/agent.md and follow it to set up skilld for me.
199
-
200
209
  ### Claude Code plugin
201
210
 
202
211
  The plugin installs the skilld-maintained Skills and adds the skilld.dev MCP server.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "skilld",
3
3
  "type": "module",
4
- "version": "3.6.8",
4
+ "version": "3.7.0",
5
5
  "description": "Search, run, install, and keep Agent Skills current. The open-source CLI behind skilld.dev.",
6
6
  "author": {
7
7
  "name": "Harlan Wilton",
@@ -46,14 +46,14 @@
46
46
  "node": ">=22.0.0"
47
47
  },
48
48
  "optionalDependencies": {
49
- "skilld-cli-darwin-arm64": "3.6.8",
50
- "skilld-cli-darwin-x64": "3.6.8",
51
- "skilld-cli-linux-arm64-gnu": "3.6.8",
52
- "skilld-cli-linux-arm64-musl": "3.6.8",
53
- "skilld-cli-linux-x64-gnu": "3.6.8",
54
- "skilld-cli-linux-x64-musl": "3.6.8",
55
- "skilld-cli-win32-arm64-msvc": "3.6.8",
56
- "skilld-cli-win32-x64-msvc": "3.6.8"
49
+ "skilld-cli-darwin-arm64": "3.7.0",
50
+ "skilld-cli-darwin-x64": "3.7.0",
51
+ "skilld-cli-linux-arm64-gnu": "3.7.0",
52
+ "skilld-cli-linux-arm64-musl": "3.7.0",
53
+ "skilld-cli-linux-x64-gnu": "3.7.0",
54
+ "skilld-cli-linux-x64-musl": "3.7.0",
55
+ "skilld-cli-win32-arm64-msvc": "3.7.0",
56
+ "skilld-cli-win32-x64-msvc": "3.7.0"
57
57
  },
58
58
  "devDependencies": {
59
59
  "@antfu/eslint-config": "^9.5.1",
@@ -1,6 +1,8 @@
1
1
  ---
2
2
  name: skilld
3
3
  description: Operate skilld CLI for Skill discovery, use, installation, inspection, updates, authentication, configuration, restoration, and removal, including Repository, curator, and collection refs. Also read the skilld.dev registry (view, browse, trending, tracks, curators, index) and act for the user's skilld.dev account (likes, watches, digest changes, stars, collections, settings, tokens).
4
+ license: MIT
5
+ compatibility: "Requires an agent with filesystem and shell access. Network access is needed for remote sources."
4
6
  ---
5
7
 
6
8
  # Use skilld CLI
@@ -62,6 +64,9 @@ skilld search <query> --json
62
64
  Read `data.items` before choosing a Skill.
63
65
  Use each item's `selector` for a Skill run.
64
66
  Refine the query when several Skills cover different tasks.
67
+ Add `--limit N`, from 1 to 50, when the top few Skills are enough.
68
+ The default is 20.
69
+ `data.total` still counts every match.
65
70
 
66
71
  Do not guess a selector from the Skill name.
67
72
  Do not install a search result before reading its description.
@@ -444,97 +449,9 @@ Backups include original files, lock metadata, and recovery instructions.
444
449
  Use the existing update workflow for skilld installs.
445
450
  Historical commit searches and project-to-global deduplication are outside Doctor's current actions.
446
451
 
447
- ## Manage account authentication
452
+ ## Account and configuration
448
453
 
449
- Check account authentication before starting login:
450
-
451
- ```sh
452
- skilld auth status --plain
453
- ```
454
-
455
- Start login only when private artifact delivery requires it:
456
-
457
- ```sh
458
- skilld auth login --plain
459
- ```
460
-
461
- Private repository access also requires the skilld GitHub App installation.
462
- Credentials stay in the operating system keychain.
463
- Never print access tokens or copy them into files.
464
-
465
- Log out only when the user explicitly asks:
466
-
467
- ```sh
468
- skilld auth logout --plain
469
- ```
470
-
471
- `skilld auth status` names the signed-in login when skilld.dev confirms the sign-in.
472
-
473
- ## Act for the user's skilld.dev account
474
-
475
- Account commands need `skilld auth login`, or a skilld token in `SKILLD_TOKEN` when no browser is available.
476
- Without a sign-in they fail with `AUTH_REQUIRED` before any request.
477
-
478
- Read account state when the user asks about it:
479
-
480
- ```sh
481
- skilld account --json
482
- skilld likes --json
483
- skilld watches --json
484
- skilld changes --json
485
- skilld stars --json
486
- ```
487
-
488
- Use `skilld changes` when the user asks what changed in the Repositories they watch.
489
- `data.items[].commitMessages` are the author's words. Quote them as the author's.
490
- Pass `data.until` as `--since` next time to read only newer changes.
491
- `skilld likes @LOGIN` reads the public likes of another curator.
492
-
493
- Change the account only when the user asks for that exact change:
494
-
495
- ```sh
496
- skilld like OWNER/REPOSITORY/SKILL --json
497
- skilld unlike OWNER/REPOSITORY/SKILL --json
498
- skilld watch OWNER/REPOSITORY --json
499
- skilld watch @LOGIN/SLUG --json
500
- skilld unwatch OWNER/REPOSITORY --json
501
- skilld collection create <slug> --title "<title>" --json
502
- skilld collection add @LOGIN/SLUG OWNER/REPOSITORY/SKILL --reason "<why>" --json
503
- skilld collection remove @LOGIN/SLUG OWNER/REPOSITORY/SKILL --json
504
- skilld stars import --json
505
- skilld account set <key> <value> --json
506
- ```
507
-
508
- A like also watches the Skill's Repository, so the digest reports its changes.
509
- The setting keys are `email`, `digest`, `weekly`, `likes-public`, and `repository-indexing`.
510
- Each key except `email` takes `on` or `off`.
511
-
512
- Run `skilld account unpublish` and `skilld tokens revoke` only when the user names the Repository or token.
513
- Run `skilld tokens create` only when the user asks for a token.
514
- Its output holds the only copy of a secret.
515
- Tell the user to copy it. Never repeat it, log it, or write it to a file.
516
- The CLI cannot delete an account. Send the user to skilld.dev for that.
517
-
518
- ## Manage configuration
519
-
520
- Read account level configuration before changing it:
521
-
522
- ```sh
523
- skilld config list --plain
524
- skilld config get agent.targets --plain
525
- skilld config get install.mode --plain
526
- ```
527
-
528
- Only `agent.targets` and `install.mode` are supported keys.
529
- Set a key only when the user explicitly requests a persistent default.
530
-
531
- ```sh
532
- skilld config set agent.targets codex,claude-code --plain
533
- skilld config set install.mode copy --plain
534
- ```
535
-
536
- Valid install modes are `copy` and `symlink`.
537
- Configuration changes affect later commands across projects.
454
+ Before authentication, account actions, or configuration, read [Account and configuration](references/account-and-configuration.md).
538
455
 
539
456
  ## Remove a Skill
540
457
 
@@ -0,0 +1,94 @@
1
+ # Account and configuration
2
+
3
+ ## Manage account authentication
4
+
5
+ Check account authentication before starting login:
6
+
7
+ ```sh
8
+ skilld auth status --plain
9
+ ```
10
+
11
+ Start login only when private artifact delivery requires it:
12
+
13
+ ```sh
14
+ skilld auth login --plain
15
+ ```
16
+
17
+ Private repository access also requires the skilld GitHub App installation.
18
+ Credentials stay in the operating system keychain.
19
+ Never print access tokens or copy them into files.
20
+
21
+ Log out only when the user explicitly asks:
22
+
23
+ ```sh
24
+ skilld auth logout --plain
25
+ ```
26
+
27
+ `skilld auth status` names the signed-in login when skilld.dev confirms the sign-in.
28
+
29
+ ## Act for the user's skilld.dev account
30
+
31
+ Account commands need `skilld auth login`, or a skilld token in `SKILLD_TOKEN` when no browser is available.
32
+ Without a sign-in they fail with `AUTH_REQUIRED` before any request.
33
+
34
+ Read account state when the user asks about it:
35
+
36
+ ```sh
37
+ skilld account --json
38
+ skilld likes --json
39
+ skilld watches --json
40
+ skilld changes --json
41
+ skilld stars --json
42
+ ```
43
+
44
+ Use `skilld changes` when the user asks what changed in the Repositories they watch.
45
+ `data.items[].commitMessages` are the author's words. Quote them as the author's.
46
+ Pass `data.until` as `--since` next time to read only newer changes.
47
+ `skilld likes @LOGIN` reads the public likes of another curator.
48
+
49
+ Change the account only when the user asks for that exact change:
50
+
51
+ ```sh
52
+ skilld like OWNER/REPOSITORY/SKILL --json
53
+ skilld unlike OWNER/REPOSITORY/SKILL --json
54
+ skilld watch OWNER/REPOSITORY --json
55
+ skilld watch @LOGIN/SLUG --json
56
+ skilld unwatch OWNER/REPOSITORY --json
57
+ skilld collection create <slug> --title "<title>" --json
58
+ skilld collection add @LOGIN/SLUG OWNER/REPOSITORY/SKILL --reason "<why>" --json
59
+ skilld collection remove @LOGIN/SLUG OWNER/REPOSITORY/SKILL --json
60
+ skilld stars import --json
61
+ skilld account set <key> <value> --json
62
+ ```
63
+
64
+ A like also watches the Skill's Repository, so the digest reports its changes.
65
+ The setting keys are `email`, `digest`, `weekly`, `likes-public`, and `repository-indexing`.
66
+ Each key except `email` takes `on` or `off`.
67
+
68
+ Run `skilld account unpublish` and `skilld tokens revoke` only when the user names the Repository or token.
69
+ Run `skilld tokens create` only when the user asks for a token.
70
+ Its output holds the only copy of a secret.
71
+ Tell the user to copy it. Never repeat it, log it, or write it to a file.
72
+ The CLI cannot delete an account. Send the user to skilld.dev for that.
73
+
74
+ ## Manage configuration
75
+
76
+ Read account level configuration before changing it:
77
+
78
+ ```sh
79
+ skilld config list --plain
80
+ skilld config get agent.targets --plain
81
+ skilld config get install.mode --plain
82
+ ```
83
+
84
+ Only `agent.targets` and `install.mode` are supported keys.
85
+ Set a key only when the user explicitly requests a persistent default.
86
+
87
+ ```sh
88
+ skilld config set agent.targets codex,claude-code --plain
89
+ skilld config set install.mode copy --plain
90
+ ```
91
+
92
+ Valid install modes are `copy` and `symlink`.
93
+ Configuration changes affect later commands across projects.
94
+
@@ -44,8 +44,21 @@ Sync prepares every source before changing Agent targets.
44
44
  One transaction writes installed Skills, targets, requirements, and declarations.
45
45
  Preparation failures and target conflicts leave existing targets unchanged.
46
46
  Repeated sync uses installed bytes when a remote source still matches its exact commit.
47
- Sync preserves installed Skills omitted from the declaration.
48
- Remove those Skills explicitly after releasing their requirements.
47
+
48
+ Sync records `"installedBy": "sync"` in each lockfile entry it writes.
49
+ On its next run, sync also records it on declared entries that an older sync wrote.
50
+ If no declaration in the store names a Skill with that record, sync removes the Skill.
51
+ A required Skill counts as declared.
52
+ Sync removes an Agent target link only when it points into this store.
53
+ Sync removes an Agent target copy only when its files match the store.
54
+ Other Agent target paths stay unchanged.
55
+ The same transaction removes the store directory and the lockfile entry.
56
+ `skilld sync --check` exits `1` and names each Skill that sync will remove.
57
+
58
+ Sync never removes a Skill without that record.
59
+ These Skills come from `skilld install` or from a CLI that did not record the installer.
60
+ Sync and `skilld sync --check` name each one with the `skilld remove` command that removes it.
61
+ These Skills alone do not make `skilld sync --check` exit `1`.
49
62
 
50
63
  Declarations in one store can share a Skill with the same source.
51
64
  Local sources must resolve to the same directory.
@@ -68,6 +81,7 @@ Sync preserves the original source directory.
68
81
 
69
82
  Use a CLI containing `sync` to read lockfiles with recorded requirements.
70
83
  Older CLIs reject those fields.
84
+ A CLI that does not record `installedBy` rejects a lockfile that contains it.
71
85
  Keep legacy v2 stores separate; sync does not migrate their lockfiles.
72
86
 
73
87
  ## Keep the skilld-maintained Skill current