critty: Instructions file for Codex

AGENTS.md

critty AGENTS.md is an instructions file for Codex, OpenCode from crittylabs/critty. It costs 2,399 tokens per session, scanned A, original, MIT.

Repository instructions for coding agents working on the Critty project. They cover documentation, local notes, research, design work, and changelog updates.

In plain words
What is it for?
Use them when changing Critty's code, review format, command workflows, README, bundled skills, or release notes.
Why use it?
They tell an agent which project practices to follow and where user-facing versus agent-facing information should be documented.

Instructions file for CodexOpenCode

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

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

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/crittylabs/critty/agents-md"><img src="https://agentmods.dev/badge/instructions/crittylabs/critty/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 2,399 This file is loaded in full into every session.
When invoked 2,399 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.02399 $0.02399
Opus 5.5 $0.00960 $0.00960
Sonnet 5.5 $0.00480 $0.00480
Haiku 4.5 $0.00240 $0.00240

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

Security

Grade A, and why

critty 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 · 97 lines

How it starts

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

Agent instructions

This file is read by coding agents such as Claude Code and Codex.

Local notes

If AGENTS.local.md exists next to this file, read it before starting work and follow it. It holds a developer's local additions, is not committed, and takes precedence over this file where they differ.

How we work

  • Create task scratch directories with critty tmp create and use the returned paths for temporary documents and results.
  • Write skills, tests, and other repository text in English regardless of the language used in development instructions. Use other languages only where the content requires them, such as multilingual test cases.
  • Update README.md in the release preparation commit. Whenever a release changes what users see, use the release candidate to recapture affected README screenshots and re-record affected demo videos. For every minor or major release, recapture all README screenshots and re-record all README demo videos unless the user explicitly asks to skip some or all of them. Update their links in the same commit.
  • For major visual changes or headline features, propose recording new demos.
  • Upload screenshots, demo videos, and other binary files that will be replaced later to GitHub, such as issue or PR attachments and release assets, and reference their URLs instead of committing them. Keep only stable brand assets such as logos under assets/.
  • Embed GitHub videos using standalone attachment URLs so GitHub generates the player. Handwritten <video> elements can bypass its media-host rewrite and fail the signed-in page's content security policy. Verify playback and seeking in the rendered README and hosting issue, both signed in and signed out; downloading the files alone does not verify playback.
  • Close the release media issue once its screenshots and videos are published and linked from the README.
  • Research Crit's current implementation and documentation when changing the review format or workflow, and use the findings to inform specification and compatibility decisions.
  • In commit messages, put key names such as R or ctrl+v and command names in backquotes. Never write a bare @ in commit subjects; goreleaser copies them into release notes, where they become mentions.

Read the full file on GitHub · 97 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 · +87 tokens per session 91971760b16a
  2. 24d ago Changed · +2 lines · +131 tokens per session 72132a3cbd46
  3. 29d ago Changed · +7 tokens per session 8f8ce4688300
  4. 1mo ago Changed 348f3470927c
  5. 1mo ago Changed · +10 lines · +381 tokens per session ec08e1ccf819
  6. 1mo ago Changed · +8 lines · +416 tokens per session 7ef7c9edf9bf
  7. 1mo ago Changed · +15 lines · +356 tokens per session 34f8a314be0c
  8. 1mo ago First seen · 60 lines · 1,021 tokens per session scan A 11bbf5d8731c

Subscribe to this mod's changes

critty AGENTS.md is an instructions file published in the GitHub repository crittylabs/critty (109 stars, last pushed yesterday), licensed MIT. It adds 2,399 tokens to every session, about $0.0096 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-10-12.

Related

critty AGENTS.md compared with instructions from other repositories

critty AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
critty AGENTS.mdcrittylabs/crittyInstructions file109yesterdayMITA2,399Codex, 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