ai-agent-skills 3.5.1 → 4.0.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 CHANGED
@@ -5,7 +5,7 @@
5
5
  </p>
6
6
 
7
7
  <p align="center">
8
- A smaller library for Claude Code, Codex, Cursor, and other <code>SKILL.md</code>-compatible agents.
8
+ The skills I actually keep around, organized the way I work.
9
9
  </p>
10
10
 
11
11
  <!-- GENERATED:library-stats:start -->
@@ -23,17 +23,28 @@
23
23
 
24
24
  ## Library
25
25
 
26
- `ai-agent-skills` is a CLI library of agent skills for tools like Claude Code, Codex, Cursor, and other SKILL.md-compatible agents.
26
+ `ai-agent-skills` now does two jobs.
27
27
 
28
- I organize it the way I work:
28
+ It ships my curated bundled library, and it gives you the CLI and TUI to build a managed library of your own.
29
+ It works with Claude Code, Codex, Cursor, and other SKILL.md-compatible agents.
30
+
31
+ The bundled library is organized the way I work:
29
32
 
30
33
  - Start with a shelf like `frontend` or `workflow`
31
34
  - Keep the set small enough to browse quickly
32
35
  - Keep provenance visible
33
36
  - Keep notes that explain why a skill is here
34
37
 
35
- Use `skills.sh` for the broad ecosystem.
36
- Use this repo for my kept set.
38
+ Use `skills.sh` when you want the broad ecosystem.
39
+ Use `ai-agent-skills` when you want a kept set, shelves, provenance, and a library you can manage yourself.
40
+
41
+ ## What's New in 4.0.0
42
+
43
+ - Managed library workspaces with `init-library`
44
+ - `add <source>` for bringing bundled picks, upstream repo skills, or house copies into your own library
45
+ - `sync [name]` as the main refresh command, with `update` kept as an alias
46
+ - Dependency-aware installs with `requires` and `--no-deps`
47
+ - Installed-state visibility across the CLI and the TUI
37
48
 
38
49
  ## Why Keep It
39
50
 
@@ -59,6 +70,8 @@ Upstream work stays upstream. That keeps the library lean.
59
70
 
60
71
  ## Quick Start
61
72
 
73
+ ### Use The Bundled Library
74
+
62
75
  ```bash
63
76
  # Open the terminal browser
64
77
  npx ai-agent-skills
@@ -92,6 +105,44 @@ Default install targets:
92
105
 
93
106
  Legacy agent-specific targets still work through `--agent <name>`.
94
107
 
108
+ ### Start Your Own Library
109
+
110
+ ```bash
111
+ # Create a managed workspace
112
+ npx ai-agent-skills init-library my-library
113
+ cd my-library
114
+
115
+ # Add a bundled pick, refresh it, and rebuild the docs
116
+ npx ai-agent-skills add frontend-design --area frontend --branch Implementation --why "I want this on my shelf."
117
+ npx ai-agent-skills sync frontend-design -p
118
+ npx ai-agent-skills add anthropics/skills --skill webapp-testing --area workflow --branch Testing --why "I use this when I want browser-level checks in the workspace."
119
+ npx ai-agent-skills build-docs
120
+ ```
121
+
122
+ ## Workspace Mode
123
+
124
+ Workspace mode is now part of the main product surface.
125
+
126
+ Start with a managed workspace, pull in a few skills, then keep your own shelves current with `add`, `catalog`, `vendor`, `sync`, and `build-docs`.
127
+
128
+ ```bash
129
+ npx ai-agent-skills init-library my-library
130
+ cd my-library
131
+
132
+ npx ai-agent-skills add frontend-design --area frontend --branch Implementation --why "I want this on my shelf."
133
+ npx ai-agent-skills add anthropics/skills --skill webapp-testing --area workflow --branch Testing --why "I use this when I want browser-level checks in the workspace."
134
+ npx ai-agent-skills sync frontend-design -p
135
+ npx ai-agent-skills build-docs
136
+ ```
137
+
138
+ Workflow guides:
139
+
140
+ - [Start a library](./docs/workflows/start-a-library.md)
141
+ - [Add an upstream skill](./docs/workflows/add-an-upstream-skill.md)
142
+ - [Make a house copy](./docs/workflows/make-a-house-copy.md)
143
+ - [Organize shelves](./docs/workflows/organize-shelves.md)
144
+ - [Refresh installed skills](./docs/workflows/refresh-installed-skills.md)
145
+
95
146
  ## Browse
96
147
 
97
148
  Most browsing starts in one of two places:
@@ -143,6 +194,9 @@ Collections are smaller sets. Useful, but secondary to the shelves.
143
194
 
144
195
  Use `catalog` when you want to add an upstream skill without vendoring it.
145
196
 
197
+ In a managed workspace, `add` is the simpler front door.
198
+ `catalog` and `vendor` are still the explicit power-user verbs.
199
+
146
200
  ```bash
147
201
  npx ai-agent-skills catalog openai/skills --list
148
202
  npx ai-agent-skills catalog openai/skills --skill linear --area workflow --branch Linear
@@ -151,8 +205,8 @@ npx ai-agent-skills catalog conorluddy/ios-simulator-skill --skill ios-simulator
151
205
  npx ai-agent-skills catalog shadcn-ui/ui --skill shadcn --area frontend --branch Components
152
206
  ```
153
207
 
154
- It does not copy the skill into this repo.
155
- It adds metadata and placement:
208
+ It does not create a local copy.
209
+ It adds metadata and placement in the active library:
156
210
 
157
211
  - which shelf it belongs on
158
212
  - what branch it lives under
@@ -242,7 +296,7 @@ npx ai-agent-skills install ./local-path
242
296
  npx ai-agent-skills install <skill-name> --dry-run
243
297
 
244
298
  # Maintain
245
- npx ai-agent-skills update [name]
299
+ npx ai-agent-skills sync [name]
246
300
  npx ai-agent-skills uninstall <name>
247
301
  npx ai-agent-skills check
248
302
  npx ai-agent-skills doctor
@@ -261,7 +315,7 @@ npx ai-agent-skills vendor <repo-or-path> --skill <name> --area <shelf> --branch
261
315
  - `npm test`
262
316
  Fast regression coverage for CLI behavior, schema rules, routing, and local install flows.
263
317
  - `npm run test:live`
264
- No-mock live verification. Clones the real upstream repos, captures raw `SKILL.md` frontmatter and file manifests, runs real install/update/uninstall flows in isolated temp homes and projects, drives the TUI through a real PTY, and writes a report to `tmp/live-test-report.json`.
318
+ No-mock live verification. Clones the real upstream repos, captures raw `SKILL.md` frontmatter and file manifests, runs real install/sync/uninstall flows in isolated temp homes and projects, drives the TUI through a real PTY, and writes a report to `tmp/live-test-report.json`.
265
319
  - `npm run test:live:quick`
266
320
  Smaller live matrix for faster iteration while keeping the same no-mock pipeline.
267
321