@ranimontagna/agent-toolkit 0.2.0 → 0.2.2

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