mozaiks: Instructions file for Codex

AGENTS.md

mozaiks AGENTS.md is an instructions file for Codex, OpenCode from BlocUnited-LLC/mozaiks. It costs 6,271 tokens per session, scanned A, original, MIT.

A project instruction file for Mozaiks, with rules for where work may happen and which architecture documents must be read before editing. It also explains how to handle architecture decisions and structured data changes.

In plain words
What is it for?
For making architecture, generator, schema, route, action, or component changes in the approved Mozaiks repositories.
Why use it?
It prevents agents from editing stale copies or introducing duplicate systems without checking the project's existing design.

Instructions file for CodexOpenCode

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

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

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/blocunited-llc/mozaiks/agents-md"><img src="https://agentmods.dev/badge/instructions/blocunited-llc/mozaiks/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 6,271 This file is loaded in full into every session.
When invoked 6,271 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.06271 $0.06271
Opus 5.5 $0.02508 $0.02508
Sonnet 5.5 $0.01254 $0.01254
Haiku 4.5 $0.00627 $0.00627

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

Security

Grade A, and why

mozaiks 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 26d 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 · 536 lines

How it starts

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

AGENTS.md

Repository-level guidance for coding agents working in this repo.

Shared Engineering Contract

Shared rules are canonical for every agent and live in one place: docs/agent-engineering-contract.md. Read it before changing code. Do not restate its rules here — a second copy drifts, and two agents then follow two different contracts.

Required Pre-Edit Architecture Check

Before editing Mozaiks OSS:

  • read docs/architecture/ARCHITECTURE_QUICK_REFERENCE.md
  • for generator, structured-output, YAML contract, taxonomy, route/action/component binding, or materialization work, also read docs/architecture/CANONICAL_SCHEMA_GENERATION_POLICY.md
  • if the task changes, extends, replaces, or challenges architecture, also read docs/architecture/MOZAIKS_OSS_SOFTWARE_DESIGN.md
  • current source remains final authority
  • if current source contradicts the frozen north star, stop and report the contradiction before editing
  • before introducing a subsystem, identify the current canonical owner, determine whether AG2 already owns the primitive, determine whether Mozaiks already has the canonical implementation, and prefer extending or connecting the existing owner
  • do not introduce a parallel subsystem without proving the canonical owner cannot satisfy the requirement
  • architectural changes that contradict the frozen north star require an ADR or explicit architecture decision

Deterministic Generation Rule

Generated-app reliability takes precedence over maximum schema expressiveness.

  • Prefer small finite taxonomies, shallow typed schemas, and explicit canonical references.
  • One runtime concept gets one canonical name. Do not preserve overlapping aliases for pages, actions, modules, workflows, capabilities, routes, events, or UI concepts.
  • Every runtime-affecting structured-output value must resolve to a known canonical contract before promotion. Unknown taxonomy values and unresolved route/component/module/action/workflow/capability references fail early rather than becoming runtime 404, 501, missing-action, or fallback behavior.
  • YAML and structured outputs own architecture, topology, identity, and contracts. Python and JS/React are bounded customization escape hatches behind those contracts; do not expand canonical YAML into an unbounded programming language.
  • When a schema/taxonomy changes, update the structured-output model, Factory prompts/hooks, deterministic materializer/templates, runtime loader/consumer, validation, docs, fixtures, and acceptance tests together.
  • factory_app and/or generated-app acceptance must dogfood generic schema/taxonomy changes where applicable.

Read the full file on GitHub · 536 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. 26d ago Changed · +3 lines · +19 tokens per session ceb276b02707
  2. 1mo ago Changed · +8 tokens per session 558e3dce3ccc
  3. 1mo ago Changed · +3 lines · +37 tokens per session 58761a8df2d5
  4. 1mo ago Changed · -3 lines · -2 tokens per session 95ea0cafb2ec
  5. 1mo ago Changed · -53 lines · -517 tokens per session 0b470503c36d
  6. 1mo ago Changed · -123 lines · -1,362 tokens per session 6d98f2d94895
  7. 1mo ago Changed · +2 lines · +34 tokens per session 996dd8b0f052
  8. 2mo ago First seen · 707 lines · 8,054 tokens per session scan A 31b16cf2bf82

Subscribe to this mod's changes

mozaiks AGENTS.md is an instructions file published in the GitHub repository BlocUnited-LLC/mozaiks (24 stars, last pushed yesterday), licensed MIT. It adds 6,271 tokens to every session, about $0.0251 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

mozaiks AGENTS.md compared with instructions from other repositories

mozaiks AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
mozaiks AGENTS.mdBlocUnited-LLC/mozaiksInstructions file24yesterdayMITA6,271Codex, OpenCode
agentforge-py copilot-instructions.mdScaffoldic/agentforge-pyInstructions file101mo agoApache-2.0A101GitHub Copilot
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