@ranimontagna/agent-toolkit 0.1.31 → 0.2.1

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.
Files changed (52) hide show
  1. package/CHANGELOG.md +257 -71
  2. package/CONTRIBUTING.md +14 -0
  3. package/README.md +67 -710
  4. package/SECURITY.md +62 -8
  5. package/dist/src/installers/agent-browser.js +4 -4
  6. package/dist/src/installers/agent-browser.js.map +1 -1
  7. package/dist/src/installers/agent-skills.d.ts +14 -0
  8. package/dist/src/installers/agent-skills.js +157 -0
  9. package/dist/src/installers/agent-skills.js.map +1 -0
  10. package/dist/src/lock-update.js +6 -31
  11. package/dist/src/lock-update.js.map +1 -1
  12. package/dist/src/main.js +4 -6
  13. package/dist/src/main.js.map +1 -1
  14. package/dist/src/manifest.d.ts +5 -1
  15. package/dist/src/manifest.js +405 -17
  16. package/dist/src/manifest.js.map +1 -1
  17. package/dist/src/provenance.d.ts +2 -0
  18. package/dist/src/provenance.js +30 -14
  19. package/dist/src/provenance.js.map +1 -1
  20. package/dist/src/release.d.ts +12 -1
  21. package/dist/src/release.js +126 -10
  22. package/dist/src/release.js.map +1 -1
  23. package/dist/src/runtimes.d.ts +7 -0
  24. package/dist/src/runtimes.js +36 -15
  25. package/dist/src/runtimes.js.map +1 -1
  26. package/dist/src/skill-targets.d.ts +9 -0
  27. package/dist/src/skill-targets.js +45 -0
  28. package/dist/src/skill-targets.js.map +1 -0
  29. package/dist/src/skills.js +11 -45
  30. package/dist/src/skills.js.map +1 -1
  31. package/dist/src/state.d.ts +3 -26
  32. package/dist/src/state.js +3 -67
  33. package/dist/src/state.js.map +1 -1
  34. package/dist/src/status.js +18 -3
  35. package/dist/src/status.js.map +1 -1
  36. package/dist/src/system.d.ts +6 -2
  37. package/dist/src/system.js +207 -36
  38. package/dist/src/system.js.map +1 -1
  39. package/dist/src/tool-lock.d.ts +20 -65
  40. package/dist/src/tool-lock.js +73 -37
  41. package/dist/src/tool-lock.js.map +1 -1
  42. package/package.json +4 -4
  43. package/tools.lock.json +101 -64
  44. package/dist/src/installers/frontend-skills.d.ts +0 -9
  45. package/dist/src/installers/frontend-skills.js +0 -98
  46. package/dist/src/installers/frontend-skills.js.map +0 -1
  47. package/dist/src/installers/improve.d.ts +0 -1
  48. package/dist/src/installers/improve.js +0 -80
  49. package/dist/src/installers/improve.js.map +0 -1
  50. package/dist/src/installers/planning-skills.d.ts +0 -1
  51. package/dist/src/installers/planning-skills.js +0 -6
  52. package/dist/src/installers/planning-skills.js.map +0 -1
package/README.md CHANGED
@@ -1,750 +1,107 @@
1
1
  # Agent Toolkit
2
2
 
3
- One command to set up an AI coding-agent workspace across Claude Code, Codex
4
- CLI, OpenCode, Gemini CLI and Antigravity.
3
+ Agent Toolkit is a Node.js CLI for installing a pinned, reusable set of coding-agent tools and skills across Claude Code, Codex CLI, OpenCode, Gemini CLI, and Antigravity.
5
4
 
6
- ```bash
7
- npx -y @ranimontagna/agent-toolkit
8
- ```
9
-
10
- Agent Toolkit installs the tools and skills I use to run agentic coding
11
- workflows: RTK, Caveman, Superpowers, Graphify, GSD, shadcn Improve,
12
- third-party frontend skills installed through Agent Skills CLI and bundled
13
- Custom Skills.
14
-
15
- The installer is a TypeScript CLI published to npm. The Bash script is only a
16
- compatibility wrapper for users who already run `setup-agent-toolkit.sh`.
17
-
18
- ## Install Flow
19
-
20
- Interactive terminals use a Clack menu. The installer first shows what it can
21
- detect locally, then asks what to install, then shows a final plan before doing
22
- any work.
23
-
24
- ![Detected status terminal screen](docs/assets/install-status.svg)
25
-
26
- Custom Skills are selected in three levels: package, optional scope and exact
27
- individual skills. Today this repository ships `core`, `backend`, `frontend`,
28
- `general` and `devops`; future packages can be added under
29
- `skills/<package>/...` and they will appear automatically in the menu.
30
-
31
- ![Custom Skill granular selection terminal screen](docs/assets/install-skill-packages.svg)
32
-
33
- The final plan shows selected tools, runtimes, skill packages, scopes, exact
34
- skills and already present destinations before installation starts.
35
-
36
- ![Install plan terminal screen](docs/assets/install-plan.svg)
37
-
38
- ## What It Installs
39
-
40
- | Area | What it adds |
41
- |---|---|
42
- | RTK | Token-aware shell proxy for coding-agent sessions |
43
- | Caveman | Terse response mode and optional agent integrations |
44
- | Superpowers | Planning, TDD, debugging, review and delivery workflows |
45
- | Graphify | Queryable knowledge graphs for codebases, docs and project context |
46
- | GSD | Phase-based planning, execution, verification and project control |
47
- | Improve | shadcn advisor skill for codebase audits and execution plans |
48
- | Agent Browser | Optional pinned browser automation CLI, Chrome for Testing and matching agent skill |
49
- | Frontend Skills | Third-party frontend skills installed through Agent Skills CLI: Impeccable, Web Design Guidelines, React Doctor and Remotion Best Practices |
50
- | Planning Skills | Third-party planning skills installed through Agent Skills CLI: Grill Me, Grilling, Grill With Docs and Domain Modeling (mattpocock/skills) |
51
- | Custom Skills | Bundled skills from this repository, selected by package, scope and exact skill |
52
-
53
- ## Supported Runtimes
54
-
55
- | Runtime | Support |
56
- |---|---|
57
- | Claude Code | Plugins and skills |
58
- | Codex CLI | Plugins, skills and local automation |
59
- | OpenCode | Skills plus package-driven tools |
60
- | Gemini CLI | Extensions and native Agent Skills install |
61
- | Antigravity | Custom Skills, third-party frontend skills and official `agy` install |
62
-
63
- Superpowers is installed automatically for Claude Code, Codex CLI and Gemini
64
- CLI. OpenCode Superpowers support is not automated yet because the upstream
65
- install flow is not a stable single command. Antigravity Superpowers support is
66
- not automated yet because there is not a pinned supported plugin package in this
67
- toolkit.
68
-
69
- Caveman, GSD, Improve, Frontend Skills, Planning Skills and Custom Skills can
70
- target Claude Code, Codex CLI, OpenCode and Gemini CLI. Improve, Frontend
71
- Skills, Planning Skills and Custom Skills can also target Antigravity. Graphify is installed through the official
72
- `graphifyy` package and registers itself for selected runtimes that Graphify
73
- supports.
74
-
75
- When `--install-missing-clis` is enabled, Antigravity is installed through the
76
- official `agy` installer instead of npm. Global Antigravity Custom Skills are
77
- copied to the official `~/.gemini/antigravity-cli/skills/` path and mirrored to
78
- `~/.agents/skills/` for compatibility with the Agent Skills CLI.
79
-
80
- ## Quick Commands
5
+ ## Quick Start
81
6
 
