Borrowing it
Nothing to install: this file belongs to Ivy-Apps/haskell-template. 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/Ivy-Apps/haskell-template/main/CLAUDE.mdgit clone --depth 1 https://github.com/Ivy-Apps/haskell-templateWrote 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/ivy-apps/haskell-template/claude-md)<a href="https://agentmods.dev/instructions/ivy-apps/haskell-template/claude-md"><img src="https://agentmods.dev/badge/instructions/ivy-apps/haskell-template/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/ivy-apps/haskell-template/claude-md"><img src="https://agentmods.dev/badge/instructions/ivy-apps/haskell-template/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.02820 | $0.02820 |
| Opus 5.5 | $0.01128 | $0.01128 |
| Sonnet 5.5 | $0.00564 | $0.00564 |
| Haiku 4.5 | $0.00282 | $0.00282 |
Grade A, and why
haskell-template 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 4d 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 — 239 lines — stays where its author put it; the contents beside it link to each section on GitHub.
CLAUDE.md
Commands
All cabal/GHC commands must run inside the Nix dev shell using our nix run commands.
The check ladder
- While iterating:
nix run .#quick-typecheck, thennix run .#quick-test [-- <filter>]once it is green. They cover every.hsedit, so never run a fulljust checkmid-work. - Once, before handing back:
nix develop .#ci -c just check, in the background. It already runs the build, the tests and the linters, so never runnix run .#build,.#testor.#lintbefore it. - After an edit that touches no code (docs only), or only a
git commit, run nothing: rerun the full check only after a code edit. - Several
cabalorjustcommands in a row share one shell,nix develop .#ci -c bash -c '...', instead of anix run .#test,.#buildor.#linteach (they wrap those commands), which pays thenix developstart-up on every call.
Fast feedback
nix run .#quick-typecheck
nix run .#quick-test -- FileSystem.Path # or no filter for the whole suite
Both keep one warm ghcid session per worktree over the library, the
executable and the tests (not the benchmark, which CI compiles), so an edit
costs a reload instead of a recompile and relink.
quick-typecheck answers "does the project typecheck". It prints either
All good (<N> modules) and exits 0, or the GHC errors verbatim and exits 1.
There is no need to pipe it through grep. A fraction of a second when
nothing broke and a couple of seconds when something did. The first call
starts the session and takes longer; every call after that is fast, so just
run it and keep going.
quick-test typechecks the same way, then runs the hspec suite inside the
session, filtered like nix run .#test -- <filter>. After the typecheck's
All good (<N> modules) it prints only failures and the summary line, and
exits 0 when they pass, 1 on a GHC error, a failing test or a filter that
matches nothing. A filtered run costs a reload rather than a rebuild. With no
filter it runs the compiled suite through cabal test instead, which beats
running the whole suite interpreted.
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.
- 4d ago Changed · +40 lines · +636 tokens per session e956359fbea4
- 7d ago Changed · +13 tokens per session 70550f27071f
- 8d ago Changed · +43 lines · +651 tokens per session 05a323a63202
- 15d ago Changed · +119 lines · +1,326 tokens per session 881eddcb8d3b
- 2mo ago First seen · 37 lines · 194 tokens per session scan A 87c150065ff8
haskell-template CLAUDE.md is an instructions file published in the GitHub repository Ivy-Apps/haskell-template (5 stars, last pushed 4d ago), licensed BSD-3-Clause. It adds 2,820 tokens to every session, about $0.0113 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.
haskell-template CLAUDE.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| haskell-template CLAUDE.mdIvy-Apps/haskell-template | Instructions file | 5 | 4d ago | BSD-3-Clause | A | 2,820 | 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 | 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 |