cezar: Instructions file for Codex

AGENTS.md

cezar AGENTS.md is an instructions file for Codex, OpenCode from open-mercato/cezar. It costs 9,747 tokens per session, scanned A, original, MIT.

A repository guide for cezar, a local tool for running and tracking coding-agent tasks in separate Git worktrees. It describes the command-line and browser interfaces, supported agents, workflows, and local data storage.

In plain words
What is it for?
Use it when developing cezar's TypeScript server, React interface, YAML workflows, Git worktree handling, coding-agent backends, live task tracking, or draft pull-request flow.
Why use it?
It explains how the orchestrator works without requiring accounts, a database, or cloud services. It also highlights safety points such as review gates and the rule that tasks are not merged automatically.

Instructions file for CodexOpenCode

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

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

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/open-mercato/cezar/agents-md"><img src="https://agentmods.dev/badge/instructions/open-mercato/cezar/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 9,747 This file is loaded in full into every session.
When invoked 9,747 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.09747 $0.09747
Opus 5.5 $0.03899 $0.03899
Sonnet 5.5 $0.01949 $0.01949
Haiku 4.5 $0.00975 $0.00975

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

Security

Grade A, and why

cezar 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 2d 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 · 223 lines

How it starts

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

AGENTS.md — working in this repository

cezar is a parallel coding-agents orchestrator: a local cockpit (CLI + browser GUI) for running and tracking AI coding-agent tasks in a repo. You type a task, pick a workflow and a backend — Claude Code, Codex or OpenCode (experimental), or a mix per step — and watch it work live: steps, tool calls, tokens, diffs. Each task runs in its own git worktree, ends at a review gate (never auto-merges), and can be pushed as a draft PR through gh. Everything is local: no accounts, no database, no cloud — state is plain JSON, NDJSON and Markdown under .ai/cezar/. The server stack stays deliberately small: strict TypeScript (ESM, Node 20+), Hono + SSE, Zod at every boundary, and YAML workflows. The cockpit is React 19 + Vite + Tailwind v4 + shadcn/ui, compiled to static assets (the legacy vanilla UI was retired in R7). Every module is meant to be read in one sitting.

Zero config

cezar ships no config file the user must create and no setting they must set before it works. Every capability is discovered from what is already there — the repo, the environment, gh, the running processes — or it degrades quietly to a smaller cezar. .ai/cezar/config.json is optional and every key has a working default; A repository .env is never auto-loaded. Tracker credentials use managed per-project dotenv files in cezarHomeDir()/tracker-connections/, written by Settings and parsed only into the project connection object, never into process.env.

New state may be written, never required: .ai/cezar/, ~/.cache/cez/, ~/.cezar/. Delete any of them and cezar rebuilds what it needs on the next run. State that a user must author, migrate, or repair is not state — it is configuration, and it needs a reason. One deliberate exception inside that rule: the project registry keeps a ~/.cezar/config.json.bak snapshot, so deleting config.json alone restores instead of resetting — delete the ~/.cezar directory for a true reset.

Practical rules:

Read the full file on GitHub · 223 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. 2d ago Changed · +8 lines · +304 tokens per session 840b834d5cc7
  2. 4d ago Changed · +1 lines · +194 tokens per session b6db2ce3b350
  3. 7d ago Changed · +31 tokens per session 909e9ec3e627
  4. 9d ago Changed · +3 lines · +754 tokens per session f2d5b3acc4b9
  5. 10d ago Changed · +71 tokens per session 3944dce32231
  6. 11d ago Changed · +8 lines · +103 tokens per session c50576bc45b7
  7. 19d ago Changed · +1 tokens per session 2c1c4f2d9425
  8. 20d ago Changed · +1 lines · +195 tokens per session 6dbb2746650c
  9. 23d ago Changed · +35 tokens per session 3c239b8c42bc
  10. 26d ago First seen · 202 lines · 8,059 tokens per session scan A 5a500f191a4b

Subscribe to this mod's changes

cezar AGENTS.md is an instructions file published in the GitHub repository open-mercato/cezar (776 stars, last pushed today), licensed MIT. It adds 9,747 tokens to every session, about $0.0390 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

Other instructions, from other repositories

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 9,649 tokens

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,384 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, cache eligibility and rollout and applying the notice (cutover).

microsoft/vscode · 5,262 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,680 tokens

vscode copilot-instructions.md

Copilot instructions for microsoft/vscode, covering vs code copilot instructions, project overview, root folders, core architecture (src/ folder) and built-in extensions (extensions/ folder).

microsoft/vscode · 2,731 tokens

deno copilot-instructions.md

Copilot instructions for denoland/deno, covering deno development guide for github copilot, network access, high level overview, key directories and key files to understand first.

denoland/deno · 3,077 tokens