Skip to content
Back to skills

Route Gemini Context

ASecurity

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 these files", "gemini analysis", "map the architecture", "trace dependencies", or "what changes if...

  • 9 stars
  • 0 votes
  • 0 copies
  • 6 views
  • Added August 31, 2026
development

Works with

  • cli

Security analysis

A100/100

Scanned August 31, 2026

npx -y skills add ZachArticulateV/designer-pro-and-seo --skill route-gemini-context --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Route Gemini Context?

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

Security grade badge for Route Gemini Context
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/zacharticulatev-route-gemini-context/badge)](https://www.skillsdirectory.com/skills/zacharticulatev-route-gemini-context)

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: route-gemini-context
description: 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 these files", "gemini analysis", "map the architecture", "trace dependencies", or "what changes if I refactor X".
---

# 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).

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.

Comments

Loading comments…

Newsletter

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