agent-skill-manager 1.0.0 → 1.2.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 +159 -34
- package/dist/agent-skill-manager.js +180 -0
- package/dist/highlights-eq9cgrbb.scm +604 -0
- package/dist/highlights-ghv9g403.scm +205 -0
- package/dist/highlights-hk7bwhj4.scm +284 -0
- package/dist/highlights-r812a2qc.scm +150 -0
- package/dist/highlights-x6tmsnaa.scm +115 -0
- package/dist/injections-73j83es3.scm +27 -0
- package/dist/tree-sitter-javascript-nd0q4pe9.wasm +0 -0
- package/dist/tree-sitter-markdown-411r6y9b.wasm +0 -0
- package/dist/tree-sitter-markdown_inline-j5349f42.wasm +0 -0
- package/dist/tree-sitter-typescript-zxjzwt75.wasm +0 -0
- package/dist/tree-sitter-zig-e78zbjpm.wasm +0 -0
- package/package.json +15 -7
- package/CODE_OF_CONDUCT.md +0 -59
- package/CONTRIBUTING.md +0 -92
- package/RELEASE_NOTES.md +0 -31
- package/SECURITY.md +0 -43
- package/bin/skill-manager.ts +0 -46
- package/bun.lock +0 -204
- package/docs/ARCHITECTURE.md +0 -60
- package/docs/CHANGELOG.md +0 -22
- package/docs/DEPLOYMENT.md +0 -52
- package/docs/DEVELOPMENT.md +0 -64
- package/src/config.ts +0 -109
- package/src/index.ts +0 -324
- package/src/scanner.ts +0 -165
- package/src/uninstaller.ts +0 -225
- package/src/utils/colors.ts +0 -16
- package/src/utils/frontmatter.ts +0 -87
- package/src/utils/types.ts +0 -57
- package/src/utils/version.ts +0 -20
- package/src/views/config.ts +0 -147
- package/src/views/confirm.ts +0 -105
- package/src/views/dashboard.ts +0 -252
- package/src/views/help.ts +0 -83
- package/src/views/skill-detail.ts +0 -114
- package/src/views/skill-list.ts +0 -122
package/README.md
CHANGED
|
@@ -2,68 +2,160 @@
|
|
|
2
2
|
<picture>
|
|
3
3
|
<source media="(prefers-color-scheme: dark)" srcset="assets/logo/logo-full.svg" />
|
|
4
4
|
<source media="(prefers-color-scheme: light)" srcset="assets/logo/logo-black.svg" />
|
|
5
|
-
<img src="assets/logo/logo-full.svg" alt="skill-manager" width="
|
|
5
|
+
<img src="assets/logo/logo-full.svg" alt="agent-skill-manager" width="560" />
|
|
6
6
|
</picture>
|
|
7
7
|
</p>
|
|
8
8
|
|
|
9
9
|
<p align="center">
|
|
10
|
-
<em>The universal skill manager for AI
|
|
10
|
+
<em>The universal skill manager for AI agents.</em>
|
|
11
11
|
</p>
|
|
12
12
|
|
|
13
13
|
<p align="center">
|
|
14
|
+
<a href="#features">Features</a> ·
|
|
14
15
|
<a href="#install">Install</a> ·
|
|
15
16
|
<a href="#usage">Usage</a> ·
|
|
16
17
|
<a href="#configuration">Configuration</a> ·
|
|
18
|
+
<a href="docs/">Docs</a> ·
|
|
17
19
|
<a href="CONTRIBUTING.md">Contributing</a> ·
|
|
18
20
|
<a href="LICENSE">License</a>
|
|
19
21
|
</p>
|
|
20
22
|
|
|
21
23
|
<p align="center">
|
|
22
24
|
<a href="LICENSE"><img src="https://img.shields.io/badge/license-MIT-green.svg" alt="MIT License" /></a>
|
|
25
|
+
<a href="https://www.npmjs.com/package/agent-skill-manager"><img src="https://img.shields.io/npm/v/agent-skill-manager.svg" alt="npm version" /></a>
|
|
23
26
|
<a href="https://bun.sh"><img src="https://img.shields.io/badge/runtime-Bun%20%E2%89%A5%201.0-black.svg" alt="Bun" /></a>
|
|
27
|
+
<a href="https://github.com/luongnv89/agent-skill-manager/actions"><img src="https://github.com/luongnv89/agent-skill-manager/actions/workflows/ci.yml/badge.svg" alt="CI" /></a>
|
|
24
28
|
</p>
|
|
25
29
|
|
|
26
30
|
---
|
|
27
31
|
|
|
28
|
-
**skill-manager** is an interactive
|
|
32
|
+
**agent-skill-manager** (`asm`) is an interactive TUI and CLI for managing installed skills across AI coding agents — [Claude Code](https://docs.anthropic.com/en/docs/claude-code), [Codex](https://github.com/openai/codex), [OpenClaw](https://github.com/openclaw), and more. Built with [OpenTUI](https://github.com/nicholasgasior/opentui) and [Bun](https://bun.sh).
|
|
33
|
+
|
|
34
|
+
<p align="center">
|
|
35
|
+
<img src="assets/screenshots/agent-skill-manager.png" alt="agent-skill-manager TUI dashboard" width="800" />
|
|
36
|
+
</p>
|
|
29
37
|
|
|
30
38
|
## Features
|
|
31
39
|
|
|
32
|
-
- **
|
|
33
|
-
- **
|
|
40
|
+
- **Dual interface** — Full interactive TUI and non-interactive CLI (`asm list`, `asm search`, etc.)
|
|
41
|
+
- **Multi-agent support** — Manage skills for Claude Code, Codex, OpenClaw, and custom agent tools from a single tool
|
|
42
|
+
- **Configurable providers** — Define which agent tool directories to scan via `~/.config/agent-skill-manager/config.json`
|
|
34
43
|
- **Global & project scopes** — Filter skills by global (`~/.<tool>/skills/`) or project-level (`./<tool>/skills/`)
|
|
35
44
|
- **Real-time search** — Filter skills by name, description, or provider
|
|
36
45
|
- **Sort** — By name, version, or location
|
|
37
46
|
- **Detailed skill view** — Metadata from SKILL.md frontmatter including provider, path, symlink info
|
|
47
|
+
- **Duplicate audit** — Detect and remove duplicate skills across providers and scopes
|
|
38
48
|
- **Safe uninstall** — Confirmation dialog, removes skill directories, rule files, and AGENTS.md blocks
|
|
39
49
|
- **In-TUI config editor** — Toggle providers on/off, or open config in `$EDITOR`
|
|
50
|
+
- **JSON output** — Machine-readable output for scripting (`--json`)
|
|
40
51
|
|
|
41
52
|
## Install
|
|
42
53
|
|
|
43
|
-
|
|
54
|
+
### npm (recommended)
|
|
55
|
+
|
|
56
|
+
The npm package ships as a pre-built bundle — **no build step required** on install.
|
|
57
|
+
|
|
58
|
+
**Prerequisites:** [Bun](https://bun.sh) >= 1.0.0 (used as the runtime)
|
|
44
59
|
|
|
45
60
|
```bash
|
|
61
|
+
# Install globally via npm
|
|
62
|
+
npm install -g agent-skill-manager
|
|
63
|
+
|
|
64
|
+
# Or via Bun
|
|
46
65
|
bun install -g agent-skill-manager
|
|
47
66
|
```
|
|
48
67
|
|
|
49
|
-
|
|
68
|
+
> **Note:** While the package is installed through npm, it requires the [Bun](https://bun.sh) runtime to execute. Install Bun with: `curl -fsSL https://bun.sh/install | bash`
|
|
69
|
+
|
|
70
|
+
### Quick Install (one command)
|
|
71
|
+
|
|
72
|
+
```bash
|
|
73
|
+
curl -sSL https://raw.githubusercontent.com/luongnv89/agent-skill-manager/main/install.sh | bash
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
Or with wget:
|
|
77
|
+
|
|
78
|
+
```bash
|
|
79
|
+
wget -qO- https://raw.githubusercontent.com/luongnv89/agent-skill-manager/main/install.sh | bash
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
This will automatically install [Bun](https://bun.sh) (if not already installed) and then install `agent-skill-manager` globally.
|
|
83
|
+
|
|
84
|
+
### From Source
|
|
50
85
|
|
|
51
86
|
```bash
|
|
52
|
-
git clone https://github.com/luongnv89/skill-manager.git
|
|
53
|
-
cd skill-manager
|
|
87
|
+
git clone https://github.com/luongnv89/agent-skill-manager.git
|
|
88
|
+
cd agent-skill-manager
|
|
54
89
|
bun install
|
|
55
|
-
bun run
|
|
90
|
+
bun run build # bundle to dist/
|
|
91
|
+
bun run start # run from source (development)
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
### Advanced Options
|
|
95
|
+
|
|
96
|
+
```bash
|
|
97
|
+
# Download and inspect the install script before running
|
|
98
|
+
curl -sSL https://raw.githubusercontent.com/luongnv89/agent-skill-manager/main/install.sh -o install.sh
|
|
99
|
+
less install.sh # review the script
|
|
100
|
+
bash install.sh
|
|
56
101
|
```
|
|
57
102
|
|
|
58
103
|
## Usage
|
|
59
104
|
|
|
105
|
+
### Interactive TUI
|
|
106
|
+
|
|
107
|
+
Launch without arguments to open the interactive terminal UI:
|
|
108
|
+
|
|
109
|
+
```bash
|
|
110
|
+
asm # or: agent-skill-manager
|
|
111
|
+
```
|
|
112
|
+
|
|
113
|
+
### CLI Commands
|
|
114
|
+
|
|
60
115
|
```bash
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
skill-
|
|
116
|
+
asm list # List all discovered skills
|
|
117
|
+
asm search <query> # Search by name/description/provider
|
|
118
|
+
asm inspect <skill-name> # Show detailed info for a skill
|
|
119
|
+
asm uninstall <skill-name> # Remove a skill (with confirmation)
|
|
120
|
+
asm audit # Detect duplicate skills
|
|
121
|
+
asm config show # Print current config
|
|
122
|
+
asm config path # Print config file path
|
|
123
|
+
asm config reset # Reset config to defaults
|
|
124
|
+
asm config edit # Open config in $EDITOR
|
|
64
125
|
```
|
|
65
126
|
|
|
66
|
-
|
|
127
|
+
### Global Options
|
|
128
|
+
|
|
129
|
+
```text
|
|
130
|
+
-h, --help Show help for any command
|
|
131
|
+
-v, --version Print version and exit
|
|
132
|
+
--json Output as JSON (list, search, inspect, audit)
|
|
133
|
+
-s, --scope <scope> Filter: global, project, or both (default: both)
|
|
134
|
+
--sort <field> Sort by: name, version, or location (default: name)
|
|
135
|
+
-y, --yes Skip confirmation prompts
|
|
136
|
+
--no-color Disable ANSI colors
|
|
137
|
+
```
|
|
138
|
+
|
|
139
|
+
### Examples
|
|
140
|
+
|
|
141
|
+
```bash
|
|
142
|
+
# List all global skills sorted by provider location
|
|
143
|
+
asm list --scope global --sort location
|
|
144
|
+
|
|
145
|
+
# Search for skills and output JSON
|
|
146
|
+
asm search "code review" --json
|
|
147
|
+
|
|
148
|
+
# Inspect a specific skill
|
|
149
|
+
asm inspect my-skill
|
|
150
|
+
|
|
151
|
+
# Remove duplicates automatically
|
|
152
|
+
asm audit --yes
|
|
153
|
+
|
|
154
|
+
# Uninstall without confirmation
|
|
155
|
+
asm uninstall old-skill --yes
|
|
156
|
+
```
|
|
157
|
+
|
|
158
|
+
## TUI Keyboard Shortcuts
|
|
67
159
|
|
|
68
160
|
| Key | Action |
|
|
69
161
|
| -------------- | ------------------------------------- |
|
|
@@ -76,12 +168,13 @@ skill-manager --version # Show version
|
|
|
76
168
|
| `s` | Cycle sort: Name → Version → Location |
|
|
77
169
|
| `r` | Refresh / rescan skills |
|
|
78
170
|
| `c` | Open configuration |
|
|
171
|
+
| `a` | Audit duplicates |
|
|
79
172
|
| `q` | Quit |
|
|
80
173
|
| `?` | Toggle help overlay |
|
|
81
174
|
|
|
82
175
|
## Configuration
|
|
83
176
|
|
|
84
|
-
On first run, a config file is created at `~/.config/skill-manager/config.json` with default providers:
|
|
177
|
+
On first run, a config file is created at `~/.config/agent-skill-manager/config.json` with default providers:
|
|
85
178
|
|
|
86
179
|
```json
|
|
87
180
|
{
|
|
@@ -129,7 +222,7 @@ On first run, a config file is created at `~/.config/skill-manager/config.json`
|
|
|
129
222
|
- **Disable providers** — Set `enabled: false` to skip scanning a provider
|
|
130
223
|
- **Preferences** — Set default scope and sort order
|
|
131
224
|
|
|
132
|
-
You can also toggle providers
|
|
225
|
+
You can also manage config from the CLI (`asm config show|path|reset|edit`) or toggle providers in the TUI by pressing `c`.
|
|
133
226
|
|
|
134
227
|
## Supported Agent Tools
|
|
135
228
|
|
|
@@ -144,27 +237,45 @@ Additional tools can be added via the config file.
|
|
|
144
237
|
|
|
145
238
|
## Project Structure
|
|
146
239
|
|
|
147
|
-
```
|
|
148
|
-
skill-manager/
|
|
149
|
-
├── bin/
|
|
150
|
-
│ └── skill-manager.ts
|
|
240
|
+
```text
|
|
241
|
+
agent-skill-manager/
|
|
242
|
+
├── bin/ # CLI entry point (source)
|
|
243
|
+
│ └── agent-skill-manager.ts
|
|
244
|
+
├── dist/ # Built bundle (npm package ships this)
|
|
245
|
+
│ └── agent-skill-manager.js
|
|
246
|
+
├── scripts/
|
|
247
|
+
│ └── build.ts # Build script with version injection
|
|
151
248
|
├── src/
|
|
152
|
-
│ ├── index.ts
|
|
153
|
-
│ ├──
|
|
154
|
-
│ ├──
|
|
155
|
-
│ ├──
|
|
249
|
+
│ ├── index.ts # TUI app bootstrap & keyboard handling
|
|
250
|
+
│ ├── cli.ts # CLI command parser & dispatcher
|
|
251
|
+
│ ├── config.ts # Config loading & saving
|
|
252
|
+
│ ├── scanner.ts # Skill directory scanning & filtering
|
|
253
|
+
│ ├── auditor.ts # Duplicate detection & reporting
|
|
254
|
+
│ ├── uninstaller.ts # Safe skill removal logic
|
|
255
|
+
│ ├── formatter.ts # Output formatting (tables, detail, JSON)
|
|
156
256
|
│ ├── utils/
|
|
157
|
-
│ │ ├── types.ts
|
|
158
|
-
│ │ ├── colors.ts
|
|
159
|
-
│ │
|
|
257
|
+
│ │ ├── types.ts # Shared TypeScript types
|
|
258
|
+
│ │ ├── colors.ts # TUI color palette
|
|
259
|
+
│ │ ├── version.ts # Version constant
|
|
260
|
+
│ │ └── frontmatter.ts # SKILL.md frontmatter parser
|
|
160
261
|
│ └── views/
|
|
161
|
-
│ ├── dashboard.ts
|
|
162
|
-
│ ├── skill-list.ts
|
|
163
|
-
│ ├── skill-detail.ts
|
|
164
|
-
│ ├── confirm.ts
|
|
165
|
-
│ ├──
|
|
166
|
-
│
|
|
167
|
-
|
|
262
|
+
│ ├── dashboard.ts # Main dashboard layout
|
|
263
|
+
│ ├── skill-list.ts # Scrollable skill list
|
|
264
|
+
│ ├── skill-detail.ts # Skill detail overlay
|
|
265
|
+
│ ├── confirm.ts # Uninstall confirmation dialog
|
|
266
|
+
│ ├── duplicates.ts # Duplicate audit overlay
|
|
267
|
+
│ ├── config.ts # In-TUI config editor
|
|
268
|
+
│ └── help.ts # Help overlay
|
|
269
|
+
├── docs/ # Extended documentation
|
|
270
|
+
│ ├── ARCHITECTURE.md # System design & data flow
|
|
271
|
+
│ ├── DEVELOPMENT.md # Local setup & debugging
|
|
272
|
+
│ ├── DEPLOYMENT.md # Publishing & CI pipeline
|
|
273
|
+
│ ├── CHANGELOG.md # Version history
|
|
274
|
+
│ └── brand_kit.md # Logo, colors, typography
|
|
275
|
+
├── assets/
|
|
276
|
+
│ ├── logo/ # SVG logos (full, mark, wordmark, icon, favicon)
|
|
277
|
+
│ └── screenshots/ # TUI screenshots
|
|
278
|
+
├── install.sh # One-command installer (curl | bash)
|
|
168
279
|
├── package.json
|
|
169
280
|
├── tsconfig.json
|
|
170
281
|
└── README.md
|
|
@@ -174,10 +285,24 @@ skill-manager/
|
|
|
174
285
|
|
|
175
286
|
- **Runtime:** [Bun](https://bun.sh) >= 1.0.0
|
|
176
287
|
- **Language:** TypeScript (ESNext, strict mode)
|
|
288
|
+
- **Build:** Bun bundler (ships pre-built via npm)
|
|
177
289
|
- **TUI Framework:** [OpenTUI](https://github.com/nicholasgasior/opentui)
|
|
178
290
|
- **Testing:** Bun test runner
|
|
179
291
|
- **CI:** GitHub Actions + pre-commit hooks
|
|
180
292
|
|
|
293
|
+
## Documentation
|
|
294
|
+
|
|
295
|
+
| Document | Description |
|
|
296
|
+
| ------------------------------------- | ---------------------------------------- |
|
|
297
|
+
| [Architecture](docs/ARCHITECTURE.md) | System design, components, and data flow |
|
|
298
|
+
| [Development](docs/DEVELOPMENT.md) | Local setup, testing, and debugging |
|
|
299
|
+
| [Deployment](docs/DEPLOYMENT.md) | Publishing and CI pipeline |
|
|
300
|
+
| [Changelog](docs/CHANGELOG.md) | Version history |
|
|
301
|
+
| [Brand Kit](docs/brand_kit.md) | Logo, colors, and typography |
|
|
302
|
+
| [Contributing](CONTRIBUTING.md) | How to contribute |
|
|
303
|
+
| [Security](SECURITY.md) | Vulnerability reporting |
|
|
304
|
+
| [Code of Conduct](CODE_OF_CONDUCT.md) | Community guidelines |
|
|
305
|
+
|
|
181
306
|
## Contributing
|
|
182
307
|
|
|
183
308
|
Contributions are welcome! See [CONTRIBUTING.md](CONTRIBUTING.md) for guidelines.
|