useakit 0.3.0-dev.115 → 0.3.0-dev.116
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 +5 -10
- package/dist/index.mjs +67 -68
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -14,10 +14,9 @@ a-kit add release # install a skill in this project
|
|
|
14
14
|
a-kit add release -g # or in your home folder, for every project
|
|
15
15
|
a-kit add acme/release # name the organization when more than one of yours has it
|
|
16
16
|
# or install another organization's public skill, no login needed
|
|
17
|
-
a-kit add kit/frontend # install every skill in a kit
|
|
18
17
|
a-kit add release --channel beta # install the skill's beta release
|
|
19
|
-
a-kit update # bring
|
|
20
|
-
a-kit list # your skills
|
|
18
|
+
a-kit update # bring skills to their channel's version
|
|
19
|
+
a-kit list # your skills, their context cost, and where they're installed
|
|
21
20
|
a-kit try release "Cut a release for v2" # Claude with the skill and without it
|
|
22
21
|
```
|
|
23
22
|
|
|
@@ -43,7 +42,7 @@ Your organization's skills live in its GitHub repository, one folder each in `sk
|
|
|
43
42
|
In a clone, `a-kit check` reads the repository the way agent kit does and lists what it would reject, without a login:
|
|
44
43
|
|
|
45
44
|
```sh
|
|
46
|
-
a-kit check # every skill, plus evals
|
|
45
|
+
a-kit check # every skill, plus evals/ and channels.yaml
|
|
47
46
|
a-kit check release # one skill, by name or folder (skills/release)
|
|
48
47
|
```
|
|
49
48
|
|
|
@@ -63,15 +62,11 @@ a-kit link ~/code/acme-skills/skills/release # run in the project you test it
|
|
|
63
62
|
a-kit add release # back to agent kit's version when you're done
|
|
64
63
|
```
|
|
65
64
|
|
|
66
|
-
`link` replaces the installed copy (`.claude/skills/release`, `.agents/skills/release`) with a link to the folder, so your agents use your edits as you make them; a new session picks up one an open session missed. It works with `-g` and `-a` like `add`; when the skill is also installed with `-g`, link it with `-g` too, since agents use your personal copy over a project's (`link` warns), and lists the problems `a-kit check` would find. It won't replace a folder agent kit didn't install, or one with edits that aren't in agent kit. `a-kit update` leaves a linked skill alone
|
|
67
|
-
|
|
68
|
-
## Kits
|
|
69
|
-
|
|
70
|
-
A kit is a named bundle of your organization's skills, like `frontend`, made in agent kit's web or through its MCP server. `a-kit add kit/frontend` installs all of them (`kit/acme/frontend` names the organization when more than one of yours has a kit by that name) and records the kit in the lock. `a-kit update` then follows the kit: skills added to it get installed, and skills taken out of it get removed, unless you also added them on their own, another kit you installed still has them, you edited them, or you linked them.
|
|
65
|
+
`link` replaces the installed copy (`.claude/skills/release`, `.agents/skills/release`) with a link to the folder, so your agents use your edits as you make them; a new session picks up one an open session missed. It works with `-g` and `-a` like `add`; when the skill is also installed with `-g`, link it with `-g` too, since agents use your personal copy over a project's (`link` warns), and lists the problems `a-kit check` would find. It won't replace a folder agent kit didn't install, or one with edits that aren't in agent kit. `a-kit update` leaves a linked skill alone.
|
|
71
66
|
|
|
72
67
|
## Auto-update
|
|
73
68
|
|
|
74
|
-
Installing skills for Claude Code also adds a `SessionStart` hook to `~/.claude/settings.json` that checks your global skills when a session starts or resumes. A background process, so the session doesn't wait for it, sends agent kit what your global lock has and gets back one fingerprint of it: the version each skill's channel installs
|
|
69
|
+
Installing skills for Claude Code also adds a `SessionStart` hook to `~/.claude/settings.json` that checks your global skills when a session starts or resumes. A background process, so the session doesn't wait for it, sends agent kit what your global lock has and gets back one fingerprint of it: the version each skill's channel installs and each public skill's version. When the fingerprint isn't the one your last update left, it runs `a-kit update -g`; when it is, that one request is all. Sessions that start within the same minute check once. It skips the check when nothing is installed everywhere or you're not logged in. A project's skills aren't touched: they live in its repo, so they change only when you run `a-kit update` there.
|
|
75
70
|
|
|
76
71
|
```sh
|
|
77
72
|
a-kit auto-update # whether it's on
|