Gemini broker
Python, one dependency (httpx). Concurrency limits, jittered backoff with Retry-After, a model fallback chain, a quota circuit breaker, classified errors, per-call usage telemetry, optional Google Search grounding and JSON mode. Cost is calculated only from prices you've verified; it never guesses.
CLI: selftest · models · ask · run · route · usage
gemini-researcher subagent
A Claude Code subagent that Claude delegates research to.
/research
Runs 2–4 grounded research tracks in parallel; Claude synthesises them.
/second-opinion
An independent Gemini review of a diff, file or plan. Claude verifies each finding before you see it.
guard_secrets hook
A PreToolUse hook that blocks the agent from echoing secret environment variables, dumping the environment, reading .env files or writing live-looking keys into code.
CLAUDE.md template
Teaches Claude when to use Gemini, and to treat its output as input to check, not as fact.
Scripts
A non-destructive installer, a pre-commit secret scanner, and hidden-input key setup for Windows (PowerShell) and macOS/Linux.
Tests and docs
57 offline tests (retry, fallback, quota breaker, retired models, key-never-logged, hook rules, installer), plus a quickstart, a troubleshooting guide organised by error, and the hook's limits.