Cross-Tool Compatibility¶
Samuel works with any AI coding assistant through the AGENTS.md standard.
Supported Tools¶
| Tool | Primary File | Fallback | Status |
|---|---|---|---|
| Claude Code | CLAUDE.md | AGENTS.md | Full support |
| Cursor | .cursorrules, AGENTS.md | - | Full support |
| OpenAI Codex | AGENTS.md | - | Full support |
| GitHub Copilot | AGENTS.md | - | Partial |
| Google Jules | AGENTS.md | - | Full support |
| Codeium | AGENTS.md | - | Full support |
| Amazon Q | AGENTS.md | - | Partial |
Setup Options¶
Option 1: Symlink (Recommended)¶
Creates a link so both files are always identical:
Pros:
- Zero maintenance
- Always in sync
- No duplication
Cons:
- Windows requires admin privileges
- Some tools may not follow symlinks
Option 2: Generate Standalone¶
Create a separate AGENTS.md with operations-only content:
Pros:
- Works everywhere
- Can customize per-tool
- Simpler content for some tools
Cons:
- Manual updates needed
- Potential drift from CLAUDE.md
Option 3: Copy¶
Simply copy CLAUDE.md:
Pros:
- Works everywhere
- Simple
Cons:
- Manual sync needed
- Easy to forget updates
Tool-Specific Setup¶
Claude Code¶
Claude Code reads CLAUDE.md automatically. No additional setup needed.
Cursor¶
Cursor reads .cursorrules or AGENTS.md:
Option A: Symlink CLAUDE.md
Option B: Create .cursorrules
GitHub Copilot¶
Copilot can read AGENTS.md for context:
Limited Support
Copilot has limited instruction-following compared to Claude Code. Guardrails may not be strictly enforced.
OpenAI Codex / ChatGPT¶
Use AGENTS.md:
Multi-Tool Teams¶
When team members use different tools:
Recommended Setup¶
- Keep CLAUDE.md as source of truth
- Create symlink:
ln -s CLAUDE.md AGENTS.md - Add both to git
Team Workflow¶
- Edit only CLAUDE.md - Never edit AGENTS.md directly
- Symlink stays updated - Changes propagate automatically
- All tools see same rules - Consistent behavior
For Windows Users¶
If symlinks don't work:
Add to .gitattributes:
This prevents merge conflicts when regenerating.
File Comparison¶
CLAUDE.md (Full - ~500 lines)¶
Contains everything:
- Operations (commands)
- Boundaries (protected files)
- Quick Reference
- Core Guardrails (35+ rules)
- 4D Methodology
- SDLC stages
- Context System
- Anti-Patterns
AGENTS.md (Operations - ~200 lines)¶
Contains essentials:
- Operations (commands)
- Boundaries (protected files)
- Quick Reference
Maintaining Sync¶
With Symlink¶
Automatic - no action needed.
With Standalone AGENTS.md¶
Add to your workflow:
- PR Checklist:
-
If CLAUDE.md changed, regenerate AGENTS.md
-
CI Check (optional):
-
Pre-commit hook (optional):
Troubleshooting¶
Symlink Not Working¶
Windows: Requires admin privileges or Developer Mode enabled.
Git: Ensure core.symlinks=true:
Tool Ignoring Instructions¶
- Check file location (must be in project root)
- Check file name (exact match required)
- Restart the tool
- Explicitly reference: "Follow instructions in CLAUDE.md"
Different Behavior Between Tools¶
Each tool interprets instructions differently. For consistent results:
- Keep rules specific and testable
- Use guardrails that can be verified
- Test with each tool your team uses
Best Practices¶
Do¶
- Use symlink when possible
- Keep CLAUDE.md as source of truth
- Test with all tools your team uses
- Document which tools are supported
Don't¶
- Edit AGENTS.md directly (edit CLAUDE.md)
- Maintain two different instruction sets
- Assume all tools behave identically
- Ignore tool-specific limitations
Related¶
-
CLAUDE.md
The source of truth for instructions.
-
Generate AGENTS.md
Workflow for generating standalone file.