agent-loadout 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +152 -0
  2. package/dist/index.js +1577 -0
  3. package/package.json +39 -0
package/README.md ADDED
@@ -0,0 +1,152 @@
1
+ # agent-loadout
2
+
3
+ > One command to load out your terminal for agentic coding.
4
+
5
+ ```sh
6
+ npx agent-loadout
7
+ ```
8
+
9
+ ## Why this exists
10
+
11
+ AI coding agents are only as good as the tools on the machine. A fresh Mac has few of them. `agent-loadout` installs a curated set of 37 terminal tools — the ones that actually matter for agentic workflows.
12
+
13
+ Pick presets, toggle individual tools, and get a verified installation with skill files your agent can read.
14
+
15
+ ## Tool catalog
16
+
17
+ ### Core (9 tools) — on by default
18
+
19
+ | Tool | Package | Description |
20
+ |------|---------|-------------|
21
+ | [ripgrep](https://github.com/BurntSushi/ripgrep) | `ripgrep` | Fast code search |
22
+ | [fd](https://github.com/sharkdp/fd) | `fd` | Fast file finder |
23
+ | [jq](https://github.com/jqlang/jq) | `jq` | JSON processor |
24
+ | [yq](https://github.com/mikefarah/yq) | `yq` | YAML processor |
25
+ | [bat](https://github.com/sharkdp/bat) | `bat` | Cat with syntax highlighting |
26
+ | [tree](https://en.wikipedia.org/wiki/Tree_(command)) | `tree` | Directory structure viewer |
27
+ | [GitHub CLI](https://cli.github.com) | `gh` | PRs, issues, releases from the terminal |
28
+ | [fzf](https://github.com/junegunn/fzf) | `fzf` | Fuzzy finder |
29
+ | [xh](https://github.com/ducaale/xh) | `xh` | Friendly HTTP client |
30
+
31
+ ### Agent (11 tools) — on by default
32
+
33
+ | Tool | Package | Description |
34
+ |------|---------|-------------|
35
+ | [shellcheck](https://github.com/koalaman/shellcheck) | `shellcheck` | Static analysis for shell scripts |
36
+ | [ast-grep](https://github.com/ast-grep/ast-grep) | `ast-grep` | Structural code search/replace |
37
+ | [just](https://github.com/casey/just) | `just` | Command runner (agent-readable task menu) |
38
+ | [grex](https://github.com/pemistahl/grex) | `grex` | Generate regex from examples |
39
+ | [knip](https://github.com/webpro-nl/knip) | `knip` | Find unused code/deps in TS/JS |
40
+ | [sd](https://github.com/chmln/sd) | `sd` | Simpler sed replacement |
41
+ | [hyperfine](https://github.com/sharkdp/hyperfine) | `hyperfine` | CLI benchmarking |
42
+ | [tokei](https://github.com/XAMPPRocky/tokei) | `tokei` | Code statistics |
43
+ | [tldr](https://github.com/tldr-pages/tldr) | `tldr` | Quick man page summaries |
44
+ | [biome](https://github.com/biomejs/biome) | `biome` | Lint + format JS/TS |
45
+ | [difftastic](https://github.com/Wilfred/difftastic) | `difftastic` | Structural/AST diff |
46
+
47
+ ### Media (4 tools)
48
+
49
+ | Tool | Package | Description |
50
+ |------|---------|-------------|
51
+ | [ffmpeg](https://ffmpeg.org) | `ffmpeg` | Audio/video Swiss army knife |
52
+ | [exiftool](https://exiftool.org) | `exiftool` | Image/media metadata |
53
+ | [ImageMagick](https://imagemagick.org) | `imagemagick` | Image transforms |
54
+ | [svgo](https://github.com/svg/svgo) | `svgo` | SVG optimiser |
55
+
56
+ ### DX (10 tools)
57
+
58
+ | Tool | Package | Description |
59
+ |------|---------|-------------|
60
+ | [eza](https://github.com/eza-community/eza) | `eza` | Modern ls replacement |
61
+ | [zoxide](https://github.com/ajeetdsouza/zoxide) | `zoxide` | Smarter cd |
62
+ | [delta](https://github.com/dandavison/delta) | `git-delta` | Better git diffs |
63
+ | [glow](https://github.com/charmbracelet/glow) | `glow` | Terminal markdown renderer |
64
+ | [mise](https://github.com/jdx/mise) | `mise` | Runtime version manager |
65
+ | [watchexec](https://github.com/watchexec/watchexec) | `watchexec` | Run commands on file change |
66
+ | [mkcert](https://github.com/FiloSottile/mkcert) | `mkcert` | Local HTTPS certs |
67
+ | [lazygit](https://github.com/jesseduffield/lazygit) | `lazygit` | TUI git client |
68
+ | [dust](https://github.com/bootandy/dust) | `dust` | Disk usage tree |
69
+ | [bottom](https://github.com/ClementTsang/bottom) | `bottom` | System monitor TUI |
70
+
71
+ ### Security (3 tools)
72
+
73
+ | Tool | Package | Description |
74
+ |------|---------|-------------|
75
+ | [trivy](https://github.com/aquasecurity/trivy) | `trivy` | Vulnerability scanner |
76
+ | [act](https://github.com/nektos/act) | `act` | Run GitHub Actions locally |
77
+ | [gitleaks](https://github.com/gitleaks/gitleaks) | `gitleaks` | Secrets scanner |
78
+
79
+ ## How it works
80
+
81
+ 1. **Choose presets** — Core and Agent are on by default; toggle Media, DX, Security
82
+ 2. **Toggle tools** — Deselect anything you don't want
83
+ 3. **Preview** — See the exact Brewfile and npm commands before anything runs
84
+ 4. **Install** — Runs `brew bundle` and `npm install -g` for you
85
+ 5. **Verify** — Checks every tool is actually working
86
+ 6. **Persist** — Writes a receipt and skill files your AI agent can read
87
+
88
+ ## Commands
89
+
90
+ ```sh
91
+ # Interactive install (default)
92
+ npx agent-loadout
93
+
94
+ # Install specific presets (dry run)
95
+ npx agent-loadout install --preset core agent
96
+
97
+ # Install specific presets (actually run it)
98
+ npx agent-loadout install --preset core agent --apply
99
+
100
+ # Install everything
101
+ npx agent-loadout install --all --apply
102
+
103
+ # Check what's installed
104
+ npx agent-loadout verify
105
+ npx agent-loadout verify --json
106
+
107
+ # List the full catalog
108
+ npx agent-loadout list
109
+ npx agent-loadout list --json
110
+ ```
111
+
112
+ ## Brewfile alternative
113
+
114
+ Don't want the CLI? Copy the [Brewfile](./Brewfile), uncomment what you need, and run:
115
+
116
+ ```sh
117
+ brew bundle
118
+ ```
119
+
120
+ ## Skills
121
+
122
+ When you install tools, `agent-loadout` writes skill files to `~/.claude/skills/`. Each skill is a focused playbook — what the tool does, trusted commands, gotchas — so your AI agent knows how to use it effectively.
123
+
124
+ ## Requirements
125
+
126
+ - macOS with [Homebrew](https://brew.sh) installed
127
+ - Node.js 20+ (for `npx`)
128
+ - npm (optional, only needed for knip and svgo)
129
+
130
+ ## Contributing
131
+
132
+ 1. Fork and clone
133
+ 2. `pnpm install`
134
+ 3. `pnpm dev -- list` to run locally
135
+ 4. Add tools in `src/catalog.ts`, skills in `src/skills.ts`
136
+ 5. `pnpm typecheck` before submitting
137
+
138
+ ### Releasing
139
+
140
+ ```sh
141
+ # Create a GitHub release — CI publishes to npm automatically
142
+ gh release create v0.2.0 --generate-notes
143
+
144
+ # The release workflow:
145
+ # extracts version from tag → syncs package.json → typecheck → build → npm publish
146
+ ```
147
+
148
+ Requires `NPM_TOKEN` secret set in the repository settings.
149
+
150
+ ## License
151
+
152
+ MIT