bb-model-routing

bb-model-routing is a skill for Codex from hxy91819/mason-skills. It costs 114 tokens per session (5,805 once invoked), scanned A, original, MIT.

A task-dispatching skill that sends explicitly requested work to another configured coding agent or thread. It chooses a difficulty and task type, while using the user's configured tools and models.

In plain words
What is it for?
It is for delegating simple, medium, complex, or debugging tasks, optionally previewing a dispatch, and isolating concurrent work in a separate worktree when needed.
Why use it?
It removes the need to manually prepare dispatch commands and keeps model, provider, permission, and environment choices tied to configuration. It also reports missing configuration or unavailable routes instead of silently switching.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: mentions subagents; mentions Codex; $skill-name invocation.

Good fit It is for delegating simple, medium, complex, or debugging tasks, optionally previewing a dispatch, and isolating concurrent work in a separate worktree when needed.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/hxy91819/mason-skills/bb-model-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 hxy91819/mason-skills --skill bb-model-routing
Clone the repo
git clone --depth 1 https://github.com/hxy91819/mason-skills

Made for: 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 bb-model-routing

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/hxy91819/mason-skills/bb-model-routing"><img src="https://agentmods.dev/badge/skills/hxy91819/mason-skills/bb-model-routing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 114 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,805 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.00114 $0.05805
Opus 5.5 $0.00046 $0.02322
Sonnet 5.5 $0.00023 $0.01161
Haiku 4.5 $0.00011 $0.00581

Measured today against content hash 7f761146fe9d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

bb-model-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 today.

