@agentskillshub/cli 0.2.2 → 0.2.4
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 +9 -7
- package/SKILL.md +6 -6
- package/bin/ash.mjs +11 -11
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#
|
|
1
|
+
# AgentSkillsHub CLI
|
|
2
2
|
|
|
3
3
|
Search, audit, and install open-source AI agent skills & MCP servers from your terminal. Every result is **security-graded** and **quality-scored** by [AgentSkillsHub](https://agentskillshub.top).
|
|
4
4
|
|
|
@@ -8,10 +8,10 @@ npx @agentskillshub/cli search "scrape a website" --safe
|
|
|
8
8
|
|
|
9
9
|
## Why
|
|
10
10
|
|
|
11
|
-
Discovering a skill is easy. Knowing whether it's safe to run against your credentials is not.
|
|
11
|
+
Discovering a skill is easy. Knowing whether it's safe to run against your credentials is not. It puts the trust signal *before* the install:
|
|
12
12
|
|
|
13
13
|
```
|
|
14
|
-
$
|
|
14
|
+
$ npx @agentskillshub/cli search postgres --category mcp-server --limit 2
|
|
15
15
|
|
|
16
16
|
call518/MCP-PostgreSQL-Ops 150★ 🟢 SAFE
|
|
17
17
|
Give AI assistants full PostgreSQL DBA superpowers — 30+ tools…
|
|
@@ -24,12 +24,14 @@ sgaunet/postgresql-mcp 5★ ⚪ UNAUDITED ~23.0k tok
|
|
|
24
24
|
|
|
25
25
|
## Commands
|
|
26
26
|
|
|
27
|
+
Run via `npx @agentskillshub/cli <command>`:
|
|
28
|
+
|
|
27
29
|
| | |
|
|
28
30
|
|---|---|
|
|
29
|
-
| `
|
|
30
|
-
| `
|
|
31
|
-
| `
|
|
32
|
-
| `
|
|
31
|
+
| `search <query> [filters]` | Find skills. Filters: `--category` `--platform` `--min-stars` `--safe` `--limit` |
|
|
32
|
+
| `audit <owner/repo>` | Free basic trust check: security grade + plain-English verdict |
|
|
33
|
+
| `install <owner/repo>` | Install commands + "check before you install" safety line |
|
|
34
|
+
| `update` | Force-refresh the cached index |
|
|
33
35
|
|
|
34
36
|
Add `--json` to any of `search` / `audit` / `install` for machine-readable output.
|
|
35
37
|
|
package/SKILL.md
CHANGED
|
@@ -17,22 +17,22 @@ The catalog is a static index downloaded once and cached locally (`~/.cache/agen
|
|
|
17
17
|
|
|
18
18
|
## How to use
|
|
19
19
|
|
|
20
|
-
|
|
20
|
+
Zero-dependency Node CLI (Node ≥ 18). Run it with `npx`:
|
|
21
21
|
|
|
22
22
|
```bash
|
|
23
23
|
# Search (local fuzzy ranking over name/desc/tags; quality + popularity tiebreak)
|
|
24
|
-
|
|
25
|
-
|
|
24
|
+
npx @agentskillshub/cli search "scrape a website" --safe --limit 5
|
|
25
|
+
npx @agentskillshub/cli search postgres --category mcp-server
|
|
26
26
|
# filters: --category <c> --platform <p> --min-stars <n> --safe --limit <n>
|
|
27
27
|
|
|
28
28
|
# Audit — free basic trust check (security grade + plain-English verdict)
|
|
29
|
-
|
|
29
|
+
npx @agentskillshub/cli audit owner/repo
|
|
30
30
|
|
|
31
31
|
# Install — install commands + a "check before you install" safety line
|
|
32
|
-
|
|
32
|
+
npx @agentskillshub/cli install owner/repo
|
|
33
33
|
|
|
34
34
|
# Force-refresh the cached index
|
|
35
|
-
|
|
35
|
+
npx @agentskillshub/cli update
|
|
36
36
|
```
|
|
37
37
|
|
|
38
38
|
Add `--json` to `search`, `audit`, or `install` for structured output to parse programmatically.
|
package/bin/ash.mjs
CHANGED
|
@@ -335,20 +335,20 @@ function fail(msg) {
|
|
|
335
335
|
process.exitCode = 1;
|
|
336
336
|
}
|
|
337
337
|
|
|
338
|
-
const
|
|
338
|
+
const RUN = "npx @agentskillshub/cli";
|
|
339
|
+
const HELP = `${bold("AgentSkillsHub CLI")} ${dim("· search · audit · install · ~20K skills")}
|
|
339
340
|
|
|
340
|
-
${bold("Usage")}
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
ash --help
|
|
341
|
+
${bold("Usage")} ${dim("(globally installed? `ash <command>` also works)")}
|
|
342
|
+
${RUN} search <query> [--category <c>] [--platform <p>] [--min-stars <n>] [--safe] [--limit <n>] [--json]
|
|
343
|
+
${RUN} audit <owner/repo> [--json]
|
|
344
|
+
${RUN} install <owner/repo> [--json]
|
|
345
|
+
${RUN} update ${dim("force-refresh the cached index")}
|
|
346
346
|
|
|
347
347
|
${bold("Examples")}
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
348
|
+
${RUN} search "scrape a website" --safe
|
|
349
|
+
${RUN} search postgres --category mcp-server --limit 5
|
|
350
|
+
${RUN} audit modelcontextprotocol/servers
|
|
351
|
+
${RUN} install owner/repo
|
|
352
352
|
|
|
353
353
|
${dim("Index is a static CDN file, downloaded once and cached at")} ${CACHE_DIR}
|
|
354
354
|
${dim("Refreshes every 8h. Zero backend load. Set NO_COLOR=1 to disable color.")}`;
|
package/package.json
CHANGED