domain-expert-router
Domain Expert Router
What this does
This repo (domain-experts) is a growing library of job-role SKILL.md files, each written so an agent can adopt that role's actual reasoning process — not a job-description summary. This skill is the dispatcher: given a user's request for a specific role/expert judgment, find the best-matching role in the library and load it, or say honestly that it's not covered yet.
Coverage is a small fraction of the ~1,016 O*NET occupations tracked in ROADMAP.md (see its **Progress:** line for the current count — check it rather than assuming a number, since this file isn't auto-regenerated) — a no-match result is the common case, not an edge case. Handle it as a first-class outcome, not an afterthought.
Procedure
-
Identify the role being asked for, in plain terms, from the user's request (e.g. "review this contract like a lawyer" → role: contracts lawyer).
-
Find the best match. Run:
npx domain-experts match "<the role/task in plain language>" --json(or, if the CLI isn't available, grep
roles/*/SKILL.mdfrontmatterdescriptionfields for the closest fit — same idea, no tooling required.)