openmozi: Instructions file for Codex

AGENTS.md

openmozi AGENTS.md is an instructions file for Codex, OpenCode from spytensor/openmozi. It costs 2,236 tokens per session, scanned A, original, MIT.

Repository rules for coding agents: written instructions that define how an agent must work inside a software project.

In plain words
What is it for?
They guide worker management, workspace extensions, bug and feedback handling, simplicity, testing, and release decisions.
Why use it?
They reduce made-up progress reports, unverified claims, unsafe delegation, and changes that ignore the project's architecture or testing rules.

Instructions file for CodexOpenCode

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

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

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/spytensor/openmozi/agents-md"><img src="https://agentmods.dev/badge/instructions/spytensor/openmozi/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 2,236 This file is loaded in full into every session.
When invoked 2,236 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.02236 $0.02236
Opus 5.5 $0.00894 $0.00894
Sonnet 5.5 $0.00447 $0.00447
Haiku 4.5 $0.00224 $0.00224

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

Security

Grade A, and why

openmozi 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 2mo 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 · 146 lines

How it starts

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

AGENTS.md — Repository Instructions for Coding Agents

This file applies to Codex, Claude Code, Gemini CLI, and any other coding agent working in this repository.

The repo-level source of truth is docs/CONSTITUTION.md. Follow it for all architecture, delegation, and release decisions.

Non-Negotiable Rules

  1. Prompt text is not the execution engine. Runtime owns worker launch, sandboxing, health, state, fallback, and verification.
  2. Never invent worker progress, fake queued/completed states, or hide a deterministic runtime failure behind vague generic apologies.
  3. Only claim capabilities that are actually registered and currently ready in this runtime.
  4. Treat user-defined workspace skills and workspace agents as first-class extensions; they must follow the same managed-worker contract as built-in flows.
  5. Do not ship delegation changes unless a real complex task has been driven end-to-end on the build and the evidence recorded. The automatic gate was removed (see docs/CONSTITUTION.md §14) — nothing checks this for you.
  6. Do not use generic shell execution as the transport for Claude Code, Codex, Gemini, or other external AI CLIs; those belong to managed-worker skills/adapters.
  7. Do not treat a feature change as complete until relevant local tests have been run and passed; if new behavior lacks coverage, add or update tests in the same change.
  8. Treat every bug report or feedback item as investigation-only until the user reviews the evidence and explicitly approves an implementation option. Follow the decision gate in docs/CONSTITUTION.md §6.
  9. Load skills/mozi-development/SKILL.md before adding or changing anything in this codebase. It carries the existing seams to reuse and the wiring proof a change needs; a raw code scan misleads you here (dead exports, docs describing intent rather than behaviour, a second implementation winning silently) and unit tests do not catch it.
  10. Never publish to the open-source repository freehand. Load and follow skills/public-release/SKILL.md every time — it carries the review gates the export script cannot enforce. Nothing that only makes sense inside this tree may appear in the public one: not in files, not in a commit message, not in a tag annotation, not in a release note. This has already gone wrong once (the tooling's own commit message published this project's name, version and commit sha on every sync) and cost a rewrite of published history.

Read the full file on GitHub · 146 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. 2mo ago First seen · 146 lines · 2,236 tokens per session scan A 1ec20f149775

Subscribe to this mod's changes

openmozi AGENTS.md is an instructions file published in the GitHub repository spytensor/openmozi (441 stars, last pushed 3mo ago), licensed MIT. It adds 2,236 tokens to every session, about $0.0089 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

openmozi AGENTS.md compared with instructions from other repositories

openmozi AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
openmozi AGENTS.mdspytensor/openmoziInstructions file4413mo agoMITA2,236Codex, 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