Borrowing it
Nothing to install: this file belongs to dean0x/mdscript. 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/dean0x/mdscript/main/CLAUDE.mdgit clone --depth 1 https://github.com/dean0x/mdscriptWrote 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/dean0x/mdscript/claude-md)<a href="https://agentmods.dev/instructions/dean0x/mdscript/claude-md"><img src="https://agentmods.dev/badge/instructions/dean0x/mdscript/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/dean0x/mdscript/claude-md"><img src="https://agentmods.dev/badge/instructions/dean0x/mdscript/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.02014 | $0.02014 |
| Opus 5.5 | $0.00806 | $0.00806 |
| Sonnet 5.5 | $0.00403 | $0.00403 |
| Haiku 4.5 | $0.00201 | $0.00201 |
Grade A, and why
mdscript 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 1mo 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 — 65 lines — stays where its author put it; the contents beside it link to each section on GitHub.
MDS (Markdown Script)
Composable LLM prompt template compiler. Rust core (crates/) with WASM, native Node.js (napi-rs), and native Python (PyO3) bindings, plus npm packages (packages/).
Build and test
cargo test --workspace # 590+ Rust tests
cargo fmt --all --check && cargo clippy --workspace --all-targets -- -D warnings
RUSTDOCFLAGS="-D warnings" cargo doc -p mds-core --no-deps # CI rustdoc gate: catches broken intra-doc links
# Windows local twin — clippy only (cannot link/run). Windows tests run only in the
# `rust-windows` CI job (`Rust — clippy, test (windows-latest)`):
rustup target add x86_64-pc-windows-msvc
cargo clippy -p mds-core -p mds-cli --all-targets --target x86_64-pc-windows-msvc -- -D warnings
npm ci && npm run build -w @mdscript/mds-wasm && npm run build --workspaces --if-present
# The native addon is NOT built by `--workspaces` (its script is `build:native`, not
# `build`); needs the Rust toolchain. Without it @mdscript/mds silently falls back to WASM.
npm run build:native -w @mdscript/mds-napi
npm test --workspaces --if-present
# Python bindings (crates/mds-python) — 0 Rust tests by design; test via pytest:
python -m venv .venv && . .venv/bin/activate # maturin develop needs a venv
pip install "maturin==1.13.3" pytest mypy pyright
maturin develop -m crates/mds-python/Cargo.toml && pytest crates/mds-python/tests -q
Release
All packages ship as a single coordinated release at the same version, driven by
release.yml. Release via tag-push:
node scripts/bump-version.mjs X.Y.Z # bump all manifests + stamp CHANGELOG
# land the bump on main via PR (CI-gated), then:
git tag -a vX.Y.Z -m vX.Y.Z && git push origin vX.Y.Z
Pushing the vX.Y.Z tag triggers release.yml: build 7 native targets + WASM,
A3 name-gate, publish to crates.io and npm (with provenance), create a GitHub Release.
Run gh workflow run release.yml (no inputs) for a dry-run that validates the build +
A3 gate and publishes nothing.
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.
- 1mo ago Changed · +6 lines · +261 tokens per session 776052395e7e
- 1mo ago Changed · +73 tokens per session 283b1dc90e1b
- 2mo ago Changed · +1 lines · +99 tokens per session 8f5dbfde65a3
- 2mo ago First seen · 58 lines · 1,581 tokens per session scan A 896309dbcd4f
mdscript CLAUDE.md is an instructions file published in the GitHub repository dean0x/mdscript (2 stars, last pushed 2d ago), licensed MIT. It adds 2,014 tokens to every session, about $0.0081 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.
mdscript CLAUDE.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| mdscript CLAUDE.mddean0x/mdscript | Instructions file | 2 | 2d ago | MIT | A | 2,014 | 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 |