antigravity-review-gatelisted
Install: claude install-skill yilibinbin/external-models-for-codex
# Antigravity Review Gate
Use this skill when the user wants Antigravity to run a Stop-time gate before Codex finishes a turn.
Run:
```bash
node "${CODEX_PLUGIN_ROOT}/scripts/antigravity-companion.mjs" review-gate "$ARGUMENTS"
```
Enable the gate in the environment that launches Codex hooks:
```bash
export ANTIGRAVITY_FOR_CODEX_REVIEW_GATE=on
```
Disable or bypass the gate:
```bash
export ANTIGRAVITY_FOR_CODEX_REVIEW_GATE=off
```
## Natural-Language Model Routing
Codex should let the user ask for manual Antigravity review-gate checks 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: gate, strict gate, Stop hook, or blocking-review 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/So