Borrowing it
Nothing to install: this file belongs to chkhm/simu. 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/chkhm/simu/master/CLAUDE.mdgit clone --depth 1 https://github.com/chkhm/simuWrote 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/chkhm/simu/claude-md)<a href="https://agentmods.dev/instructions/chkhm/simu/claude-md"><img src="https://agentmods.dev/badge/instructions/chkhm/simu/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/chkhm/simu/claude-md"><img src="https://agentmods.dev/badge/instructions/chkhm/simu/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.03484 | $0.03484 |
| Opus 5.5 | $0.01394 | $0.01394 |
| Sonnet 5.5 | $0.00697 | $0.00697 |
| Haiku 4.5 | $0.00348 | $0.00348 |
Grade A, and why
simu 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 26d 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 — 221 lines — stays where its author put it; the contents beside it link to each section on GitHub.
CLAUDE.md
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
Project
simu is a Rust library for Discrete Event Simulation (DES), inspired by SimPy. The MVP is fully
implemented and tested. The crates.io package is simu-des (the name simu was taken) with
[lib] name = "simu", so all code imports stay use simu::….
Licensing: dual MIT OR Apache-2.0, REUSE 3.3-compliant —
license texts live in LICENSES/, every code file carries an SPDX header, prose/uncommentable
files (*.md, .gitignore, Cargo.lock, requirements.txt) are covered by REUSE.toml, and CI
enforces it (reuse lint job). New files must include the SPDX header (copy from any neighbor) or
match a REUSE.toml glob.
Companion docs:
SPEC.md— the design source of truth (architecture, API contracts, invariants, roadmap).API.md— signature cheat-sheet only; semantics live in rustdoc (docs.rs).PLAN.md— implementation plan / history.TESTING.md— test strategy and coverage notes.README.md— user-facing overview.CONTRIBUTING.md— contribution checklist (rustfmt/clippy, SPDX headers, DCO sign-off, PR process).llms.txt+docs/simu-for-agents.md— LLM-facing reference and drop-in agent context. Rule: every code pattern in these files must be a verbatim copy of a doc-test (tutorial chapter or type doc) — never hand-write parallel snippets.src/tutorial.rs— doc-only "simu in 10 minutes" module (5 chapters, all doc-tests); each chapter has a runnableexamples/intro_*.rstwin.
When changing behaviour, keep SPEC.md and API.md in sync — and when changing
tutorial/type doc-tests, re-sync the copies in llms.txt / docs/simu-for-agents.md.
Commands
cargo build
cargo test # 145 passing tests (126 unit + integration, 19 doc-tests)
cargo test <test_name> # run a single test
cargo run --example hospital # ER patient-flow simulation
cargo run --example brewery # brewery / process-automation simulation
cargo run --example warehouse # distribution-center forklift-preemption simulation
cargo run --example coffee_shop # café staffing study (reneging, priority baristas, milk Container)
cargo bench # Criterion benchmark suite (benches/simulation.rs)
cargo clippy -- -D warnings # must stay warning-clean
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.
- 26d ago Changed · +2 lines · +47 tokens per session a8641a8de888
- 2mo ago First seen · 219 lines · 3,437 tokens per session scan A 03811f8bbadb
simu CLAUDE.md is an instructions file published in the GitHub repository chkhm/simu (4 stars, last pushed 25d ago), licensed Apache-2.0. It adds 3,484 tokens to every session, about $0.0139 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.
simu CLAUDE.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| simu CLAUDE.mdchkhm/simu | Instructions file | 4 | 25d ago | Apache-2.0 | A | 3,484 | 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 |