@ranimontagna/agent-toolkit 0.1.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 (69) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +426 -0
  3. package/dist/bin/agent-toolkit.d.ts +2 -0
  4. package/dist/bin/agent-toolkit.js +14 -0
  5. package/dist/bin/agent-toolkit.js.map +1 -0
  6. package/dist/src/args.d.ts +1 -0
  7. package/dist/src/args.js +152 -0
  8. package/dist/src/args.js.map +1 -0
  9. package/dist/src/checksum.d.ts +2 -0
  10. package/dist/src/checksum.js +9 -0
  11. package/dist/src/checksum.js.map +1 -0
  12. package/dist/src/context.d.ts +3 -0
  13. package/dist/src/context.js +10 -0
  14. package/dist/src/context.js.map +1 -0
  15. package/dist/src/installers/caveman.d.ts +1 -0
  16. package/dist/src/installers/caveman.js +23 -0
  17. package/dist/src/installers/caveman.js.map +1 -0
  18. package/dist/src/installers/frontend-skills.d.ts +1 -0
  19. package/dist/src/installers/frontend-skills.js +82 -0
  20. package/dist/src/installers/frontend-skills.js.map +1 -0
  21. package/dist/src/installers/graphify.d.ts +1 -0
  22. package/dist/src/installers/graphify.js +58 -0
  23. package/dist/src/installers/graphify.js.map +1 -0
  24. package/dist/src/installers/gsd.d.ts +1 -0
  25. package/dist/src/installers/gsd.js +19 -0
  26. package/dist/src/installers/gsd.js.map +1 -0
  27. package/dist/src/installers/rtk.d.ts +1 -0
  28. package/dist/src/installers/rtk.js +158 -0
  29. package/dist/src/installers/rtk.js.map +1 -0
  30. package/dist/src/installers/superpowers.d.ts +1 -0
  31. package/dist/src/installers/superpowers.js +73 -0
  32. package/dist/src/installers/superpowers.js.map +1 -0
  33. package/dist/src/logger.d.ts +18 -0
  34. package/dist/src/logger.js +35 -0
  35. package/dist/src/logger.js.map +1 -0
  36. package/dist/src/main.d.ts +1 -0
  37. package/dist/src/main.js +104 -0
  38. package/dist/src/main.js.map +1 -0
  39. package/dist/src/menu.d.ts +1 -0
  40. package/dist/src/menu.js +98 -0
  41. package/dist/src/menu.js.map +1 -0
  42. package/dist/src/provenance.d.ts +1 -0
  43. package/dist/src/provenance.js +44 -0
  44. package/dist/src/provenance.js.map +1 -0
  45. package/dist/src/runtimes.d.ts +7 -0
  46. package/dist/src/runtimes.js +123 -0
  47. package/dist/src/runtimes.js.map +1 -0
  48. package/dist/src/skills.d.ts +12 -0
  49. package/dist/src/skills.js +247 -0
  50. package/dist/src/skills.js.map +1 -0
  51. package/dist/src/state.d.ts +51 -0
  52. package/dist/src/state.js +137 -0
  53. package/dist/src/state.js.map +1 -0
  54. package/dist/src/system.d.ts +21 -0
  55. package/dist/src/system.js +109 -0
  56. package/dist/src/system.js.map +1 -0
  57. package/dist/src/tool-lock.d.ts +60 -0
  58. package/dist/src/tool-lock.js +109 -0
  59. package/dist/src/tool-lock.js.map +1 -0
  60. package/dist/src/ui.d.ts +3 -0
  61. package/dist/src/ui.js +41 -0
  62. package/dist/src/ui.js.map +1 -0
  63. package/dist/src/usage.d.ts +1 -0
  64. package/dist/src/usage.js +66 -0
  65. package/dist/src/usage.js.map +1 -0
  66. package/package.json +50 -0
  67. package/setup-agent-toolkit.sh +20 -0
  68. package/skills/core/agent-toolkit-maintainer/SKILL.md +68 -0
  69. package/tools.lock.json +84 -0
