소스 정보
- 저장소
- tomevault-io/skills-registry
- 최근 소스 활동
- 2026년 7월 3일 19:45
- 감지된 SKILL.md 언어
- 영어
- 스타
- 0
- 포크
- 0
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
메뉴
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
SOC 직업 분류 기준
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/tomevault-io/skills-registry --skill node-modules-inspector명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SKILL.md 표시 중
| Use when this capability is needed.
> Use when this capability is needed.
Review architecture and API design for the vfs-s3 project. Use when the user mentions @architect, asks to review an issue's design, discuss module boundaries, API shape, or architectural decisions for vfs-s3. Also trigger when the user wants to create an ADR (Architecture Decision Record) or evaluate a technical approach for the project. Intended for dispatch from Codex automation or Claude routines; GitHub trigger phrase: @vfs-s3-bot please prepare design doc Use when this capability is needed.
| name | node-modules-inspector |
| description | > Use when this capability is needed. |
node-modules-inspector is a CLI + MCP server that inspects the installed node_modules of the current project and produces structured reports. Three reports, same underlying analysis pipeline:
| Report | Answers |
|---|---|
duplicates | Which packages are installed in multiple versions? |
sizes | Which packages take up the most disk space? |
maintainers | Which consumers have dep-upgrade opportunities or publint issues, grouped by package and author? |
Reports run against the real on-disk node_modules — no registry calls are required for the basic shape; npm metadata is fetched only to enrich the maintainers report (gated by config).
Works with pnpm, npm, and bun. The default npx node-modules-inspector (with no subcommand) opens a Vue web UI for humans; agents should use the report and mcp subcommands below.
Trigger on any of:
Don't reach for it for: registry-only questions (use fast-npm-meta), bundle-size analysis of a single package (use a bundler-specific tool), security audits (use npm audit / osv-scanner).
All subcommands share these options:
--root <dir> — project root (default: cwd)--config <file> — config file (default: node-modules-inspector.config.{ts,js,json})--depth <n> — max dependency depth to traverse (default: 8)--json — emit JSON to stdout; pretty ANSI table otherwiseProgress logs always go to stderr, so ... --json is pipe-safe.
npx node-modules-inspector report duplicates --json
Options:
--min-versions <n> — only include packages installed at this many versions or more (default: 2)--limit <n> — cap result countOutput shape:
[
{
"name": "@typescript-eslint/scope-manager",
"versions": ["8.56.1", "8.59.1", "8.59.2", "8.59.4"],
"specs": ["@typescript-eslint/scope-manager@8.56.1", "..."]
}
]
Versions are sorted ascending by semver. Entries are sorted by version-count descending. Use this to find dedupe targets — pnpm dedupe / npm dedupe resolves these where ranges overlap.
npx node-modules-inspector report sizes --json --limit 20
Options:
--limit <n> — cap result count (default: 50)--include-workspace — include workspace packages (default: excluded; they have no meaningful install size)Output shape:
[
{
"spec": "typescript@6.0.3",
"name": "typescript",
"version": "6.0.3",
"workspace": false,
"bytes": 24346827,
"categories": {
"js": { "bytes": 15344521, "count": 200 },
"dts": { "bytes": 7002306, "count": 150 }
}
}
]
categories keys come from a fixed set: js, ts, dts, json, bin, wasm, map, image, css, html, comp, doc, test, flow, other. Entries are sorted by bytes descending.
npx node-modules-inspector report maintainers --json
Options:
--sort <depth|migration|latest> — sort by consumer depth, max migration ratio, or latest release time (default: depth)--author <handle> — filter to consumers maintained by this author; repeatable--no-publint — exclude publint findings--no-latest-only — include consumer packages that are not on their latest major--limit <n> — cap result countOutput shape:
[
{
"consumer": { "spec": "rollup-plugin-esbuild@6.2.1", "name": "rollup-plugin-esbuild", "version": "6.2.1", "depth": 1 },
"authors": [{ "type": "github", "github": "egoist", "avatar": "..." }],
"items": [
{
"kind": "dep-upgrade",
"depName": "unplugin-utils",
"depType": "prod",
"declaredRange":
How to read this:
dep-upgrade item means: this consumer declares depName at declaredRange, but there's a newer installed version (installedHighestVersion) that the range does not satisfy. migrationRatio is the fraction of consumers in the same cohort that already migrated — a high ratio (e.g. 0.9) means most other consumers already moved on, so this one is lagging.rawRange differs from declaredRange only when the consumer used a pnpm catalog reference (catalog:deps); declaredRange is the resolved range.publint item carries the raw publint messages, partitioned by severity in counts.authors come from the consumer's package.json author/maintainers fields, with GitHub-handle detection.Publint findings only appear when pkg.resolved.publint was populated. Enable that by adding publint: true to node-modules-inspector.config.ts (or by using the project's web UI which runs publint async).
npx node-modules-inspector mcp
Starts an MCP stdio server. Exposes three tools, identical surface to the CLI:
nmi:report-duplicatesnmi:report-sizesnmi:report-maintainersWhen configured in an MCP client (e.g. Claude Code) under server name node-modules-inspector, address them as node-modules-inspector:nmi:report-duplicates, etc.
Tool input schemas mirror the CLI options. Tool output is JSON in the exact shape shown above for each report.
Prefer MCP when:
Prefer the CLI (report ... --json) when shell-pipelining (jq, redirect, etc.) is more convenient.
node_modules end-to-end and caches npm metadata on disk (under ~/.node-modules-inspector or similar). Subsequent runs are much faster.sizes by default — pass --include-workspace if you actually want them.--depth 8 is enough for almost all real projects. Increase only if the user explicitly asks about deeply-nested transitive dependencies.--root packages/<name> is faster than the whole repo.node_modules directory, or none of pnpm/npm/bun lockfiles. Suggest the user run install first.duplicates result — fine, it means everything is deduped (mention pnpm dedupe etc. only if user wants to verify).maintainers result — usually means there are no dep-upgrade opportunities AND publint: true is not set in the config; if the user expected publint output, point them at the config.npx node-modules-inspector (no subcommand) starts a Vue dev server on port 9999 with a full visual explorer (graph view, filters, multi-version compare, maintainer-action dashboard). It's for humans; don't suggest it for an agent task. The report CLI and mcp server above cover the same data programmatically.
npx node-modules-inspector build produces a static SPA of the analysis into dist/__node-modules-inspector/ — useful for CI artifacts but not for agent consumption.
Source: antfu/node-modules-inspector — distributed by TomeVault.