Skip to content
Back to skills

Gemini Review Capacity Recovery

ASecurity

Handle Gemini adversarial-review runs that emit repeated 429 capacity errors before either recovering with a real verdict or failing unavailable.

  • 17 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 9, 2026
toolsgo

Works with

  • cli

Security analysis

A100/100

Scanned September 9, 2026

npx -y skills add vamseeachanta/workspace-hub --skill gemini-review-capacity-recovery --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Gemini Review Capacity Recovery?

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

Security grade badge for Gemini Review Capacity Recovery
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vamseeachanta-gemini-review-capacity-recovery/badge)](https://www.skillsdirectory.com/skills/vamseeachanta-gemini-review-capacity-recovery)

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: gemini-review-capacity-recovery
description: Handle Gemini adversarial-review runs that emit repeated 429 capacity errors before either recovering with a real verdict or failing unavailable.
version: 1.0.0
author: Hermes Agent
category: software-development
tags: [gemini, adversarial-review, review-artifacts, capacity, retries]
---

# Gemini Review Capacity Recovery

Use when `gemini exec` is part of a plan/code adversarial review wave and the command prints repeated `429 RESOURCE_EXHAUSTED` / `MODEL_CAPACITY_EXHAUSTED` blocks.

## Why this exists
A Gemini run that looks failed at first glance may still recover and produce a substantive review verdict later in the same command output. If you stop early or mark it unavailable too soon, you can lose valid review evidence.

## Trigger pattern
Typical output starts with one or more retry blocks like:
- `Attempt N failed with status 429`
- `RESOURCE_EXHAUSTED`
- `MODEL_CAPACITY_EXHAUSTED`

This does **not** necessarily mean the run is unusable.

## Required workflow
1. Prefer foreground Gemini review for compact rerun prompts when possible.
2. Let the command complete if the timeout budget allows.
3. Inspect the **tail** of the full captured output for a real review block:
   - `Verdict:`
   - `Retrieval adequacy:`
   - `Key findings:`
   - `Main blockers to fix:`
4. If those appear, treat the run as a successful substantive review even if multiple 429 retry blocks occurred first.
5. Save a normal canonical artifact under `scripts/review/results/...-gemini.md`.
6. Only mark Gemini `UNAVAILABLE` if the command ends without a substantive review after retries.

## Artifact decision rule

### If Gemini recovers and produces a verdict
Save a normal artifact, for example:
- `scripts/review/results/YYYY-MM-DD-plan-<issue>-gemini.md`

Include the actual review findings, not the retry noise.

### If Gemini never produces a verdict
Save an unavailable artifact, for example:
- `scripts/review/results/YYYY-MM-DD-plan-<issue>-gemini.md`

With:
- `Verdict: UNAVAILABLE`
- concrete failure reason
- note that repeated capacity retries did not end in a substantive review
- path to the raw CLI log if captured

## Practical notes
- Do not classify a run from the first screenful of output.
- Gemini foreground runs may look noisy but still succeed.
- Capacity exhaustion is different from tool/config failure; treat them separately.
- If a provider-specific review artifact already exists as `UNAVAILABLE` and a later rerun recovers with a real verdict, replace the placeholder with the substantive artifact.

## Example reusable summary
"Gemini printed repeated 429 capacity retries but eventually emitted a valid `Verdict:` block. Save the substantive review artifact and do not mark the provider unavailable."

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.