Borrowing it
Nothing to install: this file belongs to capyBearista/gemini-researcher-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/capyBearista/gemini-researcher-mcp/main/AGENTS.mdgit clone --depth 1 https://github.com/capyBearista/gemini-researcher-mcpWrote 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.
[](https://agentmods.dev/instructions/capybearista/gemini-researcher-mcp/agents-md)<a href="https://agentmods.dev/instructions/capybearista/gemini-researcher-mcp/agents-md"><img src="https://agentmods.dev/badge/instructions/capybearista/gemini-researcher-mcp/agents-md/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.
<a href="https://agentmods.dev/instructions/capybearista/gemini-researcher-mcp/agents-md"><img src="https://agentmods.dev/badge/instructions/capybearista/gemini-researcher-mcp/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.01182 | $0.01182 |
| Opus 5 | $0.00591 | $0.00591 |
| Sonnet 5 | $0.00236 | $0.00236 |
| Haiku 4.5 | $0.00118 | $0.00118 |
Grade C, and why
gemini-researcher-mcp AGENTS.md scanned grade C with 1 finding 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 10d 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.
Recursive force deletehighDestructive command
rm -rf with a variable or a broad path is one typo away from removing the wrong tree.
- Confirm before: git force push, rm -rf How it starts
The opening of the file, as written. The whole thing — 139 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Gemini Researcher
Overview
- Type: Standard project (Node.js MCP Server)
- Stack: Node.js (>=18), TypeScript, Zod, @modelcontextprotocol/sdk
- Architecture: Stateless proxy to Gemini CLI returning chunked JSON
- Team Size: Open Source (Single author focus)
This AGENTS.md is the authoritative source for development guidelines. Subdirectories contain specialized AGENTS.md files that extend these rules.
Universal Development Rules
Code Quality (MUST)
- MUST write TypeScript in strict mode
- MUST include tests for all new features
- MUST run
npm run lintandnpm testbefore committing - MUST NOT commit secrets, API keys, or tokens (especially
GEMINI_API_KEY) - MUST respect the runtime contract defined in
docs/runtime-contract.md
Best Practices (SHOULD)
- SHOULD prefer pure functions and immutable state
- SHOULD use descriptive variable names
- SHOULD extract complex logic into separate utility functions in
src/utils - SHOULD ensure all MCP tool schemas use Zod for validation
Anti-Patterns (MUST NOT)
- MUST NOT use
anytype without explicit justification - MUST NOT bypass TypeScript errors with
@ts-ignore - MUST NOT push directly to main branch
- MUST NOT mutate global state or modify files (server must remain read-only)
Core Commands
Development
npm run build- Build the project (tsc)npm run dev- Watch mode for TypeScriptnpm start- Run the built applicationnpm run lint- Type-check the codebase (tsc --noEmit)npm test- Run all testsnpm run test:unit- Run only unit testsnpm run test:integration- Run only integration testsnpm run test:smoke:live- Run live e2e smoke tests (requires authentication)
Quality Gates (run before PR)
npm run lint && npm test
Project Structure
Applications
src/→ Core server logic (see src/AGENTS.md)- Tools:
src/tools/→ MCP Tool implementations - Utilities:
src/utils/→ Helpers (caching, chunking, parsing) - Setup:
src/setup/→ CLI init wizard
- Tools:
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.
- 10d ago First seen · 139 lines · 1,182 tokens per session scan C bd741b9c1bc0
gemini-researcher-mcp AGENTS.md is an instructions file published in the GitHub repository capyBearista/gemini-researcher-mcp (0 stars, last pushed 3mo ago), licensed MPL-2.0. It adds 1,182 tokens to every session, about $0.0059 per session on Opus 5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other instructions, from other repositories
data-scientist copilot-instructions.md
Repository instructions for a data-science workflow in GitHub Copilot, covering datasets, statistics, and analysis files.
next.js AGENTS.md
AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.
codex AGENTS.md
AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.
vscode buildNext.instructions.md
Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).
spec-kit AGENTS.md
AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.
vscode oss-third-party-notices.instructions.md
Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).