antigravity-planlisted
Install: claude install-skill yilibinbin/external-models-for-codex
# Antigravity Plan
Use this skill when Codex should compare its approach with an independent Antigravity plan before implementation.
Run:
```bash
node "${CODEX_PLUGIN_ROOT}/scripts/antigravity-companion.mjs" plan "$ARGUMENTS"
```
## Natural-Language Model Routing
Codex should let the user ask for Antigravity planning in normal language. Do not ask the user to write `--model-provider` or `--model` unless troubleshooting the plugin itself.
When converting the user's request to companion invocation:
- Default to the Gemini provider by omitting provider overrides and relying on the runtime default when no provider is explicit.
- Use the Claude provider only when the user explicitly asks for Claude through Antigravity, for example "use Antigravity's Claude model" or "Claude via Antigravity"; pass explicit `--model-provider claude` argv tokens or set `ANTIGRAVITY_FOR_CODEX_MODEL_PROVIDER=claude`.
- Provider selection is explicit: strict, deep, high-confidence, advanced, or multi-agent language does not switch providers. Keep Gemini unless Claude is explicit.
- If the user names a concrete Gemini model, keep or choose the Gemini provider and pass the model as explicit `--model` argv tokens or `ANTIGRAVITY_FOR_CODEX_MODEL`.
- If the user names a concrete Claude/Sonnet/Opus model through Antigravity, choose the Claude provider and pass the model as explicit `--model` argv tokens or `ANTIGRAVITY_FOR_CODEX_MODEL`.
- Do not concatenate provider/model flags into quoted `$ARGUMENTS`;