gemini-researcher

gemini-researcher is an agent for Claude Code from danielmiessler/PAIPlugin. It costs 43 tokens per session (1,664 once invoked), scanned B, original, MIT.

A research agent that coordinates several research searches with Google's Gemini to examine a question from different angles.

In plain words
What is it for?
Use it for broad investigations, multi-perspective research, and difficult questions requiring several searches.
Why use it?
It helps with complex topics where one search or viewpoint may miss important information.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter; mentions subagents; positional $N argument.

Part of the pai plugin — 8 skills, 3 commands, 8 agents shipped together

Good fit Use it for broad investigations, multi-perspective research, and difficult questions requiring several searches.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/danielmiessler/paiplugin/gemini-researcher
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.

Clone the repo
git clone --depth 1 https://github.com/danielmiessler/PAIPlugin

Made for: Claude Code.

Or install pai, the plugin that ships this one along with the rest of its 8 skills, 3 commands, 8 agents.

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-researcher

README.md
[![agentmods](https://agentmods.dev/badge/agents/danielmiessler/paiplugin/gemini-researcher/github.svg)](https://agentmods.dev/agents/danielmiessler/paiplugin/gemini-researcher)
Your own site
<a href="https://agentmods.dev/agents/danielmiessler/paiplugin/gemini-researcher"><img src="https://agentmods.dev/badge/agents/danielmiessler/paiplugin/gemini-researcher/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-researcher

Your own site · 80×15
<a href="https://agentmods.dev/agents/danielmiessler/paiplugin/gemini-researcher"><img src="https://agentmods.dev/badge/agents/danielmiessler/paiplugin/gemini-researcher.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 43 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,664 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 2 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.00043 $0.01664
Opus 5.5 $0.00017 $0.00666
Sonnet 5.5 $0.00009 $0.00333
Haiku 4.5 $0.00004 $0.00166

Measured 3mo ago against content hash 9f0d08ef249e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

gemini-researcher scanned grade B with 2 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 3mo 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.

Sends data to an external URLmediumData exfiltration

A POST to an outside endpoint may be telemetry or may be exfiltration; either way the mod talks to somewhere, and you should know where.

curl -X POST http://localhost:8888/notify -H "Content-Type: application/json" -d '{"message":"Gemini-Researcher completed [YOUR SPECIFIC TASK]","voice_id":"YOUR_VOICE_ID_HERE","voice_enabled":true}'

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -X POST http://localhost:8888/notify -H "Content-Type: application/json" -d '{"message":"Gemini-Researcher completed [YOUR SPECIFIC TASK]","voice_id":"YOUR_VOICE_ID_HERE","voice_enabled":true}'
Origin

Copies of this mod

1 near-identical copy found in the catalogue:

agents/gemini-researcher.md · 183 lines

How it starts

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

🚨🚨🚨 MANDATORY FIRST ACTION - DO THIS IMMEDIATELY 🚨🚨🚨

SESSION STARTUP REQUIREMENT (NON-NEGOTIABLE)

BEFORE DOING OR SAYING ANYTHING, YOU MUST:

  1. LOAD THE PAI GLOBAL CONTEXT FILE IMMEDIATELY!
    • Read ${PAI_DIR}/PAI.md - The complete context system and infrastructure documentation

THIS IS NOT OPTIONAL. THIS IS NOT A SUGGESTION. THIS IS A MANDATORY REQUIREMENT.

DO NOT LIE ABOUT LOADING THIS FILE. ACTUALLY LOAD IT FIRST.

EXPECTED OUTPUT UPON COMPLETION:

"✅ PAI Context Loading Complete"

CRITICAL: Do not proceed with ANY task until you have loaded this file and output the confirmation above.

CRITICAL OUTPUT AND VOICE SYSTEM REQUIREMENTS (DO NOT MODIFY)

After completing ANY task or response, you MUST immediately use the bash tool to announce your completion:

curl -X POST http://localhost:8888/notify -H "Content-Type: application/json" -d '{"message":"Gemini-Researcher completed [YOUR SPECIFIC TASK]","voice_id":"YOUR_VOICE_ID_HERE","voice_enabled":true}'

CRITICAL RULES:

  • Replace [YOUR SPECIFIC TASK] with exactly what you did
  • Be specific: "calculating fifty plus fifty" NOT "requested task"
  • Use this command AFTER every single response
  • This is NOT optional - it's required for voice system functionality

🚨🚨🚨 MANDATORY OUTPUT REQUIREMENTS - NEVER SKIP 🚨🚨🚨

YOU MUST ALWAYS RETURN OUTPUT - NO EXCEPTIONS

🎯 CRITICAL: THE [AGENT:gemini-researcher] TAG IS MANDATORY FOR VOICE SYSTEM TO WORK

Final Output Format (MANDATORY - USE FOR EVERY SINGLE RESPONSE)

ALWAYS use this standardized output format with emojis and structured sections:

📅 [current date] 📋 SUMMARY: Brief overview of implementation task and user story scope 🔍 ANALYSIS: Constitutional compliance status, phase gates validation, test strategy ⚡ ACTIONS: Development steps taken, tests written, Red-Green-Refactor cycle progress ✅ RESULTS: Implementation code, test results, user story completion status - SHOW ACTUAL RESULTS 📊 STATUS: Test coverage, constitutional gates passed, story independence validated ➡️ NEXT: Next user story or phase to implement 🎯 COMPLETED: [AGENT:gemini-researcher] I completed [describe your task in 6 words] 🗣️ CUSTOM COMPLETED: [The specific task and result you achieved in 6 words.]

Read the full file on GitHub · 183 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. 3mo ago First seen · 183 lines · 43 tokens per session scan B 9f0d08ef249e

Subscribe to this mod's changes

gemini-researcher is an agent published in the GitHub repository danielmiessler/PAIPlugin (59 stars, last pushed 1y ago), licensed MIT. It adds 43 tokens to every session and 1,664 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it B with 2 findings (sends data to an external url, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

gemini-researcher compared with agents from other repositories

gemini-researcher next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
gemini-researcherdanielmiessler/PAIPluginAgent591y agoMITB43Claude Code
playwright-test-generatormicrosoft/playwrightAgent101ktodayApache-2.0A151Claude Code
AVM Owner Triagegithub/awesome-copilotAgent42ktodayMITA61Claude Code
Pimcore Expertgithub/awesome-copilotAgent42ktodayMITA26Claude Code
Ultimate Transparent Thinking Beast Modegithub/awesome-copilotAgent42ktodayMITA11Claude Code
WinForms Expertgithub/awesome-copilotAgent42ktodayMITA19Claude Code
azure-iac-exportergithub/awesome-copilotAgent42ktodayMITA70Claude Code