GENesis-AGI AGENTS.md

GENesis-AGI AGENTS.md is an instructions file for Codex, OpenCode from WingedGuardian/GENesis-AGI. It costs 5,123 tokens per session, scanned A, original, MIT.

Project instructions for GENesis-AGI, including development rules and a required adversarial code-review approach. They also describe the project’s code-intelligence and agent capabilities.

In plain words
What is it for?
Use them when reviewing diffs or pull requests, investigating edge cases, consulting the project’s code intelligence, or changing GENesis-AGI.
Why use it?
They help agents inspect the whole change for hidden bugs instead of accepting a patch after checking only the obvious cases. They also identify which project instructions are authoritative.

Instructions file for CodexOpenCode

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

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/wingedguardian/genesis-agi/agents-md
Clone the repo
git clone --depth 1 https://github.com/WingedGuardian/GENesis-AGI

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 GENesis-AGI AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/wingedguardian/genesis-agi/agents-md.svg)](https://agentmods.dev/instructions/wingedguardian/genesis-agi/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/wingedguardian/genesis-agi/agents-md"><img src="https://agentmods.dev/badge/instructions/wingedguardian/genesis-agi/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 5,123 This file is loaded in full into every session.
When invoked 5,123 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.1 $0.05123 $0.05123
Opus 5 $0.02561 $0.02561
Sonnet 5 $0.01025 $0.01025
Haiku 4.5 $0.00512 $0.00512

Measured 6d ago against content hash aced6004be4f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

GENesis-AGI 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 6d 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 · 223 lines

How it starts

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

Agent Instructions

Cross-tool agent entry point (Codex, Cursor, OpenCode, …). The canonical project instructions live in CLAUDE.md — read it first; everything below is supplementary.

Code Review Mandate (adversarial)

When reviewing a diff or PR (including automated PR review), review ADVERSARIALLY, not to confirm:

  • Assume there are latent bugs and enumerate the CLASS. For each concern, find EVERY instance, not one example — edge/boundary/sentinel/hierarchy/error cases, empty/None/zero/single-element inputs, rename/binary/unicode paths. A single spot-check is not a review. Do not confidence-filter to "no findings"; a precision-filtered "looks good" on a substantial change is false confidence.
  • READ the authoritative semantics before judging domain code (cgroup/systemd, SQLite/WAL, async/cancellation, timezones, git plumbing, cryptography). Reason from the spec/source, not assumption — assumption is what produces serial defects.
  • Quote file:line for every finding, state why it matters in THIS codebase, and rank by real severity: P1 (bug/security/data-loss) · P2 (wrong under edge conditions, missing handling) · P3 (quality/nit). Generic advice ("validate input") without a specific code path is not P1.
  • Check the fix does not REMOVE constraints (validation, guards, type enforcement) and does not break existing behavior; a finding whose "fix" regresses something is itself a finding. Verify claims against the code — a stated mechanism can be wrong even when the concern is real.
  • Historical/removed behavior quoted in comments is not a current bug. A fix's comments and commit messages routinely quote the old vulnerable pattern to justify the change ("this closes the fail-open where strict=False let it through"; "NEL-safe: splits on \n, NOT splitlines()"). Before flagging a concern, confirm the pattern exists in the current code — grep the code, not the prose. A symbol or clause that appears ONLY inside a comment describing what was removed is a FALSE POSITIVE, not a P1/P2; flagging it re-opens a closed loop round after round.
  • Calibrate severity to the code's DECLARED threat model — do not harden low-stakes code ad infinitum. Adversarial rigor above stays FULL for high-consequence surfaces (auth, credentials, financial, data-loss, external input, approval gates). But a guard/module often states its own scope — e.g. "accident-prevention on a single-author repo, not adversarial; a deliberate evader already has python -c 'subprocess…', invisible to any string guard." Weigh findings against THAT model: a bypass that requires deliberate multi-step evasion of an accident-prevention layer is a NOTE / P3, not a P1. Do not re-flag documented accepted-residue — a form the code explicitly marks out-of-scope ("accepted residue", "outside the threat model") — as a new blocking finding round after round. When, after ~3 review→fix rounds on one change, the only new findings are adjacent evasion variants on such a surface, say so in the verdict ("remaining items are out-of-threat-model residue, not blocking") instead of continuing to enumerate: over-hardening code whose functionality doesn't warrant it is itself a review failure.
  • End with a verdict: Ready to merge: Yes | No | With fixes + a one-line reason.

Read the full file on GitHub · 223 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. 6d ago First seen · 223 lines · 5,123 tokens per session scan A aced6004be4f

Subscribe to this mod's changes

GENesis-AGI AGENTS.md is an instructions file published in the GitHub repository WingedGuardian/GENesis-AGI (93 stars, last pushed today), licensed MIT. It adds 5,123 tokens to every session, about $0.0256 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-30.

Related

Other instructions, from other repositories

lihongwei-cn CLAUDE.md

Claude Code instructions for LiHongwei-cn/lihongwei-cn, covering claude.md — claude code 项目记忆, 用户身份, 回复风格(红线), 网站 and 技术栈.

LiHongwei-cn/lihongwei-cn · 2,364 tokens

lihongwei-cn copilot-instructions.md

Copilot instructions for LiHongwei-cn/lihongwei-cn: 1|# Universal Agent Spec — 通用规范核心 2| 3|> 本文件是所有 AI Agent 共享的行为规范。 4|> 各 Agent 适配文件(agents/ 目录)在部署时会把本文件内容与 Agent 专属配置合并。 5|> 修改本文件 = 修改所有 Agent 的行为。 6| 7|## 语言规则 8| 9|始终使用中文(简体中文)回复。 10| 11|仅以下内容使用英文: 12|- 代码本身(变量名、函数名、类名、关键字) 13|- URL 链接、命令行指令、API Key 14|…

LiHongwei-cn/lihongwei-cn · 1,631 tokens

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 · 6,785 tokens

spec-kit AGENTS.md

AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.

github/spec-kit · 7,104 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,296 tokens

codex AGENTS.md

AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.

openai/codex · 5,182 tokens