m1nd: Instructions file for Codex

AGENTS.md

m1nd AGENTS.md is an instructions file for Codex, OpenCode from maxkle1nz/m1nd. It costs 10,604 tokens per session, scanned A, original, MIT.

Repository instructions for m1nd, a Rust-based code-graph engine with several workspace components and related web and package projects. They describe required tests, coding rules, public-repository precautions, and how changes should be delivered.

In plain words
What is it for?
Use them when modifying m1nd to understand its Rust workspace, UI, wrappers, execution components, CI commands, and contribution workflow.
Why use it?
They give coding agents the project structure and the checks that define acceptable changes. They also reduce the risk of publishing secrets or bypassing the repository’s required gates.

Instructions file for CodexOpenCode

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

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

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/maxkle1nz/m1nd/agents-md"><img src="https://agentmods.dev/badge/instructions/maxkle1nz/m1nd/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 10,604 This file is loaded in full into every session.
When invoked 10,604 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.10604 $0.10604
Opus 5.5 $0.04242 $0.04242
Sonnet 5.5 $0.02121 $0.02121
Haiku 4.5 $0.01060 $0.01060

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

Security

Grade A, and why

m1nd 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 27d 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 · 585 lines

How it starts

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

AGENTS.md — working guide for any coding agent on m1nd

Vendor-neutral instructions for autonomous agents (Jules, Codex, Claude Code, Cursor, …) working on this repository. Read this first; it is the contract.

m1nd is a neuro-symbolic code-graph engine in Rust (workspace, resolver 2, six members): m1nd-core (in-memory engine) · m1nd-ingest (extractors / write side) · m1nd-mcp (the served MCP owner + every verb) · m1nd-control · m1nd-runnerd (the write/execution lane — the only spawner) · m1nd-openclaw. Outside the Rust workspace: m1nd-ui (the served web UI, Vite/React), m1nd-demo, and an npm wrapper in npm/. Philosophy: agent-first, proof-grown, local-first, calibrated honesty (absent/abstain/insufficient_evidence are real answers).

This is a PUBLIC repository. Everything you commit is published.

The gates — verified change scope, then full integration proof

For each local edit, run the exact affected regression test first. Before sharing a PR, run the smallest real proof for the behavior; Rust changes also run bash scripts/lightning_check.sh. CI independently derives a strict v1 scope from the PR event's base/head SHAs and git diff --name-status -z -M at the checked-out candidate. Renames include both paths; deletion, empty, malformed, unavailable or unknown diffs select full coverage.

Known PR changes run only their affected area gates. Scoped Rust runs LIGHTNING plus affected crates and their explicit dependents on Linux and Windows. UI, host/npm, native cache and Python gates run only when their flag is selected. Source guard, complete-history gitleaks and frozen-contract/docs coupling always run. Cargo audits run for dependency/full coverage; UI audit and dependency review run for UI dependency changes or full coverage. Test passes only when every selected job succeeds and every unselected job is truly skipped; its pass line names the scope and candidate SHA. A draft may receive that scoped result, but GitHub still forbids merging a draft.

Read the full file on GitHub · 585 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. 27d ago Changed · +2 lines · +25 tokens per session 0597949d938b
  2. 1mo ago Changed · +18 lines · +276 tokens per session e9cee33f4df8
  3. 1mo ago Changed · +19 lines · +261 tokens per session 302cb36ca025
  4. 2mo ago First seen · 546 lines · 10,042 tokens per session scan A a9a55c464213

Subscribe to this mod's changes

m1nd AGENTS.md is an instructions file published in the GitHub repository maxkle1nz/m1nd (24 stars, last pushed 13d ago), licensed MIT. It adds 10,604 tokens to every session, about $0.0424 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-30.

Related

m1nd AGENTS.md compared with instructions from other repositories

m1nd AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
m1nd AGENTS.mdmaxkle1nz/m1ndInstructions file2413d agoMITA10,604Codex, 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