skilld 3.0.0-beta.1 → 3.0.0-beta.2

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 (2) hide show
  1. package/README.md +62 -3
  2. package/package.json +17 -14
package/README.md CHANGED
@@ -4,7 +4,7 @@
4
4
  [![npm downloads](https://img.shields.io/npm/dm/skilld?color=yellow)](https://npm.chart.dev/skilld)
5
5
  [![license](https://img.shields.io/npm/l/skilld?color=yellow)](https://github.com/skilld-dev/skilld/blob/main/LICENSE)
6
6
 
7
- Search, install, and keep Agent Skills current.
7
+ Search, run, install, and keep Agent Skills current.
8
8
 
9
9
  skilld v3 has two products:
10
10
 
@@ -22,7 +22,13 @@ npm install --global skilld
22
22
  The npm package selects a native executable for the current system.
23
23
  It has no JavaScript CLI engine or JavaScript fallback.
24
24
 
25
- Install the skilld-maintained Skill for your Agent:
25
+ Ask your Agent to run the skilld-maintained Skill for the current session:
26
+
27
+ ```sh
28
+ skilld run skilld
29
+ ```
30
+
31
+ Install it only when you want your Agent to keep it across sessions:
26
32
 
27
33
  ```sh
28
34
  skilld install skilld --global
@@ -34,12 +40,52 @@ Use `--agent` when you want an explicit Agent target:
34
40
  skilld install skilld --global --agent codex
35
41
  ```
36
42
 
43
+ ## Run a Skill without installing it
44
+
45
+ `skilld run` is the default way to use a Skill.
46
+ It prints `SKILL.md` to stdout.
47
+ Ask your Agent to run the command and follow the printed instructions.
48
+ If you run it yourself, pass the output to your Agent.
49
+
50
+ ```sh
51
+ npx skilld run skilld:skilld-dev/skills/vue
52
+ ```
53
+
54
+ A remote run writes no Skill files.
55
+ It creates no lockfile entry, Agent target, project file, or Skill cache.
56
+ The command retains no Skill files after it exits.
57
+
58
+ skilld names the supporting files a Skill carries and prints none of them.
59
+ Read one when the instructions call for it:
60
+
61
+ ```sh
62
+ npx skilld run skilld:skilld-dev/skills/vue --revision <commit> --file references/api.md
63
+ ```
64
+
65
+ Use the revision and file-read command from the initial output.
66
+ skilld never prints executable or binary files.
67
+ A Skill that must run its own script needs an install.
68
+
69
+ Install the Skill when you want it in every session:
70
+
71
+ ```sh
72
+ skilld install skilld:skilld-dev/skills/vue
73
+ ```
74
+
75
+ An install writes files. Ask the user first.
76
+
37
77
  ## Use the skilld CLI
38
78
 
39
79
  ```sh
40
80
  # Find a Skill
41
81
  skilld search vue
42
82
 
83
+ # Run a Skill for this session only
84
+ skilld run skilld:skilld-dev/skills/vue
85
+
86
+ # Read one supporting file that Skill carries
87
+ skilld run skilld:skilld-dev/skills/vue --revision <commit> --file references/api.md
88
+
43
89
  # Install a Skill in the current project
44
90
  skilld install skilld:skilld-dev/skills/vue
45
91
 
@@ -49,7 +95,10 @@ skilld view vue
49
95
 
50
96
  # Keep Skills current
51
97
  skilld verify vue
52
- skilld upgrade vue
98
+ skilld update vue
99
+
100
+ # Check update relations for an Agent or CI
101
+ skilld update --check --json
53
102
 
54
103
  # Remove a Skill
55
104
  skilld remove vue
@@ -68,6 +117,7 @@ GitHub remains the source of truth.
68
117
 
69
118
  skilld.dev builds an immutable Artifact from an exact Git commit.
70
119
  The CLI checks its digest, Artifact attestation, check results, and archive before installation.
120
+ The CLI stops pending Artifact creation after at most 60 seconds.
71
121
 
72
122
  Private Repository delivery requires both:
73
123
 
@@ -80,12 +130,21 @@ The API does not expose private storage addresses.
80
130
  ### Direct mode
81
131
 
82
132
  `--direct` fetches a public GitHub Repository without the skilld.dev API.
133
+ Explicit GitHub selectors use hosted Artifact delivery unless you add `--direct`.
134
+
135
+ ```sh
136
+ skilld install github:skilld-dev/skilld/skills/skilld --direct --agent codex
137
+ ```
138
+
83
139
  The installed Skill receives the `unverified` source status.
84
140
  The user reviews the Skill before use.
85
141
 
86
142
  Direct mode never handles private Repositories.
87
143
  It never falls back to skilld.dev.
88
144
 
145
+ Generated commands use POSIX shell quoting on Unix.
146
+ They use PowerShell quoting on Windows.
147
+
89
148
  ## Source status
90
149
 
91
150
  - `verified`: skilld checked a skilld.dev Artifact and its attestation.
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "skilld",
3
3
  "type": "module",
4
- "version": "3.0.0-beta.1",
5
- "description": "Search, install, and keep Skills current",
4
+ "version": "3.0.0-beta.2",
5
+ "description": "Search, run, install, and keep Skills current",
6
6
  "author": {
7
7
  "name": "Harlan Wilton",
8
8
  "email": "harlan@harlanzw.com",
@@ -33,22 +33,23 @@
33
33
  "loader"
34
34
  ],
35
35
  "engines": {
36
- "node": ">=18.18.0"
36
+ "node": ">=22.0.0"
37
37
  },
38
38
  "optionalDependencies": {
39
- "skilld-cli-darwin-arm64": "3.0.0-beta.1",
40
- "skilld-cli-darwin-x64": "3.0.0-beta.1",
41
- "skilld-cli-linux-arm64-gnu": "3.0.0-beta.1",
42
- "skilld-cli-linux-arm64-musl": "3.0.0-beta.1",
43
- "skilld-cli-linux-x64-gnu": "3.0.0-beta.1",
44
- "skilld-cli-linux-x64-musl": "3.0.0-beta.1",
45
- "skilld-cli-win32-arm64-msvc": "3.0.0-beta.1",
46
- "skilld-cli-win32-x64-msvc": "3.0.0-beta.1"
39
+ "skilld-cli-darwin-arm64": "3.0.0-beta.2",
40
+ "skilld-cli-darwin-x64": "3.0.0-beta.2",
41
+ "skilld-cli-linux-arm64-gnu": "3.0.0-beta.2",
42
+ "skilld-cli-linux-arm64-musl": "3.0.0-beta.2",
43
+ "skilld-cli-linux-x64-gnu": "3.0.0-beta.2",
44
+ "skilld-cli-linux-x64-musl": "3.0.0-beta.2",
45
+ "skilld-cli-win32-arm64-msvc": "3.0.0-beta.2",
46
+ "skilld-cli-win32-x64-msvc": "3.0.0-beta.2"
47
47
  },
48
48
  "devDependencies": {
49
49
  "@antfu/eslint-config": "^9.3.0",
50
- "eslint": "^10.8.1",
51
- "vitest": "^4.1.10"
50
+ "bumpp": "^12.2.1",
51
+ "eslint": "^10.9.1",
52
+ "vitest": "^4.1.11"
52
53
  },
53
54
  "scripts": {
54
55
  "build": "pnpm --filter skilld-protocol build && pnpm --filter skilld-harness build && cargo build --workspace",
@@ -56,7 +57,9 @@
56
57
  "lint:fix": "eslint . --fix && cargo fmt --all",
57
58
  "typecheck": "pnpm --filter skilld-protocol typecheck && pnpm --filter skilld-harness typecheck",
58
59
  "test": "vitest",
59
- "test:run": "vitest run tests/loader && pnpm --filter skilld-protocol test:run && pnpm --filter skilld-harness test:run && cargo test --workspace",
60
+ "test:js": "vitest run tests/loader && pnpm --filter skilld-protocol test:run && pnpm --filter skilld-harness test:run",
61
+ "test:run": "pnpm test:js && cargo test --workspace",
62
+ "release": "pnpm build && bumpp",
60
63
  "test:loader": "vitest run --config vitest.config.mjs"
61
64
  }
62
65
  }