82
- Run the interactive installer:
83
-
84
- ```bash
85
- npx -y @ranimontagna/agent-toolkit
86
- ```
87
-
88
- Install the full kit for Codex CLI:
7
+ 1. Install [Node.js 24 or newer](https://nodejs.org/) so `npm` and `npx` are available.
8
+ 2. Install the default tool set for Codex CLI:
89
9
 
90
10
  ```bash
91
11
  npx -y @ranimontagna/agent-toolkit --all --codex
92
12
  ```
93
13
 
94
- Install the full kit for every supported runtime:
95
-
96
- ```bash
97
- npx -y @ranimontagna/agent-toolkit --all --all-runtimes
98
- ```
99
-
100
- Install only Graphify for Codex CLI:
101
-
102
- ```bash
103
- npx -y @ranimontagna/agent-toolkit --graphify-only --codex
104
- ```
105
-
106
- Install only shadcn Improve for Codex CLI:
107
-
108
- ```bash
109
- npx -y @ranimontagna/agent-toolkit --improve-only --codex
110
- ```
111
-
112
- Install Agent Browser for Codex CLI:
113
-
114
- ```bash
115
- npx -y @ranimontagna/agent-toolkit --agent-browser-only --codex
116
- ```
117
-
118
- Agent Browser is deliberately excluded from `--all`: it installs a browser
119
- automation executable, downloads Chrome for Testing and copies its pinned skill.
120
- The toolkit never runs `agent-browser install --with-deps`, configures plugins,
121
- cloud browsers or credentials. Run `agent-browser doctor` directly when you
122
- want to validate its local Chrome setup.
123
-
124
- Install only third-party frontend design skills for Codex CLI:
125
-
126
- ```bash
127
- npx -y @ranimontagna/agent-toolkit --frontend-skills-only --codex
128
- ```
129
-
130
- Install only third-party planning skills (grilling interviews and domain
131
- modeling) for Claude Code:
132
-
133
- ```bash
134
- npx -y @ranimontagna/agent-toolkit --planning-skills-only --claude
135
- ```
136
-
137
- Install only bundled Custom Skills into the current project:
138
-
139
- ```bash
140
- npx -y @ranimontagna/agent-toolkit --skills-only --codex --local
141
- ```
142
-
143
- Preview an install plan without changing files:
144
-
145
- ```bash
146
- npx -y @ranimontagna/agent-toolkit --all --codex --dry-run
147
- ```
148
-
149
- Inspect selected tools and runtimes as JSON:
150
-
151
- ```bash
152
- npx -y @ranimontagna/agent-toolkit --doctor --json --codex
153
- ```
154
-
155
- Audit bundled Custom Skills metadata and local links:
156
-
157
- ```bash
158
- npx -y @ranimontagna/agent-toolkit --skills-audit
159
- ```
160
-
161
- Report newer candidates for pinned external tools:
162
-
163
- ```bash
164
- npx -y @ranimontagna/agent-toolkit --update-lock
165
- ```
166
-
167
- Install only the `core` Custom Skills package:
168
-
169
- ```bash
170
- npx -y @ranimontagna/agent-toolkit --skills-only --codex --skills-package core
171
- ```
172
-
173
- List bundled Custom Skills and their repository scope paths:
14
+ `--all` installs the default tool set. Agent Browser remains a separate opt-in because it also provisions Chrome for Testing. See [Getting Started](docs/GETTING-STARTED.md) for interactive setup, project-local installs, and selective skill examples.
174
15
 
175
- ```bash
176
- npx -y @ranimontagna/agent-toolkit --skills-list
177
- ```
178
-
179
- Install missing selected runtime CLIs before configuring them:
180
-
181
- ```bash
182
- npx -y @ranimontagna/agent-toolkit --all --gemini --install-missing-clis
183
- ```
184
-
185
- ## Custom Skills
186
-
187
- Bundled skills live under `skills/`.
188
-
189
- ```text
190
- skills/
191
- core/
192
- agent-toolkit-maintainer/
193
- SKILL.md
194
- onboard-repo/
195
- SKILL.md
196
- backend/
197
- api/
198
- api-design/
199
- SKILL.md
200
- database/
201
- postgres-patterns/
202
- SKILL.md
203
- fastify-best-practices/
204
- SKILL.md
205
- rules/
206
- go/
207
- golang-patterns/
208
- SKILL.md
209
- golang-testing/
210
- SKILL.md
211
- java/
212
- java-coding-standards/
213
- SKILL.md
214
- java-junit/
215
- SKILL.md
216
- kotlin/
217
- kotlin-patterns/
218
- SKILL.md
219
- kotlin-testing/
220
- SKILL.md
221
- python/
222
- python-patterns/
223
- SKILL.md
224
- python-testing/
225
- SKILL.md
226
- frontend/
227
- accessibility/
228
- SKILL.md
229
- astro/
230
- astro-developer/
231
- SKILL.md
232
- architecture.md
233
- constraints.md
234
- debugging.md
235
- testing.md
236
- design/
237
- revenue-centric-design/
238
- SKILL.md
239
- assets/
240
- references/
241
- ui-ux-pro-max/
242
- SKILL.md
243
- data/
244
- scripts/
245
- gsap/
246
- gsap-core/
247
- SKILL.md
248
- gsap-frameworks/
249
- SKILL.md
250
- gsap-performance/
251
- SKILL.md
252
- gsap-plugins/
253
- SKILL.md
254
- gsap-react/
255
- SKILL.md
256
- gsap-scrolltrigger/
257
- SKILL.md
258
- gsap-timeline/
259
- SKILL.md
260
- gsap-utils/
261
- SKILL.md
262
- react-native/
263
- react-native-expert/
264
- SKILL.md
265
- react-native-unistyles-v3/
266
- SKILL.md
267
- react/
268
- react-patterns/
269
- SKILL.md
270
- rules/
271
- react-performance/
272
- SKILL.md
273
- rules/
274
- react-testing/
275
- SKILL.md
276
- rules/
277
- general/
278
- code-reviewer/
279
- SKILL.md
280
- rules/
281
- thermo-nuclear-code-quality-review/
282
- SKILL.md
283
- devops/
284
- docker-patterns/
285
- SKILL.md
286
- ```
16
+ ## Choose Tools and Runtimes
287
17
 
288
- The first path segment is a selectable package:
289
-
290
- ```text
291
- skills/<package>/<optional-scope>/<skill-name>/SKILL.md
292
- ```
293
-
294
- Runtime installs are flat even when repository paths are nested. For example,
295
- `skills/backend/java/java-junit/SKILL.md` installs as:
296
-
297
- ```text
298
- ~/.codex/skills/java-junit/
299
- ```
300
-
301
- Use `--skills-package` to select first-level packages:
302
-
303
- ```bash
304
- npx -y @ranimontagna/agent-toolkit --skills-only --codex --skills-package core
305
- ```
306
-
307
- Use `--skills-scope` to select a narrower path:
308
-
309
- ```bash
310
- npx -y @ranimontagna/agent-toolkit --skills-only --codex --skills-scope backend/java
311
- ```
312
-
313
- Use `--skills-path` to select exact individual skills:
314
-
315
- ```bash
316
- npx -y @ranimontagna/agent-toolkit \
317
- --skills-only \
318
- --codex \
319
- --skills-package backend \
320
- --skills-scope backend/python \
321
- --skills-path backend/python/python-testing
322
- ```
323
-
324
- Install only Python skills:
325
-
326
- ```bash
327
- npx -y @ranimontagna/agent-toolkit --skills-only --codex --skills-scope backend/python
328
- ```
329
-
330
- Install only Kotlin skills:
331
-
332
- ```bash
333
- npx -y @ranimontagna/agent-toolkit --skills-only --codex --skills-scope backend/kotlin
334
- ```
335
-
336
- Install only React Native skills:
337
-
338
- ```bash
339
- npx -y @ranimontagna/agent-toolkit --skills-only --codex --skills-scope frontend/react-native
340
- ```
341
-
342
- All filters can be combined. The selected package filter runs first, the scope
343
- filter narrows the result, and the path filter selects exact skills from that
344
- final list.
345
-
346
- ```bash
347
- npx -y @ranimontagna/agent-toolkit \
348
- --skills-only \
349
- --codex \
350
- --skills-package backend \
351
- --skills-scope backend/java \
352
- --skills-path backend/java/java-junit
353
- ```
354
-
355
- Each skill must be a directory containing `SKILL.md` with frontmatter:
356
-
357
- ```markdown
358
- ---
359
- name: my-skill
360
- description: Use when doing a specific kind of task.
361
- ---
362
-
363
- # My Skill
364
-
365
- Follow these steps...
366
- ```
367
-
368
- ### Included Skill Packages
369
-
370
- | Package | Skill | Source |
18
+ | Selection | CLI form | What it targets |
371
19
  |---|---|---|
372
- | `core` | `agent-toolkit-maintainer` | Maintained in this repository |
373
- | `core` | `onboard-repo` | Maintained in this repository |
374
- | `backend` | `api-design` | Copied from Affaan Mustafa's [`ECC`](https://github.com/affaan-m/ECC/tree/main/skills/api-design) under the MIT license |
375
- | `backend` | `postgres-patterns` | Adapted from Affaan Mustafa's [`ECC`](https://github.com/affaan-m/ECC/tree/main/.kiro/skills/postgres-patterns) and [`sickn33/antigravity-awesome-skills`](https://github.com/sickn33/antigravity-awesome-skills/tree/main/skills/postgresql), both under the MIT license |
376
- | `backend` | `fastify-best-practices` | Copied from Matteo Collina's [`mcollina/skills`](https://github.com/mcollina/skills/tree/main/skills/fastify) under the MIT license |
377
- | `backend` | `golang-patterns` | Copied from Affaan Mustafa's [`ECC`](https://github.com/affaan-m/ECC/tree/main/skills/golang-patterns) under the MIT license |
378
- | `backend` | `golang-testing` | Copied from Affaan Mustafa's [`ECC`](https://github.com/affaan-m/ECC/tree/main/.kiro/skills/golang-testing) under the MIT license |
379
- | `backend` | `java-coding-standards` | Copied from Affaan Mustafa's [`ECC`](https://github.com/affaan-m/ECC/tree/main/skills/java-coding-standards) under the MIT license |
380
- | `backend` | `java-junit` | Copied from GitHub's [`awesome-copilot`](https://github.com/github/awesome-copilot/tree/main/skills/java-junit) under the MIT license |
381
- | `backend` | `kotlin-patterns` | Copied from Affaan Mustafa's [`ECC`](https://github.com/affaan-m/ECC/tree/main/skills/kotlin-patterns) under the MIT license |
382
- | `backend` | `kotlin-testing` | Copied from Affaan Mustafa's [`ECC`](https://github.com/affaan-m/ECC/tree/main/skills/kotlin-testing) under the MIT license |
383
- | `backend` | `python-patterns` | Copied from Affaan Mustafa's [`ECC`](https://github.com/affaan-m/ECC/tree/main/.kiro/skills/python-patterns) under the MIT license |
384
- | `backend` | `python-testing` | Copied from Affaan Mustafa's [`ECC`](https://github.com/affaan-m/ECC/tree/main/.kiro/skills/python-testing) under the MIT license |
385
- | `devops` | `docker-patterns` | Adapted from Affaan Mustafa's [`ECC`](https://github.com/affaan-m/ECC/tree/main/.kiro/skills/docker-patterns) and [`sickn33/antigravity-awesome-skills`](https://github.com/sickn33/antigravity-awesome-skills/tree/main/skills/docker-expert), both under the MIT license |
386
- | `frontend` | `accessibility` | Copied from Affaan Mustafa's [`ECC`](https://github.com/affaan-m/ECC/tree/main/skills/accessibility) under the MIT license |
387
- | `frontend` | `astro-developer` | Copied from the official [`withastro/astro`](https://github.com/withastro/astro/tree/main/.agents/skills/astro-developer) repository under the MIT license |
388
- | `frontend` | `revenue-centric-design` | Copied from Helio Costa's [`revenue-centric-design`](https://github.com/heliocosta-dev/revenue-centric-design) under source-available custom terms requiring attribution and excluding gambling/betting/casino use |
389
- | `frontend` | `ui-ux-pro-max` | Copied from Next Level Builder's [`ui-ux-pro-max-skill`](https://github.com/nextlevelbuilder/ui-ux-pro-max-skill/tree/main/.claude/skills/ui-ux-pro-max) under the MIT license |
390
- | `frontend` | `gsap-core` | Copied from GreenSock's [`gsap-skills`](https://github.com/greensock/gsap-skills/tree/main/skills/gsap-core) under the MIT license |
391
- | `frontend` | `gsap-frameworks` | Copied from GreenSock's [`gsap-skills`](https://github.com/greensock/gsap-skills/tree/main/skills/gsap-frameworks) under the MIT license |
392
- | `frontend` | `gsap-performance` | Copied from GreenSock's [`gsap-skills`](https://github.com/greensock/gsap-skills/tree/main/skills/gsap-performance) under the MIT license |
393
- | `frontend` | `gsap-plugins` | Copied from GreenSock's [`gsap-skills`](https://github.com/greensock/gsap-skills/tree/main/skills/gsap-plugins) under the MIT license |
394
- | `frontend` | `gsap-react` | Copied from GreenSock's [`gsap-skills`](https://github.com/greensock/gsap-skills/tree/main/skills/gsap-react) under the MIT license |
395
- | `frontend` | `gsap-scrolltrigger` | Copied from GreenSock's [`gsap-skills`](https://github.com/greensock/gsap-skills/tree/main/skills/gsap-scrolltrigger) under the MIT license |
396
- | `frontend` | `gsap-timeline` | Copied from GreenSock's [`gsap-skills`](https://github.com/greensock/gsap-skills/tree/main/skills/gsap-timeline) under the MIT license |
397
- | `frontend` | `gsap-utils` | Copied from GreenSock's [`gsap-skills`](https://github.com/greensock/gsap-skills/tree/main/skills/gsap-utils) under the MIT license |
398
- | `frontend` | `react-native-expert` | Copied from Jeffallan's [`claude-skills`](https://github.com/Jeffallan/claude-skills/tree/main/skills/react-native-expert) under the MIT license |
399
- | `frontend` | `react-native-unistyles-v3` | Copied from Jacek Pudysz's [`react-native-unistyles`](https://github.com/jpudysz/react-native-unistyles/tree/main/skills/react-native-unistyles-v3), declared MIT upstream |
400
- | `frontend` | `react-patterns` | Copied from Affaan Mustafa's [`ECC`](https://github.com/affaan-m/ECC/tree/main/skills/react-patterns) under the MIT license |
401
- | `frontend` | `react-performance` | Copied from Affaan Mustafa's [`ECC`](https://github.com/affaan-m/ECC/tree/main/skills/react-performance) under the MIT license |
402
- | `frontend` | `react-testing` | Copied from Affaan Mustafa's [`ECC`](https://github.com/affaan-m/ECC/tree/main/skills/react-testing) under the MIT license |
403
- | `general` | `code-reviewer` | Copied from Shubhamsaboo's [`awesome-llm-apps`](https://github.com/Shubhamsaboo/awesome-llm-apps/tree/main/awesome_agent_skills/code-reviewer) under the repository Apache-2.0 license |
404
- | `general` | `thermo-nuclear-code-quality-review` | Copied from Cursor's [`plugins`](https://github.com/cursor/plugins/tree/main/cursor-team-kit/skills/thermo-nuclear-code-quality-review) repository under the MIT license |
405
-
406
- Each React skill carries its own ECC `rules/react` references so Markdown links
407
- still resolve after the installer copies skills into flat runtime directories.
408
-
409
- The installer validates:
20
+ | Default tool set | `--all` | RTK, Caveman, Superpowers, Graphify, GSD, Improve, Frontend Skills, Planning Skills, and bundled Custom Skills |
21
+ | Agent Browser | `--agent-browser-only` | The pinned browser automation CLI, Chrome for Testing, and its matching agent skill; intentionally excluded from `--all` |
22
+ | Claude Code | `--claude` | Claude Code plugins and skills |
23
+ | Codex CLI | `--codex` | Codex plugins, skills, and local automation |
24
+ | OpenCode | `--opencode` | OpenCode skills and package-driven tools |
25
+ | Gemini CLI | `--gemini` | Gemini extensions and native skill installs |
26
+ | Antigravity | `--antigravity` | Antigravity skills and supported integrations |
410
27
 
411
- - `SKILL.md` exists;
412
- - frontmatter starts and closes with `---`;
413
- - `name` and `description` are present;
414
- - `name` uses lowercase letters, numbers and hyphens;
415
- - `description` is non-empty and under 1024 characters.
28
+ Use the interactive installer to mix individual tools. For multiple runtimes, start with `--all-runtimes` and subtract targets with `--no-<runtime>`; bare runtime selectors target only one runtime.
416
29
 
417
- Other third-party frontend skills such as Impeccable, Web Design Guidelines, React
418
- Doctor and Remotion Best Practices are not vendored as bundled Custom Skills. The
419
- `frontend-skills` tool installs them externally through the Agent Skills CLI from
420
- pinned public sources. React Doctor is installed as an agent skill integration, not automatic CI setup.
30
+ ## Safe Lifecycle Operations
421
31
 
422
- ## CLI Reference
32
+ Preview and inspect before changing an environment, then use the manifest-backed lifecycle commands when an installation needs maintenance.
423
33
 
424
- ```text
425
- Tools:
426
- --all Install every tool without the menu
427
- --rtk-only Install only RTK
428
- --caveman-only Install only Caveman
429
- --superpowers-only Install only Superpowers
430
- --graphify-only Install only Graphify
431
- --gsd-only Install only GSD
432
- --improve-only Install only shadcn Improve
433
- --agent-browser-only Install only Agent Browser
434
- --frontend-skills-only Install only third-party frontend skills
435
- --planning-skills-only Install only third-party planning skills
436
- --skills-only Install only Custom Skills
437
- --no-rtk Skip RTK
438
- --no-caveman Skip Caveman
439
- --no-superpowers Skip Superpowers
440
- --no-graphify Skip Graphify
441
- --no-gsd Skip GSD
442
- --no-improve Skip shadcn Improve
443
- --no-agent-browser Skip Agent Browser
444
- --no-frontend-skills Skip third-party frontend skills
445
- --no-planning-skills Skip third-party planning skills
446
- --no-skills Skip Custom Skills
447
-
448
- Runtimes:
449
- --all-runtimes Target Claude Code, Codex CLI, OpenCode, Gemini CLI and Antigravity
450
- --claude Target only Claude Code
451
- --codex Target only Codex CLI
452
- --opencode Target only OpenCode
453
- --gemini Target only Gemini CLI
454
- --antigravity Target only Antigravity
455
- --no-claude Skip Claude Code
456
- --no-codex Skip Codex CLI
457
- --no-opencode Skip OpenCode
458
- --no-gemini Skip Gemini CLI
459
- --no-antigravity Skip Antigravity
460
-
461
- Install scope:
462
- --global Install runtime assets into user config directories
463
- --local Install runtime assets into the current project
464
- --skills-dir DIR Use another source directory for Custom Skills
465
- --skills-package NAME Install Custom Skills from a first-level package
466
- --skills-scope SCOPE Install skills under a relative scope path
467
- --skills-path PATH Install an exact Custom Skill path
468
- --skills-list List discovered Custom Skills and exit
469
-
470
- Operations:
471
- --dry-run Print the selected install plan without changing files
472
- --plan-only Alias for --dry-run
473
- --doctor, --status Inspect selected tools and runtimes without installing
474
- --json Emit machine-readable output for supported operations
475
- --uninstall Remove files recorded in the Agent Toolkit manifest
476
- --repair Re-run selected installs and refresh the manifest
477
- --update-lock Report newer versions for pinned external sources
478
- --skills-audit Validate bundled Custom Skills metadata and links
479
-
480
- Other:
481
- --install-missing-clis Install or update selected runtime CLIs
482
- --allow-mutable-sources Allow explicit mutable package sources like @latest
483
- --help, -h Show help
484
- ```
485
-
486
- Repeat `--skills-package`, `--skills-scope` or `--skills-path` to select more
487
- than one filter.
488
-
489
- ## Configuration
490
-
491
- ```text
492
- RTK_INSTALL_DIR RTK binary install directory
493
- CAVEMAN_PACKAGE Caveman package source
494
- CAVEMAN_MODE minimal or all
495
- GRAPHIFY_PACKAGE Python package used to install Graphify
496
- GRAPHIFY_INSTALLER uv or pipx
497
- GSD_PACKAGE GSD package source
498
- SKILLS_CLI_PACKAGE npm package used for third-party skill installs
499
- GSD_SCOPE global or local
500
- TOOLS_LOCK_PATH External tool provenance lock path
501
- ALLOW_MUTABLE_SOURCES Set to 1 to allow mutable source overrides
502
- AGENT_TOOLKIT_MENU Set to plain to force the line-based interactive menu
503
- AGENT_BROWSER_PACKAGE npm package used to install Agent Browser
504
- CUSTOM_SKILLS_DIR Source directory for Custom Skills
505
- SKILLS_PACKAGE Comma-separated first-level skill package filters
506
- SKILLS_SCOPE Comma-separated skill scope filters
507
- SKILLS_PATH Comma-separated exact skill path filters
508
- ANTIGRAVITY_INSTALL_SCRIPT Official Antigravity CLI install script URL
509
- ANTIGRAVITY_SKILLS_DIR Global Antigravity skills directory
510
- ANTIGRAVITY_LEGACY_SKILLS_DIR Legacy Antigravity skills mirror directory
511
- CLAUDE_CLI_PACKAGE npm package used to install Claude Code CLI
512
- CODEX_CLI_PACKAGE npm package used to install Codex CLI
513
- OPENCODE_CLI_PACKAGE npm package used to install OpenCode CLI
514
- GEMINI_CLI_PACKAGE npm package used to install Gemini CLI
515
- ```
516
-
517
- Defaults come from `tools.lock.json`:
518
-
519
- ```text
520
- CAVEMAN_PACKAGE=github:JuliusBrussee/caveman#25d22f864ad68cc447a4cb93aefde918aa4aec9f
521
- GRAPHIFY_PACKAGE=graphifyy==0.9.11
522
- GRAPHIFY_INSTALLER=uv
523
- GSD_PACKAGE=@opengsd/gsd-core@1.6.1
524
- AGENT_BROWSER_PACKAGE=agent-browser@0.31.1
525
- SKILLS_CLI_PACKAGE=skills@1.5.13
526
- ANTIGRAVITY_INSTALL_SCRIPT=https://antigravity.google/cli/install.sh
527
- CLAUDE_CLI_PACKAGE=@anthropic-ai/claude-code@2.1.204
528
- CODEX_CLI_PACKAGE=@openai/codex@0.143.0
529
- OPENCODE_CLI_PACKAGE=opencode-ai@1.17.15
530
- GEMINI_CLI_PACKAGE=@google/gemini-cli@0.49.0
531
- ```
532
-
533
- Mutable overrides like `@latest`, unpinned npm packages or GitHub package
534
- sources without a full commit SHA are blocked unless you pass
535
- `--allow-mutable-sources` or set `ALLOW_MUTABLE_SOURCES=1`.
536
-
537
- The same explicit flag is required when an override changes the *identity* of
538
- a source (a different npm package name, GitHub repository, PyPI package or RTK
539
- release repository than the one pinned in `tools.lock.json`), and when
540
- `TOOLS_LOCK_PATH` points at an alternate lock file. `ANTIGRAVITY_INSTALL_SCRIPT`
541
- must always be an HTTPS URL — the script is piped to bash, so plain HTTP is
542
- rejected even with the flag.
543
-
544
- ## Security Model
545
-
546
- This project has two supply-chain boundaries:
34
+ | Operation | Example |
35
+ |---|---|
36
+ | Preview the selected plan without mutations | `npx -y @ranimontagna/agent-toolkit --all --codex --dry-run` |
37
+ | Inspect status for a selected runtime | `npx -y @ranimontagna/agent-toolkit --doctor --codex` |
38
+ | Emit the Doctor report as JSON | `npx -y @ranimontagna/agent-toolkit --doctor --json --codex` |
39
+ | Use the `--status` alias | `npx -y @ranimontagna/agent-toolkit --status --codex` |
40
+ | Re-run selected installs and refresh skill records | `npx -y @ranimontagna/agent-toolkit --repair --all --codex` |
41
+ | Preview manifest-backed skill removal | `npx -y @ranimontagna/agent-toolkit --uninstall --skills-only --codex --dry-run` |
42
+ | Remove recorded, validated skill paths | `npx -y @ranimontagna/agent-toolkit --uninstall --skills-only --codex` |
43
+ | Report newer candidates for pinned sources | `npx -y @ranimontagna/agent-toolkit --update-lock` |
44
+ | Audit bundled Custom Skill metadata and links | `npx -y @ranimontagna/agent-toolkit --skills-audit` |
547
45
 
548
- - repository dependencies, controlled by `pnpm-lock.yaml`, CI, `pnpm audit`,
549
- pnpm supply-chain policies and npm release provenance;
550
- - external tools installed by the runtime installer, controlled by
551
- `tools.lock.json` and runtime provenance validation.
46
+ The installer rejects mutable or re-identified external sources by default. Keep the pins in `tools.lock.json`; use `--allow-mutable-sources` only for an intentional, reviewed override.
552
47
 
553
- Repository installs are configured in `pnpm-workspace.yaml` to delay newly
554
- published package versions for 24 hours, enforce that delay strictly, reject
555
- missing registry publish timestamps, block transitive exotic package sources and
556
- fail trust downgrades for packages that previously had stronger publish
557
- evidence.
48
+ ## Current External Sources
558
49
 
559
50
  Current external sources:
560
51
 
561
- | Tool | Locked source | Runtime verification |
562
- |---|---|---|
563
- | RTK | GitHub release `rtk-ai/rtk@v0.43.0` | Verifies the selected asset SHA-256 before extraction |
564
- | Caveman | `JuliusBrussee/caveman` at commit `25d22f864ad68cc447a4cb93aefde918aa4aec9f` | Immutable GitHub npm spec |
565
- | Graphify | `graphifyy==0.9.11` | Blocks unpinned package overrides |
566
- | GSD | `@opengsd/gsd-core@1.6.1` | Blocks `@latest` unless explicitly allowed |
567
- | Improve | `shadcn/improve` at commit `03369ee6d7cafbfcecc4346539b05b3dc0a603bb` | Clones the pinned ref before Agent Skills CLI install |
568
- | Agent Browser | `agent-browser@0.31.1` and `vercel-labs/agent-browser` at commit `afae698a51242166170b6fe4809dd57fe9f75798` | Installs Chrome for Testing without automatic system dependencies, then copies the pinned skill |
569
- | Frontend Skills | `skills@1.5.13`, `pbakaus/impeccable`, `vercel-labs/agent-skills`, `millionco/react-doctor` and `remotion-dev/skills` at pinned commits | Clones pinned refs before install |
570
- | Planning Skills | `mattpocock/skills` at commit `391a2701dd948f94f56a39f7533f8eea9a859c87` (grill-me, grilling, grill-with-docs, domain-modeling) | Clones the pinned ref before install |
571
- | Runtime CLIs | Exact npm versions for Claude, Codex, OpenCode and Gemini | Installed or updated only when `--install-missing-clis` is enabled; Antigravity uses the official `agy` installer instead of npm |
572
-
573
- Bundled third-party skills preserve upstream attribution and license files:
574
-
575
- | Skill | Source commit | License |
576
- |---|---|---|
577
- | `api-design` | `affaan-m/ECC@2bc924faf2f8e893bfe0af86b1931283693c30ae` | MIT |
578
- | `fastify-best-practices` | `mcollina/skills@5b2a81354b6d10325da0db9decc9ce5ecc714138` | MIT |
579
- | `astro-developer` | `withastro/astro@e37dfe2a7623acd364d7e3556ecc9b31e3e45520` | MIT |
580
- | `gsap-*` | `greensock/gsap-skills@aed9cfd3277740755f6bfc1155c7aa645403b760` | MIT |
581
- | `react-native-expert` | `Jeffallan/claude-skills@e8be415bc94d8d6ebddc2fb50e5d03c6e27d4319` | MIT |
582
- | `react-native-unistyles-v3` | `jpudysz/react-native-unistyles@8b5e9fd281a81bdfd87d4fe9e6a0b042c84c5c83` | MIT |
583
- | `react-patterns` | `affaan-m/ECC@2bc924faf2f8e893bfe0af86b1931283693c30ae` | MIT |
584
- | `react-performance` | `affaan-m/ECC@2bc924faf2f8e893bfe0af86b1931283693c30ae` | MIT |
585
- | `react-testing` | `affaan-m/ECC@2bc924faf2f8e893bfe0af86b1931283693c30ae` | MIT |
586
- | `python-patterns` | `affaan-m/ECC@0f84c0e2796703fbda87d577b2636351418c7442` | MIT |
587
- | `python-testing` | `affaan-m/ECC@0f84c0e2796703fbda87d577b2636351418c7442` | MIT |
588
- | `kotlin-patterns` | `affaan-m/ECC@2bc924faf2f8e893bfe0af86b1931283693c30ae` | MIT |
589
- | `kotlin-testing` | `affaan-m/ECC@2bc924faf2f8e893bfe0af86b1931283693c30ae` | MIT |
590
-
591
- React Doctor is installed externally from `millionco/react-doctor` at a pinned
592
- commit and is documented upstream under a Modified MIT License; it is not
593
- copied into this repository.
594
-
595
- Remotion Best Practices is installed externally from `remotion-dev/skills` at a
596
- pinned commit; it is not copied into this repository.
597
-
598
- Releases use npm trusted publishing through GitHub Actions OIDC. The npm
599
- package is published without a long-lived npm token, and npm automatically
600
- generates provenance for public packages published through trusted publishing.
601
-
602
- ## Repository Layout
603
-
604
- ```text
605
- bin/
606
- agent-toolkit.ts Thin TypeScript entrypoint
607
- .github/
608
- workflows/
609
- ci.yml Quality and security gates
610
- release.yml Trusted publishing release workflow
611
- src/
612
- main.ts Installer orchestration
613
- args.ts CLI flag parsing
614
- menu.ts Interactive selection
615
- status.ts Local install status detection
616
- runtimes.ts Runtime CLI checks
617
- skills.ts Recursive skill discovery and installation
618
- installers/ Tool-specific installers
619
- dist/
620
- bin/
621
- agent-toolkit.js Compiled CLI used by npm and the wrapper
622
- docs/
623
- assets/ README terminal screenshots
624
- skills/
625
- core/
626
- agent-toolkit-maintainer/
627
- SKILL.md
628
- onboard-repo/
629
- SKILL.md
630
- backend/
631
- fastify-best-practices/
632
- SKILL.md
633
- rules/
634
- frontend/
635
- react-native/
636
- react/
637
- tests/
638
- unit/
639
- test-agent-toolkit.sh
640
- AGENTS.md Shared project rules for coding agents
641
- CLAUDE.md Pointer to AGENTS.md for Claude Code
642
- pnpm-lock.yaml Repository dependency lockfile
643
- pnpm-workspace.yaml pnpm workspace and supply-chain policy settings
644
- setup-agent-toolkit.sh Bash compatibility wrapper
645
- tools.lock.json Pinned external tool sources and RTK checksums
646
- ```
52
+ | Tool | Locked source |
53
+ |---|---|
54
+ | RTK | `rtk-ai/rtk@v0.43.0`, with a SHA-256 pin for every supported archive |
55
+ | Caveman | `JuliusBrussee/caveman@25d22f864ad68cc447a4cb93aefde918aa4aec9f` |
56
+ | Graphify | `graphifyy==0.9.11` |
57
+ | GSD | `@opengsd/gsd-core@1.6.1` |
58
+ | Agent Browser | `agent-browser@0.31.1` |
59
+ | Agent Skills CLI | `skills@1.5.13`, with each source repository pinned to a full commit |
60
+ | Runtime CLIs | `@anthropic-ai/claude-code@2.1.204`, `@openai/codex@0.143.0`, `opencode-ai@1.17.15`, and `@google/gemini-cli@0.49.0` |
647
61
 
648
- ## Development
62
+ The Agent Skills catalog exposes these locked bundle IDs and skill names:
649
63
 
650
- Prerequisites:
64
+ - `improve`: `improve`
65
+ - `agent-browser`: `agent-browser`
66
+ - `frontend-skills`: `impeccable`, `web-design-guidelines`, `react-doctor`, `remotion-best-practices`
67
+ - `planning-skills`: `grill-me`, `grilling`, `grill-with-docs`, `domain-modeling`, `codebase-design`, `improve-codebase-architecture`
651
68
 
652
- - Node.js 24+ for the full toolkit;
653
- - `npx` for Caveman, GSD, Improve and third-party frontend skills;
654
- - `git` for pinned third-party Agent Skills sources;
655
- - `pnpm` 11.x for repository development;
656
- - `npm` when using `--install-missing-clis` for npm-managed runtimes or
657
- publishing through npm trusted publishing;
658
- - `curl` and `bash` when installing Antigravity CLI through
659
- `--install-missing-clis`;
660
- - `uv` for Graphify, or `pipx` when `GRAPHIFY_INSTALLER=pipx`;
661
- - `tar` or `unzip` only when RTK needs to be downloaded;
662
- - runtime CLIs you want to target: `claude`, `codex`, `opencode`, `gemini`,
663
- `agy`.
69
+ React Doctor is installed from [`millionco/react-doctor`](https://github.com/millionco/react-doctor) at a pinned commit and is documented upstream under a Modified MIT License. It is an agent skill integration, not automatic CI setup. Remotion Best Practices is installed from [`remotion-dev/skills`](https://github.com/remotion-dev/skills) at a pinned commit.
664
70
 
665
- Install dependencies and build from a clone:
71
+ Bundled third-party skills preserve upstream attribution and license files in their skill directories. The repository catalog and immutable source pins in [`tools.lock.json`](tools.lock.json) are the source of truth.
666
72
 
667
- ```bash
668
- pnpm install
669
- pnpm run build
670
- bash setup-agent-toolkit.sh
671
- ```
73
+ ## Documentation
672
74
 
673
- Run the local Node CLI directly:
75
+ - [Getting Started](docs/GETTING-STARTED.md) — first install, tool and runtime selection, lifecycle safety, and troubleshooting
76
+ - [Architecture](docs/ARCHITECTURE.md) — CLI components, data flow, and trust boundaries
77
+ - [Configuration](docs/CONFIGURATION.md) — environment variables, defaults, and source overrides
78
+ - [Development](docs/DEVELOPMENT.md) — local setup, code style, and contribution workflow
79
+ - [Testing](docs/TESTING.md) — unit, integration, and release-gate verification
80
+ - [Deployment and Releases](docs/DEPLOYMENT.md) — tag-driven npm publishing and release recovery
81
+ - [Changelog](CHANGELOG.md) — complete version history
82
+ - [Contributing](CONTRIBUTING.md) — contribution requirements
83
+ - [Security](SECURITY.md) — vulnerability reporting and supply-chain policy
674
84
 
675
- ```bash
676
- node dist/bin/agent-toolkit.js
677
- ```
85
+ ## Development and Releases
678
86
 
679
- Quality scripts:
87
+ Install the pinned development dependencies and run the complete local gate:
680
88
 
681
89
  ```bash
682
- pnpm run build
683
- pnpm run typecheck
684
- pnpm run lint
685
- pnpm run lint:fix
686
- pnpm run format
687
- pnpm run release:patch
688
- pnpm run release:minor
689
- pnpm run release:major
690
- pnpm run security
691
- pnpm run test:unit
692
- pnpm run test:integration
693
- pnpm test
694
- pnpm run check
90
+ corepack prepare pnpm@11.8.0 --activate
91
+ pnpm install --frozen-lockfile
92
+ rtk pnpm run check
695
93
  ```
696
94
 
697
- `pnpm run check` is the release gate. It runs lint, typecheck, unit tests, build,
698
- compiled JavaScript syntax checks, Bash syntax checks and the shell integration
699
- test.
700
-
701
- The shell integration test validates the wrapper, flags, fake runtime CLIs,
702
- installer command wiring, skill discovery and public-safe reference checks.
703
-
704
- ## CI And Release
705
-
706
- GitHub Actions runs:
707
-
708
- - `Check`: lint, typecheck, unit tests, build and integration tests;
709
- - `Secret scan`: Gitleaks over full Git history;
710
- - `Dependency audit`: `pnpm install --frozen-lockfile --ignore-scripts` and
711
- `pnpm audit`;
712
- - `Dependency review`: blocks PRs that add moderate-or-higher vulnerable
713
- dependencies.
95
+ If RTK is not installed yet, run `pnpm run check` directly. The detailed workflows live in [Development](docs/DEVELOPMENT.md), [Testing](docs/TESTING.md), and [Deployment and Releases](docs/DEPLOYMENT.md); see the [Changelog](CHANGELOG.md) for the published history.
714
96
 
715
- Release a new npm version by updating `package.json`, pushing the change to
716
- `main`, then pushing a matching tag:
97
+ For normal releases, run the scripted patch flow:
717
98
 
718
99
  ```bash
719
- git tag v0.1.31
720
- git push origin v0.1.31
100
+ pnpm run release:patch -- --push
721
101
  ```
722
102
 
723
- For normal releases, prefer the scripted flow. It bumps `package.json`, updates
724
- the README release tag example, runs `pnpm run check`, commits with a
725
- Conventional Commit message and creates the local tag:
726
-
727
- ```bash
728
- pnpm run release:patch
729
- git push origin main v0.1.18
730
- ```
731
-
732
- The `Release` workflow runs the full check and publishes the scoped package to
733
- npm through trusted publishing. Dependency install and checks use pnpm, but the
734
- final publish step intentionally stays on `npm publish` because npm trusted
735
- publishing OIDC is handled by the npm CLI. Configure the npm package trusted
736
- publisher for GitHub Actions with workflow filename `release.yml` before
737
- pushing a release tag.
738
-
739
- ## Maintenance Rules
103
+ `--push` performs the remote preflight before changing files, then runs the release checks and atomically pushes `main` and the new tag.
740
104
 
741
- Keep this repository public-safe:
105
+ The `Release` workflow runs from matching version tags in GitHub Actions and publishes the package to npm through trusted publishing. See [Deployment and Releases](docs/DEPLOYMENT.md) for the complete release and recovery procedures.
742
106
 
743
- - do not add company-specific URLs, tokens, secrets or internal project names;
744
- - keep third-party skills on pinned public sources, and only vendor them when
745
- the license permits copying and the repository preserves attribution;
746
- - keep the installer idempotent;
747
- - keep `tools.lock.json` as the source of truth for external tool versions;
748
- - cover pure module behavior with Vitest;
749
- - keep the shell integration test around behavior that can regress;
750
- - document what is automatic and what still depends on each runtime CLI.
107
+ Agent Toolkit is available under the [MIT License](LICENSE).