Thinking Model Router logo

Thinking Model Router

CommunityPopular
tjboudreaux
thinking-model-router

When unsure which thinking skill fits, map domain and problem type, then return NONE or one primary skill by default (at most three complementary).

Overview

Publishertjboudreaux
Repositorycc-thinking-skills
Skill namethinking-model-router
Stars
1.3K
Forks
158
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by tjboudreaux on GitHub. Read the source before you install it.

Installation

Install the Thinking Model Router AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/tjboudreaux/cc-thinking-skills.git /tmp/cc-thinking-skills
mkdir -p .claude/skills
cp -r /tmp/cc-thinking-skills/skills/thinking-model-router .claude/skills/thinking-model-router
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Thinking Model Router in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Thinking Model Router on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Thinking Model Router is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Model Router

Core rule: Prefer NONE or one primary skill. Route by mechanism fit, not habit. Combine only when roles are distinct and necessary.

When to Use

  • The right thinking skill is unclear and you would otherwise guess or stack tools.
  • Several catalog skills seem plausible and you need a single primary (or explicit NONE).
  • High-stakes work where a wrong frame is costly and a quick domain×type match helps.

When NOT to Use

  • The match is already known or obvious ("where's the bottleneck?" → theory-of-constraints) — invoke that skill directly; do not route for show.
  • The task is routine implementation with no analytical unknown — reason directly (NONE).
  • You are mid-execution of an agreed plan and only need the next concrete step.
  • The ask is outside this catalog (pure coding syntax, tool ops with no judgment call) — NONE.

Invoking a Model (Skill IDs)

The router outputs bare slugs (e.g. id: five-whys-plus). Invoke a routed skill with the Skill tool using the exact ID thinking-skills:thinking-<slug> — never invent a slug not cited in Procedure. NONE means no invocation.

Procedure

  1. Short-circuit. If one skill clearly fits by mechanism, return that skill alone. If no skill clearly improves the work, return NONE and reason directly. Stop.
  2. Characterize. Record domain (coding, architecture, product, strategy, personal, abstract, risk, innovation) and problem type (diagnose, decide, understand, create, evaluate, predict, optimize). Note constraints: time, information, stakes, reversibility, complexity.
  3. Candidate by type defaults (override when constraints demand). Keep only active catalog skills:
    • Diagnose → five-whys-plus or scientific-method (kepner-tregoe if IS/IS-NOT matrix needed)
    • Decide → reversibility first; then opportunity-cost or probabilistic
    • Understand → systems (map-territory if model-vs-reality gap; cynefin if approach domain unclear)
    • Create → first-principles (triz for contradictions; effectuation for means-driven; via-negativa for remove-first)
    • Evaluate → steel-manning (socratic if assumptions/definitions are the unknown)
    • Predict → probabilistic
    • Optimize → theory-of-constraints (ooda under time pressure; bounded-rationality for search stop)
    • Risk / "what fails?" → pre-mortem or red-team; margin-of-safety for buffers
    • Product "what to build?" → jobs-to-be-done
    • Competence / durability → circle-of-competence, lindy-effect
    • Controlled hypothetical → thought-experiment
    • Multi-lens only after one primary fails a blind-spot check → model-combination
  4. Select with criteria (satisficing). Score only if 2+ candidates remain or stakes make a forced default unsafe. Rate each criterion 1–5 (1 = absent/wrong fit; 3 = usable with gaps; 5 = direct fit): problem fit (30%), available inputs (20%), time to apply (15%), stakeholder usability (15%), competence to apply correctly (20%). A route must score problem fit ≥4 and weighted total ≥3.5; otherwise return NONE. For totals within 0.25, prefer fewer inputs and shorter execution; if still tied, choose NONE unless the skills answer distinct complementary questions.
  5. Multi-skill only as exception. Add a second or third skill only when each has a distinct complementary role the primary leaves open. Cap at three. Prefer sequential over parallel. Near-neighbors and synonyms do not stack. For composition patterns, hand off to model-combination after naming the primary.
  6. Exit. State abandon signals (forced fit, ignored factors, no insight ~15 minutes). On mismatch, re-route once or fall back to NONE — never force a frame.

Domain cheat-map (primary first; still default to one or NONE):

Domain signalPrefer
Bug / root cause / flakyfive-whys-plus, scientific-method, systems
Architecture / tech choicereversibility, systems, lindy-effect, opportunity-cost
Feature / roadmap / engagementjobs-to-be-done, opportunity-cost, theory-of-constraints
Strategy / competition / growthcynefin, systems, red-team, second-order
Personal / career commitmentopportunity-cost, reversibility, circle-of-competence, pre-mortem
Argument / belief updatesteel-manning, probabilistic, socratic, first-principles
Security / disaster / ruinpre-mortem, red-team, margin-of-safety, via-negativa
Innovation / contradiction / simplifyfirst-principles, triz, effectuation, via-negativa

Output

text
outcome: NONE | one | multi
routes:
  - id: <primary skill id or NONE>
    role: <job this skill performs>
    unique_question: <question only this route answers>
  - id: <secondary skill id, only for multi>
    role: <distinct complementary job>
    unique_question: <distinct open question>
  - id: <tertiary skill id, only for multi>
    role: <distinct complementary job>
    unique_question: <distinct open question>
domain: <domain>
problem_type: <type>
constraints: <time/info/stakes/reversibility>
rationale: <mechanism fit in one sentence>
blind_spots: <what primary still ignores, if any>
exit: <when to abandon or re-route>

Default fill: outcome: NONE with one id: NONE route, or outcome: one with one route. Use multi only when every listed skill has a distinct role and unique question.

Verification

  • Falsify / stop: If the route is habit or familiarity rather than mechanism fit, discard and re-score or return NONE. If multi-skill entries lack distinct roles, collapse to the single best primary. If no candidate clearly helps, NONE is correct — do not invent a route.
  • Over-application guard: Do not route when the skill is already obvious. Do not return more than three skills. Do not cite deleted or non-catalog names. Do not treat the router as a prerequisite for leaf skills invoked directly.

Frequently asked questions

What does the Thinking Model Router AI skill do?

When unsure which thinking skill fits, map domain and problem type, then return NONE or one primary skill by default (at most three complementary).

Why use Thinking Model Router on TypingMind?

Because you install it once and use it with any model. Thinking Model Router is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Thinking Model Router in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/tjboudreaux/cc-thinking-skills/tree/main/skills/thinking-model-router. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Thinking Model Router?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Thinking Model Router?

As many as you like. As long as a model supports skills, you can use Thinking Model Router with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Thinking Model Router AI skill free?

Yes. It is published on GitHub by tjboudreaux under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