agent-model-selection

agent-model-selection is a skill for Claude Code, Codex from AllanWessels/Bratan. It costs 32 tokens per session (672 once invoked), scanned A, original, no licence file.

A skill for choosing a model explicitly when sending work to sub-agents. Sub-agents are separate agent processes that handle delegated tasks.

In plain words
What is it for?
Use it when dispatching sub-agents so simpler tasks can use suitable models and stronger models can be reserved for genuinely difficult work.
Why use it?
It avoids automatically giving every delegated task the parent's default model, which can use a stronger and more costly model than needed.

Skill for Claude CodeCodex

Which agent this was written for is unclear — body not stored (licence); the path alone says nothing.

Good fit Use it when dispatching sub-agents so simpler tasks can use suitable models and stronger models can be reserved for genuinely difficult work.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/allanwessels/bratan/agent-model-selection
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 AllanWessels/Bratan --skill agent-model-selection
Clone the repo
git clone --depth 1 https://github.com/AllanWessels/Bratan

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 agent-model-selection

README.md
[![agentmods](https://agentmods.dev/badge/skills/allanwessels/bratan/agent-model-selection/github.svg)](https://agentmods.dev/skills/allanwessels/bratan/agent-model-selection)
Your own site
<a href="https://agentmods.dev/skills/allanwessels/bratan/agent-model-selection"><img src="https://agentmods.dev/badge/skills/allanwessels/bratan/agent-model-selection/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 agent-model-selection

Your own site · 80×15
<a href="https://agentmods.dev/skills/allanwessels/bratan/agent-model-selection"><img src="https://agentmods.dev/badge/skills/allanwessels/bratan/agent-model-selection.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 32 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 672 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin unknown 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.00032 $0.00672
Opus 5.5 $0.00013 $0.00269
Sonnet 5.5 $0.00006 $0.00134
Haiku 4.5 $0.00003 $0.00067

Measured 2mo ago against content hash f14eaa7145e7, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

agent-model-selection scanned grade A 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 2mo 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

model: "sonnet" # fast, cheap — use for: test runs, file reads, curl checks,
docs/build-skills/agent-model-selection/SKILL.md · 77 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

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. 2mo ago First seen · 77 lines · 32 tokens per session scan A f14eaa7145e7

Subscribe to this mod's changes

agent-model-selection is a skill published in the GitHub repository AllanWessels/Bratan (2 stars, last pushed 3mo ago), with no licence file. It adds 32 tokens to every session and 672 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

managing-mcp-servers

Use when the user asks to add, change, remove, enable or disable an MCP server, or when an MCP tool is missing, needs sign-in, fails, or was blocked. ThinkRail runs pi in-process, so there is no pi command to call.

JetBrains/thinkrail · 62 tokens

todos

Use when the user asks for a shared plan, a task needs at least three substantive execution steps, or a loose TODO is pending. Without an explicit plan request, not for one-shot answers or checks, or one- to two-step work that is not already in the list.

JetBrains/thinkrail · 58 tokens

writing-workflow-skills

Use when adding a new workflow skill to pi-thinkrail-workflow, changing an existing workflow skill's role, trigger, handoff, or structure, or checking a workflow skill against the workflow system's rules. Not for authoring general-purpose skills outside this package.

JetBrains/thinkrail · 60 tokens

writing-specs

Use when a workflow step drafts or revises a spec artifact — a goal-and-requirements, an architecture, or a module SPEC — or when a workflow skill names it at such a step. The shared quality bar for specs — not a workflow, nothing to execute.

JetBrains/thinkrail · 59 tokens

output-standards

Use this skill when defining or enforcing output formatting standards for agent responses in WrongStack. Triggers: user says "next steps format", "output standard", "response format", "final message format", "standardize next steps".

WrongStack/WrongStack · 52 tokens

web-platform-baseline

Use this skill before asserting that a CSS, HTML or accessibility capability is available, unavailable, or the right tool — it carries dated, refreshable platform facts and refuses to let stale knowledge be stated as current. Triggers: user says "container query", "can I use", "browser support", "modern CSS", ":has"…

WrongStack/WrongStack · 110 tokens