待验证50% 置信事实时间未知
执行 /compact 命令后,根目录的 CLAUDE.md 会在 Compact 后存活(Claude 会重新从磁盘读取),但子目录的 CLAUDE.md 和对话中的临时指令不会自动重新注入
1
来源数
50%
置信度
中期 (~90 天)
时效性
2026/7/2
首次发现
有效期至:2026/9/30
来源
CLAUDE.md完全指南:三层级加载机制与最佳写法技巧
bilibili土木ai提效大古
相关事实
待验证子目录里的 CLAUDE.md 不会在启动时加载,只有当 Claude 实际读取那个子目录的文件时才会触发加载81% 相似待验证CLAUDE.md files in subdirectories are not loaded at startup — they are only triggered when Claude actually reads files from that subdirectory64% 相似待验证Claude.md中的信息不会因为/clear或/compact命令而丢失62% 相似待验证CLAUDE.md 支持多层嵌套加载,但只加载当前目录及其所有父目录的 CLAUDE.md,不会主动加载子目录的 CLAUDE.md57% 相似待验证Claude 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% 相似
引用此条事实
Stable URI
https://kongchang.com/claim/58031API
curl https://kongchang.com/api/v1/knowledge/claims/58031MCP
get_claim(id=58031)