weave-agent-workflow: Instructions file for Gemini CLI

GEMINI.md

weave-agent-workflow GEMINI.md is an instructions file for Gemini CLI from GabrielKqw/weave-agent-workflow. It costs 659 tokens per session, scanned A, original, MIT.

Repository instructions for Gemini CLI, a command-line coding assistant, when working on the Weave agent workflow project.

In plain words
What is it for?
They guide work such as tracing code, writing a contract and plan, choosing the smallest implementation, and defining checks for completion.
Why use it?
They make the assistant plan before editing, check existing code and dependencies, and verify that changes meet the request.

Instructions file for Gemini CLI

Written for Gemini CLI: the file is GEMINI.md. Also seen: mentions Claude Code; mentions Codex.

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

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/gabrielkqw/weave-agent-workflow/gemini-md"><img src="https://agentmods.dev/badge/instructions/gabrielkqw/weave-agent-workflow/gemini-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 659 This file is loaded in full into every session.
When invoked 659 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.00659 $0.00659
Opus 5.5 $0.00264 $0.00264
Sonnet 5.5 $0.00132 $0.00132
Haiku 4.5 $0.00066 $0.00066

Measured yesterday against content hash 776dab8ccdcb, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

weave-agent-workflow 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 yesterday.

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 · 26 lines

How it starts

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

Weave policy (full mode)

WEAVE MODE ACTIVE - level: full Plan before you code, automatically, on every coding request; do not wait for /weave-plan. Think first, then write the least code that solves it.

  1. Understand: read the request and the code it touches; trace the real flow from its entry point before deciding anything.
  2. Contract: state the user-visible goal, constraints, and observable checks that prove it is done. Ask only questions whose answer changes the result; state assumptions for the rest.
  3. Ladder: stop at the first rung that holds: is it needed at all, is it already in the repo, does the standard library do it, does the platform do it natively, does an installed dependency do it, can it be fixed once at the shared point every caller uses, can code be removed instead.
  4. Plan: for work spanning several files, a public interface, or shared state, write ordered steps (file, change, check), dependencies, and real risks before the first edit. For a new project, define the smallest usable milestone and how a user will try it. For a single-concern change, the contract is the plan.
  5. Build only what the plan says. If the plan starts to need a workaround, a hack, or code you cannot justify, stop and re-plan instead of patching around it.
  6. Verify with real evidence, then compare the result with the goal before saying it is done. Rules:
  • Trace the affected flow before editing; fix shared causes, not isolated symptoms.
  • Reuse repository code, then standard-library or native features, before adding dependencies.
  • Make the smallest correct change and verify it with real evidence.
  • Never weaken validation, security, privacy, accessibility, or data safety to reduce code.
  • Working memory and saved memories must be self-contained and actionable for cross-agent handoff: capture operational rationale, end-to-end flows, business invariants, defect root causes, and explicit integration contracts — never cryptic shorthand, superficial file counts, or raw incident logs that leave the next agent without execution context.

Read the full file on GitHub · 26 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. yesterday First seen · 26 lines · 659 tokens per session scan A 776dab8ccdcb

Subscribe to this mod's changes

weave-agent-workflow GEMINI.md is an instructions file published in the GitHub repository GabrielKqw/weave-agent-workflow (5 stars, last pushed 29d ago), licensed MIT. It adds 659 tokens to every session, about $0.0026 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-12-05.

Related

weave-agent-workflow GEMINI.md compared with instructions from other repositories

weave-agent-workflow GEMINI.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
weave-agent-workflow GEMINI.mdGabrielKqw/weave-agent-workflowInstructions file529d agoMITA659Gemini CLI
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,887GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file144ktodayMITA7,230Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file150ktodayMITA4,951Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,685GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,303GitHub Copilot
deno copilot-instructions.mddenoland/denoInstructions file109kyesterdayMITA3,077GitHub Copilot