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.
- License 许可
- MIT
- 最近更新
- 2026-06-10
- Stars
- ★ 3
- Forks
- 0
01 前言 Front Matter
- 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.
03 SKILL.md 正文
Model Brain
Use this skill when the goal is to choose the right model for a single message or action.
Core policy
- Prefer
zero-llmwhen a deterministic skill or script can do the job. - Use the cheapest adequate model for low-risk work.
- Use
bankr/claude-sonnet-4.5for routine wallet and treasury operations that are important but still normal. - Escalate to
bankr/claude-opus-4.6only for explicitly high-stakes, security-sensitive, or ambiguous wallet flows. - Use
bankr/gpt-5.2-codexfor 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
- 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,long-context, ordeterministic. - 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
references/routing-table.mdfor the routing rules and escalation thresholds. - Read
references/bankr-models.mdfor the current Bankr model inventory and aaigotchi default.
04 同仓库更多 Skills
youtube-content
YouTube transcripts to summaries, threads, blogs.
xurl
X/Twitter via xurl CLI: post, search, DM, media, v2 API.
touchdesigner-mcp
Control a running TouchDesigner instance via twozero MCP — create operators, set parameters, wire connections, execute Python, build real-time visuals. 36 native tools.
test-driven-development
TDD: enforce RED-GREEN-REFACTOR, tests before code.
teams-meeting-pipeline
Operate the Teams meeting summary pipeline via Hermes CLI — summarize meetings, inspect pipeline status, replay jobs, manage Microsoft Graph subscriptions.
systematic-debugging
4-phase root cause debugging: understand bugs before fixing.