nexus-mcp-extension: Instructions file for Gemini CLI

GEMINI.md

nexus-mcp-extension GEMINI.md is an instructions file for Gemini CLI from tanaikech/nexus-mcp-extension. It costs 905 tokens per session, scanned A, original, MIT.

A strict operating guide for using the nexus-mcp bridge, which connects an AI agent to external tools. It requires exact server and tool names, confirmed input schemas, and a fixed four-phase process.

In plain words
What is it for?
Use it when discovering nexus-mcp tools, matching requests to available tools, checking their input schemas, and calling them safely.
Why use it?
It reduces failures caused by guessed tool names, server names, or parameters.

Instructions file for Gemini CLI

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

This is tanaikech/nexus-mcp-extension's own configuration. It tells Gemini CLI how to work on nexus-mcp-extension 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 nexus-mcp-extension configures โ†’

Reuse

Borrowing it

Nothing to install: this file belongs to tanaikech/nexus-mcp-extension. 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/tanaikech/nexus-mcp-extension/master/GEMINI.md
Clone the repo
git clone --depth 1 https://github.com/tanaikech/nexus-mcp-extension

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 nexus-mcp-extension GEMINI.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/tanaikech/nexus-mcp-extension/gemini-md/github.svg)](https://agentmods.dev/instructions/tanaikech/nexus-mcp-extension/gemini-md)
Your own site
<a href="https://agentmods.dev/instructions/tanaikech/nexus-mcp-extension/gemini-md"><img src="https://agentmods.dev/badge/instructions/tanaikech/nexus-mcp-extension/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 nexus-mcp-extension GEMINI.md

Your own site ยท 80ร—15
<a href="https://agentmods.dev/instructions/tanaikech/nexus-mcp-extension/gemini-md"><img src="https://agentmods.dev/badge/instructions/tanaikech/nexus-mcp-extension/gemini-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 905 This file is loaded in full into every session.
When invoked 905 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.00905 $0.00905
Opus 5 $0.00452 $0.00452
Sonnet 5 $0.00181 $0.00181
Haiku 4.5 $0.00090 $0.00090

Measured 12d ago against content hash b6716ea45ce6, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

nexus-mcp-extension 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 12d 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 ยท 76 lines

How it starts

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

You are an expert orchestrator using the Model Context Protocol (MCP) bridge server nexus-mcp. Your primary directive is: "Strict Literal Matching." You are prohibited from inventing, assuming, or modifying any server_name or tool_name.

๐Ÿ›‘ ABSOLUTE PROHIBITIONS (ZERO TOLERANCE)

  1. NO TOOL HALLUCINATION: Do not guess tool names (e.g., send_email, create_pdf). You must use the exact string found in the list-tools output.
  2. NO SERVER HALLUCINATION: Do not guess server names (e.g., google, workspace). You must use the exact string found in the # Server name: line of the list-tools output.
  3. NO PARAMETER GUESSING: Never call call-tool without first calling get-input-schema-for-tools for that specific tool.
  4. NO NEXUS-MCP MISUSE: Never use nexus-mcp as a server_name inside the args of call-tool.

โš™๏ธ Mandatory 4-Phase Algorithm

Phase 1: Direct Discovery (list-tools)

  • Action: Call list-tools of nexus-mcp.
  • Inventory: Once the list is received, create a literal registry of available servers and tools.
  • Rule: If a tool name or server name is not in this literal text, it does not exist. No exceptions.

Phase 2: Literal Mapping & Pattern Proposal

Analyze the user's prompt and propose execution patterns. For each tool selected:

  1. Verify the server_name (e.g., google-workspace).
  2. Verify the tool_name (e.g., gmail.send).
  3. Cross-Check: Confirm that both strings match the Phase 1 registry character-for-character (case-sensitive).
  4. Constraint: If the prompt requires an action (e.g., "Convert to PDF") but no tool with that capability is found in Phase 1, you must state: "Task impossible: No PDF conversion tool discovered."

Phase 3: Schema Verification

  • Action: Call get-input-schema-for-tools using the literal strings from Phase 2.
  • Validation: If the schema reveals the tool cannot perform the expected task (e.g., a "convert" tool that doesn't list PDF as an option), discard the pattern and move to the next.

Read the full file on GitHub ยท 76 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. 12d ago First seen ยท 76 lines ยท 905 tokens per session scan A b6716ea45ce6

Subscribe to this mod's changes

nexus-mcp-extension GEMINI.md is an instructions file published in the GitHub repository tanaikech/nexus-mcp-extension (4 stars, last pushed 8mo ago), licensed MIT. It adds 905 tokens to every session, about $0.0045 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.

Related

Other instructions, from other repositories

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.

github/spec-kit ยท 7,126 tokens

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.

vercel/next.js ยท 7,296 tokens

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.

openai/codex ยท 5,153 tokens

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).

microsoft/vscode ยท 6,785 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain ยท 4,469 tokens

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).

microsoft/vscode ยท 5,001 tokens