Neuroverseos-governance: Instructions file for Codex

AGENTS.md

Neuroverseos-governance AGENTS.md is an instructions file for Codex, OpenCode from NeuroverseOS/Neuroverseos-governance. It costs 5,898 tokens per session, scanned A, original, MIT.

Repository instructions for NeuroVerse Governance, a package that evaluates an AI agent’s intended action against permanent rules and temporary task plans.

In plain words
What is it for?
Use it to load governance rules and check whether actions such as database operations are permitted before they run.
Why use it?
It gives predictable allow-or-block decisions without using another language model during rule evaluation.

Instructions file for CodexOpenCode

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

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

Reuse

Borrowing it

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

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 Neuroverseos-governance AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/neuroverseos/neuroverseos-governance/agents-md"><img src="https://agentmods.dev/badge/instructions/neuroverseos/neuroverseos-governance/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 5,898 This file is loaded in full into every session.
When invoked 5,898 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.05898 $0.05898
Opus 5.5 $0.02359 $0.02359
Sonnet 5.5 $0.01180 $0.01180
Haiku 4.5 $0.00590 $0.00590

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

Security

Grade A, and why

Neuroverseos-governance 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 19d 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 · 120 lines

How it starts

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

AGENTS.md — for people and coding agents working in this repo

Two formats, one engine. neuroverse-governance/1 is the general contract (AI agents calling tools in scopes under a principal's authority, SPEC.md § 16); robot-domain-rules/3 is the robotics dialect (actions in areas, SPEC.md § 1–15). Both are decided by one evaluate, one evaluatePlan, one conflict check and one backtest, through the dialect table in src/model.ts. The robotics dialect is robot-domain-rules 0.5.3 unchanged: its 261 conformance cases are byte for byte the published ones, and a change that alters any of them is a regression unless SPEC.md § 11 gets an erratum line and the change is additive.

The invariants you must keep

PRINCIPLES.md is the contract. Each principle is enforced by conformance cases in both formats, and any change that breaks one is a bug, not a redesign. In one line each:

  1. Every rule carries a declared authority. source and setBy on every rule; the engine invents nothing; a rule from an agent or a system is weighed by setBy, never by who wrote it; a mission's rules carry the authority plan, below every declared one.
  2. Authority is declared, layered, and only tightens. authorities highest first; a lower level can only tighten; authority-override is named and has no effect; approvals must hold what wait.by names; a mission has no allow; a delegate's authority never grows.
  3. AI writes and proposes; the rulebook decides. No model and no clock in evaluate.ts, plan.ts, check.ts, compile.ts, governance.ts, backtest.ts; the structured then decides, never prose; a draft's setBy comes from the caller, never from the model. A plan is checked step by step on projected facts and by planRules; it is never written here. The model's text about its intent is not an input anywhere.
  4. Unknown means no; a missing fact is never a yes. /3: required_facts, area_declared, role_declared, role_permits_action, unknown_action. /1: required_facts, args_wellformed, scope_declared, role_declared, scope_permits_tool, role_permits_tool, unknown_tool, delegation_exceeds_authority. Only declared defaults are filled in; history is the caller's and a rule that needs it and does not get it refuses; a projected fact out of range refuses, never clamps; an undeclared, missing, mistyped or doubly-supplied argument is args_wellformed before any rule is weighed.
  5. Every decision explains itself. reasons, trace, setBy, limits, then, fingerprint; RFC 8785 canonical JSON and the SHA-256 fingerprint (over UTF-8, findings excluded) are reproduced byte for byte; a /1 PAUSE that rejected approvals carries approvalsRejected: [{ id, nonce?, code, reason }] — those four members and nothing else, never the approval, its signature or key material.
  6. Waiting has two meanings, and approval is not a fact. Approval waits return approvalRequests and are cleared by a sufficient approval; condition waits are cleared only by facts. With trustedKeys declared, only the verified handle verifyApproval returned (src/verified.ts; a verified member in request data is ignored) counts, bound to the rule, the rulebook fingerprint and — /3 — the participant, action and area, or — /1 — the principal, participant, tool, scope and fingerprint(args), valid at request.now, with a nonce not in consumedApprovals; it clears that wait only, each approval clears at most one wait, a plan consumes nonces step by step. A rejected approval is a PAUSE with a code, never a BLOCK. Facts, now, history, the scope, the delegation chain and the approvals come from the harness, never from the requester.
  7. Conflicts are surfaced, never quietly resolved. Eight finding kinds (unmatched_selector is on one rule, no witness); exact for the rule language on reachable requests, with a witness on every certain finding between two rules, in the rulebook's own words (tools and scopes for /1); "possible" only for history conditions; compile never hides findings and validateRulebook re-derives them. The Z3 cross-check (test/z3-crosscheck.test.ts) must keep agreeing on every pair.
  8. One law for everyone. Robots, people and agents, both formats, through one evaluate; selectors by ID, kind, tag and exclusion; area and scope role limits as re-derived never rules; a subagent may use a tool only if its own role and every role in the chain list it, and a mission binds delegates (who: "*").
  9. Rules say what may happen; evidence says what is true. Facts are trusted; this is not a safety system and not a judge of text (BOUNDARY.md). The adapter runs the executor only on ALLOW or LIMIT, with the limits; anything that fails before it is a BLOCK with nothing run and the reservation and nonce claims given back; every nonce the decision used is claimed atomically (consumed.claim) before the executor, so two concurrent calls with one approval cannot both run; once the executor has been invoked a throw is an uncertain outcome (outcome: "uncertain"): spend committed, nonces consumed, history appended, harness.reconcile told — never a release, never an un-consume; the arithmetic behind a cumulative limit (reserve, commit, release) is the harness's, and the engine only compares.

Read the full file on GitHub · 120 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. 19d ago Changed · -169 lines · +3,232 tokens per session e2baec3273b1
  2. 26d ago Changed · +13 lines · +282 tokens per session 4a8bc443be8a
  3. 2mo ago First seen · 276 lines · 2,384 tokens per session scan A c8472b9f64e1

Subscribe to this mod's changes

Neuroverseos-governance AGENTS.md is an instructions file published in the GitHub repository NeuroverseOS/Neuroverseos-governance (2 stars, last pushed 19d ago), licensed MIT. It adds 5,898 tokens to every session, about $0.0236 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

Neuroverseos-governance AGENTS.md compared with instructions from other repositories

Neuroverseos-governance AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
Neuroverseos-governance AGENTS.mdNeuroverseOS/Neuroverseos-governanceInstructions file219d agoMITA5,898Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,516GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
vscode model-prompts.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA2,022GitHub Copilot