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.
npx agentmods add instructions/derailed-dash/gemini-api-docs-mcp-ext/gemini-mdgit clone --depth 1 https://github.com/derailed-dash/gemini-api-docs-mcp-extWrote 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/derailed-dash/gemini-api-docs-mcp-ext/gemini-md)<a href="https://agentmods.dev/instructions/derailed-dash/gemini-api-docs-mcp-ext/gemini-md"><img src="https://agentmods.dev/badge/instructions/derailed-dash/gemini-api-docs-mcp-ext/gemini-md.svg" alt="Measured on agentmods" 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.00237 | $0.00237 |
| Opus 5 | $0.00118 | $0.00118 |
| Sonnet 5 | $0.00047 | $0.00047 |
| Haiku 4.5 | $0.00024 | $0.00024 |
Grade A, and why
gemini-api-docs-mcp-ext GEMINI.md 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 5d 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.
What it actually says
Gemini API Documentation Agent Instructions
This extension provides tools to access official Google Gemini API documentation using the gemini-api-docs-mcp server.
Capabilities
- Search for documentation on Gemini API features, models, and SDKs.
- Retrieve detailed coding examples and best practices for implementing Gemini API solutions.
- Access the latest technical specifications for Gemini models (e.g. Flash, Pro models).
When to Use
Use these tools when the user:
- Asks for help with Gemini API integration or SDK usage.
- Needs to know the capabilities of specific Gemini models.
- Wants to understand advanced features like Context Caching, Function Calling, or Structured Outputs.
- Requires current, authoritative information from the official documentation.
Best Practices
- Always prefer searching the documentation for the most accurate and up-to-date information.
- When providing code snippets, prioritize those found in the official docs or adapted from them.
- Reference the official Gemini API documentation when explaining concepts or features.
Official Reference
For more context on the purpose of this extension, refer to: Build coding agents with Gemini
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.
- 5d ago First seen · 29 lines · 237 tokens per session scan A 2c76a279b30e
gemini-api-docs-mcp-ext GEMINI.md is an instructions file published in the GitHub repository derailed-dash/gemini-api-docs-mcp-ext (1 stars, last pushed 5mo ago), licensed MIT. It adds 237 tokens to every session, about $0.0012 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.
Other instructions, from other repositories
gemini-extension GEMINI.md
Instructions for conversiontools/gemini-extension, covering conversion tools, if the tools are not available, how to convert a file, build a custom converter (ai studio) and tip: prefer the ctio cli when available.
adk-docs-ext GEMINI.md
Gemini CLI instructions for derailed-dash/adk-docs-ext, covering agent developer kit (adk) docs extension and accessing off-site content.
self-command GEMINI.md
Instructions for stevenAthompson/self-command, covering self command extension, tools, 1. selfcommand, 2. geminisleep and 3. watchlog.
final-pos-mcp GEMINI.md
Gemini CLI instructions for Final-Commerce/final-pos-mcp, covering building final pos apps, the build loop, shipping and rules that will save you.
gemini-llm-council GEMINI.md
Instructions for theerud/gemini-llm-council, covering llm council instructions, council strategy, the proxy mandate and synthesis protocol.
meteocontrol-mcp GEMINI.md
Gemini CLI instructions for nielsvbrecht/meteocontrol-mcp, covering meteocontrol extension context, core mandates & communication style, operational guidelines, 1. performance analysis & metrics translation and 2. proactive troubleshooting.