ai-cli-utils: Instructions file for Gemini CLI

GEMINI.md

ai-cli-utils GEMINI.md is an instructions file for Gemini CLI from sergeiwallace/ai-cli-utils. It costs 1,067 tokens per session, scanned A, original, MIT.

Repository-specific guidance for ai-cli-utils, a Python package used as a research and code-review partner alongside Claude Code and Gemini CLI.

In plain words
What is it for?
Use it when reviewing or researching changes in the repository and when checking that code, documentation, and commits follow its project rules.
Why use it?
It limits the agent's role, keeps changes within the requested scope, and sets conventions for tests, commits, and public open-source code.

Instructions file for Gemini CLI

Written for Gemini CLI: the file is GEMINI.md. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions Claude Code.

This is sergeiwallace/ai-cli-utils's own configuration. It tells Gemini CLI how to work on ai-cli-utils 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 ai-cli-utils configures →

Reuse

Borrowing it

Nothing to install: this file belongs to sergeiwallace/ai-cli-utils. 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/sergeiwallace/ai-cli-utils/main/GEMINI.md
Clone the repo
git clone --depth 1 https://github.com/sergeiwallace/ai-cli-utils

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 ai-cli-utils GEMINI.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/sergeiwallace/ai-cli-utils/gemini-md"><img src="https://agentmods.dev/badge/instructions/sergeiwallace/ai-cli-utils/gemini-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,067 This file is loaded in full into every session.
When invoked 1,067 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.01067 $0.01067
Opus 5.5 $0.00427 $0.00427
Sonnet 5.5 $0.00213 $0.00213
Haiku 4.5 $0.00107 $0.00107

Measured 4d ago against content hash 171ba3d3bcec, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ai-cli-utils 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 4d 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 · 72 lines

How it starts

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

ai-cli-utils — Gemini Context

You are invoked as a research and review partner. Your primary tasks are parallel research and code review alongside Claude Code. You do not implement features directly.

Tech Stack

Layer Technology
Core Python

| AI orchestration | Claude Code CLI + Gemini CLI |

Development Conventions

  • Scope control: Implement only what the spec requires

  • Test naming: test_{given}_{when}_{then} / it("should {action} when {condition}")

  • Commits: Atomic

  • Commit at working checkpoints — commit and push to your feature branch at each working checkpoint (feature functional, doc ready, task added, etc.). Don't leave uncommitted changes at end of session.

  • Dev branch: main — feature branches merged via PR

Public Open-Source Package Standards

This is a public open-source package. All code, docs, comments, tests, and commit messages must be written for a general audience.

  • No proprietary names — never reference ai-core, aido, or any private platform/tool names in code, docs, comments, or tests
  • No personal identifiers — no personal names (first or last), usernames, private server IPs/hostnames, or account-specific paths. Use generic placeholders: user, myproject, example.com, 192.0.2.x
  • No private project names or prefixes — don't hardcode any project names or session prefixes from personal workflow in source, docs, or tests. Use only fully generic names: myproject, myapp, session-1, test-session
  • Generic examples throughout — all session names, project names, and config values in tests/docs must be obviously placeholder. Nothing that could be mistaken for a real personal workflow artifact.
  • OS portability — all code must account for Windows, macOS, and Linux differences. No macOS-only assumptions (e.g. ~/Library/, pbcopy, open). Use sys.platform, pathlib, and os abstractions. Flag any unavoidably platform-specific code with a comment.
  • Commit messages are public — same rules apply to git commit messages
  • If you catch an existing violation while working, flag it immediately rather than letting it accumulate

Read the full file on GitHub · 72 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. 4d ago Changed · +1 lines · +54 tokens per session 171ba3d3bcec
  2. 1mo ago First seen · 71 lines · 1,013 tokens per session scan A b63b3a1a913a

Subscribe to this mod's changes

ai-cli-utils GEMINI.md is an instructions file published in the GitHub repository sergeiwallace/ai-cli-utils (2 stars, last pushed today), licensed MIT. It adds 1,067 tokens to every session, about $0.0043 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

Other instructions, from other repositories

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 · 9,715 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,461 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, cache eligibility and rollout and applying the notice (cutover).

microsoft/vscode · 5,262 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,680 tokens

vscode copilot-instructions.md

Copilot instructions for microsoft/vscode, covering vs code copilot instructions, project overview, root folders, core architecture (src/ folder) and built-in extensions (extensions/ folder).

microsoft/vscode · 2,731 tokens

deno copilot-instructions.md

Copilot instructions for denoland/deno, covering deno development guide for github copilot, network access, high level overview, key directories and key files to understand first.

denoland/deno · 3,077 tokens