cc-settings: Instructions file for Codex

AGENTS.md

cc-settings AGENTS.md is an instructions file for Codex, OpenCode from darkroomengineering/cc-settings. It costs 3,932 tokens per session, scanned A, original, MIT.

Documentation for darkroom engineering, a set of portable coding standards for AI coding tools that read AGENTS.md-style instructions. It explains how agents should inspect code, follow conventions, delegate work, and tailor responses.

In plain words
What is it for?
Use it to guide agent behavior in a codebase, including reading instructions, searching files, running builds, delegating required work, and reporting changes.
Why use it?
It gives coding agents and developers shared rules for working consistently in a repository and communicating results at the right level of detail.

Instructions file for CodexOpenCode

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

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

Reuse

Borrowing it

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

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 cc-settings AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/darkroomengineering/cc-settings/agents-md"><img src="https://agentmods.dev/badge/instructions/darkroomengineering/cc-settings/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 3,932 This file is loaded in full into every session.
When invoked 3,932 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.03932 $0.03932
Opus 5.5 $0.01573 $0.01573
Sonnet 5.5 $0.00786 $0.00786
Haiku 4.5 $0.00393 $0.00393

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

Security

Grade A, and why

cc-settings 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 yesterday.

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 · 299 lines

How it starts

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

Darkroom Engineering

Portable coding standards for Claude Code, Codex, Cursor, Copilot, Windsurf, and other AGENTS.md-aware tools.

Response Calibration

Match length to the request. Lead with the answer. A lookup gets a sentence and file:line; a multi-file change gets a brief plan and landing summary. Skip preambles and duplicate recaps.

Register

Optimize for first-read comprehension, not brevity:

  • Put the subject first; move modifiers into a clause instead of stacking them.
  • Prefer active voice and direct verbs. Name the actor when it matters; use passive only when the actor is unknown or irrelevant.
  • Keep one subject or decision per sentence when combining claims creates ambiguity.
  • Use an existing name for an existing thing; never coin or capitalize a replacement concept. Define an unavoidable new name in its first sentence and reuse it unchanged.
  • Use identifiers when pointing at code, plain names when describing behavior: parseConfig when the reader will open it, "the config parser" when describing what it does.
  • Define jargon inline on first use.
  • State the effect before the mechanism. Never clip sentences or remove substance to be shorter; explain fully when explanation is the task.
  • Say what you mean literally. No mannered prose: metaphor or flourish in place of a direct statement ("a dial worth turning" for "a parameter worth varying") makes the reader work so the writer can perform.
  • Use lists, tables, or headers when the content is multifaceted enough that they help the reader; keep to plain prose otherwise.

Guardrails

Laziness Ladder (Before Writing Code)

Stop at the first rung that holds:

  1. Does this need to exist? If not, skip it (YAGNI).
  2. Search behavior and callers. Reuse matching project wrappers before primitives; name gaps before adding code.
  3. Does the standard library/runtime do it? Use it.
  4. Does the native platform do it? Use it.
  5. Does an installed dependency do it? Use it; add nothing.
  6. Can it be one line? Make it one line.
  7. Only then, write the minimum that works.

Read the full file on GitHub · 299 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. yesterday Changed · +2 lines · +38 tokens per session bdb431dee56d
  2. 8d ago Changed · +2 lines · +52 tokens per session d64052e51ff8
  3. 19d ago Changed · +2 lines · +128 tokens per session 4c2dacc51c2e
  4. 20d ago Changed · -4 lines · -112 tokens per session b0017fae25d2
  5. 21d ago Changed · +4 lines · +89 tokens per session efd08e9dd494
  6. 23d ago Changed · +3 lines · +121 tokens per session a6e55ff56a72
  7. 1mo ago Changed · +1 lines · +11 tokens per session c116d087125e
  8. 1mo ago Changed · -8 lines · -25 tokens per session 7787e20b64c0
  9. 1mo ago Changed · -7 lines · +14 tokens per session 2efbe7a0a21d
  10. 1mo ago First seen · 304 lines · 3,616 tokens per session scan A d68c1342bf46

Subscribe to this mod's changes

cc-settings AGENTS.md is an instructions file published in the GitHub repository darkroomengineering/cc-settings (56 stars, last pushed today), licensed MIT. It adds 3,932 tokens to every session, about $0.0157 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

cc-settings AGENTS.md compared with instructions from other repositories

cc-settings AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
cc-settings AGENTS.mddarkroomengineering/cc-settingsInstructions file56todayMITA3,932Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA9,887GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file144ktodayMITA7,230Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA5,685GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file150ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA3,303GitHub Copilot
deno copilot-instructions.mddenoland/denoInstructions file109ktodayMITA3,077GitHub Copilot