**Run FIRST (before any other skill or task)** when workspace root has no AGENTS.md and the repo is an AEM 6.5 LTS (on-prem or Adobe Managed Services) project. Creates AGENTS.md and CLAUDE.md (tailored via pom.xml). Applies on every user request until AGENTS.md exists — not only the first chat. Never overwrites existing files.
安装
npx skills add adobe/skills --skill ensure-agents-mdnpx skills add adobe/skills --skill ensure-agents-md -a claude-code -gnpx skills add adobe/skills --skill ensure-agents-md -a codex -ggemini skills install https://github.com/adobe/skills.git --path plugins/aem/6.5-lts/skills/ensure-agents-mdgh skill install adobe/skills ensure-agents-mdgit clone --depth 1 https://github.com/adobe/skills /tmp/adobe__skills
mkdir -p ~/.claude/skills ~/.agents/skills
cp -R /tmp/adobe__skills/plugins/aem/6.5-lts/skills/ensure-agents-md ~/.claude/skills/ensure-agents-md # Claude Code
cp -R /tmp/adobe__skills/plugins/aem/6.5-lts/skills/ensure-agents-md ~/.agents/skills/ensure-agents-md # Codex, Cursor, Gemini CLI, Copilot, OpenCode