Model Brain
name: model-brain
by aaigotchi · published 2026-04-01
$ claw add gh:aaigotchi/aaigotchi-model-brain---
name: model-brain
description: 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.
---
# Model Brain
Use this skill when the goal is to choose the right model for a single message or action.
Core policy
Default routes
- deterministic skills like `pet-me-master`
- shellable tasks with no reasoning need
- casual chat, lightweight rewriting, simple summaries, low-risk classification
- general reasoning, planning, product thinking, routine wallet ops
- coding-heavy patching, repo surgery, implementation details
- long-context synthesis and broad document digestion
- lightweight vision and quick multimodal triage
- 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 summaryWrapper 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
More tools from the same signal band
Order food/drinks (点餐) on an Android device paired as an OpenClaw node. Uses in-app menu and cart; add goods, view cart, submit order (demo, no real payment).
Sign plugins, rotate agent credentials without losing identity, and publicly attest to plugin behavior with verifiable claims and authenticated transfers.
The philosophical layer for AI agents. Maps behavior to Spinoza's 48 affects, calculates persistence scores, and generates geometric self-reports. Give your...