Fix npm global install failures for @openai/codex when ENOTEMPTY rename conflicts occur in the global node_modules path.
安装
npx skills add lamxy/agent-prompt-rules-system --skill npm-codex-enotempty-repairnpx skills add lamxy/agent-prompt-rules-system --skill npm-codex-enotempty-repair -a claude-code -gnpx skills add lamxy/agent-prompt-rules-system --skill npm-codex-enotempty-repair -a codex -ggemini skills install https://github.com/lamxy/agent-prompt-rules-system.git --path skills/skills-codex-repair/npm-codex-enotempty-repairgh skill install lamxy/agent-prompt-rules-system npm-codex-enotempty-repairgit clone --depth 1 https://github.com/lamxy/agent-prompt-rules-system /tmp/lamxy__agent-prompt-rules-system
mkdir -p ~/.claude/skills ~/.agents/skills
cp -R /tmp/lamxy__agent-prompt-rules-system/skills/skills-codex-repair/npm-codex-enotempty-repair ~/.claude/skills/npm-codex-enotempty-repair # Claude Code
cp -R /tmp/lamxy__agent-prompt-rules-system/skills/skills-codex-repair/npm-codex-enotempty-repair ~/.agents/skills/npm-codex-enotempty-repair # Codex, Cursor, Gemini CLI, Copilot, OpenCode