Borrowing it
Nothing to install: this file belongs to Hehejie1/NoteMeld. 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/Hehejie1/NoteMeld/main/CLAUDE.mdgit clone --depth 1 https://github.com/Hehejie1/NoteMeldWrote 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/hehejie1/notemeld/claude-md)<a href="https://agentmods.dev/instructions/hehejie1/notemeld/claude-md"><img src="https://agentmods.dev/badge/instructions/hehejie1/notemeld/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/hehejie1/notemeld/claude-md"><img src="https://agentmods.dev/badge/instructions/hehejie1/notemeld/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.00766 | $0.00766 |
| Opus 5 | $0.00383 | $0.00383 |
| Sonnet 5 | $0.00153 | $0.00153 |
| Haiku 4.5 | $0.00077 | $0.00077 |
Grade A, and why
NoteMeld 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 9d 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
LLM 行为准则,减少常见编码错误。
1. 先思考再编码
不假设。不隐藏困惑。暴露权衡。
实现前:
- 明确陈述假设。不确定就问。
- 如有多种解读,都列出来——不要默默选一个。
- 如有更简单的方法,说出来。必要时拒绝需求。
- 如果不清楚,停下来。指出困惑点。问。
- 开始任何改动前,先读
docs/system/下的系统文档和AGENTS.md。
2. 简洁优先
解决问题的代码越少越好。不想象未来需求。
- 不写未明确要求的功能。
- 不抽象单次使用的代码。
- 不写未被要求的"灵活性"或"可配置性"。
- 不处理不可能发生的错误场景。
- 如果写了 200 行但 50 行就够了,重写。
- 遵循最小改动原则,优先复用现有模块和 helper。
自问:"有经验的工程师会觉得这过度设计吗?" 如果是,简化。
3. 手术式修改
只改必须改的。只清理自己造成的。
编辑已有代码时:
- 不"改进"相邻代码、注释或格式。
- 不重构没坏的东西。
- 匹配现有风格,即使你更喜欢另一种做法。
- 如果注意到无关的死代码,提出来——但不删除。
- 不能破坏源码启动、CLI、桌面、MCP、迁移、Wiki、上传、打包发布任一既有入口。
当你的改动造成孤立代码时:
- 删除被你改动后不再使用的导入、变量、函数。
- 不删除原本就存在的死代码,除非被明确要求。
测试:每一行改动的代码都应该能追溯到用户的需求。
4. 目标驱动执行
定义成功标准。循环直到验证通过。
把任务转化为可验证目标:
- "加校验" → "为无效输入写测试,让测试通过"
- "修 Bug" → "先写复现测试,再修复并验证"
- "重构 X" → "确保测试在重构前后都通过"
多步骤任务,先给出简要计划:
1. <步骤> → 验证:<检查点>
2. <步骤> → 验证:<检查点>
3. <步骤> → 验证:<检查点>
好的成功标准能独立循环验证。差的标准("让它能用")需要不断追问。
5. 文档同步
改动以下内容时必须同步更新 docs/system/:
- 系统架构、运行入口、部署方式
- 产品硬规则或 UX 行为
- SQLite 表、字段、文件结构、状态流转
- API 路径、请求参数、返回结构
- MCP 工具
- Wiki rebuild、任务状态、桌面 sidecar、迁移等核心链路
- 新发现的坑点和回归防线
这些准则有效衡量标准: diff 中无关改动减少,不会因过度设计而重写,澄清问题出现在实现之前而不是错误之后。
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.
- 9d ago First seen · 78 lines · 766 tokens per session scan A c33b0589a34e
NoteMeld CLAUDE.md is an instructions file published in the GitHub repository Hehejie1/NoteMeld (5 stars, last pushed 1mo ago), licensed MIT. It adds 766 tokens to every session, about $0.0038 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
next.js AGENTS.md
AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.
codex AGENTS.md
AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.
vscode buildNext.instructions.md
Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).
vscode oss-third-party-notices.instructions.md
Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).
langchain AGENTS.md
AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.
deepseek-harness AGENTS.md
AGENTS.md instructions for deepseek-ai/deepseek-harness, covering agents.md, pre-stable apis and released session data, repository layout, commands and host sandbox failures.