domain-routing

domain-routing is a skill for Claude Code, Codex from zfy465914233/scholar-agent. It costs 51 tokens per session (265 once invoked), scanned A, original, MIT.

A guided exercise for turning a founder's intentions for a new project, business, or major change into a short written statement.

In plain words
What is it for?
Use it at the start of a project or when deliberately revising its direction. It writes a north-star document and a detailed record of the interview and drafts.
Why use it?
It creates a shared reference for what the project is, why it exists, who it serves, and how later work should stay aligned.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it at the start of a project or when deliberately revising its direction. It writes a north-star document and a detailed record of the interview and drafts.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/zfy465914233/scholar-agent/domain-routing
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add zfy465914233/scholar-agent --skill domain-routing
Clone the repo
git clone --depth 1 https://github.com/zfy465914233/scholar-agent

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for domain-routing

README.md
[![agentmods](https://agentmods.dev/badge/skills/zfy465914233/scholar-agent/domain-routing/github.svg)](https://agentmods.dev/skills/zfy465914233/scholar-agent/domain-routing)
Your own site
<a href="https://agentmods.dev/skills/zfy465914233/scholar-agent/domain-routing"><img src="https://agentmods.dev/badge/skills/zfy465914233/scholar-agent/domain-routing/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for domain-routing

Your own site · 80×15
<a href="https://agentmods.dev/skills/zfy465914233/scholar-agent/domain-routing"><img src="https://agentmods.dev/badge/skills/zfy465914233/scholar-agent/domain-routing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 51 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 265 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00051 $0.00265
Opus 5 $0.00026 $0.00133
Sonnet 5 $0.00010 $0.00053
Haiku 4.5 $0.00005 $0.00026

Measured 11d ago against content hash fce22873843f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

domain-routing scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.github/skills/domain-routing/SKILL.md · 38 lines

What it actually says

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.md
  • src/scholar_agent/schemas/domain_routing_policy.json

Goal

Route cards into:

  • knowledge/<major_domain>/<card>.md
  • knowledge/<major_domain>/<subdomain>/<card>.md

Rules

  1. Pick the major domain first.
  2. Use a subdomain only when it is clearly justified.
  3. Prefer existing subdomains over creating new ones.
  4. If the major domain is clear but no subdomain is a strong fit, route to the major-domain root.
  5. Avoid general unless 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
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 38 lines · 51 tokens per session scan A fce22873843f

Subscribe to this mod's changes

domain-routing is a skill published in the GitHub repository zfy465914233/scholar-agent (9 stars, last pushed 4d ago), licensed MIT. It adds 51 tokens to every session and 265 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.