gemini-researcher

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

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.

agentmods
npx agentmods add agents/danielmiessler/paiplugin/gemini-researcher
Clone the repo
git clone --depth 1 https://github.com/danielmiessler/PAIPlugin
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. Scan, not verified.
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 $0.00043 $0.01664
Opus 5 $0.00022 $0.00832
Sonnet 5 $0.00009 $0.00333
Haiku 4.5 $0.00004 $0.00166

Measured 3d ago against content hash 9f0d08ef249e, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 3d 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. 3d 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 (56 stars, last pushed 9mo ago), licensed MIT. It adds 43 tokens to every session and 1,664 once invoked, about $0.0002 per session on Opus 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.