gemini-research

gemini-research is a skill for Claude Code from freestyler-arb/imagine-gemini-for-claude-codex. It costs 112 tokens per session (1,190 once invoked), scanned A, original, MIT.

A skill for sending large amounts of code or other material to Google Gemini for research and structured summarisation. Gemini is Google's AI assistant, and this tool uses the Antigravity command-line tool rather than the Gemini web research agent.

In plain words
What is it for?
Use it to explain how a module works, compare libraries, trace data flow, extract findings across files, or produce a sourced report.
Why use it?
It lets you digest large files or groups of files without filling the main coding agent's context with all the analysis.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the imagine plugin — 4 skills shipped together

Good fit Use it to explain how a module works, compare libraries, trace data flow, extract findings across files, or produce a sourced report.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/freestyler-arb/imagine-gemini-for-claude-codex/gemini-research
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add freestyler-arb/imagine-gemini-for-claude-codex --skill gemini-research
Clone the repo
git clone --depth 1 https://github.com/freestyler-arb/imagine-gemini-for-claude-codex

Made for: Claude Code.

Or install imagine, the plugin that ships this one along with the rest of its 4 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for gemini-research

README.md
[![agentmods](https://agentmods.dev/badge/skills/freestyler-arb/imagine-gemini-for-claude-codex/gemini-research/github.svg)](https://agentmods.dev/skills/freestyler-arb/imagine-gemini-for-claude-codex/gemini-research)
Your own site
<a href="https://agentmods.dev/skills/freestyler-arb/imagine-gemini-for-claude-codex/gemini-research"><img src="https://agentmods.dev/badge/skills/freestyler-arb/imagine-gemini-for-claude-codex/gemini-research/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for gemini-research

Your own site · 80×15
<a href="https://agentmods.dev/skills/freestyler-arb/imagine-gemini-for-claude-codex/gemini-research"><img src="https://agentmods.dev/badge/skills/freestyler-arb/imagine-gemini-for-claude-codex/gemini-research.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 112 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,190 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00112 $0.01190
Opus 5 $0.00056 $0.00595
Sonnet 5 $0.00022 $0.00238
Haiku 4.5 $0.00011 $0.00119

Measured 11d ago against content hash a2a654ff6d9f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

gemini-research scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/gemini-research/SKILL.md · 65 lines

How it starts

The opening of the file, as written. The whole thing — 65 lines — stays where its author put it; the contents beside it link to each section on GitHub.

gemini-research

Overview

Use Google Gemini to research and synthesise over context you provide and return a structured, sourced answer. Good for large-context digestion (a big file, a whole module, many files at once), option comparisons, and "find/extract X across all of this" — all on the user's AI Pro subscription (agy), without spending the main agent's tokens or context window.

This is a specialised wrapper around gemini-pro with a research workflow and report format. It is not the branded Gemini web Deep Research agent (that does live web browsing in the Gemini app and is not exposed by agy -p). For freeform delegation use gemini-pro; for code/plan critique use gemini-review.

How to invoke

Pipe the corpus via stdin and ask for a structured, sourced answer. Pick the model by job size (see below).

# Digest a module into a structured brief — name the SPECIFIC files you need
cat src/orders/engine.py src/orders/state.py src/orders/api.py | gemini "$(cat <<'PROMPT'
Research question: how does the order lifecycle work end to end?
Produce: (1) a 5-bullet summary, (2) the key components and their roles,
(3) data flow start→finish, (4) risks/edge cases, (5) open questions.
Cite the file/function each claim comes from. Say "unknown" when the context
doesn't answer something — do not guess.
PROMPT
)"

# Compare options (no large context needed)
gemini "Compare Postgres LISTEN/NOTIFY vs Redis Streams vs a job queue for a 50 msg/s order pipeline. Give a recommendation with trade-offs and when each wins."

Don't pipe whole trees with globs like cat src/**/*.py — enumerate the files you actually need. A blind glob sweeps in config/settings/.env-style files, test fixtures, and credentials and sends them to Google verbatim.

If gemini is not on PATH use ~/.local/bin/gemini or agy -p "<prompt>" --model "<model>".

Choosing the model

  • Pro / High (default) — synthesis, comparisons, anything needing real reasoning.
  • -m flash — fast first-pass digestion of large/low-stakes context, or bulk extraction, to save the weekly quota.
  • Two-pass pattern for very large corpora: flash to extract/summarise chunks → feed the summaries back into a Pro/High call to synthesise. Keeps cost down while keeping the final reasoning strong.

Read the full file on GitHub · 65 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 65 lines · 0 tokens per session scan A a2a654ff6d9f

Subscribe to this mod's changes

gemini-research is a skill published in the GitHub repository freestyler-arb/imagine-gemini-for-claude-codex (4 stars, last pushed 2mo ago), licensed MIT. It adds 112 tokens to every session and 1,190 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

jobs

Manage agy staffer background jobs - collect results, check status, cancel, follow-up conversation, and setup. Use when an agy job needs collecting, when the user asks "is the agy job done", "show agy's result", "cancel the agy job", "continue the agy conversation", or "set up agy". This is the orchestrator's skill…

keli-wen/agy-staff · 99 tokens

agy-lead

Orchestrate an ongoing task with AGY while the current agent owns key decisions, review, and delivery. Use when the user invokes /skill:agy-lead or asks you to coordinate a task using AGY.

keli-wen/agy-staff · 48 tokens

implementer

Delegate a coding task to Google's Antigravity CLI (agy staffer, fast Gemini), which edits the working tree directly and can perform explicitly requested Git delivery. Use when the user says /agy:implementer, "have agy fix/build X", or wants to hand a well-scoped coding task to the agy staffer instead of doing it in…

keli-wen/agy-staff · 79 tokens

researcher

Delegate a deep research or survey task to Google's Antigravity CLI (agy staffer, fast Gemini). Use when the user says /agy:researcher, "ask agy to research", "have the agy staffer survey X", or wants a second, independent deep-dive on a topic or codebase without spending the host model's quota.

keli-wen/agy-staff · 75 tokens

staffer

Delegate a general-purpose task to Google's Antigravity CLI (agy staffer, fast Gemini) with a minimal, unopinionated prompt. Use when the user says /agy:staffer, "have agy do/handle X", "have agy generate an image", or the task fits none of the specialist personas (researcher / reviewer / implementer / ask) — the…

keli-wen/agy-staff · 121 tokens

agy-ask

Ask Google's Antigravity CLI (agy staffer, fast Gemini) a cheap one-shot question - the fast zero-tool mode and the post-install smoke test. Use when the user says /skill:agy-ask, "ask agy", "quick second opinion from agy", or right after installing to verify the plugin works.

keli-wen/agy-staff · 71 tokens