Borrowing it
Nothing to install: this file belongs to vaneenige/monochrome-ui. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/vaneenige/monochrome-ui/main/AGENTS.mdgit clone --depth 1 https://github.com/vaneenige/monochrome-uiWrote 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.
[](https://agentmods.dev/instructions/vaneenige/monochrome-ui/agents-md)<a href="https://agentmods.dev/instructions/vaneenige/monochrome-ui/agents-md"><img src="https://agentmods.dev/badge/instructions/vaneenige/monochrome-ui/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.
<a href="https://agentmods.dev/instructions/vaneenige/monochrome-ui/agents-md"><img src="https://agentmods.dev/badge/instructions/vaneenige/monochrome-ui/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.06031 | $0.06031 |
| Opus 5.5 | $0.02412 | $0.02412 |
| Sonnet 5.5 | $0.01206 | $0.01206 |
| Haiku 4.5 | $0.00603 | $0.00603 |
Grade A, and why
monochrome-ui 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.
How it starts
The opening of the file, as written. The whole thing — 482 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS.md
Instructions for working on monochrome: an accessible, headless
UI component library with no runtime dependencies. Eight
components (Accordion, Collapsible, Dialog, Menu, Menubar,
Popover, Tabs, Tooltip), plus an optional router and the React
and Vue component templates that npx monochrome add copies
into projects (templates/). The core is framework-agnostic and
works on plain HTML; import it once and every correctly-
structured component on the page becomes interactive.
Read first
PRINCIPLES.md: the six north stars (DOM is the source of truth, event delegation onwindowonly, zero timers (one paint yield in the router), zero runtime dependencies, Baseline 2024, one file per component) and the shape choices that follow from them. Read it before touchingsrc/. Breaking a north star is never a fix.docs/: how each mechanism works. Overlay files aremenu.md,popover.md,tooltip.md,dialog.md. Shared helpers plus Accordion, Tabs, and Collapsible live indom.md. Router inrouter.md. React and Vue parts inparts.md. The core and router carry no comments; these files are their comments. Read the one for the component you are debugging, skip the rest.- This file: how to work in the repo. Rules only.
Where things go
Every change has exactly one home. Pick it before writing prose.
- A constraint that, if broken, means "not monochrome":
PRINCIPLES.md› North stars. Needs the maintainer's sign-off. - Why the core has a shape (a pattern, not a mechanism):
PRINCIPLES.md› Why the core looks weird. - How a component behaves, including every bug fix that changes
behaviour:
docs/<component>.md, inside the paragraph that owns that mechanism. Accordion, Tabs, Collapsible, and shared helpers live indocs/dom.md. - Behaviour of the parts beyond markup:
docs/parts.md. - React parts:
templates/react/<component>.tsx(JSX). Vue parts:templates/vue/<component>/, one single-file component per part, acontext.tsfor what they share, and anindex.tsthat loads the core and names the parts. Both are listed intemplates/manifest.json. Users own their copies, so they stand alone: each component imports its core asmonochrome/<component>and inlines its helpers. Imports between template files are relative and extensionless (./menu,../menu/context), the one exception to the.jsrule. The React and Vue fixtures render these files (@/components/ui). The package has no framework export. - Every part carries
data-slot(after the props spread), a styling hook, and passes a class to its element. - No CSS ships: not in
dist/, not fromadd. Each spec's Styling section is how a project styles the component (below). templates/manifest.jsonis the one list of components: the build, the CLI, the tests, and the website read it. Each entry names what it requires, whether its spec has Required CSS (placement, checked by the build), and its own files per framework.build.tsturns the templates into the filesaddcopies:dist/files/react/,dist/files/vue/,examples/, and amanifest.json(scripts/files.ts). Every.tsxpart and example gets a type-stripped.jsxtwin, whichaddwrites in a project without atsconfig*.json; TypeScript the stripper misses fails the build. The Vue parts ship as written (lang="ts", which Vue's tooling compiles in any project). The CLI never generates; it copies. Each file's first line names the version it came from.monochrome.jsonholds only settings (framework and the components folder); there is noupdatecommand yet.- Frameworks:
cli/frameworks.tshas one entry per frameworkaddwrites for.html(the default without React or Vue) prints the spec's Anatomy markup;reactandvuewrite the parts. A new framework is one entry there, its files intemplates/<id>/listed in the manifest, an example per component intemplates/<id>/examples/, a build step inscripts/files.ts, a Playwright project with its fixtures, and the same CLI tests run for it. addandinitkeep the core in lockstep: they installmonochromeat the CLI's own version when the project lacks it, and stop before writing when the project resolves another version (cli/install.ts).- Router behaviour:
docs/router.md. - How code is written (style, naming, order): this file › Code style, as a rule.
- Toolchain, build, gate: this file › Build pipeline.
- Test naming or structure: this file › Test naming.
- What a component does for consumers:
README.mdfor the overview,spec/<component>.mdfor the markup contract.
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.
- 1mo ago Changed · +116 lines · +1,728 tokens per session b13b144cb0d5
- 1mo ago Changed · +13 lines · +170 tokens per session 1c7d0fa5a9d2
- 1mo ago Changed · +14 lines · +155 tokens per session 9f83cb845931
- 1mo ago Changed · -5 lines · -67 tokens per session 0d254d4a4773
- 1mo ago Changed · -337 lines · -4,303 tokens per session 150bc535a64b
- 2mo ago Changed · +45 lines · +610 tokens per session 1ea0393e59c8
- 2mo ago Changed · +9 tokens per session 047aca623b44
- 2mo ago Changed · +48 lines · +644 tokens per session ce2e146e4f2b
- 2mo ago Changed · -6 lines · -126 tokens per session a3bc0e035e7c
- 2mo ago First seen · 594 lines · 7,211 tokens per session scan A d47011dae8cf
monochrome-ui AGENTS.md is an instructions file published in the GitHub repository vaneenige/monochrome-ui (134 stars, last pushed 1mo ago), licensed MIT. It adds 6,031 tokens to every session, about $0.0241 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.
monochrome-ui AGENTS.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| monochrome-ui AGENTS.mdvaneenige/monochrome-ui | Instructions file | 134 | 1mo ago | MIT | A | 6,031 | Codex, OpenCode |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 9,719 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | yesterday | MIT | A | 7,461 | Codex, OpenCode |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 149k | yesterday | MIT | A | 4,680 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 5,516 | GitHub Copilot |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 3,093 | GitHub Copilot |
| deepseek-harness AGENTS.mddeepseek-ai/deepseek-harness | Instructions file | 274k | 2d ago | MIT | A | 4,313 | Codex, OpenCode |