Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add instructions/chkhm/simu/claude-mdgit clone --depth 1 https://github.com/chkhm/simuWhat 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 | $0.03437 | $0.03437 |
| Opus 5 | $0.01718 | $0.01718 |
| Sonnet 5 | $0.00687 | $0.00687 |
| Haiku 4.5 | $0.00344 | $0.00344 |
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 2d 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 — 219 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 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.
- 2d 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 (2 stars, last pushed 10d ago), licensed Apache-2.0. It adds 3,437 tokens to every session, about $0.0172 per session on Opus 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
Waza AGENTS.md
AGENTS.md instructions for tw93/Waza, covering waza agent guide, project, repository map, health implementation ownership and commands.
Foam-Agent AGENTS.md
Instructions for csml-rpi/Foam-Agent, covering agents.md, what is foam-agent?, build and run, environment setup and run a simulation.
SpotifyScraper CLAUDE.md
Instructions for AliAkhtari78/SpotifyScraper, covering claude.md, what this project is, architecture rules (do not violate), workflow and commands.
pydantic-ai-shields CLAUDE.md
Instructions for vstorm-co/pydantic-ai-shields, covering claude.md, project overview, development commands, project structure and core components.
ai-worldcup-2026 AGENTS.md
Instructions for vastxie/ai-worldcup-2026, covering agents.md — 给在本仓库工作的 ai(claude code / codex), 🚫 铁律(最容易踩的坑,违反会损坏线上真实数据), 🗺️ 架构地图(一句话指到关键文件), 🔁 每日运营 sop and ✍️ 文案与命名约定.
orkid CLAUDE.md
Claude Code instructions for tweakoz/orkid, covering orkid — repo-wide agent law and commits.