gemini-api-docs-mcp-ext: Instructions file for Gemini CLI

GEMINI.md

gemini-api-docs-mcp-ext GEMINI.md is an instructions file for Gemini CLI from derailed-dash/gemini-api-docs-mcp-ext. It costs 237 tokens per session, scanned A, original, MIT.

Instruction notes for using a tool that searches Google’s official Gemini API documentation. Gemini is Google’s family of AI models and programming interfaces.

In plain words
What is it for?
Use it when building with Gemini models or SDKs, including features such as context caching, function calling, and structured outputs.
Why use it?
It gives an agent a defined way to find current API details, examples, model information, and recommended implementation practices.

Instructions file for Gemini CLI

Written for Gemini CLI: the file is GEMINI.md.

This is derailed-dash/gemini-api-docs-mcp-ext's own configuration. It tells Gemini CLI how to work on gemini-api-docs-mcp-ext itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything gemini-api-docs-mcp-ext configures →

Reuse

Borrowing it

Nothing to install: this file belongs to derailed-dash/gemini-api-docs-mcp-ext. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/derailed-dash/gemini-api-docs-mcp-ext/main/GEMINI.md
Clone the repo
git clone --depth 1 https://github.com/derailed-dash/gemini-api-docs-mcp-ext

Made for: Gemini CLI.

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-api-docs-mcp-ext GEMINI.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/derailed-dash/gemini-api-docs-mcp-ext/gemini-md/github.svg)](https://agentmods.dev/instructions/derailed-dash/gemini-api-docs-mcp-ext/gemini-md)
Your own site
<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/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-api-docs-mcp-ext GEMINI.md

Your own site · 80×15
<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="Reviewed on agentmods" width="80" height="20"></a>
Per session 237 This file is loaded in full into every session.
When invoked 237 The same file — it is already loaded in full.
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.00237 $0.00237
Opus 5.5 $0.00095 $0.00095
Sonnet 5.5 $0.00047 $0.00047
Haiku 4.5 $0.00024 $0.00024

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

Security

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 2mo 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.

GEMINI.md · 29 lines

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

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. 2mo ago First seen · 29 lines · 237 tokens per session scan A 2c76a279b30e

Subscribe to this mod's changes

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 7mo ago), licensed MIT. It adds 237 tokens to every session, about $0.0009 per session on Opus 5.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

gemini-api-docs-mcp-ext GEMINI.md compared with instructions from other repositories

gemini-api-docs-mcp-ext GEMINI.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
gemini-api-docs-mcp-ext GEMINI.mdderailed-dash/gemini-api-docs-mcp-extInstructions file17mo agoMITA237Gemini CLI
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode