@neta-art/neta-search-cli 0.2.16 → 0.2.20
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 +13 -9
- package/neta-search.mjs +393 -244
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -3,21 +3,25 @@
|
|
|
3
3
|
Command-line client for **neta-search**, the skill registry of the Cohub / Neta platform: search the ecosystem for a ready-made skill, try it without installing, or install it into your space.
|
|
4
4
|
|
|
5
5
|
```bash
|
|
6
|
-
npx -y @neta-art/neta-search-cli@
|
|
7
|
-
npx -y @neta-art/neta-search-cli@
|
|
8
|
-
npx -y @neta-art/neta-search-cli@
|
|
9
|
-
npx -y @neta-art/neta-search-cli@
|
|
10
|
-
npx -y @neta-art/neta-search-cli@
|
|
11
|
-
npx -y @neta-art/neta-search-cli@
|
|
12
|
-
npx -y @neta-art/neta-search-cli@
|
|
6
|
+
npx -y @neta-art/neta-search-cli@latest skills find "generate video" # search (Chinese or English)
|
|
7
|
+
npx -y @neta-art/neta-search-cli@latest skills find "browser automation" --json
|
|
8
|
+
npx -y @neta-art/neta-search-cli@latest skills use <id> # print the SKILL.md (pulled into a temp dir; no project files written)
|
|
9
|
+
npx -y @neta-art/neta-search-cli@latest skills add <id> # install into .agents/skills/
|
|
10
|
+
npx -y @neta-art/neta-search-cli@latest skills list # what's in .agents/skills/, and which installed ones have updates
|
|
11
|
+
npx -y @neta-art/neta-search-cli@latest skills update # update installed skills to their current release (or name some: handle, id or directory)
|
|
12
|
+
npx -y @neta-art/neta-search-cli@latest skills init <name> # scaffold your own skill
|
|
13
13
|
```
|
|
14
14
|
|
|
15
|
-
`<id>`
|
|
15
|
+
`<id>` is what `find` prints: a handle such as `neta-skills/holo-pack-opening` or `cohub/agent-browser`. Skills without a handle are listed as `cohub:<spaceId>/<name>`, which works everywhere a handle does. `update` and `remove` also accept the directory name under `.agents/skills/`.
|
|
16
16
|
|
|
17
|
-
`
|
|
17
|
+
`remove` deletes installed skills only. Skills you wrote yourself (no install record) are left alone unless you pass `--force`.
|
|
18
18
|
|
|
19
19
|
`use` prints the skill directory and the full SKILL.md, so an agent can follow it right away; relative paths in SKILL.md resolve against that directory. If the local entry is a pointer (frontmatter `metadata.neta-skill-id`), `use` fetches the full skill it points to.
|
|
20
20
|
|
|
21
|
+
Each `find --json` item carries a ready-to-run `use` command (`skills use <id> --via find`); prefix it with `npx -y @neta-art/neta-search-cli@latest` or `neta-search`. `--via` only labels where the use came from in usage stats.
|
|
22
|
+
|
|
23
|
+
Use `@latest` (or an exact version): with a range such as `@0.2`, npx keeps running whatever matching version it cached earlier and never checks for a newer one.
|
|
24
|
+
|
|
21
25
|
Inside a Cohub sandbox the CLI picks up the sandbox identity automatically; elsewhere it runs anonymously.
|
|
22
26
|
|
|
23
27
|
Single file, no runtime dependencies. Node.js 20+.
|