Unverified50% confidenceFactTime unknown
执行 /compact 命令后,根目录的 CLAUDE.md 会在 Compact 后存活(Claude 会重新从磁盘读取),但子目录的 CLAUDE.md 和对话中的临时指令不会自动重新注入
1
Sources
50%
Confidence
Medium-term (~90 days)
Relevance
7/2/2026
First Seen
Valid until: 9/30/2026
Sources
CLAUDE.md完全指南:三层级加载机制与最佳写法技巧
bilibili土木ai提效大古
Related Claims
Unverified子目录里的 CLAUDE.md 不会在启动时加载,只有当 Claude 实际读取那个子目录的文件时才会触发加载81% similarUnverifiedCLAUDE.md files in subdirectories are not loaded at startup — they are only triggered when Claude actually reads files from that subdirectory64% similarUnverifiedClaude.md中的信息不会因为/clear或/compact命令而丢失62% similarUnverifiedCLAUDE.md 支持多层嵌套加载,但只加载当前目录及其所有父目录的 CLAUDE.md,不会主动加载子目录的 CLAUDE.md57% similarUnverifiedClaude Code requires users to specify a folder as its workspace and only reads and writes within that folder, not touching other parts of the computer.54% similar
Cite This Claim
Stable URI
https://kongchang.com/claim/58031API
curl https://kongchang.com/api/v1/knowledge/claims/58031MCP
get_claim(id=58031)