discover
Search agent skills by task to find ranked matches, using a local catalog that indexes host skill directories for repeated queries.
Instructions
Search Agent Skills by task, including known skills and declared relationships. The first search prepares a local catalog from supported host skill directories. workspace and host_homes select task/profile context when it differs from the server. Repeated searches read the snapshot; index_skills explicitly refreshes it. Writes only Capalith's catalog, never sources or host settings; does not load or activate skills.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum results per page. | |
| query | Yes | Natural-language task to search for. | |
| offset | No | Number of results to skip. | |
| view_id | No | View ID returned by an earlier page of the same search. | |
| workspace | No | Absolute task workspace; falls back to CLAUDE_PROJECT_DIR, then server cwd. | |
| host_homes | No | Known absolute host config homes, not installation or skill paths. Overrides filtered environment values; omitted keys use the server environment. | |
| source_ids | No | Sources to search, in priority order. | |
| source_paths | No | Absolute skill directories selected by the user or task. | |
| extra_source_paths | No | User-added absolute skill directories alongside host defaults, after them in priority. Replaces previous additions; [] clears them. Omit to retain. Cannot be combined with source_paths, which selects only explicit roots. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||