useakit 0.2.0-dev.56 → 0.2.0-dev.64
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 +29 -19
- package/dist/index.mjs +94 -112
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -27,37 +27,47 @@ Public skills are in the [gallery](https://useagentkit.dev/s). `npx useakit add
|
|
|
27
27
|
|
|
28
28
|
## Release channels
|
|
29
29
|
|
|
30
|
-
A skill's newest version is `latest`. Its owners can also point `stable` and `beta` at any version from the skill's History tab (or through the MCP server). `--channel stable` or `--channel beta` installs that version and writes the channel to `agent-kit.lock.json`, so `a-kit update` follows it, even back to an older version. A channel nobody set installs the latest. `a-kit add` without `--channel` goes back to the latest. Kits install and follow each skill's latest
|
|
30
|
+
A skill's newest version is `latest`. Its owners can also point `stable` and `beta` at any version from the skill's History tab (or through the MCP server). `--channel stable` or `--channel beta` installs that version and writes the channel to `agent-kit.lock.json`, so `a-kit update` follows it, even back to an older version. A channel nobody set installs the latest. `a-kit add` without `--channel` goes back to the latest. Kits install and follow each skill's latest.
|
|
31
31
|
|
|
32
|
-
|
|
32
|
+
Skills go to `.claude/skills/` for Claude Code and `.agents/skills/` for Codex, Cursor and Gemini CLI. Pick agents with `-a`, like `-a claude-code,codex`. What was installed is kept in `agent-kit.lock.json`.
|
|
33
|
+
|
|
34
|
+
## Changing a skill
|
|
35
|
+
|
|
36
|
+
Your organization's skills live in its GitHub repository, one folder each in `skills/<skill>/`, and a commit there becomes a new version. To change one, change it there like any code:
|
|
37
|
+
|
|
38
|
+
1. Clone the repository (`gh repo clone acme/skills`) and change `skills/<skill>/`.
|
|
39
|
+
2. `a-kit check <skill>` checks it.
|
|
40
|
+
3. `a-kit link <clone>/skills/<skill>` lets you try it in your agent.
|
|
41
|
+
4. Commit it on a branch and open a pull request. Merging it makes the new version, and `a-kit update` brings it to everyone.
|
|
42
|
+
|
|
43
|
+
In a clone, `a-kit check` reads the repository the way agent kit does and lists what it would reject, without a login:
|
|
33
44
|
|
|
34
45
|
```sh
|
|
35
|
-
a-kit
|
|
36
|
-
a-kit
|
|
37
|
-
a-kit push release # or push your edits once, as one new version
|
|
38
|
-
a-kit push # every installed skill you edited
|
|
39
|
-
a-kit push my-new-skill # a folder agent kit doesn't have yet becomes a new skill
|
|
46
|
+
a-kit check # every skill, plus evals/, kits/ and channels.yaml
|
|
47
|
+
a-kit check release # one skill, by name or folder (skills/release)
|
|
40
48
|
```
|
|
41
49
|
|
|
42
50
|
```
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
✓ release v11
|
|
51
|
+
✗ Its name is “ship”, but its folder is “deploy”. They have to match. skills/deploy/SKILL.md
|
|
52
|
+
✗ `description` is empty. skills/deploy/SKILL.md:3
|
|
53
|
+
|
|
54
|
+
The repository (2 skills): 2 errors. agent kit won't make a version of a skill with errors.
|
|
48
55
|
```
|
|
49
56
|
|
|
50
|
-
|
|
51
|
-
- Each push starts from the version in `agent-kit.lock.json`. If someone saved a newer one since, `push` and `dev` stop; `--force` saves your folder over it.
|
|
52
|
-
- `pull` won't overwrite edits you haven't pushed (`--force` throws them away), and `update` skips those skills.
|
|
53
|
-
- Editor and OS files (`.DS_Store`, swap files, `node_modules`, `.git`) are never pushed.
|
|
54
|
-
- A new skill goes to your only organization, or the one you pick (`--org acme`). Renaming it in `SKILL.md` renames its folder too.
|
|
57
|
+
It exits with 1 when there's an error, so it can also run on the repository's pull requests.
|
|
55
58
|
|
|
56
|
-
|
|
59
|
+
To try a skill you're changing before you open the pull request, link your agents to its folder in the clone:
|
|
60
|
+
|
|
61
|
+
```sh
|
|
62
|
+
a-kit link ~/code/acme-skills/skills/release # run in the project you test it in
|
|
63
|
+
a-kit add release # back to agent kit's version when you're done
|
|
64
|
+
```
|
|
65
|
+
|
|
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, and so does a kit that drops it.
|
|
57
67
|
|
|
58
68
|
## Kits
|
|
59
69
|
|
|
60
|
-
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,
|
|
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.
|
|
61
71
|
|
|
62
72
|
## Reporting a session that went wrong
|
|
63
73
|
|