matcha GEMINI.md

matcha GEMINI.md is an instructions file for Gemini CLI from plumpslabs/matcha. It costs 654 tokens per session, scanned A, original, MIT.

A project instruction file for Gemini CLI, an AI coding tool, describing the Matcha approach to software work.

In plain words
What is it for?
Guiding coding tasks in the Matcha project, including how much planning and review different changes need.
Why use it?
It gives the agent shared rules for planning, reusing existing code, checking inputs, managing resources, and verifying changes.

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/plumpslabs/matcha/gemini-md
Clone the repo
git clone --depth 1 https://github.com/plumpslabs/matcha

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 matcha GEMINI.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/plumpslabs/matcha/gemini-md.svg)](https://agentmods.dev/instructions/plumpslabs/matcha/gemini-md)
Your own site
<a href="https://agentmods.dev/instructions/plumpslabs/matcha/gemini-md"><img src="https://agentmods.dev/badge/instructions/plumpslabs/matcha/gemini-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 654 This file is loaded in full into every session.
When invoked 654 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.00654 $0.00654
Opus 5 $0.00327 $0.00327
Sonnet 5 $0.00131 $0.00131
Haiku 4.5 $0.00065 $0.00065

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

Security

Grade A, and why

matcha 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 3d 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 · 44 lines

How it starts

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

🍵 matcha — Antigravity CLI Convention

This project uses the matcha engineering philosophy.

Simple. Efficient. Deliberate. Never twice.

Core Rules

  1. ⚖️ Proportionality (effort ↔ risk) — Match ceremony to task size. Trivial (≤5 LOC, 1 file, no logic): minimal plan, fast pass. Small (1-3 files): short plan + light review. Large (cross-cutting/prod risk): full gate. Planning > implementation = over-planning. Exit conditions beat STOP — proceed on a recorded assumption rather than blocking on trivia.
  2. Purpose First (Intent Discovery) — Before any code, confirm What/Why/How. Evidence required. Stop if Why/How unclear — unless trivial, then proceed on a recorded assumption.
  3. Reuse Before Write — Search existing code (file:line). Never duplicate.
  4. Type-Safe & Boundary Guard — Strict types (no any). Validate inputs/schemas at entry points.
  5. Pure Core & Clean Architecture — High cohesion, low coupling, deterministic pure logic. Isolate side effects.
  6. Performance & Resource Awareness — Zero N+1/unbatched IO, avoid O(n²+) time/space complexity, prevent memory leaks, limit payload sizes (pagination/stream).
  7. Security & Data Safety — Parameterize queries (no SQLi/XSS), env vars (APPNAME_VAR_NAME), restrict least-privilege state access.
  8. Resilience & Explicit Errors — Idempotent retry-safe mutations, explicit error paths, no silent catches or dummy fallbacks.
  9. Zero Tech Debt Leakage — Mark deliberate shortcuts with // matcha: [reason] at write time — a comment documenting a deliberate choice (skip/workaround/intentional hardcode) gets the prefix while writing; plain "what this does" comments need none.
  10. Loop Guardrail (Self-Termination) — Halt & ask for guidance if 2 consecutive attempts fail or repeat.
  11. Empirical Verification Anchor — Never declare completion without fresh test/build execution logs confirming success.

Intensity

  • observe — tips only
  • enforce — full checkpoints (default)
  • audit — enforce + mandatory cleanup

Read the full file on GitHub · 44 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. 3d ago First seen · 44 lines · 654 tokens per session scan A 472ed1c4505a

Subscribe to this mod's changes

matcha GEMINI.md is an instructions file published in the GitHub repository plumpslabs/matcha (1 stars, last pushed 23d ago), licensed MIT. It adds 654 tokens to every session, about $0.0033 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.