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.
npx skills add niels-emmer/myace --skill model-routing-policygit clone --depth 1 https://github.com/niels-emmer/myaceWrote 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.
[](https://agentmods.dev/skills/niels-emmer/myace/model-routing-policy)<a href="https://agentmods.dev/skills/niels-emmer/myace/model-routing-policy"><img src="https://agentmods.dev/badge/skills/niels-emmer/myace/model-routing-policy/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.
<a href="https://agentmods.dev/skills/niels-emmer/myace/model-routing-policy"><img src="https://agentmods.dev/badge/skills/niels-emmer/myace/model-routing-policy.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00031 | $0.00886 |
| Opus 5.5 | $0.00012 | $0.00354 |
| Sonnet 5.5 | $0.00006 | $0.00177 |
| Haiku 4.5 | $0.00003 | $0.00089 |
Grade A, and why
Model Routing Policy 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 yesterday.
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.
How it starts
The opening of the file, as written. The whole thing — 88 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Purpose
Not all data may go to all models. This skill defines a small, enforceable classification scheme and maps each class to a routing rule, so an agent can decide where a request is allowed to go before it sends anything — and so the most sensitive work always has a path that never leaves the boundary.
When to use it
Before sending data to any model or external service: a prompt, a file, a log, a database row, customer content, or a document. It applies equally to chat turns, tool calls, embeddings, and summarisation.
Data classes
| Class | Definition | Examples |
|---|---|---|
| PUBLIC | Already public or safe to publish | Open-source docs, public APIs, marketing copy, published standards |
| INTERNAL | Non-public but low harm if exposed | Internal design notes, non-sensitive metrics, internal code without secrets |
| CONFIDENTIAL | Harmful or disruptive if exposed | Customer PII, contracts, unreleased plans, proprietary source, incident details |
| REGULATED | Governed by law or contract | Health, financial, biometric, or government data; anything under a compliance regime |
When a piece of data is ambiguous, classify it as the higher class. A single sensitive field raises the class of the whole payload unless it is removed.
Routing rules
| Class | Allowed destination |
|---|---|
| PUBLIC | Any approved model, including third-party cloud |
| INTERNAL | An approved cloud model with enterprise or zero-retention terms, or a self-hosted model |
| CONFIDENTIAL | Self-hosted or otherwise in-boundary models only — no third-party cloud |
| REGULATED | In-boundary/on-premises models only, never any cloud, with access logged |
"Approved" means the route has been reviewed for the project; availability of a provider is not the same as approval.
The zero-egress path
Keep at least one inference route that makes no outbound network calls to a third party — a model served on the same host or network boundary. Verify it rather than assuming it:
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.
- yesterday Changed c9ac2bad1f34
- 7d ago First seen · 88 lines · 31 tokens per session scan A b47c072a8082
Model Routing Policy is a skill published in the GitHub repository niels-emmer/myace (1 stars, last pushed 2d ago), licensed MIT. It adds 31 tokens to every session and 886 once invoked, about $0.0001 per session on Opus 5.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-11-23.
Model Routing Policy compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| Model Routing Policyniels-emmer/myace | Skill | 1 | 2d ago | MIT | A | 31 | Claude Code, Codex |
| loom-prompt-engineeringcosmix/loom | Skill | 66 | today | MIT | A | 34 | Claude Code |
| developing-genkit-jsgoogle/skills | Skill | 25k | today | Apache-2.0 | A | 76 | Claude Code, Codex |
| agent-platform-prompt-managementgoogle/skills | Skill | 25k | today | Apache-2.0 | A | 55 | Claude Code, Codex |
| huashu-prompt-savealchaincyf/huashu-skills | Skill | 2.4k | yesterday | MIT | A | 48 | Claude Code, Codex |
| ai-image-prompts-skillLeoYeAI/openclaw-master-skills | Skill | 2.2k | 8d ago | MIT | A | 137 | Claude Code, Codex |
| ai-prompt-engineering-safety-reviewLeoYeAI/openclaw-master-skills | Skill | 2.2k | 8d ago | MIT | A | 50 | Claude Code, Codex |