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.
npx agentmods add instructions/remorses/critique/agents-mdgit clone --depth 1 https://github.com/remorses/critiqueWhat 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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.01974 | $0.01974 |
| Opus 5 | $0.00987 | $0.00987 |
| Sonnet 5 | $0.00395 | $0.00395 |
| Haiku 4.5 | $0.00197 | $0.00197 |
Grade A, and why
critique AGENTS.md scanned grade A with 1 finding 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 3d 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
IMPORTANT! before starting every task ALWAYS read opentui docs with `curl -s https://raw.githubusercontent.com/sst/opentui/refs/heads/main/packages/react/README.md` How it starts
The opening of the file, as written. The whole thing — 172 lines — stays where its author put it; the contents beside it link to each section on GitHub.
opentui
opentui is the framework used to render the tui, using react.
IMPORTANT! before starting every task ALWAYS read opentui docs with curl -s https://raw.githubusercontent.com/sst/opentui/refs/heads/main/packages/react/README.md
ALWAYS!
using unreleased opentui versions
to use a pkg.pr.new preview URL for opentui, get the last commit hash (40 chars always) from PR https://github.com/anomalyco/opentui/pull/536:
gh pr view 536 -R anomalyco/opentui --json commits --jq '.commits[-1].oid[:40]'
then use it in package.json:
https://pkg.pr.new/anomalyco/opentui/@opentuah/core@<hash>
https://pkg.pr.new/anomalyco/opentui/@opentuah/react@<hash>
YOU MUST ALWAYS use the commit hash 40 characters long when changing the pkg.pr.new url! not the pr number!
if the commit hash url does not work it means it is still building. ignore the pkg.pr.new comment with the pr number in the install script. you MUST use the url with the commit hash.
bun
NEVER run the interactive TUI (e.g. bun run src/cli.tsx without arguments). It will hang. Instead ask the user to run it.
The web command is safe to run - it generates HTML and exits:
bun run src/cli.tsx web
NEVER use tsc --noEmit in this repo. Always run emitting builds so cli/dist stays updated.
after every code change, run bun run build from cli/ to make sure it compiles. fix any type errors before moving on.
NEVER use require. just import at the top of the file with esm
use bun add to install packages instead of npm
React
NEVER pass function or callbacks as dependencies of useEffect, this will very easily cause infinite loops if you forget to use useCallback
NEVER use useCallback. it is useless if we never pass functions in useEffect dependencies
Try to never use useEffect if possible. usually you can move logic directly in event handlers instead
Rules
- if you need Node.js apis import the namesapce and not the named exports:
import fs from 'fs'and notimport { writeFileSync } from 'fs' - DO NOT use as any. instead try to understand how to fix the types in other ways
- to implement compound components like
List.Itemfirst define the type of List, using a interface, then use : to implement it and add compound components later using . and omitting the props types given they are already typed by the interface, here is an example - DO NOT use console.log. only use logger.log instead
- uses onInput not onChange. it is passed a simple string value and not an event object
- to render examples components use renderWithProviders not render
- ALWAYS bind all class methods to
thisin the constructor. This ensures methods work correctly when called in any context (callbacks, event handlers, etc). Example:
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.
- 3d ago First seen · 172 lines · 1,974 tokens per session scan A 3f691c9fe37e
critique AGENTS.md is an instructions file published in the GitHub repository remorses/critique (1,264 stars, last pushed 2mo ago), licensed MIT. It adds 1,974 tokens to every session, about $0.0099 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other instructions, from other repositories
hunk AGENTS.md
Instructions for modem-dev/hunk, covering hunk agent notes, purpose, architecture, shared review seam and architectural rules.
opentui AGENTS.md
AGENTS.md instructions for anomalyco/opentui, covering opentui agent guide, engineering, tooling and runtimes, verification and portable ffi.
revdiff CLAUDE.md
Instructions for umputun/revdiff, covering revdiff, commands, project structure, architecture principles and config.
hunk CLAUDE.md
Instructions for modem-dev/hunk, a project described as: Review-first terminal diff viewer for agentic coders.
CodeWhale AGENTS.md
AGENTS.md instructions for Hmbown/CodeWhale, covering codewhale agent guidance, the ponytail method, working rules, landing other people's work and merging under a gate.
CodeWhale CLAUDE.md
Claude Code instructions for Hmbown/CodeWhale, a project described as: Open-source coding agent for your terminal, built in Rust and on a journey of continuous community improvement. Issues and PRs welcome.