route_skill
Route natural language prompts to matching agent skills using hybrid BM25 and dense embeddings, with local CPU execution and zero LLM context usage.
Instructions
Route natural language prompts to matching agent skills using hybrid BM25 and dense embeddings. Behavior: Read-only local CPU execution in sub-20ms with zero LLM context tokens. Usage Guidelines: Primary entry point. Use route_skill to match task prompts against skills. Use list_skills to browse skills without a prompt, get_skill for known IDs, or scan_skills to refresh index. Parameters: prompt is the required query; topK (1-10, default 3) sets result limit; host filters environment; explain enables scoring breakdown signals.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | No | Optional host environment filter to restrict matches to a specific AI tool (e.g. cursor, antigravity, claude-code, gemini-cli, hermes, codegate, openclaw, openmanus, lmstudio, ollama). | |
| topK | No | Maximum number of top-matching skills to return. Valid integer range: 1 to 10 (default: 3). | |
| prompt | Yes | The natural language user prompt, coding task, or question to route to relevant skills (required, non-empty string). | |
| explain | No | When true, includes scoring breakdown signals (exact match score, BM25 lexical score, vector semantic similarity). Default: false. |