gemini-web-wrapper: Instructions file for Codex

AGENTS.md

gemini-web-wrapper AGENTS.md is an instructions file for Codex, OpenCode from Ven0m0/gemini-web-wrapper. It costs 1,111 tokens per session, scanned A, original, MIT.

Repository instructions for a Gemini web wrapper project, including its code layout, instruction priority, and working rules. A repository is the folder containing a project's source code and configuration.

In plain words
What is it for?
Guide work on the React web app, FastAPI backend, shared settings, language-model providers, repository guidance files, and related project structure.
Why use it?
They give coding agents a shared reference for where parts of the application belong and which instructions take precedence. This reduces conflicting changes across the project.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions CLAUDE.md; mentions AGENTS.md; mentions OpenCode.

This is Ven0m0/gemini-web-wrapper's own configuration. It tells Codex and OpenCode how to work on gemini-web-wrapper 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 gemini-web-wrapper configures →

Reuse

Borrowing it

Nothing to install: this file belongs to Ven0m0/gemini-web-wrapper. 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/Ven0m0/gemini-web-wrapper/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/Ven0m0/gemini-web-wrapper

Made for: Codex, OpenCode.

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 gemini-web-wrapper AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/ven0m0/gemini-web-wrapper/agents-md/github.svg)](https://agentmods.dev/instructions/ven0m0/gemini-web-wrapper/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/ven0m0/gemini-web-wrapper/agents-md"><img src="https://agentmods.dev/badge/instructions/ven0m0/gemini-web-wrapper/agents-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 gemini-web-wrapper AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/ven0m0/gemini-web-wrapper/agents-md"><img src="https://agentmods.dev/badge/instructions/ven0m0/gemini-web-wrapper/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,111 This file is loaded in full into every session.
When invoked 1,111 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.01111 $0.01111
Opus 5.5 $0.00444 $0.00444
Sonnet 5.5 $0.00222 $0.00222
Haiku 4.5 $0.00111 $0.00111

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

Security

Grade A, and why

gemini-web-wrapper AGENTS.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.

AGENTS.md · 117 lines

How it starts

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

AGENTS.md — Gemini Web Wrapper

Canonical repository guidance for Copilot, OpenCode, and other agents. Keep this file as the long-form source of truth, keep .github/copilot-instructions.md short and aligned with it, and keep CLAUDE.md as a symlink to this file.

Instruction precedence

  1. AGENTS.md for repo-wide rules and workflows.
  2. .github/instructions/*.instructions.md for path-specific guidance.
  3. .github/skills/*/SKILL.md for reusable task workflows invoked on demand.

Repository map

  • apps/web — React 19 + TypeScript + Vite 8 PWA
    • Shared state lives in apps/web/src/store.ts.
    • API clients and non-trivial browser logic belong in apps/web/src/services/.
    • Tooling comes from apps/web/package.json and the root Bun workspace.
  • apps/api — FastAPI backend
    • App entrypoint: apps/api/src/affine/api/server.py
    • Module entrypoint: apps/api/src/affine/api/__main__.py
    • Main routes include /health, /v1/models, /v1/chat/completions, /v1/agent/chat, /v1/repo/*, and /v1/local-index/*.
  • packages/config — typed settings and cached get_settings()
  • packages/llm-core — provider interfaces, factory, and built-in providers
  • packages/shared/python — shared schemas and OpenAI-style request/response models
  • packages/code-index — repository discovery, parsing, chunking, embedding, and search helpers under packages/code-index/src/affine/code_index/

Source of truth

When guidance disagrees, prefer:

  1. Current code in apps/ and packages/
  2. .github/workflows/ci.yml
  3. README.md
  4. Other docs under docs/

Use the code and CI as the baseline, and update guidance when runtime behavior or validation changes.

Working rules

  • Keep changes focused, local, and easy to review.
  • Use the repository toolchains only: bun for JS/TS and uv for Python.
  • Follow the existing layout instead of introducing parallel patterns.
  • Keep repo-wide guidance here and keep path-specific details in .github/instructions/.
  • Update related guidance files together when commands, entrypoints, or workflows change.

Read the full file on GitHub · 117 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 Changed · -1 lines · -9 tokens per session f460d32e4fad
  2. 2mo ago First seen · 118 lines · 1,120 tokens per session scan A b6878615cf8c

Subscribe to this mod's changes

gemini-web-wrapper AGENTS.md is an instructions file published in the GitHub repository Ven0m0/gemini-web-wrapper (5 stars, last pushed yesterday), licensed MIT. It adds 1,111 tokens to every session, about $0.0044 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

gemini-web-wrapper AGENTS.md compared with instructions from other repositories

gemini-web-wrapper AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
gemini-web-wrapper AGENTS.mdVen0m0/gemini-web-wrapperInstructions file5yesterdayMITA1,111Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode