← ClaudeAtlas

gemini-subagentlisted

Delegate expensive work to the local Gemini CLI (`gemini`) as a worker subagent to save Claude's token budget. Use this skill whenever a task involves web search / online lookup, reading or scanning large files, bulk code analysis, writing long files, running tests or scripts, or any chore that would otherwise burn a lot of Claude context. Claude stays the orchestrator — planning, deciding, verifying — while Gemini does the heavy I/O-bound or context-heavy work. Trigger on phrases like "丟給 gemini", "用 gemini 查", "gemini 搜一下", "gemini 分析", "dispatch to gemini", "delegate to gemini", whenever the user hints they want to conserve Claude's tokens or offload work, or whenever Claude is stuck and wants a second pass with a fresh context.
dwgx/claude-gemini-subagent · ★ 1 · AI & Automation · score 77
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