skilllib 1.12.2 → 1.13.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 +12 -7
- package/dist/{chunk-YQFLFWAY.js → chunk-C6TSR7NT.js} +513 -75
- package/dist/index.js +18 -6
- package/dist/json.d.cts +665 -2
- package/dist/json.d.ts +665 -2
- package/dist/{tui-P3HKRNHI.js → tui-3MBVYSVM.js} +24 -8
- package/package.json +6 -2
- package/skills/skilllib/SKILL.md +3 -3
package/README.md
CHANGED
|
@@ -9,7 +9,7 @@ and every agent you use can see them.
|
|
|
9
9
|
[](https://www.npmjs.com/package/skilllib)
|
|
10
10
|
[](LICENSE)
|
|
11
11
|

|
|
12
|
-

|
|
12
|
+

|
|
13
13
|
|
|
14
14
|
```bash
|
|
15
15
|
npm install -g skilllib && skilllib agent-skill install
|
|
@@ -59,7 +59,7 @@ Most agents can't turn off a global skill for just one repo. Claude Code can, bu
|
|
|
59
59
|
- **🖥 An app when you want to look yourself.** `skilllib` opens a terminal app with the same data and fixes, and can copy a review prompt for any agent.
|
|
60
60
|
- **🛟 Nothing is lost.** Your library keeps the skills you remove from a repo, and everything else skilllib removes goes to a backup you can restore with one key.
|
|
61
61
|
|
|
62
|
-
Everything runs locally: no server
|
|
62
|
+
Everything runs locally: no server and no account. `skilllib install` and `skilllib search` are the exception: they talk to [skills.sh](https://skills.sh) and GitHub to fetch a skill.
|
|
63
63
|
|
|
64
64
|
---
|
|
65
65
|
|
|
@@ -72,9 +72,10 @@ It needs **Node.js 22+** and works on macOS and Linux. Windows support is newer:
|
|
|
72
72
|
```bash
|
|
73
73
|
npm install -g skilllib
|
|
74
74
|
skilllib agent-skill install
|
|
75
|
+
skilllib install anthropics/skills@frontend-design
|
|
75
76
|
```
|
|
76
77
|
|
|
77
|
-
|
|
78
|
+
`skilllib agent-skill install` puts the `skilllib` skill where your agents look, in every repo (see [Use it from your agents](#use-it-from-your-agents)). Start a new agent session in any repo and ask away. `skilllib install` puts a skill in your library and, when you run it inside a repo, adds it there so every agent you use can see it. `skilllib search react` finds skills on [skills.sh](https://skills.sh). To load one in every repo, add `--global`.
|
|
78
79
|
|
|
79
80
|
### In the app
|
|
80
81
|
|
|
@@ -84,7 +85,7 @@ skilllib # or: npx skilllib
|
|
|
84
85
|
|
|
85
86
|
On first run, skilllib asks two things:
|
|
86
87
|
|
|
87
|
-
1. **Which agents you use
|
|
88
|
+
1. **Which agents you use.** The ones installed on your machine are pre-selected. `skilllib harnesses` lists every one skilllib knows.
|
|
88
89
|
2. **Where your projects live**, e.g. `~/Projects`. It finds every git repo in there, and rescans each time it opens. Agent worktrees (`<repo>/.claude/worktrees/*`) aren't counted as projects.
|
|
89
90
|
|
|
90
91
|
Then a good first session looks like this:
|
|
@@ -97,7 +98,7 @@ Then a good first session looks like this:
|
|
|
97
98
|
|
|
98
99
|
## Use it from your agents
|
|
99
100
|
|
|
100
|
-
`skilllib agent-skill install` puts a small `skilllib` skill
|
|
101
|
+
`skilllib agent-skill install` puts a small `skilllib` skill in the global skill folders your agents read: one real copy (usually `~/.claude/skills` or `~/.agents/skills`) and a link in each of the others. This is the one skill that should be global, because it's about every repo. Upgrading skilllib keeps it up to date, and `skilllib agent-skill remove` takes it out. Agents use it from their next session.
|
|
101
102
|
|
|
102
103
|
Then ask in plain words. A few examples, with what the agent runs:
|
|
103
104
|
|
|
@@ -384,9 +385,13 @@ Everything the app does also works as a command, for your agents, scripts and CI
|
|
|
384
385
|
|
|
385
386
|
```
|
|
386
387
|
skilllib open the app (prints `status` when piped)
|
|
388
|
+
skilllib install <source>... install from skills.sh, GitHub, or a folder (owner/repo, owner/repo@name, a URL)
|
|
389
|
+
in a repo, also adds them here; --global loads them in every repo; --all installs every skill in a repo
|
|
390
|
+
skilllib search <query> search skills.sh
|
|
391
|
+
|
|
387
392
|
skilllib scan [folder...] add project folders and scan them
|
|
388
393
|
skilllib folders [add|remove] show or change project folders
|
|
389
|
-
skilllib harnesses [id...] show or set your agents (
|
|
394
|
+
skilllib harnesses [id...] show or set your agents (skilllib harnesses lists them)
|
|
390
395
|
|
|
391
396
|
skilllib status this repo's skills, which agents load them, and issues
|
|
392
397
|
skilllib add | remove <name> change this repo's skills
|
|
@@ -477,7 +482,7 @@ Environment variables: `SKILLLIB_HOME` moves `~/.skilllib`, `$VISUAL` / `$EDITOR
|
|
|
477
482
|
- Turning off Cursor marketplace plugins: skilllib lists them and reports ones that duplicate your skills, but Cursor doesn't record which plugins are on in a file skilllib can read.
|
|
478
483
|
- Installing plugins from a marketplace: use `/plugin` in Claude Code. Plugins a repo's own `.claude/settings.json` turns on without installing them aren't listed in Plugins yet.
|
|
479
484
|
- Unloading a `npx skills` skill doesn't update that tool's lock file.
|
|
480
|
-
- Downloading skills: skilllib
|
|
485
|
+
- Downloading skills: `skilllib install owner/repo`, `owner/repo@skill`, a skills.sh or GitHub URL, or a local folder. It imports into your library and, in a repo, adds the skill here. `--global` loads it in every repo. `skilllib search <query>` looks up skills.sh. A repo with many skills is listed until you name one or pass `--all`. Everything else skilllib does stays on this machine.
|
|
481
486
|
|
|
482
487
|
---
|
|
483
488
|
|