skillmesh
Retrieve the most relevant SkillMesh cards from a registry and inject a Codex-ready context block before coding. Use when a task spans many domains and you want top-K routing instead of loading the full skill catalog.
How to use
- Ask:
Route this request with SkillMesh: <your task> - Run the router script to emit routed context.
- Continue the task using only the returned top-K cards.
Command
Use scripts/route.sh (or scripts/route.py) to emit context:
scripts/route.sh --provider codex --registry <path> --query "<query>" --top-k 5
Role Commands
List available roles and install a role bundle (role card + missing dependency cards):
skillmesh roles
skillmesh roles list
skillmesh Data-Analyst install
skillmesh roles install Data-Analyst
Use --dry-run to preview install changes.
If skillmesh is not on PATH, use:
scripts/roles.sh (interactive)
Parameters
--registry: Registry file path (tools.yaml,tools.json, orroles.registry.yaml).--provider:codex(default) orclaude.--top-k: Number of cards to retrieve (default5).--backend:auto,memory, orchroma(defaultauto).--dense: Enable optional dense reranking.--instruction-chars: Max instruction chars per expert (default700).--query: User request text.
Notes
- If
--registryis omitted, the router usesSKILLMESH_REGISTRY. - If
skillmeshis not onPATH, the router falls back topython -m skill_registry_rag.