@@ -0,0 +1,20 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+
4
+ SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
5
+
6
+ if ! command -v node >/dev/null 2>&1; then
7
+ echo "Node.js 22+ is required to run Agent Toolkit." >&2
8
+ echo "Install Node.js, then run this command again." >&2
9
+ exit 1
10
+ fi
11
+
12
+ CLI_ENTRYPOINT="$SCRIPT_DIR/dist/bin/agent-toolkit.js"
13
+
14
+ if [[ ! -f "$CLI_ENTRYPOINT" ]]; then
15
+ echo "Agent Toolkit build not found: dist/bin/agent-toolkit.js" >&2
16
+ echo "Run npm install && npm run build, then run this command again." >&2
17
+ exit 1
18
+ fi
19
+
20
+ exec node "$CLI_ENTRYPOINT" "$@"
@@ -0,0 +1,68 @@
1
+ ---
2
+ name: agent-toolkit-maintainer
3
+ description: Use when modifying, publishing, or validating the Agent Toolkit installer, bundled personal skills, runtime support, README, or public-safe repository hygiene.
4
+ ---
5
+
6
+ # Agent Toolkit Maintainer
7
+
8
+ Use this skill when working in the Agent Toolkit repository.
9
+
10
+ ## Priorities
11
+
12
+ - Keep the repository public-safe: no internal company names, private URLs, tokens, or credentials.
13
+ - Keep the installer focused on Claude Code, Codex CLI, OpenCode and Gemini CLI.
14
+ - Keep bundled skills organized by scope under `skills/<scope>/<skill-name>/SKILL.md`.
15
+ - Keep third-party skills out of `skills/`; install them through CLI-backed tool installers.
16
+ - Install skills flat into runtime skill directories using the skill directory name.
17
+ - Prefer configurable sources over hard-coded local paths.
18
+ - Keep external tool defaults pinned in `tools.lock.json`; do not reintroduce mutable defaults like `@latest`.
19
+ - Use `rtk` for shell commands when the local project instructions require it.
20
+ - Use Conventional Commits for repository commits.
21
+
22
+ ## Installer Changes
23
+
24
+ When changing `bin/agent-toolkit.ts`, `src/**/*.ts` or `setup-agent-toolkit.sh`:
25
+
26
+ 1. Add or update focused Vitest tests in `tests/unit/` for pure module behavior.
27
+ 2. Add or update behavior tests in `tests/test-agent-toolkit.sh` for installer flows.
28
+ 3. Keep `bin/agent-toolkit.ts` as a thin entrypoint into `src/main.ts`.
29
+ 4. Keep each install concern in a focused module under `src/installers/`.
30
+ 5. Keep TypeScript imports using `.js` extensions so compiled ESM works in Node.
31
+ 6. Keep the published runtime CLI dependency-free unless there is a strong reason to add a production package.
32
+ 7. Keep `package.json` bin entries pointed at `dist/bin/agent-toolkit.js`.
33
+ 8. Preserve non-interactive flags for automation.
34
+ 9. Keep interactive runs explicit: the user should select tools, runtimes and skill scopes.
35
+ 10. Keep external source provenance checks active unless an explicit override is documented.
36
+ 11. Do not make runtime support claims unless the install path is implemented.
37
+ 12. Run TypeScript build/typecheck, Biome, Vitest and the integration test before claiming completion.
38
+ 13. Run lint and tests before every commit.
39
+
40
+ ## Skill Changes
41
+
42
+ When adding a personal skill:
43
+
44
+ 1. Create `skills/<scope>/<skill-name>/SKILL.md`.
45
+ 2. Use concise YAML frontmatter with `name` and `description`.
46
+ 3. Keep `SKILL.md` procedural and short.
47
+ 4. Move large examples or detailed references into `references/`.
48
+ 5. Do not add README or changelog files inside a skill directory.
49
+
50
+ When adding third-party skills, add a dedicated installer or extend an existing
51
+ external-skill installer, pin sources in `tools.lock.json`, and document the
52
+ license/source in README.
53
+
54
+ ## Verification
55
+
56
+ Run:
57
+
58
+ ```bash
59
+ rtk npm run check
60
+ rtk npm run security
61
+ rtk npm run lint
62
+ rtk npm run build
63
+ rtk npm run typecheck
64
+ rtk npm run test:unit
65
+ rtk npm run test:integration
66
+ rtk rg -n "private-company-or-old-tooling-pattern" .
67
+ rtk graphify update .
68
+ ```
@@ -0,0 +1,84 @@
1
+ {
2
+ "version": 1,
3
+ "tools": {
4
+ "rtk": {
5
+ "source": "github-release",
6
+ "repository": "rtk-ai/rtk",
7
+ "tag": "v0.42.1",
8
+ "assets": {
9
+ "rtk-aarch64-apple-darwin.tar.gz": {
10
+ "sha256": "401d72a80c0efc597ae9469f053ce51c70334ea427527464ab76f8e298da2447"
11
+ },
12
+ "rtk-aarch64-unknown-linux-gnu.tar.gz": {
13
+ "sha256": "32f4d78766e2f5b43756efce3c699dc4da8beef5296deb02fa7756f3257eb25c"
14
+ },
15
+ "rtk-x86_64-apple-darwin.tar.gz": {
16
+ "sha256": "6165d80f40db0f46f8af2ea15d0132e957e2717aa74507906c7ce5b3c20c655e"
17
+ },
18
+ "rtk-x86_64-pc-windows-msvc.zip": {
19
+ "sha256": "5f292b031595405671b41e29aa5016931e8598949c25d9751f0eebd2eccefe0b"
20
+ },
21
+ "rtk-x86_64-unknown-linux-musl.tar.gz": {
22
+ "sha256": "a37ca300a42510a964453f2bc2e217769ef0872780af802db8a7d698f1da2465"
23
+ }
24
+ }
25
+ },
26
+ "caveman": {
27
+ "source": "github",
28
+ "repository": "JuliusBrussee/caveman",
29
+ "ref": "655b7d9c5431f822264b7732e9901c5578ac84cf"
30
+ },
31
+ "graphify": {
32
+ "source": "pypi",
33
+ "package": "graphifyy",
34
+ "version": "0.8.31"
35
+ },
36
+ "gsd": {
37
+ "source": "npm",
38
+ "package": "get-shit-done-cc",
39
+ "version": "1.42.3"
40
+ },
41
+ "frontendSkills": {
42
+ "source": "skills-cli",
43
+ "skillsCli": {
44
+ "source": "npm",
45
+ "package": "skills",
46
+ "version": "1.5.10"
47
+ },
48
+ "impeccable": {
49
+ "source": "github",
50
+ "repository": "pbakaus/impeccable",
51
+ "ref": "1d5d745823aae7019044e8b0a621af4366dae224",
52
+ "skill": "impeccable"
53
+ },
54
+ "tasteSkill": {
55
+ "source": "github",
56
+ "repository": "Leonxlnx/taste-skill",
57
+ "ref": "3c7017d636c3a4aad378433ea6d0cfa6c921da4a",
58
+ "skill": "design-taste-frontend"
59
+ }
60
+ }
61
+ },
62
+ "runtimeClis": {
63
+ "claude": {
64
+ "source": "npm",
65
+ "package": "@anthropic-ai/claude-code",
66
+ "version": "2.1.162"
67
+ },
68
+ "codex": {
69
+ "source": "npm",
70
+ "package": "@openai/codex",
71
+ "version": "0.137.0"
72
+ },
73
+ "opencode": {
74
+ "source": "npm",
75
+ "package": "opencode-ai",
76
+ "version": "1.15.13"
77
+ },
78
+ "gemini": {
79
+ "source": "npm",
80
+ "package": "@google/gemini-cli",
81
+ "version": "0.45.0"
82
+ }
83
+ }
84
+ }