The scan reads SKILL.md. This mod also ships 4 executable files (scripts/check_codex_quota_fast.py, scripts/test_check_codex_quota_fast.py, scripts/test_concurrency.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

common-skills/bb-model-routing/SKILL.md · 119 lines

How it starts

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

BB 任务派发

派发入口

Agent 自行决定使用 subagent,或用户只要求“用 subagent 检查一下”时,沿用宿主默认机制。查看或继续已有线程沿用现有上下文。

为用户已要求的任务调用 scripts/bb-dispatch。工具别名、模型、推理级别和环境映射以用户配置为准。派发前确认配置文件存在,bb-dispatch 报“无法读取配置”时也先核对该路径:文件确实不存在才进入 bootstrap,按首次配置引导边汇报进度边检测可用 provider 与模型,给出建议配置,经用户确认后写入并 dry-run 验证,再回到派发;文件存在但读不了是配置损坏,报告并修复,不新建覆盖。调整已有映射时读取配置与派发。参数细节查 bb-dispatch --help。

判断与调用

难度只量一件事:任务的不确定性,即子线程开工时还不知道、必须自己弄清或裁决的东西。工作量、文件数、测试数、任务描述篇幅、“需要完整验证”,以及风险高低、缺陷级别、操作哪个环境、任务多重要、预算多宽,都在这个维度之外:当前模型能可靠执行高风险操作,风险由任务里的授权范围和审查规则控制。

每个任务单独判断,同一批任务也逐个归档:

  1. 用一句话说出任务的最大未知:按父 agent 掌握的实际情况,子线程拿到任务时还不知道、必须自己弄清或裁决的那件事。

  2. 按最大未知归档。默认派 simple。拿不准时把最大未知说得更具体再对照,仍落在两档之间就取低一档:

    • simple:子线程能在已写明的范围内做完。说不出还要裁决的未知时归这里:做什么、改哪里、怎么算完成都已写进任务文本,失败了就修到测试通过。有边界、父线程不必先消化掉的未知也归这里:要回答的问题已经圈定的调研或设计;缺陷可复现、范围已圈定到某条链路或几个模块,根因尚未定位;按既定流程,或第一次跑但有备份或回滚手段的部署、发布与合并。典型还有按明确说明实现功能(代码量可以很大)、编写或执行既有测试、机械迁移、同步文档与配置。
    • medium:只留给三类,不因工作量、风险或“还有未知”升档。(1) 同一任务的 simple 失败、反复返工或产出需要大量纠正,用 --escalate-from 升档重派。(2) 测试通过不等于做对:并发、锁与崩溃恢复;租户或安全隔离边界;发布签字,以及当必审改动的唯一审查人。(3) 父线程连验收标准都写不出来,说不出怎样算做完。
    • complex:最大未知没有边界,任务本身又跨多个系统:根因连出在哪个系统都不知道;要在父 agent 尚未裁决的多个可行方案之间做跨系统的设计或架构取舍;父 agent 自己解决不了、要请专家咨询(Oracle)或裁决互相矛盾的结论(Judge)。检验无边界:父 agent 说不出最大未知落在哪个系统或哪条链路,也列不出候选方案;能说出其一就有边界,不归 complex。跨多个系统只是 complex 的前提。

    下限:只有第 2 类至少 medium,不归 simple。这类任务测试通过不等于做对——并发交错、恢复路径、隔离泄漏、把部分成功写成整项通过都不会体现在测试结果里。按固定命令或清单核对、如实报告结果的验证仍是 simple(编排后端里 Validator 固定 simple 与此一致);要综合多份证据下“可以签字或发布”的结论,或当必审改动的唯一审查人,才至少 medium。可复现、范围已圈定的缺陷定位不是这一类。

  3. 只有一部分属于上面的 medium 三类时,把已闭合的实现、文档或固定清单验收拆出去按 simple 派,medium 部分单独归档。

常见任务的对照:

  • 调研或设计文档,要回答的问题已经圈定:simple。
  • 缺陷定位或修复:可复现、范围已圈定是 simple,根因可以还不知道;根因已定位的修复也是 simple。
  • 在测试环境实测、缺陷只记录,包括要自己构造场景:问题或清单已圈定是 simple。
  • 构造制品、发布、部署或合并:按既定流程,或第一次跑但有备份或回滚,是 simple。
  • 按固定规则扫描、比对或补登记(历史、配置、清单):simple。
  • 审查:需求与验收条件明确的都是 simple,包括闭合改动、修复后的增量补审和跨模块状态机的深度审查。发布签字,或当必审改动的唯一审查人,是 medium。
  • 父线程写不出怎样算做完:medium。
  • 多个服务联动出错,没有复现也没有报错,不知道在哪一层:complex。

Read the full file on GitHub · 119 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. today Changed · -1 lines · +44 tokens per session 7f761146fe9d
  2. 11d ago Changed · +5 lines 627da3bd8d42
  3. 13d ago Changed 6473e520fa49
  4. 16d ago Changed 7ee4e3910f48
  5. 18d ago Changed · +2 lines 4308faa935cd
  6. 19d ago Changed · +7 lines 665896ffdc49
  7. 23d ago Changed · +5 lines · -6 tokens per session 40719d5268b8
  8. 24d ago Changed · +13 lines · +20 tokens per session b774c6693ba5
  9. 26d ago Changed e74451ff2466
  10. 29d ago First seen · 88 lines · 56 tokens per session scan A eae86babbb3c

Subscribe to this mod's changes

bb-model-routing is a skill published in the GitHub repository hxy91819/mason-skills (3 stars, last pushed today), licensed MIT. It adds 114 tokens to every session and 5,805 once invoked, about $0.0005 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-09-08.

Related

bb-model-routing compared with skills from other repositories

bb-model-routing next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
bb-model-routinghxy91819/mason-skillsSkill3todayMITA114Codex
orbit-notionnexu-io/open-designSkill107ktodayApache-2.0A117Claude Code, Codex
agentmailpaperclipai/paperclipSkill112ktodayMITA30Claude Code, Codex
Cortexdanielmiessler/LifeOSSkill20k2d agoMITA184Claude Code
rowboat-spacesrowboatlabs/rowboatSkill18kyesterdayApache-2.0A60Claude Code, Codex
feishuHmbown/CodeWhaleSkill41ktodayMITA33Claude Code, Codex
pinchtab-mcppinchtab/pinchtabSkill11k11d agoMITA52Claude Code, Codex