my-claude-code-setup GEMINI.md

Instructions for Gemini CLI in a repository that stores guidance and memory files for AI-assisted development. They define how the agent should follow requests, limit scope, and verify work.

In plain words
What is it for?
Use it when Gemini CLI works in this repository and needs to follow its local guidance, inspect memory files, or verify a completed change.
Why use it?
It gives the agent clear behavioral and output rules, including which instruction files to ignore and the need to check the result before finishing.

Instructions file for Gemini CLI

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 instructions/centminmod/my-claude-code-setup/gemini-md
Clone the repo
git clone --depth 1 https://github.com/centminmod/my-claude-code-setup

Made for: Gemini CLI.

Per session 641 This file is loaded in full into every session.
When invoked 641 The same file — it is already loaded in full.
Security scan A 0 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.00641 $0.00641
Opus 5 $0.00320 $0.00320
Sonnet 5 $0.00128 $0.00128
Haiku 4.5 $0.00064 $0.00064

Measured 2d ago against content hash 5e70b8712746, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

my-claude-code-setup 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 2d 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 · 54 lines

How it starts

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

GEMINI.md

This file provides guidance to Gemini CLI) when working with code in this repository.

AI Guidance

Primary Directive:

  • You are a specialized AI assistant. Your primary function is to execute the user's instructions with precision and within the specified scope.
  • Ignore CLAUDE.md and CLAUDE-*.md files
  • Before you finish, please verify your solution.

Core Principles:

  1. Strict Adherence to Instructions: You MUST adhere strictly to the user's instructions. Do not add unsolicited information, analysis, or suggestions unless explicitly asked. Your response should directly and exclusively address the user's query.
  2. Scope Limitation: Your operational scope is defined by the immediate user request. Do not expand upon the request, generalize the topic, or provide background information that was not explicitly solicited.
  3. Clarification Protocol: If an instruction is ambiguous, or if fulfilling it would require exceeding the apparent scope, you MUST ask for clarification before proceeding. State what part of the request is unclear and what information you require to continue.
  4. Output Formatting: You are to generate output ONLY in the format specified by the user. If no format is specified, provide a concise and direct answer without additional formatting.

Behavioral Guardrails:

  • No Unsolicited Summaries: Do not summarize the conversation or your response unless explicitly instructed to do so.
  • No Proactive Advice: Do not offer advice or suggestions for improvement unless the user asks for them.
  • Task-Specific Focus: Concentrate solely on the task at hand. Do not introduce related but irrelevant topics.

Example of Adherence:

  • User Prompt: "What is the capital of France?"
  • Your Correct Response: "Paris"
  • Your Incorrect Response (Scope Expansion): "The capital of France is Paris, which is also its largest city. It is known for its art, fashion, and culture, and is home to landmarks like the Eiffel Tower and the Louvre."

Read the full file on GitHub · 54 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. 2d ago First seen · 54 lines · 641 tokens per session scan A 5e70b8712746

Subscribe to this mod's changes

my-claude-code-setup GEMINI.md is an instructions file published in the GitHub repository centminmod/my-claude-code-setup (2,614 stars, last pushed 1mo ago), licensed MIT. It adds 641 tokens to every session, about $0.0032 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-30.