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 via CLI (Recommended)
clawhub install openclaw/skills/skills/aaigotchi/model-brainWhat This Skill Does
The model-brain skill serves as the central orchestration hub for message routing within the OpenClaw environment. It intelligently intercepts incoming tasks and determines the optimal path forward by evaluating the complexity, risk level, and nature of the request. Instead of relying on a single, expensive LLM for every interaction, model-brain applies a cost-aware decision matrix to ensure that simple, deterministic tasks are handled by lightweight scripts while sensitive financial operations or high-complexity architectural challenges are escalated to premium, high-reasoning models.
Installation
To integrate this skill into your local environment, execute the following command in your terminal:
clawhub install openclaw/skills/skills/aaigotchi/model-brain
Ensure that you have python3 configured in your path, as the core routing logic resides within scripts/route_message.py.
Use Cases
- Cost Optimization: Automatically route casual conversational prompts to the cheapest available model while reserving high-tier compute for complex logic.
- Risk Management: Enforce security protocols by requiring the highest tier models for wallet interactions, preventing simple errors in sensitive financial transactions.
- Workflow Automation: Streamline your aaigotchi development by automatically deciding whether to call a local deterministic script (like
pet-me-master) or spawn a specialized reasoning agent. - Infrastructure Routing: Route repository-level edits directly to specialized code-focused models to ensure better context retention and bug-free implementation.
Example Prompts
- "Check the current treasury balance and let me know if we need to rebalance the portfolio before the market opens."
- "Draft a new function to calculate the gas fees for our upcoming contract migration, then perform a quick security audit on the logic."
- "Pet all my gotchis and verify that their hunger levels are within the optimal range for the next 4 hours."
Tips & Limitations
- Deterministic First: Always attempt to categorize your request under the
zero-llmpath if a native skill already exists. This is the fastest, safest, and cheapest method for common repetitive tasks. - Routing as Advice: Remember that
model-brainprovides a routing recommendation. It does not possess inherent transaction authority; your wallet-side security logic should always independently verify any instructions passed by a selected model. - Environment Scaling: As you add new models to the
bankrlibrary, update your localreferences/routing-table.mdto ensure the brain remains aware of your expanded capabilities. Use thescripts/select_model.shentrypoint for quick shell-based integrations to keep your scripts clean and readable.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-aaigotchi-model-brain": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: code-execution
Related Skills
gotchi-pocket
Manage Aavegotchi pocket wallets (escrow) on Base with Bankr. Use when the user wants to deposit ERC20 tokens into a gotchi pocket, withdraw ERC20 tokens from a pocket, check pocket balances/ownership by gotchi ID, or issue plain-English pocket commands.
aavegotchi-svg-custom
Render OG Aavegotchi SVG and PNG images from Base for custom hypothetical loadouts or existing token IDs. Use when the user wants classic onchain SVG-style gotchis rather than 3D renders.
gotchi-channeling
Channel Aavegotchis on Base via Bankr. Checks cooldown, builds calldata, and submits channel txs safely.
aavegotchi-traits
Retrieve Aavegotchi NFT data by gotchi ID or name on Base. Returns traits, wearables, rarity scores, kinship, XP, level, and owner data.
aavegotchi-sprites-generator-skill
Generate official-style Aavegotchi game sprites and animated GIFs with the upstream gotchi-generator package. Use when the user wants sprite-sheet style outputs rather than OG SVG renders or 3D renders.