Skip to content
Back to skills

Google Ultra

ASecurity

Spend Google AI Ultra benefits: Gemini CLI second opinions on the sign-in quota, then Gemini API credits for video and audio understanding, grounded search, Veo video, Lyria music, speech, and batch.

  • 452 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 5, 2026
ai-agentspythongoapibackend

Works with

  • cli
  • api

Security analysis

A92/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro scans all 6 files and shows the line behind each finding

Scanned December 5, 2026

npx -y skills add notque/vexjoy-agent --skill google-ultra --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Google Ultra?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Google Ultra
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/notque-google-ultra/badge)](https://www.skillsdirectory.com/skills/notque-google-ultra)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: google-ultra
description: "Spend Google AI Ultra benefits: Gemini CLI second opinions on the sign-in quota, then Gemini API credits for video and audio understanding, grounded search, Veo video, Lyria music, speech, and batch."
user-invocable: false
compatibility: "Second opinions need the gemini CLI on PATH, signed in with the Ultra account. API commands need Python 3.10+ (stdlib) and GEMINI_API_KEY."
routing:
  category: meta
  triggers:
    - google ultra
    - ai ultra
    - ultra quota
    - use my google credits
    - gemini api
    - ask gemini
    - gemini second opinion
    - through antigravity
    - gemini cli
    - veo
    - lyria
    - gemini tts
    - gemini speech
    - gemini video understanding
    - gemini batch
  not_for: "Still images (use image-gen, which has a Gemini backend); editing existing video or audio (use video-editing); a Codex or GPT second-opinion review (use pr-workflow); work the current model can do alone"
  pairs_with:
    - image-gen
    - video-editing
    - game-trailer
    - game-dev
    - research
  complexity: Medium
---

# google-ultra

Use the Google AI Ultra plan's machine-usable benefits from any runtime this
toolkit installs to. Two lanes, in this order:

1. **Gemini CLI quota** through `scripts/second_opinion.py` (`gemini -p`), signed
   in with the Ultra account. A separate limit the owner leaves mostly unused:
   the default for every second opinion. Antigravity (`agy`) quota belongs to
   the owner's own sessions; use it only when the user asks.
2. **Gemini API credits** through `scripts/gemini.py` and `GEMINI_API_KEY`.
   Needed for media generation, file and video understanding, grounded search,
   and batch.

## Three budgets: know which one pays

| Budget | Reached through | Costs real money? |
|---|---|---|
| Gemini CLI quota (Google sign-in) | `second_opinion.py`, `gemini -p` | No: the plan covers it; at the limit the CLI errors |
| Antigravity quota | `agy -p`, only when the user asks | No; the owner uses it fully, so don't spend it unasked |
| Monthly Cloud / Gemini API credits ($100 on Ultra 20x, valid 12 months) | `gemini.py` with a key from the credited project | No, until they run out |
| Paid billing on the same project | `gemini.py` after credits run out | **Yes, silently** |

Credits apply only after the owner redeems them in Google AI Studio (turn on
"Auto apply future offers"), and only to keys in that billing project. No API
reports the remaining balance: the owner checks AI Studio or Cloud billing.
**Stop rule:** before a run of paid generation (more than 3 Veo shots, more than
10 music tracks, or any batch over 500 requests), tell the user the count and
ask them to confirm the credit balance.

## When to route here

Use Gemini when the task needs it, not as a default:

| Need | Lane |
|---|---|
| Independent review, plan, or second opinion | `second_opinion.py "..." --cwd REPO`: `references/cli-lanes.md` |
| Watch or listen: gameplay capture, trailer, mocap clip, recording | `gemini.py ask "..." --file clip.mp4` |
| Fresh web facts with citations | `gemini.py ask "..." --search` |
| Read pages named in the prompt | `gemini.py ask "..." --urls` |
| Very long inputs (large PDFs, long logs, doc sets) | `gemini.py ask "..." --file a.pdf --file b.pdf` |
| Structured extraction to a JSON schema | `gemini.py ask "..." --schema schema.json` |
| Video: trailer shots, reference motion, mannequin masters | `gemini.py video "..." --out shot.mp4 --yes` |
| Music: themes, loops, stingers | `gemini.py music "..." --out theme.wav --yes` (`--clip` for 30 s loops) |
| Spoken lines: NPC barks, narration, temp VO | `gemini.py speech "..." --voice Kore --style "..." --out line.wav` |
| Many independent prompts | `gemini.py batch submit prompts.jsonl --yes`, later `batch get` |

## Workflow

1. **Confirm the send is allowed.** Every lane sends prompts and files to
   Google: that is third-party egress. Follow the host's approval rules (some
   hosts require an explicit owner phrase). Never send secrets, credentials,
   `.env` files, personal data, or private user rows. The script refuses
   secret-looking names and credential directories; content is your call.
