Skills 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.
install
source · Clone the upstream repo
git clone https://github.com/openclaw/skills
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/openclaw/skills "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/aaigotchi/model-brain" ~/.claude/skills/openclaw-skills-model-brain && rm -rf "$T"
OpenClaw · Install into ~/.openclaw/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/openclaw/skills "$T" && mkdir -p ~/.openclaw/skills && cp -r "$T/skills/aaigotchi/model-brain" ~/.openclaw/skills/openclaw-skills-model-brain && rm -rf "$T"
manifest:
skills/aaigotchi/model-brain/SKILL.mdsource content
Model Brain
Use this skill when the goal is to choose the right model for a single message or action.
Core policy
- Prefer
when a deterministic skill or script can do the job.zero-llm - Use the cheapest adequate model for low-risk work.
- Use
for routine wallet and treasury operations that are important but still normal.bankr/claude-sonnet-4.5 - Escalate to
only for explicitly high-stakes, security-sensitive, or ambiguous wallet flows.bankr/claude-opus-4.6 - Use
for coding-heavy implementation work.bankr/gpt-5.2-codex - 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
- deterministic skills like
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
- Check whether the request can be handled by a deterministic skill or script.
- Classify the task:
,chat
,code
,wallet
,vision
, orlong-context
.deterministic - Mark whether the request is high-stakes.
- Route to the cheapest safe model.
- 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
for the routing rules and escalation thresholds.references/routing-table.md - Read
for the current Bankr model inventory and aaigotchi default.references/bankr-models.md