brick-SR1: Instructions file for Codex

AGENTS.md

brick-SR1 AGENTS.md is an instructions file for Codex, OpenCode from regolo-ai/brick-SR1. It costs 597 tokens per session, scanned A, original, Apache-2.0.

Repository contribution and publication rules for the Brick project. They define what may be committed, how branches are used, and how public material must be written.

In plain words
What is it for?
They guide Git work, release preparation, documentation, commit content, and English-language public files.
Why use it?
They prevent internal drafts from being published and keep production branches and repository content within the project's stated standards.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md.

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

Reuse

Borrowing it

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

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 brick-SR1 AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/regolo-ai/brick-sr1/agents-md"><img src="https://agentmods.dev/badge/instructions/regolo-ai/brick-sr1/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 597 This file is loaded in full into every session.
When invoked 597 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.00597 $0.00597
Opus 5.5 $0.00239 $0.00239
Sonnet 5.5 $0.00119 $0.00119
Haiku 4.5 $0.00060 $0.00060

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

Security

Grade A, and why

brick-SR1 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 1mo 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 · 62 lines

How it starts

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

AGENTS — Contribution & Publication Rules

This file is the single source of truth for repository hygiene and publishing. It supersedes and replaces brick_push_rules.md (removed).

1. Publication hygiene (MUST)

  • Never commit internal plans, notes, or development drafts. This includes, but is not limited to: plan_ab_suite/, plans/, *_plan*.md, working documents, meeting notes, and research scratch files.
  • Internal material belongs in your local workspace or an external tool (Notion, Google Docs), never in this repository.
  • All public content must be in English. READMEs, docs, comments in published files, commit messages, and PR descriptions: English only.
  • These patterns are blocked by .gitignore, a pre-commit hook (no-internal-files), and the CI repo-hygiene job. Do not try to work around them; if a legitimate file is falsely matched, update the allowlist in scripts/check_no_internal_files.sh in the same PR.

2. Branch & publish rules

main — stable production

  • Contains the stable, production-ready Brick code.
  • Releases and production tags must point to commits contained in main.
  • The @regoloai/brick npm package may be published only from main.

dev — tested new features

  • Contains new features that have been tested but are not yet considered safe for stable production.
  • Changes move from dev to main only after production-readiness review.
  • dev must never publish the npm package.

deploy — Regolo inference configuration only

  • Contains only the Regolo deployment configuration for running brick-v1-beta as an inference model on regolo.ai.
  • Product features, CLI releases, and npm publishing do not belong here.
  • deploy must never publish the npm package.

3. Workflow

make install   # deps for CLI + Python workspaces
make test      # Go + pytest + vitest, run before opening a PR
make lint      # pre-commit run --all-files

Branch from main, keep commits focused, follow the existing style of the files you touch.

Read the full file on GitHub · 62 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. 1mo ago First seen · 62 lines · 597 tokens per session scan A 5e5992be403b

Subscribe to this mod's changes

brick-SR1 AGENTS.md is an instructions file published in the GitHub repository regolo-ai/brick-SR1 (129 stars, last pushed today), licensed Apache-2.0. It adds 597 tokens to every session, about $0.0024 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-09-17.

Related

Other instructions, from other repositories