This setting allows the npm commands most used in development: lint, test, build, and start.
With them permitted, Claude runs those tasks without asking for confirmation every time.
It targets routine scripts only, keeping other commands behind approval.
When to use
- On Node projects where you run lint, tests, and build often.
- To reduce interruptions during the development cycle.
- When you want to allow only known scripts, not all of npm.
How to use
Apply the setting and adjust the list to include your project’s npm scripts.