agent-skill-manager 1.3.0 → 1.4.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.
- package/README.md +42 -0
- package/dist/agent-skill-manager.js +143 -121
- package/dist/chunk-221zx7k2.js +8 -0
- package/dist/chunk-8e2d1703.js +8 -0
- package/dist/chunk-c662hngs.js +90 -0
- package/dist/chunk-dg0nqb63.js +90 -0
- package/dist/chunk-njbwyyw5.js +9 -0
- package/dist/chunk-t21tdjjx.js +90 -0
- package/dist/chunk-y00s0dtt.js +9 -0
- package/dist/chunk-yvfqvjev.js +90 -0
- package/dist/chunk-zh7g5bam.js +3 -0
- package/package.json +5 -3
package/README.md
CHANGED
|
@@ -45,6 +45,8 @@
|
|
|
45
45
|
- **Sort** — By name, version, or location
|
|
46
46
|
- **Detailed skill view** — Metadata from SKILL.md frontmatter including provider, path, symlink info
|
|
47
47
|
- **Duplicate audit** — Detect and remove duplicate skills across providers and scopes
|
|
48
|
+
- **Install from GitHub** — Install skills from any public/private GitHub repo with `asm install github:user/repo`
|
|
49
|
+
- **Security scanning** — Automatic pattern-based security warnings before installing skills
|
|
48
50
|
- **Safe uninstall** — Confirmation dialog, removes skill directories, rule files, and AGENTS.md blocks
|
|
49
51
|
- **In-TUI config editor** — Toggle providers on/off, or open config in `$EDITOR`
|
|
50
52
|
- **JSON output** — Machine-readable output for scripting (`--json`)
|
|
@@ -116,6 +118,7 @@ asm # or: agent-skill-manager
|
|
|
116
118
|
asm list # List all discovered skills
|
|
117
119
|
asm search <query> # Search by name/description/provider
|
|
118
120
|
asm inspect <skill-name> # Show detailed info for a skill
|
|
121
|
+
asm install <source> # Install a skill from GitHub
|
|
119
122
|
asm uninstall <skill-name> # Remove a skill (with confirmation)
|
|
120
123
|
asm audit # Detect duplicate skills
|
|
121
124
|
asm config show # Print current config
|
|
@@ -136,6 +139,44 @@ asm config edit # Open config in $EDITOR
|
|
|
136
139
|
--no-color Disable ANSI colors
|
|
137
140
|
```
|
|
138
141
|
|
|
142
|
+
### Installing Skills from GitHub
|
|
143
|
+
|
|
144
|
+
Install skills directly from GitHub repositories — supports both single-skill repos and multi-skill collections:
|
|
145
|
+
|
|
146
|
+
```bash
|
|
147
|
+
# Single-skill repo (SKILL.md at root)
|
|
148
|
+
asm install github:user/my-skill
|
|
149
|
+
asm install github:user/my-skill#v1.0.0 -p claude
|
|
150
|
+
|
|
151
|
+
# Multi-skill repo (skills in subdirectories)
|
|
152
|
+
asm install github:user/skills --path skills/code-review
|
|
153
|
+
asm install github:user/skills --all -p claude -y
|
|
154
|
+
asm install github:user/skills # interactive picker
|
|
155
|
+
|
|
156
|
+
# Other options
|
|
157
|
+
asm install github:user/my-skill --name custom-name
|
|
158
|
+
asm install github:user/my-skill --force
|
|
159
|
+
asm install github:user/my-skill -p claude --yes --json
|
|
160
|
+
```
|
|
161
|
+
|
|
162
|
+
**Source format:** `github:owner/repo[#branch-or-tag]`
|
|
163
|
+
|
|
164
|
+
**Install flags:**
|
|
165
|
+
|
|
166
|
+
| Flag | Description |
|
|
167
|
+
| ----------------------- | ------------------------------------------------- |
|
|
168
|
+
| `-p, --provider <name>` | Target provider (claude, codex, openclaw, agents) |
|
|
169
|
+
| `--name <name>` | Override skill directory name |
|
|
170
|
+
| `--path <subdir>` | Install a specific skill from a subdirectory |
|
|
171
|
+
| `--all` | Install all skills found in the repo |
|
|
172
|
+
| `-f, --force` | Overwrite if skill already exists |
|
|
173
|
+
| `-y, --yes` | Skip confirmation prompt |
|
|
174
|
+
| `--json` | Output result as JSON |
|
|
175
|
+
|
|
176
|
+
**Multi-skill repo support:** When a repo doesn't have `SKILL.md` at the root, `asm` automatically scans for skills in subdirectories (up to 3 levels deep). In interactive mode, it presents a numbered picker. Use `--path` to target a specific skill or `--all` to batch-install everything.
|
|
177
|
+
|
|
178
|
+
The install command clones the repository, validates `SKILL.md` files, scans for security warnings, previews skill metadata, and installs to the selected provider's global skill directory. Requires `git` on PATH.
|
|
179
|
+
|
|
139
180
|
### Examples
|
|
140
181
|
|
|
141
182
|
```bash
|
|
@@ -251,6 +292,7 @@ agent-skill-manager/
|
|
|
251
292
|
│ ├── config.ts # Config loading & saving
|
|
252
293
|
│ ├── scanner.ts # Skill directory scanning & filtering
|
|
253
294
|
│ ├── auditor.ts # Duplicate detection & reporting
|
|
295
|
+
│ ├── installer.ts # GitHub skill installation pipeline
|
|
254
296
|
│ ├── uninstaller.ts # Safe skill removal logic
|
|
255
297
|
│ ├── formatter.ts # Output formatting (tables, detail, JSON)
|
|
256
298
|
│ ├── utils/
|