antigravity-model-router
Use when choosing, saving, or routing Antigravity models (default/per-task prefs, list, fallbacks) for chat, code, writing, search, release, image, or fast workflows.
- License 许可
- MIT
- 所属仓库
- Meapri/agent-hub
- 最近更新
- 2026-08-04
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- antigravity-model-router
- description
- Use when choosing, saving, or routing Antigravity models (default/per-task prefs, list, fallbacks) for chat, code, writing, search, release, image, or fast workflows.
03 SKILL.md 正文
Antigravity Model Router + Selection
Prefer saved models
google_antigravity_get_model_prefs— see default + per-task effective models.- If the user asks to use / switch / set a model:
- Optionally
google_antigravity_list_modelsfor live options. google_antigravity_set_modelwith{ "model": "…", "task": "code" }
or omittaskfor the global default.
- Optionally
- Clear with
google_antigravity_clear_model_prefs(taskorall: true).
Aliases accepted: flash, pro, opus, sonnet, gpt-oss, image, …
CLI:
python3 scripts/google_antigravity_model.py list
python3 scripts/google_antigravity_model.py set flash
python3 scripts/google_antigravity_model.py set opus --task code
python3 scripts/google_antigravity_model.py get
Routing for a task
google_antigravity_route_modelfor task routing acrosschat,code,fast,grounded-search,writing,release, andimage.- Honors saved prefs then static candidates;
preferred_modelon the call wins. - Treat
required_provider: agy-oauthas hard for grounded search and image. - On capacity/rate-limit failures, retry only listed fallback candidates.
Response handling
Use recommended_model, selection_source (user-pref / call-preferred /
route-default), candidates, tool, and arguments_template for the next
MCP call. Chat/write/search/image pick the saved model when model is omitted.
Boundaries
- Do not invent model ids; use list/route/set output.
- Do not turn routing into a long debate unless the user wants a comparison.
04 同仓库更多 Skills
grok-doctor
Diagnose Grok Codex consent, API key, and MCP readiness.
grok-codex
Use the Grok Codex leaf MCP for consent-gated xAI chat, model listing, and provider status.
claude-doctor
Diagnose Claude Codex consent, API key, and MCP readiness.
claude-codex
Use the Claude Codex leaf MCP for consent-gated Anthropic chat, model listing, and provider status.
release-copilot
Use when the user asks Codex to prepare a release, PR description, changelog, release notes, tag plan, GitHub release plan, version summary, or release checklist from a local git repository. This integrated version uses google_antigravity_release_snapshot, google_antigravity_release_draft, and optional google_antigravity_write polishing.
google-grounded-search
Use consent-gated Google-grounded search for current facts, source checks, versions, policies, prices, schedules, and verification.