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