Unverified85% confidenceFactTime unknown
CLAUDE.md 支持多层嵌套加载,但只加载当前目录及其所有父目录的 CLAUDE.md,不会主动加载子目录的 CLAUDE.md
1
Sources
85%
Confidence
Long-term
Relevance
5/31/2026
First Seen
Sources
Related Entities
Related Claims
UnverifiedAfter executing the /compact command, the root directory's CLAUDE.md survives the compaction (Claude re-reads it from disk), but subdirectory CLAUDE.md files and temporary instructions from the conversation are not automatically re-injected.57% similarUnverifiedCLAUDE.md files in subdirectories are not loaded at startup; they are only triggered when Claude actually reads files in that subdirectory.54% similarUnverifiedOpenClaw's bootstrap.md file is loaded only once when the agent is created, used to initialize and generate other .md files, and is not loaded in every subsequent round.51% similarUnverifiedRules under the .claude/rules directory without a Path configuration are loaded unconditionally, while rules with a Path configuration are only loaded when operating on matching files.50% similar
Cite This Claim
Stable URI
https://kongchang.com/claim/12823API
curl https://kongchang.com/api/v1/knowledge/claims/12823MCP
get_claim(id=12823)