fix: add exact and paginated prefix skill discovery (#2969)

* fix: add exact and prefix skill search modes

* docs: document exact and prefix skill search

---------

Co-authored-by: Patrick Erichsen <patrick.a.erichsen@gmail.com>
This commit is contained in:
Deepak Jain
2026-07-28 18:11:58 -05:00
committed by GitHub
co-authored by Patrick Erichsen
parent 9822af3917
commit 9bceec249e
12 changed files with 444 additions and 9 deletions
+4
View File
@@ -107,6 +107,10 @@ Stores your API token + cached registry URL.
- Output includes the skill slug, owner handle, display name, and relevance score.
- Search favors exact slug/name token matches before download popularity. A standalone slug token such as `map` matches `personal-map` more strongly than the substring inside `amap`.
- Popularity is a small ranking prior, not a guarantee of top placement.
- `--prefix`: lists a deterministic page of matching slugs through `/api/v1/skills`; pass the printed `--cursor` to continue until no cursor remains.
- `--exact`: restricts relevance search to exact slug matches.
- `--prefix` and `--exact` are mutually exclusive.
- `--cursor` is valid only with `--prefix`.
- If a skill should appear but does not, run `clawhub inspect @owner/slug` while logged in to check owner-visible moderation diagnostics before renaming metadata.
### `explore`