Unverified50% confidenceFactExact time
If there is no claude.md in the repository, Claude Code will read agents.md; but if both files exist at the same time, it will only read claude.md and completely ignore agents.md.
1
Sources
50%
Confidence
Medium-term (~90 days)
Relevance
10/13/2026
First Seen
Valid until: 1/11/2027
Sources
Related Entities
Related Claims
UnverifiedClaude Code does not automatically scan and read AGENTS.md in directories by default, but teams can manually import it in CLAUDE.md.71% similarUnverifiedCopying Claude Code subagent files as-is into OpenCode V2's .opencode/agents/ directory causes the frontmatter to silently fail: without mode: subagent the agent is treated as primary by default, fields such as name, model and effort do not take effect, and disallowedTools deny rules are also lost.58% similarUnverifiedagents.md 文件不能写太多,只承载书写规则和偏好,不能塞入上下文57% similarUnverifiedPi会自动读取CLAUDE.md文件,即使没有专门设置Agent文件56% similar
Cite This Claim
Stable URI
https://kongchang.com/claim/1014941API
curl https://kongchang.com/api/v1/knowledge/claims/1014941MCP
get_claim(id=1014941)