agent-loadout 1.0.1 → 1.0.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 +21 -3
- package/dist/index.js +11 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -132,6 +132,12 @@ npx agent-loadout list --json
|
|
|
132
132
|
|
|
133
133
|
# Print a generated Brewfile (macOS only)
|
|
134
134
|
npx agent-loadout list --brewfile
|
|
135
|
+
|
|
136
|
+
# Write missing skill files for installed tools
|
|
137
|
+
npx agent-loadout skills
|
|
138
|
+
|
|
139
|
+
# Rewrite all skill files (e.g. after upgrading agent-loadout)
|
|
140
|
+
npx agent-loadout skills --force
|
|
135
141
|
```
|
|
136
142
|
|
|
137
143
|
## Brewfile alternative (macOS)
|
|
@@ -144,12 +150,24 @@ brew bundle
|
|
|
144
150
|
|
|
145
151
|
## Skills
|
|
146
152
|
|
|
147
|
-
When you install tools, `agent-loadout` writes skill files to
|
|
153
|
+
When you install tools, `agent-loadout` writes skill files to:
|
|
148
154
|
|
|
149
|
-
- `~/.claude/skills/` —
|
|
155
|
+
- `~/.claude/skills/agent-loadout/` — auto-discovered by Claude Code
|
|
150
156
|
- `~/.agent-loadout/skills/` — generic copy for other agents
|
|
151
157
|
|
|
152
|
-
Each skill is a focused playbook
|
|
158
|
+
Each skill is a focused playbook: what the tool does, trusted commands, output formats, and gotchas. A `SKILL.md` index is also written, with every installed tool and its primary use case packed into the frontmatter — so your agent sees the full inventory in its system prompt on every session without loading individual files.
|
|
159
|
+
|
|
160
|
+
### Syncing skills
|
|
161
|
+
|
|
162
|
+
Skills are written automatically after `install`. To write or refresh them independently:
|
|
163
|
+
|
|
164
|
+
```sh
|
|
165
|
+
# Write skills for any installed tools that don't have one yet
|
|
166
|
+
npx agent-loadout skills
|
|
167
|
+
|
|
168
|
+
# Rewrite skill files for all installed tools
|
|
169
|
+
npx agent-loadout skills --force
|
|
170
|
+
```
|
|
153
171
|
|
|
154
172
|
## Requirements
|
|
155
173
|
|
package/dist/index.js
CHANGED
|
@@ -1729,8 +1729,13 @@ function buildTOC(tools) {
|
|
|
1729
1729
|
group.push(tool);
|
|
1730
1730
|
byPreset.set(tool.preset, group);
|
|
1731
1731
|
}
|
|
1732
|
-
const
|
|
1733
|
-
|
|
1732
|
+
const compactDescription = PRESETS.filter((p) => byPreset.has(p.id)).map((preset) => {
|
|
1733
|
+
const entries = (byPreset.get(preset.id) ?? []).map((t) => {
|
|
1734
|
+
const use = (t.tags?.[0] ?? t.description).replace(/ /g, "-");
|
|
1735
|
+
return `${t.id}(${use})`;
|
|
1736
|
+
}).join(" ");
|
|
1737
|
+
return `${preset.name}: ${entries}`;
|
|
1738
|
+
}).join(" | ");
|
|
1734
1739
|
const sections = PRESETS.filter((p) => byPreset.has(p.id)).map((preset) => {
|
|
1735
1740
|
const entries = (byPreset.get(preset.id) ?? []).map((t) => {
|
|
1736
1741
|
const uses = (t.tags ?? []).slice(0, 4).join(" \xB7 ");
|
|
@@ -1741,12 +1746,14 @@ ${entries}`;
|
|
|
1741
1746
|
}).join("\n\n");
|
|
1742
1747
|
return [
|
|
1743
1748
|
"---",
|
|
1744
|
-
`description: "
|
|
1749
|
+
`description: "${compactDescription}"`,
|
|
1745
1750
|
"source: agent-loadout",
|
|
1746
1751
|
"---",
|
|
1747
1752
|
"",
|
|
1748
1753
|
"# Agent Loadout",
|
|
1749
1754
|
"",
|
|
1755
|
+
"Each file has trusted commands, output formats, and agent-specific tips.",
|
|
1756
|
+
"",
|
|
1750
1757
|
sections,
|
|
1751
1758
|
""
|
|
1752
1759
|
].join("\n");
|
|
@@ -1774,7 +1781,7 @@ async function writeSkills(tools) {
|
|
|
1774
1781
|
|
|
1775
1782
|
// src/index.ts
|
|
1776
1783
|
var program = new Command();
|
|
1777
|
-
program.name("agent-loadout").description("One command to load out your terminal for agentic coding").version("1.0.
|
|
1784
|
+
program.name("agent-loadout").description("One command to load out your terminal for agentic coding").version("1.0.2");
|
|
1778
1785
|
process.on("SIGINT", () => {
|
|
1779
1786
|
console.log(chalk10.dim("\n Cancelled."));
|
|
1780
1787
|
process.exit(0);
|