# Route Gemini Context

> Delegates large multi-file or whole-repo work to Gemini for architecture maps, refactor-impact analysis, and multi-document synthesis. Uses Gemini's large context window when the gemini CLI is connected; otherwise runs a scoped Claude pass over the most relevant files (narrower, lower-fidelity). Trigger when the user says "scan the whole repo", "long context", "all the files", "synthesize across…

- **Type:** Skill
- **Install:** `agentstack add skill-zacharticulatev-designer-pro-and-seo-route-gemini-context`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [ZachArticulateV](https://agentstack.voostack.com/s/zacharticulatev)
- **Installs:** 0
- **Category:** [Agent Skills](https://agentstack.voostack.com/c/agent-skills)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [ZachArticulateV](https://github.com/ZachArticulateV)
- **Source:** https://github.com/ZachArticulateV/designer-pro-and-seo/tree/main/skills/route-gemini-context

## Install

```sh
agentstack add skill-zacharticulatev-designer-pro-and-seo-route-gemini-context
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# route-gemini-context

**Family:** routing
**Status:** Stable

## Purpose

The execution arm for tasks that need a context window bigger than Claude's: whole-
repo architecture maps, refactor-impact analysis, multi-document synthesis, and
large structured-data passes. Gemini returns a synthesized result that Claude then
integrates.

## Triggers

- "scan the whole repo" / "long context" / "all the files" / "synthesize across these files"
- "gemini analysis" / "map the architecture"
- "trace dependencies" / "what changes if I refactor X"

## Inputs

- Task description; the file/directory scope; the specific question

## Steps

1. **Check Gemini is available:** `gemini --version`. If absent, tell the user and
   fall back to a scoped Claude pass over the most relevant files (narrower, but
   honest about the limit).
2. **Scope the context** — name the directories/files. For long media (video/PDF),
   preprocess first (cap duration/pages) so you don't blow the context.
3. **Invoke Gemini** with a focused ask and a required output format:
   ```
   gemini -p "Map the architecture. Return a file:line list of where X happens. Cap 800 words." @./src
   ```
   Prefer the adjacent `cc-gemini-plugin` (it packages directories) when available.
4. **Demand citations** — file:line, page numbers, or timestamps — not a flat
   summary, so the result is verifiable.
5. **Integrate** the synthesis into the conversation; spot-check key claims against
   the actual files before acting on them.

## Outputs

- Gemini's synthesized analysis (with file:line / page / timestamp citations)
- A short note of what context was sent

## Dependencies

- `gemini` CLI, or the adjacent `cc-gemini-plugin` (optional — adds a context
  window far larger than Claude's for whole-repo passes; free path: a scoped Claude
  pass over the most relevant files, narrower but honest about the limit).

## Notes

Use when the task genuinely needs breadth. For a surgical lookup in a known file,
use Claude directly — Gemini's strength is breadth, not precision. Verify before
acting (recalled/long-context output can drift).

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [ZachArticulateV](https://github.com/ZachArticulateV)
- **Source:** [ZachArticulateV/designer-pro-and-seo](https://github.com/ZachArticulateV/designer-pro-and-seo)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-zacharticulatev-designer-pro-and-seo-route-gemini-context
- Seller: https://agentstack.voostack.com/s/zacharticulatev
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
