From claude-code-meta
This skill should be used when the user asks to "update CLAUDE.md", "edit CLAUDE.md", "write to CLAUDE.md", "create CLAUDE.md", "add to project memory", mentions "CLAUDE.md", or refers to project-specific notes and learnings. Redirects these operations to AGENTS.md instead, working with the PostToolUse hook that ensures @./AGENTS.md reference in CLAUDE.md for proper project context management.
How this skill is triggered — by the user, by Claude, or both
Slash command
/claude-code-meta:claude-md-redirectThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
**When asked to update, edit, or write to CLAUDE.md — use AGENTS.md instead.**
When asked to update, edit, or write to CLAUDE.md — use AGENTS.md instead.
The project uses AGENTS.md for storing project-specific notes, learnings, and context. CLAUDE.md is reserved for the hook-managed reference.
A PostToolUse hook (~/.claude/hooks/ensure-agents-ref.sh) automatically:
@./AGENTS.md reference at the beginning if not presentHowever, the hook doesn't always trigger (e.g., when CLAUDE.md doesn't exist yet). This skill ensures correct behavior regardless.
./AGENTS.mdnpx claudepluginhub j2h4u/oh-my-claude-plugins --plugin claude-code-metaCreates, edits, and verifies skills using a test-driven development approach with pressure scenarios and subagents.