Model Guard

Model Guard

javimosch c5ec34c 492 B Updated

File contents

Model Guard

Automatically monitors Anti-Gravity model quotas and switches the default model to the one with the highest remaining quota. If all Anti-Gravity models are below 20%, it falls back to the native gemini-flash model.

Usage

  • Manual trigger: model-guard
  • Auto trigger: Designed to be run via cron or heartbeat.

Configuration

Edit guard.js to change the THRESHOLD (default 20%) or FALLBACK_MODEL.

javimosch/open-claw-skills/tree/main/skills/sarielwang93/model-guard commit c5ec34c945

Frequently asked questions

npx skillmds@latest add javimosch/model-guard