model-complexity-router

model-complexity-router is a skill for Claude Code from Abhillashjadhav/AI-PM-essential-skills. It costs 184 tokens per session (1,162 once invoked), scanned A, original, MIT.

A guide that assesses how difficult a software task is and recommends an appropriate Claude model tier, with optional delegation to a subagent using that tier.

In plain words
What is it for?
Use it when handing over substantial work such as building, fixing, writing, or executing a concrete task, or when deciding which model tier fits it.
Why use it?
It helps match demanding work with deeper reasoning while avoiding the claim that the current session's model can be switched automatically.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions subagents.

Part of the pm-tactical plugin — 5 skills, 3 agents shipped together

Good fit Use it when handing over substantial work such as building, fixing, writing, or executing a concrete task, or when deciding which model tier fits it.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/abhillashjadhav/ai-pm-essential-skills/model-complexity-router
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 Abhillashjadhav/AI-PM-essential-skills --skill model-complexity-router
Clone the repo
git clone --depth 1 https://github.com/Abhillashjadhav/AI-PM-essential-skills

Made for: Claude Code.

Or install pm-tactical, the plugin that ships this one along with the rest of its 5 skills, 3 agents.

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 model-complexity-router

README.md
[![agentmods](https://agentmods.dev/badge/skills/abhillashjadhav/ai-pm-essential-skills/model-complexity-router/github.svg)](https://agentmods.dev/skills/abhillashjadhav/ai-pm-essential-skills/model-complexity-router)
Your own site
<a href="https://agentmods.dev/skills/abhillashjadhav/ai-pm-essential-skills/model-complexity-router"><img src="https://agentmods.dev/badge/skills/abhillashjadhav/ai-pm-essential-skills/model-complexity-router/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 model-complexity-router

Your own site · 80×15
<a href="https://agentmods.dev/skills/abhillashjadhav/ai-pm-essential-skills/model-complexity-router"><img src="https://agentmods.dev/badge/skills/abhillashjadhav/ai-pm-essential-skills/model-complexity-router.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 184 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,162 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.00184 $0.01162
Opus 5 $0.00092 $0.00581
Sonnet 5 $0.00037 $0.00232
Haiku 4.5 $0.00018 $0.00116

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

Security

Grade A, and why

model-complexity-router 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.

pm-tactical/skills/model-complexity-router/SKILL.md · 71 lines

How it starts

The opening of the file, as written. The whole thing — 71 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Model Complexity Router

Classify a concrete task, recommend the right Claude model tier, and optionally delegate execution to a subagent pinned to that tier.

Why this exists

The main session's model cannot be programmatically switched — no hook, skill, or API changes it mid-session. What IS possible: (a) a documented recommendation the user acts on via /model, or (b) delegation to a subagent whose frontmatter pins a model. This skill does both and says so honestly.

Step 1 — Detect the trigger mode

Every time the user hands over a substantial task — a concrete thing to build, fix, write, or execute — this fires silently in the background, in parallel with doing the task. It never blocks or delays the response.

Two modes:

  • Direct ask ("which model should I use", "is this an Opus task", etc.) → full scored breakdown (Step 3a).
  • Task handoff (any other substantial task, proactively) → silent score, one compact line (Step 3b).

If the user gave no concrete task at all (e.g., "which model is best generally?"), stop and ask for the specific task — never classify hypotheticals. Fire once per distinct task: once a line or block has been shown for a task, do not re-emit on every subsequent message about that same task — only when a new, distinct task is handed over.

Step 2 — Score against the rubric

Score the task on four dimensions, each 0–2:

Dimension 0 1 2
Scope Single file/artifact, cosmetic One feature, few files Multi-file, architecture, cross-system
Reasoning depth Mechanical/pattern-match Some judgment, known patterns Novel tradeoffs, ambiguity, design decisions
Error cost Trivially reversible Rework hours Wrong answer compounds (prod, money, public)
Context load Fits in one prompt Needs a few files Needs large context synthesis

Total 0–8. Map: 0–2 → Haiku, 3–5 → Sonnet, 6–8 → Opus.

Floor rule: if Error cost = 2, the recommendation can never be Haiku — floor at Sonnet. (Error cost is already in the total; do not bump the tier a second time.)

Read the full file on GitHub · 71 lines

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 · 71 lines · 184 tokens per session scan A 8bcc6455feb3

Subscribe to this mod's changes

model-complexity-router is a skill published in the GitHub repository Abhillashjadhav/AI-PM-essential-skills (3 stars, last pushed 9d ago), licensed MIT. It adds 184 tokens to every session and 1,162 once invoked, about $0.0009 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.