Borrowing it
Nothing to install: this file belongs to ChanMeng666/archlang. 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/ChanMeng666/archlang/main/AGENTS.mdgit clone --depth 1 https://github.com/ChanMeng666/archlangWrote 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/chanmeng666/archlang/agents-md)<a href="https://agentmods.dev/instructions/chanmeng666/archlang/agents-md"><img src="https://agentmods.dev/badge/instructions/chanmeng666/archlang/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/chanmeng666/archlang/agents-md"><img src="https://agentmods.dev/badge/instructions/chanmeng666/archlang/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.01065 | $0.01065 |
| Opus 5.5 | $0.00426 | $0.00426 |
| Sonnet 5.5 | $0.00213 | $0.00213 |
| Haiku 4.5 | $0.00106 | $0.00106 |
Grade A, and why
archlang 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 5d 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 — 61 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS.md
ArchLang: a declarative language (.arch) that compiles to SVG floor plans. TypeScript, Node 18+,
npm-workspaces monorepo; the core (repo root, @chanmeng666/archlang) also runs in the browser.
Code and tests are the documentation; this file holds only what they cannot say.
npm run build # core + CLI → dist/ (before typecheck:all, e2e)
npm run cli -- compile examples/studio.arch -o studio.svg
npm run check # typecheck + lint + test-wiring + vitest (floor)
npm run check:drift # generated artifacts == generator output (CI gate)
npm run typecheck:all # the only typecheck that compiles test/ and the workspaces
npm run docs:build # after any docs/*.md edit
npm run gen:all # every gen:* generator
Hard rules
compile()is pure, sync, deterministic: no I/O, time, randomness or Node APIs insrc/outsidesrc/cli.ts+src/cli/; environment via theWorldseam; numbers viasrc/num-format.ts; never mutate the memoised parse-stagePlanNode(clone). Zero runtime deps.- User-source errors are returned as a
Diagnostic(bytespan+ cataloguedE_*/W_*), never thrown. compile()is bounded: every input returns within the step budget and the drawing budget. Charge new evaluator work to the step meter BEFORE allocating (MAX_EVAL_STEPS,E_STEP_LIMIT,src/expr.ts); budgets are counts, never time. Every coordinate/length stays withinMODEL_RANGE_MM(src/num-format.ts,E_OUT_OF_RANGE).- New element = one
src/elements/module registered indefs.ts, no switch; it declaresdrawCost(an upper bound on what it draws) andbounds()/measures()covering every coordinate and length it draws. New fixture category = aFIXTURE_FAMILIESrow + aCATALOGentry; a drawn symbol ignores itslabel. - Never hand-edit
dist/or a generated file; rungen:*. Drift-green proves reproducibility, not correctness: derive generator templates from the source of truth, never retype. - A derived position comes from the shape, never its bounding box or centroid.
- Every new language form ships a byte-identity law pinned by test (SHA-256 of SVG +
describe()+lint()over the examples). Never bless a golden to green a suite. - Heights draw nothing;
--viewmeasures nothing (describe()/lint()never learn it). - A drawing change never moves
describe()/lint()over the corpus; a glyph never gains handedness and a loss is allow-listed (test/glyph-chirality.test.ts). npm run checkdoes not typechecktest/;typecheck:alldoes.- A clean auto-merge of a MOVED function another branch MODIFIED is not evidence: diff the moved body, run both branches' fixtures together.
- Releases are tokenless OIDC (
v*tag); never an npm token, never automate npmjs account/2FA. Pushingmaindeploys the sites. Before a tag:/release-check. - Eval: T3 live run declined forever;
eval:liveis paid, owner-only; holdout never published; dataset canary never regenerated. - Sites are light-only (no dark mode);
brand/archlang-logo-master.svgis byte-sacred. - No secrets in this public repo. Versions come from npm/tags/
gh release, never a doc; release narrative lives only inCHANGELOG.md.
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.
- 5d ago Changed · +8 tokens per session 19094b55e005
- 10d ago Changed · +5 tokens per session 2c88958578ee
- 13d ago Changed · +1 lines · +20 tokens per session b76993df1a70
- 21d ago Changed · +8 lines · +164 tokens per session 814e54863114
- 27d ago Changed · -44 lines · -532 tokens per session 1d8c0b0f3955
- 1mo ago Changed · -780 lines · -22,490 tokens per session 01fe6876b130
- 1mo ago Changed · +12 lines · +489 tokens per session 2aaf39e57aa3
- 1mo ago Changed · +19 lines · +637 tokens per session 5a2dba52fb43
- 1mo ago Changed · -442 lines · -20,005 tokens per session 0d43c21a8822
- 1mo ago First seen · 1,287 lines · 42,769 tokens per session scan A 39d2f320b51e
archlang AGENTS.md is an instructions file published in the GitHub repository ChanMeng666/archlang (24 stars, last pushed today), licensed MIT. It adds 1,065 tokens to every session, about $0.0043 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-31.
Other instructions, from other repositories
create-trimble-app typescript.instructions.md
Instructions for julianoczkowski/create-trimble-app, covering typescript patterns for modus components, event type casting, common event types, component ref types and modal ref pattern.
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).
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.
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).
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.
deepseek-harness AGENTS.md
AGENTS.md instructions for deepseek-ai/deepseek-harness, covering agents.md, pre-stable apis and released session data, repository layout, commands and host sandbox failures.