agentwheel 0.8.0 → 0.9.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 +131 -136
- package/dist/index.js +530 -245
- package/openpack.json +1 -1
- package/package.json +1 -1
- package/skills/agentwheel/SKILL.md +76 -61
package/openpack.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: agentwheel
|
|
3
|
-
description: Use agentwheel to discover,
|
|
3
|
+
description: Use agentwheel to discover, add, install, update, customize, eject, and uninstall agent skills, rules, instructions, commands, MCP, hooks, settings, and plugin artifacts across runtimes.
|
|
4
4
|
allowed-tools: [Bash]
|
|
5
5
|
---
|
|
6
6
|
|
|
@@ -8,11 +8,18 @@ allowed-tools: [Bash]
|
|
|
8
8
|
|
|
9
9
|
Use this skill when a user wants to install, manage, update, remove, or inspect agent skills or other agentwheel-managed artifacts.
|
|
10
10
|
|
|
11
|
-
agentwheel is the control plane. It reads packages from sources,
|
|
11
|
+
agentwheel is the control plane. It reads packages from sources, stores desired state in `.agentwheel/config.json`, plans runtime changes, and writes only through `install`. Treat runtime output directories as generated files.
|
|
12
|
+
|
|
13
|
+
Mental model:
|
|
14
|
+
|
|
15
|
+
- `add` records desired packages.
|
|
16
|
+
- `install` makes the declared state true in the target runtime.
|
|
17
|
+
- `update` re-resolves tracking packages, then applies.
|
|
18
|
+
- `uninstall` removes configured packages and their managed runtime output.
|
|
12
19
|
|
|
13
20
|
## Safety Rules
|
|
14
21
|
|
|
15
|
-
- Prefer `agentwheel plan ...` or `agentwheel
|
|
22
|
+
- Prefer `agentwheel plan ...` or `agentwheel install --dry-run` before applying changes.
|
|
16
23
|
- Do not hand-edit generated runtime files such as `.openclaw/skills`, `.claude/skills`, `.codex/skills`, `.hermes/skills`, or generated instructions.
|
|
17
24
|
- If a plan reports `drift` or `conflict`, stop and explain it. Do not use `--force` unless the user explicitly approves that scope.
|
|
18
25
|
- Gmail, Drive, registry publishing, git commits, pushes, and runtime restarts are separate external side effects. Get explicit approval for them.
|
|
@@ -24,15 +31,21 @@ agentwheel is the control plane. It reads packages from sources, stages artifact
|
|
|
24
31
|
```bash
|
|
25
32
|
agentwheel registry search tmux
|
|
26
33
|
agentwheel add github:NestDevLab/agent-mesh --skill codex-tmux --adapter codex --mode tracking
|
|
27
|
-
agentwheel
|
|
28
|
-
agentwheel
|
|
34
|
+
agentwheel plan
|
|
35
|
+
agentwheel install
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
If a workspace already has configured packages in `.agentwheel/config.json`, install without a source:
|
|
39
|
+
|
|
40
|
+
```bash
|
|
41
|
+
agentwheel plan
|
|
42
|
+
agentwheel install
|
|
29
43
|
```
|
|
30
44
|
|
|
31
|
-
|
|
45
|
+
To add and install in one step:
|
|
32
46
|
|
|
33
47
|
```bash
|
|
34
|
-
agentwheel
|
|
35
|
-
agentwheel sync
|
|
48
|
+
agentwheel install github:owner/repo --adapter codex
|
|
36
49
|
```
|
|
37
50
|
|
|
38
51
|
## Workspace Setup
|
|
@@ -49,7 +62,7 @@ Initialize a package authoring directory:
|
|
|
49
62
|
agentwheel init package
|
|
50
63
|
```
|
|
51
64
|
|
|
52
|
-
`agentwheel init package` creates `
|
|
65
|
+
`agentwheel init package` creates `openpack.json`, `instructions/`, `rules/`, `skills/`, and `instructions/AGENTS.md`.
|
|
53
66
|
|
|
54
67
|
## Discovery
|
|
55
68
|
|
|
@@ -110,7 +123,7 @@ agentwheel add <source> --driver vercel-skills
|
|
|
110
123
|
|
|
111
124
|
## Add Packages
|
|
112
125
|
|
|
113
|
-
|
|
126
|
+
`add` saves a package entry in `.agentwheel/config.json`; it does not install runtime files by itself.
|
|
114
127
|
|
|
115
128
|
```bash
|
|
116
129
|
agentwheel add github:owner/repo --adapter openclaw
|
|
@@ -141,36 +154,45 @@ agentwheel add github:owner/repo#v1.0.0 --mode pinned
|
|
|
141
154
|
agentwheel add github:owner/repo#main --mode tracking
|
|
142
155
|
```
|
|
143
156
|
|
|
144
|
-
## Plan And
|
|
157
|
+
## Plan And Install
|
|
145
158
|
|
|
146
|
-
|
|
159
|
+
Preview configured packages:
|
|
147
160
|
|
|
148
161
|
```bash
|
|
149
|
-
agentwheel plan
|
|
150
|
-
agentwheel plan github:owner/repo --adapter codex --target-root /path/to/project
|
|
162
|
+
agentwheel plan
|
|
151
163
|
```
|
|
152
164
|
|
|
153
|
-
|
|
165
|
+
Apply configured packages:
|
|
154
166
|
|
|
155
167
|
```bash
|
|
156
|
-
agentwheel
|
|
168
|
+
agentwheel install
|
|
157
169
|
```
|
|
158
170
|
|
|
159
|
-
|
|
171
|
+
Preview or apply one configured package:
|
|
160
172
|
|
|
161
173
|
```bash
|
|
162
|
-
agentwheel
|
|
174
|
+
agentwheel plan team-agent-pack
|
|
175
|
+
agentwheel install team-agent-pack
|
|
163
176
|
```
|
|
164
177
|
|
|
165
|
-
|
|
178
|
+
Add and install a source in one step:
|
|
166
179
|
|
|
167
180
|
```bash
|
|
168
|
-
agentwheel
|
|
169
|
-
agentwheel sync
|
|
181
|
+
agentwheel install github:owner/repo --adapter codex
|
|
170
182
|
```
|
|
171
183
|
|
|
172
184
|
Target selection order is `--target-root`, then `--agent`, then runtime auto-detection from the current directory, then the current directory.
|
|
173
185
|
|
|
186
|
+
## Status
|
|
187
|
+
|
|
188
|
+
Use status to see configured packages, lock/manifest state, and pending install work:
|
|
189
|
+
|
|
190
|
+
```bash
|
|
191
|
+
agentwheel status
|
|
192
|
+
agentwheel status --agent lab-codex
|
|
193
|
+
agentwheel status --all
|
|
194
|
+
```
|
|
195
|
+
|
|
174
196
|
## Named Agents And Profiles
|
|
175
197
|
|
|
176
198
|
Global config is `~/.agentwheel/config.json`. Project config is `.agentwheel/config.json`; project values win.
|
|
@@ -200,12 +222,12 @@ Current config shape:
|
|
|
200
222
|
Use named targets:
|
|
201
223
|
|
|
202
224
|
```bash
|
|
203
|
-
agentwheel
|
|
204
|
-
agentwheel
|
|
205
|
-
agentwheel
|
|
206
|
-
agentwheel
|
|
207
|
-
agentwheel
|
|
208
|
-
agentwheel
|
|
225
|
+
agentwheel install --agent lab-codex --dry-run
|
|
226
|
+
agentwheel install --agent lab-codex
|
|
227
|
+
agentwheel install --all --dry-run
|
|
228
|
+
agentwheel install --all
|
|
229
|
+
agentwheel install --profile daily --dry-run
|
|
230
|
+
agentwheel install --profile daily
|
|
209
231
|
```
|
|
210
232
|
|
|
211
233
|
## Adapters
|
|
@@ -221,19 +243,19 @@ Built-in adapters:
|
|
|
221
243
|
Use a declarative adapter config:
|
|
222
244
|
|
|
223
245
|
```bash
|
|
224
|
-
agentwheel
|
|
225
|
-
agentwheel
|
|
246
|
+
agentwheel install ./my-pack --adapter-config ./my-runtime.jsonc --dry-run
|
|
247
|
+
agentwheel install ./my-pack --adapter-config ./my-runtime.jsonc
|
|
226
248
|
```
|
|
227
249
|
|
|
228
250
|
Use a local programmatic adapter only after approval:
|
|
229
251
|
|
|
230
252
|
```bash
|
|
231
|
-
agentwheel
|
|
253
|
+
agentwheel install ./my-pack --adapter-module ./adapter.ts --allow-adapter-code --dry-run
|
|
232
254
|
```
|
|
233
255
|
|
|
234
256
|
## Update
|
|
235
257
|
|
|
236
|
-
Preview updates for configured packages:
|
|
258
|
+
Preview updates for configured tracking packages:
|
|
237
259
|
|
|
238
260
|
```bash
|
|
239
261
|
agentwheel update --dry-run
|
|
@@ -252,14 +274,14 @@ agentwheel update --agent lab-codex --dry-run
|
|
|
252
274
|
agentwheel update --all --dry-run
|
|
253
275
|
```
|
|
254
276
|
|
|
255
|
-
|
|
277
|
+
Limit an update to one configured package:
|
|
256
278
|
|
|
257
279
|
```bash
|
|
258
|
-
agentwheel update
|
|
259
|
-
agentwheel update
|
|
280
|
+
agentwheel update team-agent-pack --dry-run
|
|
281
|
+
agentwheel update team-agent-pack
|
|
260
282
|
```
|
|
261
283
|
|
|
262
|
-
`update`
|
|
284
|
+
`install` uses the graph lock as input when present. `update` re-resolves tracking packages and writes a new lock. Pinned packages stay on the locked graph unless their declaration changes.
|
|
263
285
|
|
|
264
286
|
## Drift And Customization
|
|
265
287
|
|
|
@@ -274,16 +296,16 @@ Append durable local instruction text:
|
|
|
274
296
|
|
|
275
297
|
```bash
|
|
276
298
|
agentwheel remember --runtime codex "Always run the formatter before tests."
|
|
277
|
-
agentwheel
|
|
278
|
-
agentwheel
|
|
299
|
+
agentwheel plan
|
|
300
|
+
agentwheel install
|
|
279
301
|
```
|
|
280
302
|
|
|
281
303
|
Eject an artifact:
|
|
282
304
|
|
|
283
305
|
```bash
|
|
284
306
|
agentwheel eject <package-name>/skills/<skill-name>
|
|
285
|
-
agentwheel
|
|
286
|
-
agentwheel
|
|
307
|
+
agentwheel plan
|
|
308
|
+
agentwheel install
|
|
287
309
|
```
|
|
288
310
|
|
|
289
311
|
For package names with slashes, keep the full package name:
|
|
@@ -294,45 +316,37 @@ agentwheel eject NestDevLab/agent-mesh/skills/codex-tmux
|
|
|
294
316
|
|
|
295
317
|
## Uninstall
|
|
296
318
|
|
|
297
|
-
Preview uninstall for
|
|
298
|
-
|
|
299
|
-
```bash
|
|
300
|
-
agentwheel uninstall --dry-run
|
|
301
|
-
```
|
|
302
|
-
|
|
303
|
-
Uninstall clean managed files:
|
|
319
|
+
Preview uninstall for a configured package:
|
|
304
320
|
|
|
305
321
|
```bash
|
|
306
|
-
agentwheel uninstall
|
|
322
|
+
agentwheel uninstall team-agent-pack --dry-run
|
|
307
323
|
```
|
|
308
324
|
|
|
309
|
-
Uninstall
|
|
325
|
+
Uninstall clean managed files and remove the package from config:
|
|
310
326
|
|
|
311
327
|
```bash
|
|
312
|
-
agentwheel uninstall
|
|
313
|
-
agentwheel uninstall --skill code-review
|
|
328
|
+
agentwheel uninstall team-agent-pack
|
|
314
329
|
```
|
|
315
330
|
|
|
316
|
-
|
|
331
|
+
Remove from config and manifest but keep runtime files unmanaged:
|
|
317
332
|
|
|
318
333
|
```bash
|
|
319
|
-
agentwheel uninstall
|
|
320
|
-
agentwheel uninstall --select skills/code-review
|
|
334
|
+
agentwheel uninstall team-agent-pack --keep-files
|
|
321
335
|
```
|
|
322
336
|
|
|
323
337
|
By default, uninstall keeps drifted managed files. Use `--force` only with explicit approval:
|
|
324
338
|
|
|
325
339
|
```bash
|
|
326
|
-
agentwheel uninstall --force
|
|
340
|
+
agentwheel uninstall team-agent-pack --force
|
|
327
341
|
```
|
|
328
342
|
|
|
329
343
|
## Package Manifest Reference
|
|
330
344
|
|
|
331
|
-
An
|
|
345
|
+
An OpenPack package uses `openpack.json` or `openpack.jsonc`:
|
|
332
346
|
|
|
333
347
|
```json
|
|
334
348
|
{
|
|
335
|
-
"schemaVersion":
|
|
349
|
+
"schemaVersion": 2,
|
|
336
350
|
"name": "owner/agent-pack",
|
|
337
351
|
"version": "0.1.0",
|
|
338
352
|
"provides": [
|
|
@@ -343,7 +357,7 @@ An agentwheel package uses `agentwheel.json` or `agentwheel.jsonc`:
|
|
|
343
357
|
}
|
|
344
358
|
```
|
|
345
359
|
|
|
346
|
-
Supported artifact types are `instructions`, `rules`, `skills`, `commands`, `subagents`, `mcp`, `hooks`, `settings`, and `
|
|
360
|
+
Supported artifact types are `instructions`, `rules`, `skills`, `commands`, `subagents`, `mcp`, `hooks`, `settings`, `plugins`, and `fragments`.
|
|
347
361
|
|
|
348
362
|
Skills convention:
|
|
349
363
|
|
|
@@ -367,13 +381,14 @@ If there are no configured packages:
|
|
|
367
381
|
|
|
368
382
|
```bash
|
|
369
383
|
agentwheel add <source> --adapter <runtime>
|
|
370
|
-
agentwheel
|
|
384
|
+
agentwheel plan
|
|
385
|
+
agentwheel install
|
|
371
386
|
```
|
|
372
387
|
|
|
373
388
|
If the current directory has multiple runtime markers:
|
|
374
389
|
|
|
375
390
|
```bash
|
|
376
|
-
agentwheel
|
|
391
|
+
agentwheel install --adapter codex --dry-run
|
|
377
392
|
```
|
|
378
393
|
|
|
379
394
|
If a selected artifact is missing:
|
|
@@ -392,6 +407,6 @@ agentwheel registry search <query>
|
|
|
392
407
|
If npm update checks are noisy:
|
|
393
408
|
|
|
394
409
|
```bash
|
|
395
|
-
agentwheel --no-update-check
|
|
396
|
-
AGENTWHEEL_NO_UPDATE_CHECK=1 agentwheel
|
|
410
|
+
agentwheel --no-update-check install --dry-run
|
|
411
|
+
AGENTWHEEL_NO_UPDATE_CHECK=1 agentwheel install --dry-run
|
|
397
412
|
```
|