2. **Run Neon.** Every text call (CLI second opinion, `ask`, `batch`)
   defaults to `gemini-4-neon`; change it only when the owner names another
   model.
3. **Check model ids.** When a default 404s, run `gemini.py models --filter
   <family>` and pass `--model`, or set the `GEMINI_*_MODEL` env vars.
4. **Preview paid calls.** `video`, `music`, and `batch submit` print the
   request and exit 3 until you add `--yes`. Make one Veo shot, review it, then
   scale.
5. **Run, then verify the artifact.** Probe what came back (`ffprobe` for
   media, read the text). Report the path, the model, and the budget that paid.
6. **Keep outputs out of repos** unless the user wants them committed; large
   media goes to the project's cold or artifact storage. `--out` never
   overwrites without `--force`.

## Hard rules

- Read the key only from the environment. Never print it, log it, or put it on
  a command line or in a URL.
- Never claim a benefit was used when the call failed; report the error text.
- Label generated media as AI-made in any report or asset manifest.
- Benefits with no API (Flow, Project Genie, Photos Remix, NotebookLM, Gmail AI
  Inbox, Chrome auto browse) are owner-run tools: hand the user a ready prompt
  or file. Never script a browser through them.

## Errors

| Error | Action |
|---|---|
| Exit 2, no key | Ask the user for a `GEMINI_API_KEY` from the credited AI Studio project |
| Exit 3 | Paid call without `--yes`: confirm with the user, then re-run |
| HTTP 403 or 429 on Veo or Lyria | No billing or credits on the key's project; point the user to AI Studio |
| HTTP 404 model | `models --filter`, retry with a listed id |
| "no answer: SAFETY" or no video samples | Rewrite the prompt without real people, brands, or violence |
| Veo still rendering at timeout | `gemini.py video --resume <operation> --out shot.mp4` |
| `second_opinion.py` exit 4 (login needed) | Tell the user to run `NO_BROWSER=true gemini` once and sign in with Google; use `--api-key-fallback` only if they say API credits may pay |
| `gemini` not installed (exit 2) | `npm install -g @google/gemini-cli`, or skip the lane and say so |

## References

| Signal | Load |
|---|---|
| Running a second opinion or parallel lane through Antigravity or the Gemini CLI | `references/cli-lanes.md` |
| Choosing which Ultra benefit fits a task, or the user asks what the plan includes | `references/benefits-map.md` |
| Writing Veo, Lyria, or speech prompts | `references/media-prompts.md` |

## Tests

`scripts/tests/test_google_ultra_gemini.py` in the toolkit repo: offline tests
for request shapes, dry runs, the paid-call gate, secret refusal, redirect key
stripping, overwrite guard, and audio decoding. They send nothing.

Files in this skill

  • SKILL.md6.8 KB
  • references/benefits-map.md2.9 KB
  • references/cli-lanes.md2.4 KB
  • references/media-prompts.md1.5 KB
  • scripts/gemini.py20.1 KB
  • scripts/second_opinion.py5.1 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.