GraphCode: Instructions file for Codex

AGENTS.md

GraphCode AGENTS.md is an instructions file for Codex, OpenCode from scgopi/GraphCode. It costs 4,911 tokens per session, scanned A, original, no licence file.

A repository instruction file for coding agents working on GraphCode. It defines shared rules, pull-request sign-off, test gates, and how to report evidence honestly.

In plain words
What is it for?
Following GraphCode's contribution process, including red/green/regression checks and pull requests.
Why use it?
It gives an agent project-specific working rules instead of leaving those expectations implicit. It helps keep changes and reports consistent with the repository.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md.

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

Reuse

Borrowing it

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

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 GraphCode AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/scgopi/graphcode/agents-md"><img src="https://agentmods.dev/badge/instructions/scgopi/graphcode/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 4,911 This file is loaded in full into every session.
When invoked 4,911 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 unknown 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.04911 $0.04911
Opus 5.5 $0.01964 $0.01964
Sonnet 5.5 $0.00982 $0.00982
Haiku 4.5 $0.00491 $0.00491

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

Security

Grade A, and why

GraphCode 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 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.

AGENTS.md · 409 lines

The source is not reproduced here

A licence we could not identify

The repository carries a LICENSE file, but it is custom or dual enough that GitHub cannot name it and neither can this catalogue. Unknown terms are not permission, so the body is not copied here. Read the licence at the source and decide for yourself.

Read it on GitHub

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 Changed · -2 tokens per session b672df1c184d
  2. 9d ago Changed · +29 lines · +447 tokens per session 9dbee9c5634f
  3. 13d ago Changed · +3 lines · +76 tokens per session c6f66bbb9799
  4. 25d ago Changed · +19 lines · +249 tokens per session 462e899a5795
  5. 26d ago Changed · +6 lines · +100 tokens per session 93a7b34a2e77
  6. 27d ago Changed · +5 tokens per session 522cf5d66fe0
  7. 28d ago Changed · +19 lines · +247 tokens per session 3240031ecd1f
  8. 29d ago Changed · +11 lines · +156 tokens per session b35205666bf3
  9. 1mo ago Changed · +3 lines · +44 tokens per session 7368d6d4f9ff
  10. 1mo ago First seen · 319 lines · 3,589 tokens per session scan A 81ac4ad2377c

Subscribe to this mod's changes

GraphCode AGENTS.md is an instructions file published in the GitHub repository scgopi/GraphCode (145 stars, last pushed today), with no licence file. It adds 4,911 tokens to every session, about $0.0196 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-09-27.

Related

Other instructions, from other repositories