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 yzhao062/anywhere-agents --skill agent-modelsgit clone --depth 1 https://github.com/yzhao062/anywhere-agentsWrote 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/yzhao062/anywhere-agents/agent-models)<a href="https://agentmods.dev/skills/yzhao062/anywhere-agents/agent-models"><img src="https://agentmods.dev/badge/skills/yzhao062/anywhere-agents/agent-models/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/yzhao062/anywhere-agents/agent-models"><img src="https://agentmods.dev/badge/skills/yzhao062/anywhere-agents/agent-models.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.00095 | $0.04077 |
| Opus 5.5 | $0.00038 | $0.01631 |
| Sonnet 5.5 | $0.00019 | $0.00815 |
| Haiku 4.5 | $0.00010 | $0.00408 |
Grade B, and why
agent-models scanned grade B with 1 finding 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 6d 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.
Reads agent configuration directoriesmediumAgent snooping
.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.
| Claude interactive | `user/settings.json` carries `model`, `effortLevel`, and the env entry `CLAUDE_CODE_EFFORT_LEVEL`; `agent_models.py render` keeps them equal to the registry, and bootstrap merges the file into `~/. How it starts
The opening of the file, as written. The whole thing — 122 lines — stays where its author put it; the contents beside it link to each section on GitHub.
agent-models
Overview
One file names the model and effort of every agent: user/agent-models.json, the registry. One script reads it: scripts/agent_models.py, the resolver. Nothing else in a source repository or a consumer names a concrete model or effort. A dispatcher asks the resolver at run time, and bootstrap writes the interactive values into each tool's own config.
This skill does not repeat the values. Run show to see them.
Find the resolver at scripts/agent_models.py in a source repository (agent-config, anywhere-agents) and at .agent-config/repo/scripts/agent_models.py in a consumer. Run it with the project's Python (.agent-config/repo/scripts/_python or ~/.claude/hooks/_python finds one). The commands are the same under Claude Code, Codex, and any other agent, on macOS, Linux, and Windows.
The rules
- One row per family. The registry has a row for
claude,codex, andagy, and an optional row forgrok. Every role of a family runs on that row unless the registry lists an override for the role. The advisor is the one role that never inherits it. - Roles.
interactiveis the session a person types into.reviewercovers every review: a/vetreviewer, a venue or proposal review panel, an internal-review audit.workeris a Claude subagent or Workflow agent that does fan-out work.prun-workeris a unitprunruns.premiumis optional: a model whose plan allowance is small, for a writing task or another task the user decides is worth it. Nothing dispatches to it automatically, and every task works without it.advisoris the model Claude Code's advisor tool consults. It is optional, listsclaudeonly, and carries a model with no effort. See "Use the advisor row". A role other than the advisor with no override equals the family row, so a review runs on the same model and effort as the interactive session by default. - Exceptions are listed, never implied. An override exists only as an entry under
rolesin the registry. If a role should differ from its family, add the entry there; do not put a value in a script, a skill, or a rule file. - No literal outside the registry. Code resolves at run time. Prose states the rule and points here.
tests/test_agent_models.pyscans the tracked files and fails on a concrete model name or effort value outside the registry, the changelog, archived records, and test fixtures. A line that must quote one (a past measurement, a parser example) carries the markeragent-models: allow. - Per-run overrides stay possible.
CODEX_DISPATCH_MODEL,CODEX_DISPATCH_REASONING,ANTIGRAVITY_DISPATCH_MODEL,ANTIGRAVITY_DISPATCH_EFFORT,GROK_DISPATCH_MODEL, andGROK_DISPATCH_EFFORTchange one run and outrank the registry. They are for a single run, not a place to keep a default. The Antigravity and Grok variables are read by both/vetandprun. - Effective, not configured. A value counts only when the CLI reports it ran on that value. Every dispatcher records the requested and the actual model and effort, and prints
MODEL-MISMATCHwhen they differ. See "Check that it took effect".
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 6d ago Changed 80e87bc2ffab
- 13d ago Changed 198bd19e55c7
- 15d ago Changed · +13 lines · +4 tokens per session 2be917976d9b
- 17d ago Changed · +1 lines 89be9deb8323
- 18d ago First seen · 108 lines · 91 tokens per session scan B a327639b1c4c
agent-models is a skill published in the GitHub repository yzhao062/anywhere-agents (264 stars, last pushed today), licensed Apache-2.0. It adds 95 tokens to every session and 4,077 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-12.
agent-models compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| agent-modelsyzhao062/anywhere-agents | Skill | 264 | today | Apache-2.0 | B | 95 | Codex |
| detecting-typosquatting-packages-in-npm-pypiadriannoes/awesome-agentic-ai | Skill | 108 | 2d ago | MIT | A | 132 | Claude Code, Codex |
| detecting-typosquatting-packagesadriannoes/awesome-agentic-ai | Skill | 108 | 2d ago | MIT | A | 66 | Claude Code, Codex |
| detecting-dependency-confusionadriannoes/awesome-agentic-ai | Skill | 108 | 2d ago | MIT | A | 24 | Claude Code, Codex |
| bumblebeeaboalrejal-ai/skills | Skill | 1 | 3mo ago | MIT | B | 29 | Claude Code, Codex |
| performing-supply-chain-attack-simulationxalgorix/xalgorix | Skill | 1.5k | yesterday | Apache-2.0 | A | 54 | Claude Code, Codex |
| pi-ralph-wiggumtmustier/pi-extensions | Skill | 506 | 3d ago | MIT | A | 49 | Claude Code, Codex |