-
-
Notifications
You must be signed in to change notification settings - Fork 116
Closed
Labels
RFCRFC = Request For Comments (proposals about features that you want to be discussed)RFC = Request For Comments (proposals about features that you want to be discussed)
Description
Description
Currently, Claude Code does not support the AGENTS.md file format, while other AI coding assistants like GitHub Copilot have already implemented support for this standard. The AGENTS.md file allows developers to provide custom instructions specific to AI agents working on their codebase.
Context
AGENTS.md is becoming a standard way to provide repository-specific instructions to AI coding assistants. It allows developers to:
- Define project-specific coding standards and conventions
- Specify testing requirements and patterns
- Document architectural decisions that AI assistants should follow
- Provide context about the codebase structure and patterns
References
Current Behavior
Claude Code currently only supports:
CLAUDE.mdfiles (both global~/.claude/CLAUDE.mdand project-specific)- No support for the standardized
AGENTS.mdformat yet
Expected Behavior
Claude Code should:
- Check for and read
AGENTS.mdfile in the project root - Apply the instructions from
AGENTS.mdalongside or instead ofCLAUDE.md - Follow the
AGENTS.mdspecification for parsing and applying instructions
Benefits
- Interoperability: Projects using
AGENTS.mdwould work seamlessly with Claude Code without needing duplicate configuration files - Standardization: Following the emerging standard would benefit the entire AI coding assistant ecosystem
- Developer Experience: Developers wouldn't need to maintain multiple instruction files for different AI assistants
Proposed Implementation
Consider supporting both AGENTS.md and CLAUDE.md with a precedence order:
- Check for
AGENTS.mdfirst (standard format) - Fall back to
CLAUDE.mdifAGENTS.mdis not present - Potentially merge instructions if both files exist
Metadata
Metadata
Assignees
Labels
RFCRFC = Request For Comments (proposals about features that you want to be discussed)RFC = Request For Comments (proposals about features that you want to be discussed)