Borrowing it
Nothing to install: this file belongs to lm203688/aishield. 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/lm203688/aishield/main/CLAUDE.mdgit clone --depth 1 https://github.com/lm203688/aishieldWrote 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/lm203688/aishield/claude-md)<a href="https://agentmods.dev/instructions/lm203688/aishield/claude-md"><img src="https://agentmods.dev/badge/instructions/lm203688/aishield/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/lm203688/aishield/claude-md"><img src="https://agentmods.dev/badge/instructions/lm203688/aishield/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.00288 | $0.00288 |
| Opus 5.5 | $0.00115 | $0.00115 |
| Sonnet 5.5 | $0.00058 | $0.00058 |
| Haiku 4.5 | $0.00029 | $0.00029 |
Grade A, and why
aishield 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 16d 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.
What it actually says
CLAUDE.md
Agent 原生项目手册见 AGENTS.md —— 架构、核心不变量、贡献约定(含范围纪律)都在那里。
硬不变量(违背即 bug,先读再动)
- 扫描器绝不 spawn 被扫配置里的命令 —— 被扫内容只当字符串读取、做正则/语义匹配。
自证:
python scripts/prove_isolation.py - 代码与配置绝不上传云端 —— 本地优先、零依赖、可离线。
- 勿引用过期规则计数(227/215/133/228)。真值看
/api/v1/health的rules_breakdown; 当前 256 = 静态 286 + 情报 8 + 雷达 19。 - 本地绿 ≠ CI 绿;多文件推送走
scripts/_push_batch.py,推完 API 复验。
一键启动
git clone https://github.com/lm203688/aishield.git && cd aishield
python -m venv .venv && source .venv/bin/activate && pip install pytest
python tests/run_all.py
python scripts/prove_isolation.py
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.
- 16d ago Changed 7aecba2e90f6
- 24d ago Changed · -4 tokens per session 4538026215fd
- 1mo ago Changed 2abd7fcbc562
- 1mo ago Changed ff3ced4ac504
- 1mo ago Changed · +4 tokens per session d1cb2b3f9f55
- 1mo ago Changed 20684c6d833b
- 1mo ago First seen · 22 lines · 288 tokens per session scan A a8a75e52e7fa
aishield CLAUDE.md is an instructions file published in the GitHub repository lm203688/aishield (2 stars, last pushed 7d ago), licensed MIT. It adds 288 tokens to every session, about $0.0012 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-09-14.
aishield CLAUDE.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| aishield CLAUDE.mdlm203688/aishield | Instructions file | 2 | 7d ago | MIT | A | 288 | Claude Code |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 9,719 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | today | MIT | A | 7,461 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 5,649 | GitHub Copilot |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 149k | today | MIT | A | 4,680 | Codex, OpenCode |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 3,093 | GitHub Copilot |
| vscode model-prompts.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 2,022 | GitHub Copilot |