agent-reflectmem: Instructions file for Gemini CLI

GEMINI.md

agent-reflectmem GEMINI.md is an instructions file for Gemini CLI from King-A23/agent-reflectmem. It costs 61 tokens per session, scanned A, original, MIT.

A Gemini CLI instruction that loads Agent ReflectMem guidance from a Markdown file and its extension hooks. Gemini CLI is a command-line assistant for working with code.

In plain words
What is it for?
Use it to configure Gemini CLI to use ReflectMem, with a separate skill available for fallback commands and troubleshooting.
Why use it?
It makes the ReflectMem setup available automatically, so you do not have to load its instructions by hand.

Instructions file for Gemini CLI

Written for Gemini CLI: the file is GEMINI.md. Also seen: mentions Gemini CLI.

This is King-A23/agent-reflectmem's own configuration. It tells Gemini CLI how to work on agent-reflectmem 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 agent-reflectmem configures →

Reuse

Borrowing it

Nothing to install: this file belongs to King-A23/agent-reflectmem. 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/King-A23/agent-reflectmem/main/GEMINI.md
Clone the repo
git clone --depth 1 https://github.com/King-A23/agent-reflectmem

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 agent-reflectmem GEMINI.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/king-a23/agent-reflectmem/gemini-md"><img src="https://agentmods.dev/badge/instructions/king-a23/agent-reflectmem/gemini-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 61 This file is loaded in full into every session.
When invoked 61 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.00061 $0.00061
Opus 5.5 $0.00024 $0.00024
Sonnet 5.5 $0.00012 $0.00012
Haiku 4.5 $0.00006 $0.00006

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

Security

Grade A, and why

agent-reflectmem 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 1mo 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 · 7 lines

What it actually says

Agent ReflectMem

@./docs/reflectmem-host-instructions.md

Gemini CLI should get ReflectMem automatically from this GEMINI.md file plus the extension hooks in hooks/hooks.json. Use the reflectmem skill only when you need fallback operator commands or direct troubleshooting.

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. 1mo ago First seen · 7 lines · 61 tokens per session scan A d10d7d20acdf

Subscribe to this mod's changes

agent-reflectmem GEMINI.md is an instructions file published in the GitHub repository King-A23/agent-reflectmem (1 stars, last pushed 5mo ago), licensed MIT. It adds 61 tokens to every session, about $0.0002 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