CLAUDE.mdB

CLAUDE.md from lingshu-ai-agent/lingshu is a CLAUDE.md file: the standing instructions Claude Code reads in that repo.

Install it, pinned
mdr add lingshu-ai-agent/lingshu/CLAUDE.md@git:20261019.ffb345a

Pins 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

The exact contents, by fingerprint
mdr add lingshu-ai-agent/lingshu/CLAUDE.md@sha256:928d5d26dde3761c

The 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.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_ncvyubkum2zc772f.svg)](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.

versioncommittedcommitsizeaudit
git:20261019.ffb345a latest2026-10-19 ffb345a 205,051 BB view · diff
git:20261018.6a1d61b2026-10-18 6a1d61b 198,583 BA view · diff
git:20261017.ae2214e2026-10-17 ae2214e 192,457 BA view · diff
git:20261016.dbd06152026-10-16 dbd0615 176,595 BA view · diff
git:20261015.468e8b92026-10-15 468e8b9 169,955 BA view

Audit of the latest version

B  13 of 14 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • 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

GitHub

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

commit SKILL.md skill
lingshu-ai-agent/lingshu · lingshu-core/src/test/resources/skills/agent-builtin/commit/SKILL.md
git:20260923.edd1b05 · audit C · 10 stars
docs SKILL.md skill
lingshu-ai-agent/lingshu · lingshu-core/src/test/resources/skills/agent-builtin/docs/SKILL.md
git:20260923.edd1b05 · audit C · 10 stars
review SKILL.md skill
lingshu-ai-agent/lingshu · lingshu-core/src/test/resources/skills/agent-builtin/review/SKILL.md
git:20260923.edd1b05 · audit C · 10 stars
CLAUDE.md@lingshu-examples/demo-engineer/src/main/resources CLAUDE.md file
lingshu-ai-agent/lingshu · lingshu-examples/demo-engineer/src/main/resources/CLAUDE.md
git:20260920.d1185b9 · audit A · 10 stars
agent SKILL.md skill
lingshu-ai-agent/lingshu · lingshu-examples/demo-product/src/main/resources/skills/agent/SKILL.md
git:20260925.aec4398 · audit C · 10 stars

Every file in lingshu-ai-agent/lingshu

Other files named CLAUDE.md

CLAUDE.md CLAUDE.md file
affaan-m/ecc · CLAUDE.md
git:20260528.04c68e4 · audit A · 284,510 stars
CLAUDE.md CLAUDE.md file
firecrawl/firecrawl · CLAUDE.md
git:20261008.5a75dca · audit A · 193,096 stars
CLAUDE.md CLAUDE.md file
garrytan/gstack · CLAUDE.md
git:20261011.5d64745 · audit A · 136,966 stars
CLAUDE.md CLAUDE.md file
juliusbrussee/caveman · CLAUDE.md
git:20261010.505ac30 · audit B · 113,780 stars
CLAUDE.md CLAUDE.md file
addyosmani/agent-skills · CLAUDE.md
git:20260720.8fd2081 · audit A · 109,013 stars
CLAUDE.md CLAUDE.md file
nexu-io/open-design · CLAUDE.md
git:20260430.9b57c22 · audit B · 102,533 stars
CLAUDE.md CLAUDE.md file
thedotmack/claude-mem · CLAUDE.md
git:20261013.84bbb53 · audit A · 102,153 stars
CLAUDE.md CLAUDE.md file
egonex-ai/understand-anything · CLAUDE.md
git:20260710.6677c67 · audit B · 87,696 stars

Browse by kind, by grade B, or by owner.