Our review
Creates a symlink from AGENTS.md to CLAUDE.md to allow using AGENTS.md as the primary memory file for Claude Code, optionally running /init and sanitizing the content.
Strengths
- Provides a simple way to switch from CLAUDE.md to AGENTS.md
- Automatically runs /init to discover project settings
- Sanitizes the AGENTS.md file to remove Claude-specific references
- User-friendly with warnings and confirmations
Limitations
- Only works in the current working directory
- Requires user confirmation for existing files
- Sanitization may not cover all possible Claude references
Use this skill when you want to use AGENTS.md instead of CLAUDE.md as the project memory file for Claude Code.
Do not use this skill if you intend to keep CLAUDE.md as the primary file or if you are not using Claude Code.
Security analysis
SafeThe skill performs only local file operations (creating a file, making a symlink) and offers to run an internal '/init' command, but no destructive actions, exfiltration, or obfuscation. It includes user confirmation before overwriting files, and does not invoke external scripts or network access.
No concerns found
Examples
Set up AGENTS.md as the memory file for this project.I want to use AGENTS.md instead of CLAUDE.md. Please create the necessary symlink and initialize.Create a symlink from AGENTS.md to CLAUDE.md and run /init to populate project settings.name: init-override description: Create a symlink from AGENTS.md to CLAUDE.md in the current project directory. Use when the user wants to initialise a project to use AGENTS.md as the memory file instead of CLAUDE.md.
init-override
Create a symlink from AGENTS.md to CLAUDE.md in the current project directory, then optionally run /init and sanitise the output.
Instructions
-
Check if
CLAUDE.mdalready exists in the current working directory- If it exists and is a symlink pointing to AGENTS.md, inform the user it's already configured and skip to step 4
- If it exists and is a regular file, warn the user and ask if they want to replace it
-
Create
AGENTS.mdif it doesn't exist, using the template below -
Create the symlink:
ln -s AGENTS.md CLAUDE.md -
Ask the user if they want to run
/initto auto-discover project settings- If yes, run
/initand then proceed to step 5 - If no, confirm success and finish
- If yes, run
-
Sanitise the AGENTS.md file by removing or replacing:
- Any line containing "Claude Code" or "claude.ai"
- References to
CLAUDE.md(replace withAGENTS.md) - References to
.claude/paths - The boilerplate phrase "This file provides guidance to Claude Code"
- Replace "Claude" with "AI agents" where it refers to the assistant
-
Ensure the file header is
# AGENTS.md(not# CLAUDE.mdor# Project guidance) -
Confirm success and show the user the sanitised content
AGENTS.md template
Use this content when creating a new AGENTS.md file (before /init runs):
# AGENTS.md
This file provides guidance for AI agents working with code in this repository.
Next.js App Router Expert
Development
A skill that turns Claude into a Next.js App Router expert.
README Generator
Development
Creates professional and comprehensive README.md files for your projects.
API Documentation Writer
Development
Generates comprehensive API documentation in OpenAPI/Swagger format.