Agent skill
init-override
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.
Install this agent skill to your Project
npx add-skill https://github.com/sofer/.agents/tree/main/skills/init-override
SKILL.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.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
meeting-context
Determine why a meeting is happening and what should be discussed
reconcile
Analyse and resolve divergences between SDLC manifest and actual development state (git commits, branches, uncommitted files). Use when manifest and reality have drifted apart, or before picking next story to ensure clean state.
readme-review
Review the project README to understand what it does and suggest a recommended next step. Use when starting work on an unfamiliar project.
commit
Git workflow operations with Conventional Commits. Supports subcommands - branch (create feature branch), commit (stage and commit changes), pr (create pull request), merge (merge PR). Automatically available when the current directory is a git repository. Use when user needs git operations during development workflow.
contact-research
Research a person given their name and email, returning a brief profile with role, company, LinkedIn summary, and previous interactions
design
Plan architecture and components for a single user story. Use after spec phase to create a technical design before implementation. Produces design documents that guide stubs and implementation.
Didn't find tool you were looking for?