CLAUDE.mdB
CLAUDE.md from lingshu-ai-agent/lingshu is a CLAUDE.md file: the standing instructions Claude Code reads in that repo.
mdr add lingshu-ai-agent/lingshu/CLAUDE.md@git:20261019.ffb345aPins git:20261019.ffb345a in mdr.lock. Pin the fingerprint instead.
- Audit grade
- B, 13 of 14 checks passed
- Kind
- CLAUDE.md file
- Repository
- lingshu-ai-agent/lingshu
- Path
CLAUDE.md- Versions recorded
- 5
- Latest version
- git:20261019.ffb345a, committed Oct 19, 2026
- First version recorded
- Oct 15, 2026
- Size
- 205,051 bytes
- Repository stars
- 10
- License
- Apache-2.0
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# CLAUDE.md — 灵枢 LingShu 项目 Claude Code 引导 > 给 Claude Code 的项目级上下文。**每个新 Claude 会话 turn 1 自动加载。** > > **配套文档**(按需加载,不重复): > - 设计文档:[`dsh_agent_design.md`](./dsh_agent_design.md) v1.5.60 / 7450 行 / 项目真理(v1.5.34 §7.1 新增子节 —— 明确「AgentFactory 是 Spring 单例 Bean(无状态,持 7 Router),Agent 是 factory 的产品(prototype-like,带 session/config/engine 状态,每次 create 一份,Spring 不持有引用)」 — 5 维度对比论证为什么 Agent 不能是 Spring 单例(多轮 session 隔离 / 子 Agent 共享 / A2A 多 RemoteAgent / 测试 Mock / Spring Bean 语义);Agent 生命周期时序图(Spring startup → T0 loadYaml → T1 create 7 项校验 + flowRouter.resolve → T2 run ReAct → T3 流关闭 → T4 GC → T5 session 持久化);扩展点矩阵(7 Router × 9 Slot —— 用户扩展 Provider 不扩展 Router / AgentFactory / Agent 三件套);反模式 `AgentHolder` 5 个失败场景(session 污染 / config 漂移 / 子 Agent 反模式 / A2A 不可行 / 违反 §4.1 不变项);§7.1.6 一句话总结 + 精读章节更新;**纯文档改动**,代码逻辑零改动;7039 → ~7250 行(+约 210);v1.5.33 §5.6.3.0 新增四个核心类型完整定义(`AgentCard` Lombok @Data + 4 nested type / `AgentRef` + `AgentRefBuilder` 装配器 priority 去重排序 / `RemoteAgentSchemaBuilder` @Component 启动期扫 `AgentCard.skills[]` 动态生成 `ToolSpec` list / `AgentCardCache` @Component TTL 缓存 + 负缓存短 TTL=ttl/4 + FIFO evict maxEntries=1000 + `Stats` inner class 命中率指标 + `invalidate()` 显式失效为 §14.8 hot-reload… …
Read the whole file at its exact version.
How to install
mdr add lingshu-ai-agent/lingshu/CLAUDE.md@sha256:928d5d26dde3761cThe line at the top of this page pins the label git:20261019.ffb345a, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_ncvyubkum2zc772f)
1 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 5 versions of this file, between Oct 15, 2026 and Oct 19, 2026, about one every day. Its first recorded version is graded A and its latest B.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261019.ffb345a latest | 2026-10-19 | ffb345a | 205,051 B | B | view · diff |
| git:20261018.6a1d61b | 2026-10-18 | 6a1d61b | 198,583 B | A | view · diff |
| git:20261017.ae2214e | 2026-10-17 | ae2214e | 192,457 B | A | view · diff |
| git:20261016.dbd0615 | 2026-10-16 | dbd0615 | 176,595 B | A | view · diff |
| git:20261015.468e8b9 | 2026-10-15 | 468e8b9 | 169,955 B | A | view |
Audit of the latest version
- fail: Size between 200 bytes and 200 KB (205051 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Starting a new one? Use a template for CLAUDE.md on mdpantry, which passes every one of these checks and says what to change in it.
Source
lingshu-ai-agent/lingshu · 10 stars · license Apache-2.0 · pushed 2026-10-22 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_ncvyubkum2zc772f GET https://markdownregistry.com/api/v1/resolve?ref=lingshu-ai-agent/lingshu/CLAUDE.md GET https://markdownregistry.com/api/v1/blob/928d5d26dde3761cf1f3807a7dfca55f620e996c70c2988b0cd76a6bf47c31b2
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: what a CLAUDE.md file is · keeping AGENTS.md and CLAUDE.md in sync · which agent file does what.
More from lingshu-ai-agent/lingshu
Every file in lingshu-ai-agent/lingshu