domain-routing
Skill9 starsChanged 6 months agoMITView on GitHub
Use when deciding where a knowledge card should live in the knowledge tree, choosing a major domain and subdomain, designing routing policy, or diagnosing why a card was routed to the wrong folder. Reads the repository routing guide and policy before deciding.
In this repository3 other files it gives its agents.
- .github/copilot-instructions.mdCopilot instructions
- paper-analysisSkill
- paper-workflowSkill
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 5 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Use this skill when you need to decide or review where knowledge cards should be stored.
- Distinctive: line 12
Always read these files first:
- Distinctive: line 27
Use a subdomain only when it is clearly justified.
- Distinctive: line 28
Prefer existing subdomains over creating new ones.
- Distinctive: line 29
If the major domain is clear but no subdomain is a strong fit, route to the major-domain root.
- Very specific: line 30
Avoid general unless no clearer category is defensible.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Domain Routing Skill
Use this skill when you need to decide or review where knowledge cards should be stored.
Canonical Sources
Always read these files first:
src/scholar_agent/schemas/domain_routing_guide.mdsrc/scholar_agent/schemas/domain_routing_policy.json
Goal
Route cards into:
knowledge/<major_domain>/<card>.mdknowledge/<major_domain>/<subdomain>/<card>.md
Rules
- Pick the major domain first.
- Use a subdomain only when it is clearly justified.
- Prefer existing subdomains over creating new ones.
- If the major domain is clear but no subdomain is a strong fit, route to the major-domain root.
- Avoid
generalunless no clearer category is defensible.
Expected Output
Return:
- chosen major domain
- chosen subdomain, or an empty string when the card should live at the major-domain root
- concise reason
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

