This is a script-strategy skill. The script in scripts/main.sh runs npm audit --json inside the directory supplied via SKILLFORGE_INPUT (or the SkillForge temp cwd if input is empty), parses the output with jq, and prints a one-line summary to stdout.
Output format (one line):
high=<N> critical=<M> total=<T> packages=<P>
When npm audit errors (no package.json, no node_modules, network failure), the script prints error=<reason> and exits 0 — SkillForge returns the line as a successful invocation, the consuming agent decides what to do with the diagnostic.
Prerequisites:
config.security.allowScripts: truein the SkillForge persisted config.npmandjqon the host's resolvedPATH(on POSIX, the SandboxRunner restrictsPATHto/usr/bin:/bin— installjqsystem-wide or overrideDEFAULT_PATHfor this skill).SKILLFORGE_INPUTset to an absolute path of the project to audit, or unset to audit the temp cwd (which will report nopackage.json— usually pass the path explicitly).