minius_codex_lab AGENTS.md

minius_codex_lab AGENTS.md is an instructions file for Codex, OpenCode from sergeionlyart/minius_codex_lab. It costs 742 tokens per session, scanned A, original, Apache-2.0.

Maintainer instructions for a repository that distributes an independent legal-work workspace for Codex. They describe the repository layout, development commands, safety rules, and release process.

In plain words
What is it for?
Maintaining the workspace, running tests and tools, organising files, and preparing releases.
Why use it?
They help contributors change the project consistently while keeping client information, secrets, and generated legal work out of the repository.

Instructions file for CodexOpenCode

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add instructions/sergeionlyart/minius_codex_lab/agents-md
Clone the repo
git clone --depth 1 https://github.com/sergeionlyart/minius_codex_lab

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

README.md
[![agentmods](https://agentmods.dev/badge/instructions/sergeionlyart/minius_codex_lab/agents-md.svg)](https://agentmods.dev/instructions/sergeionlyart/minius_codex_lab/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/sergeionlyart/minius_codex_lab/agents-md"><img src="https://agentmods.dev/badge/instructions/sergeionlyart/minius_codex_lab/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 742 This file is loaded in full into every session.
When invoked 742 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
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 $0.00742 $0.00742
Opus 5 $0.00371 $0.00371
Sonnet 5 $0.00148 $0.00148
Haiku 4.5 $0.00074 $0.00074

Measured 4d ago against content hash a994a6a8ce6c, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

minius_codex_lab 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 4d 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 · 77 lines

How it starts

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

Maintainer instructions

Purpose

minius_codex_lab is the public source and distribution repository for an independent legal-work workspace for Codex. It is not an official product, system, or position of the Ministry of Justice of Ukraine, OpenAI, or any government body. Never add real matters, client documents, operational memory, logs, generated legal work, personal data, restricted information, or secrets to this repository.

Repository map

  • .agents/skills/ — canonical skill sources.
  • .codex/agents/ — canonical role sources.
  • workspace-template/ — runtime-only files and empty/seed data structures.
  • tools/ — deterministic document tooling.
  • scripts/ — validation, safety, and release tooling.
  • tests/ — unit, lifecycle, safety, and reproducibility tests.
  • docs/ — architecture, security, compatibility, development, and release policy.
  • dist/ — generated release artifacts; never commit it.

The root AGENTS.md governs maintainers. The runtime instruction shipped to users is workspace-template/AGENTS.md; the release builder maps it to the root of the generated workspace.

Development commands

python3.11 -m venv .venv
source .venv/bin/activate
python -m pip install "ruff>=0.11,<1" "pytest>=8,<10"
python -m pip install -r workspace-template/requirements.txt

ruff check .
ruff format --check .
python3 scripts/validate_workspace.py --mode upstream
python3 scripts/check_repo_safety.py --profile upstream-public
python3 -m unittest discover -s tests -v
python3 -m unittest discover -s tools/verifiable_document/tests -v
python3 -m pytest
python3 scripts/build_release.py
python3 scripts/build_release.py --check-reproducibility

Change rules

  • Keep skills canonical in .agents/skills/; every skill needs explicit trigger/non-trigger conditions, inputs, outputs, workflow, evidence and safety rules, stop conditions, definition of done, and a test fixture or documented acceptance test.
  • Keep roles canonical in .codex/agents/; define a narrow responsibility, allowed and prohibited actions, write scope, and handoff format. Research and audit roles are read-only by default.
  • Treat hooks, rules, configuration, manifests, and the release allowlist as security-sensitive. Review them before execution and test behavioral changes.
  • Never edit generated ZIPs or checksums. Change source files and rebuild.
  • A repeated procedure belongs in a skill; a durable cross-cutting rule belongs here; an independent specialization belongs in a role; a major architectural decision needs an ADR or RFC.
  • Add a reproducing test or fixture before fixing a behavioral defect. Update documentation and CHANGELOG.md whenever behavior or a public contract changes.

Read the full file on GitHub · 77 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. 4d ago First seen · 77 lines · 742 tokens per session scan A a994a6a8ce6c

Subscribe to this mod's changes

minius_codex_lab AGENTS.md is an instructions file published in the GitHub repository sergeionlyart/minius_codex_lab (6 stars, last pushed 2d ago), licensed Apache-2.0. It adds 742 tokens to every session, about $0.0037 per session on Opus 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

Other instructions, from other repositories