Four read-only AI-agent skills that answer, in one sweep, the questions that matter every time an agent touches a JavaScript project:
.nvmrc, .node-version,
.tool-versions, .mise.toml,
package.json volta), and does anything drift?
(NODE_PIN_DRIFT / RUNTIME_ABSENT_WITH_PIN /
MIXED_VERSION_MANAGERS). The ONLY subprocess ever spawned
is the allowlist probe <binary> --version.***:LEN
(values are never printed — canary-battery proven),
strict-ssl=false, missing cafile,
world-writable or symlinked npmrc, NPM_CONFIG_* env rows.
Zero subprocess, zero writes.package.json vs
package-lock.json (v1/v2/v3) vs
npm-shrinkwrap.yaml vs yarn.lock vs
pnpm-lock.yaml vs node_modules/.
MISSING_FROM_LOCK, INSTALLED_BUT_NOT_LOCKED,
LOCKFILE_ABSENT_WITH_DEPS verdicts; registry-host census
host only (paths of non-default registries are never
printed); integrity census; git+/file:
resolved rows as counts. Never fetches, never installs.npm install: lifecycle hooks with their npm-doc run-model,
curl … | sh fetch-pipes, sudo, native build
tools, git sources, npx remote executions
(package named), global installs. Scripts are never
executed — the battery proves it with a canary script.
Findings-vs-data verdict law is echoed in every report.Python 3.8+ only, stdlib only. Copy the four tool directories anywhere on PATH or run in place:
nodepeek/agent-harness/cli_anything/nodepeek/core.py --root ~/my-project
npmpeek/agent-harness/cli_anything/npmpeek/core.py --root ~/my-project
lockpeek/agent-harness/cli_anything/lockpeek/core.py --root ~/my-project
scriptpeek/agent-harness/cli_anything/scriptpeek/core.py --root ~/my-projectEach tool: --json for machines,
--root <dir> to target a project, --help
for usage.
| rc | meaning |
|---|---|
| 0 | clean census, no findings |
| 4 | findings present (trust drift, dangers, unparsable files) |
| 6 | nothing readable (no project markers / no npmrc / no runtimes) |
| 2 | usage error |
None of the four tools writes anywhere, executes project scripts,
installs packages, or fetches the network. nodepeek’s single subprocess
is the version probe --version. npmpeek masks every
secret-adjacent value before it ever leaves the process. The batteries
assert each of these laws with canary values and mtime snapshots — see
*/tests/test_battery.py, run them with
python3 runner_count.py.
MIT.