model-brain

Route each incoming message to the right Bankr/OpenClaw model or to a zero-LLM path based on task type, risk, and cost. Use when you need per-message model selection, cost-aware routing, deterministic skill bypasses, or a model recommendation for aaigotchi workflows.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "model-brain" with this command: npx skills add model-brain

Model Brain

Use this skill when the goal is to choose the right model for a single message or action.

Core policy

  • Prefer zero-llm when a deterministic skill or script can do the job.
  • Use the cheapest adequate model for low-risk work.
  • Use bankr/claude-sonnet-4.5 for routine wallet and treasury operations that are important but still normal.
  • Escalate to bankr/claude-opus-4.6 only for explicitly high-stakes, security-sensitive, or ambiguous wallet flows.
  • Use bankr/gpt-5.2-codex for coding-heavy implementation work.
  • Keep routing deterministic and rule-based before adding any LLM-on-LLM behavior.
  • Treat the output as a routing recommendation, not as transaction authority.

Default routes

  • zero-llm
    • deterministic skills like pet-me-master
    • shellable tasks with no reasoning need
  • bankr/minimax-m2.5
    • casual chat, lightweight rewriting, simple summaries, low-risk classification
  • bankr/claude-sonnet-4.5
    • general reasoning, planning, product thinking, routine wallet ops
  • bankr/gpt-5.2-codex
    • coding-heavy patching, repo surgery, implementation details
  • bankr/gemini-3-pro
    • long-context synthesis and broad document digestion
  • bankr/gemini-3-flash
    • lightweight vision and quick multimodal triage
  • bankr/claude-opus-4.6
    • explicitly high-stakes wallet actions, security reviews, tricky architecture, final escalation

Routing workflow

  1. Check whether the request can be handled by a deterministic skill or script.
  2. Classify the task: chat, code, wallet, vision, long-context, or deterministic.
  3. Mark whether the request is high-stakes.
  4. Route to the cheapest safe model.
  5. Return the primary route, fallback route, and a short reason.

Quick start

python3 {baseDir}/scripts/route_message.py --text "pet all my 53 gotchis" --json
python3 {baseDir}/scripts/route_message.py --text "rewrite this x thread shorter" --json
python3 {baseDir}/scripts/route_message.py --text "swap ETH to USDC and send to treasury" --json
bash {baseDir}/scripts/select_model.sh --text "build this feature in the repo" --mode summary

Wrapper entrypoint

Use scripts/select_model.sh when you want a simple aaigotchi-friendly wrapper before model selection. It can emit just the route, full JSON, or shell-style env lines.

References

  • Read references/routing-table.md for the routing rules and escalation thresholds.
  • Read references/bankr-models.md for the current Bankr model inventory and aaigotchi default.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Automation

Openclaw Router

Intelligent Model Routing - Save 60% on AI Costs / 智能路由系统 - 节省 60% 成本

Registry SourceRecently Updated
4250Profile unavailable
Security

A.I. Smart Router

Expertise-aware model router with semantic domain scoring, context-overflow protection, and security redaction. Automatically selects the optimal AI model using weighted expertise scoring (Feb 2026 benchmarks). Supports Claude, GPT, Gemini, Grok with automatic fallback chains, HITL gates, and cost optimization.

Registry Source
2.5K3Profile unavailable
Automation

AI Agent Cost Optimization Cookbook: Cut Your Agent Bills by 60% Without Sacrificing Quality

AI Agent Cost Optimization Cookbook: Cut Your Agent Bills by 60% Without Sacrificing Quality. Practical recipes for reducing AI agent operational costs. Cove...

Registry SourceRecently Updated
1720Profile unavailable
Automation

Reivo

Track AI agent costs in real-time, set budget limits, and auto-detect runaway loops. Smart routing reduces costs 40-60%. Works with OpenAI, Anthropic, and Go...

Registry SourceRecently Updated
2291Profile unavailable