Borrowing it
Nothing to install: this file belongs to dancinlab/hexa-lang. 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/dancinlab/hexa-lang/main/CLAUDE.mdgit clone --depth 1 https://github.com/dancinlab/hexa-langWrote 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/dancinlab/hexa-lang/claude-md)<a href="https://agentmods.dev/instructions/dancinlab/hexa-lang/claude-md"><img src="https://agentmods.dev/badge/instructions/dancinlab/hexa-lang/claude-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/dancinlab/hexa-lang/claude-md"><img src="https://agentmods.dev/badge/instructions/dancinlab/hexa-lang/claude-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.03067 | $0.03067 |
| Opus 5.5 | $0.01227 | $0.01227 |
| Sonnet 5.5 | $0.00613 | $0.00613 |
| Haiku 4.5 | $0.00307 | $0.00307 |
Grade A, and why
hexa-lang CLAUDE.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 2mo 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 — 91 lines — stays where its author put it; the contents beside it link to each section on GitHub.
hexa-lang
Project
Native .hexa compiler with an embedded theorem atlas + hx package manager. No LLVM anywhere: source→own-IR→native, linked by hexa_ld — byte-identical self-host fixpoint (gen3 ≡ gen4).
⭐ SELF-HOST DONE CRITERION (user standing · the finish line): self-host is "done" only when the toolchain needs ① no hexa_cc.c (the emitted hexa→C transpile fallback at self/native/hexa_cc.c — hexa build/run lowers every flow through the native source→own-IR→native path, never the C-transpile delegate) · ② no runtime.c (the ~5.5k-LOC emitted-C runtime/libc-syscall substrate — ported to native .hexa/.s/own-emit so nothing compiles a generated .c) · ③ no clang (nor any external C compiler) to build OR use hexa (install/build/run never shell out to clang/gcc — the own object-emit backend + hexa_ld do the whole compile+link). All three are emitted (gitignored) artifacts today, not hand-written source — the self/*.c hand-source floor is already ∅ (git ls-files self/**/*.c == ∅, #4356 cuda + #4352 timegm), but file-∅ of hand-written C is NOT the DONE line; the DONE line is eliminating all three ①②③. ⚡ ACTIVE GOAL (user standing · 2026-07): drive all three ①②③ to DONE via a perpetual 3-lane fleet (selfhost-done-3axis-fleet — lane1=①hexa_cc, lane2=②runtime_c, lane3=③clang-flip, fire-on-arrival until each crosses; per-axis status SSOT = ARCHITECTURE.json activeGoal + convergence.records[]). Latest: axis-③'s LINK half is demonstrated — the own ELF linker links own .o + runtime.a → static ET_EXEC (exit 42, ZERO binutils, data-seg/bss covered, opt-in --linker=hexa, #4711–#4718); the COMPILE half (--backend=native --emit=obj) already exists, so the axis-③ frontier is the default-flip. Guardrail: release integrity > self-host progress — every flip opt-in-first → byteeq 3-target GREEN + shipping smoke → default-ON; the sole inviolable = no-LLVM.
Progress toward that line (measured tracks): the emitted-C substrate is a reducible RUNTIME-PORT target whose authoritative nm-UND libc floor is exposed per-CI (advisory dump in nobaseline-gate.yml, #4360); flips drop libc UNDs one family at a time — strtod-tail native default-ON (#4651, T_mis=0 vs glibc) · own-start default-ON drops atexit/environ/__libc_start_main (FLIP-7) · MULTIOBJ print-family native redirect default-ON (HEXA_RT_STDIO_NATIVE, #4856) drops printf/fprintf/perror/snprintf glibc-stdio UND from the ship runtime.a (own raw write(2), 3-target byteeq + ON-path GREEN; opt-out =0). fortify __*_chk dropped via -D_FORTIFY_SOURCE=0 (#4361) · perf-neutral syscall leaves routed to raw-svc (getpid #4358 · setpgid #4364) · compiler-synth memcpy/memset — a reference-matched glibc-style overlapping-load-dispatch native body measures 1.3–2.0× faster than libc for the small-copy (struct) regime + parity at large (summer, clang-18; the naive-byte-loop "perf-wall" is FALSIFIED), so the -fno-builtin-memcpy flip is a measured-viable next round gated on byteeq 3-target + real-workload perf, not a permanent wall. The clang-dependency (③) is the native-emit/self-assemble endgame — own object emit + hexa_ld replacing the clang compile+link, so a consumer needs only the hexa binary. Every formula-bearing fn must cite an atlas law (@cite)/@verify/@grace, else the build refuses to emit (HX8004). Domain tracking is retired.
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.
- 2mo ago First seen · 91 lines · 3,067 tokens per session scan A 3f99cb2bf8f7
hexa-lang CLAUDE.md is an instructions file published in the GitHub repository dancinlab/hexa-lang (195 stars, last pushed 3mo ago), licensed MIT. It adds 3,067 tokens to every session, about $0.0123 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.
hexa-lang CLAUDE.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| hexa-lang CLAUDE.mddancinlab/hexa-lang | Instructions file | 195 | 3mo ago | MIT | A | 3,067 | Claude Code |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 9,719 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | today | 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 |