@neta-art/neta-search-cli 0.2.23 → 0.2.31

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.
Files changed (3) hide show
  1. package/README.md +5 -0
  2. package/neta-search.mjs +1700 -208
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -10,6 +10,7 @@ npx -y @neta-art/neta-search-cli@latest skills add <id> # insta
10
10
  npx -y @neta-art/neta-search-cli@latest skills list # what's in .agents/skills/, and which installed ones have updates
11
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
12
  npx -y @neta-art/neta-search-cli@latest skills init <name> # scaffold your own skill
13
+ npx -y @neta-art/neta-search-cli@latest skills submit <name> # submit .agents/skills/<name>/ to the hub and wait for the result
13
14
  ```
14
15
 
15
16
  `<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/`.
@@ -18,10 +19,14 @@ npx -y @neta-art/neta-search-cli@latest skills init <name> # scaff
18
19
 
19
20
  `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
21
 
22
+ Every result has a trust level: `platform` (published by the Neta team), `verified` (passed Neta's review) or `community` (shared by a Cohub user, not reviewed). `find --json` items carry it as `trust`, plus `basic: true` for built-in Cohub abilities and `author` for community skills. `use` and `add` say so when a skill is a community one; read those before relying on them.
23
+
21
24
  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
25
 
23
26
  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
27
 
28
+ `submit` publishes one of your skills and works inside a Cohub sandbox only, from a chat started by the space owner: it checks the directory locally (frontmatter, size, symlinks), sends this version, and waits for the result: published (with its digest) or why not. Nothing is shared until you submit: `use` only runs a skill. `submit --withdraw <name>` takes it down again; deleting the directory does not.
29
+
25
30
  Inside a Cohub sandbox the CLI picks up the sandbox identity automatically; elsewhere it runs anonymously.
26
31
 
27
32
  Single file, no runtime dependencies. Node.js 20+.