skilld 3.4.1 → 3.6.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 (2) hide show
  1. package/README.md +32 -0
  2. package/package.json +9 -9
package/README.md CHANGED
@@ -155,6 +155,38 @@ Use the revision and file-read command from the initial output.
155
155
  skilld never prints executable or binary files.
156
156
  A Skill that must run its own script needs an install.
157
157
 
158
+ ### Skill behaviors
159
+
160
+ Every run lists what the Skill files ask an Agent to do, with the file and line.
161
+ skilld finds behaviors with the fixed text patterns in `packages/protocol/rules/skill-behaviors.json`.
162
+ Patterns miss obfuscated code, so an empty list proves nothing.
163
+
164
+ Five behaviors stop a remote `run`, `install`, or `add` until the user approves them:
165
+
166
+ | id | Skill behavior |
167
+ | --- | --- |
168
+ | `remote-code` | Runs code downloaded from the network |
169
+ | `privilege` | Runs commands as root |
170
+ | `credentials` | Reads credential files or tokens |
171
+ | `destructive` | Deletes system or home directories |
172
+ | `hidden-text` | Contains invisible characters |
173
+
174
+ A terminal asks you directly.
175
+ An Agent, a pipe, or CI gets `BEHAVIOR_CONFIRMATION_REQUIRED` and the exact approval command:
176
+
177
+ ```sh
178
+ skilld run 'github:OWNER/REPOSITORY/SKILL#commit:COMMIT' --allow remote-code
179
+ ```
180
+
181
+ The command pins the commit that skilld checked.
182
+ A local or bundled Skill lists its behaviors and never stops.
183
+
184
+ `install`, `add`, and `update` stop the same way and write nothing.
185
+ Run the same command again with the `--allow` ids the message names.
186
+ `add` installs every other Skill the ref names.
187
+ `update` stops only when the new version adds an ask behavior the installed copy lacks.
188
+ A lockfile restore and `skilld sync` install the commits already recorded, so they never stop.
189
+
158
190
  ## Install without Node.js
159
191
 
160
192
  macOS and Linux:
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "skilld",
3
3
  "type": "module",
4
- "version": "3.4.1",
4
+ "version": "3.6.0",
5
5
  "description": "Open source, privacy friendly Agent Skills. Search, run, install, and keep them current.",
6
6
  "author": {
7
7
  "name": "Harlan Wilton",
@@ -45,14 +45,14 @@
45
45
  "node": ">=22.0.0"
46
46
  },
47
47
  "optionalDependencies": {
48
- "skilld-cli-darwin-arm64": "3.4.1",
49
- "skilld-cli-darwin-x64": "3.4.1",
50
- "skilld-cli-linux-arm64-gnu": "3.4.1",
51
- "skilld-cli-linux-arm64-musl": "3.4.1",
52
- "skilld-cli-linux-x64-gnu": "3.4.1",
53
- "skilld-cli-linux-x64-musl": "3.4.1",
54
- "skilld-cli-win32-arm64-msvc": "3.4.1",
55
- "skilld-cli-win32-x64-msvc": "3.4.1"
48
+ "skilld-cli-darwin-arm64": "3.6.0",
49
+ "skilld-cli-darwin-x64": "3.6.0",
50
+ "skilld-cli-linux-arm64-gnu": "3.6.0",
51
+ "skilld-cli-linux-arm64-musl": "3.6.0",
52
+ "skilld-cli-linux-x64-gnu": "3.6.0",
53
+ "skilld-cli-linux-x64-musl": "3.6.0",
54
+ "skilld-cli-win32-arm64-msvc": "3.6.0",
55
+ "skilld-cli-win32-x64-msvc": "3.6.0"
56
56
  },
57
57
  "devDependencies": {
58
58
  "@antfu/eslint-config": "^9.5.1",