gemini-subagentlisted
Install: claude install-skill dwgx/claude-gemini-subagent
# Gemini as Worker Subagent
Claude is the **orchestrator**. Gemini is a **worker subagent** with its own
fresh context window, its own network access, and its own code execution environment. You hand Gemini a well-scoped task and take back a short answer.
Gemini's thinking, tool calls, and file reads happen **in Gemini's context,
not yours** — that is where the token savings come from.
## Thin-forwarder contract
Treat each Gemini call like a function call:
- You write the prompt (the "arguments")
- Gemini runs its own full agent loop inside its own context
- You take Gemini's stdout as the **authoritative return value**
- No Claude-side freelancing — don't "edit" what Gemini said in your head
and then act on a phantom version. If Gemini's answer is wrong or under-
specified, **resume the session** with a follow-up or dispatch a fresh
call with a better prompt. Do not pretend you know what it meant.
## When to delegate
Delegate when any of these apply:
- **Network needed.** Web search, fetching docs, scraping an API,
checking a package version, `gh api`, `npm view`, `pip install`. You
(Claude) pay steep token cost for WebFetch/WebSearch; Gemini's network
calls happen in its own context.
- **Large reads.** Scanning a repo, digesting a long file/log, cross-
referencing many sources.
- **Long output that just needs a conclusion.** E.g. "find all TODOs and
tell me which are stale" — Gemini emits the list internally and returns
only the verdict.
- **Writing