AGENT SKILL
path-fixer
Use system standard tools (npm, node) instead of version managers like mise in restricted environments.
- License 许可
- MIT
- 最近更新
- 2026-09-10
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- path-fixer
- description
- Use system standard tools (npm, node) instead of version managers like mise in restricted environments.
03 SKILL.md 正文
Goal
Execute npm or node commands using the system's absolute path to avoid "Operation not permitted" errors caused by version managers in sandboxed environments.
Instructions
- When the user asks to "install packages" or "run npm", use the path
/usr/local/bin/npmor prependNPM_CONFIG_CACHE=$(pwd)/.npm-cache COREPACK_HOME=$(pwd)/.corepack PATH=$(pwd)/.npm-global/bin:/usr/local/bin:$PATH. - Do not attempt to use
miseorasdfshims.
Examples
User: npm install Agent: NPM_CONFIG_CACHE=$(pwd)/.npm-cache COREPACK_HOME=$(pwd)/.corepack PATH=$(pwd)/.npm-global/bin:/usr/local/bin:$PATH npm install