Token导航 LogoToken导航TokenDH.com
研究检索只读clawhub未标认证来源可访问clear审计提醒

npm-package-scannpm 包扫描

Agent Skill

npm-package-scan 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

6,756

周安装

276

GitHub Stars

公开资料未说明

下载量

2,186
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:npm-package-scan(npm 包扫描)
来源仓库:https://github.com/geoffrey-xiao/npm-package-scan
安装命令:
openclaw skills install npm-package-scan
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install npm-package-scan

简介

npm-package-scan 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。

  • 适用于扫描存储库中使用的 npm 包以了解风险、维护运行状况和升级问题。
  • 通过 clawhub 安装,安装命令为 openclaw skills install npm-package-scan。
  • 安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。
  • 适用宿主包括 OpenClaw,接入前应确认版本、权限和运行环境要求。

SKILL.md

name
NPM Package Scanner
description
Scan npm packages used in a repository for risk, maintenance health, and upgrade concerns.
metadata
openclaw
requires
bins

NPM Package Scanner

Use this skill when you need to inspect the npm packages used by a repository and identify security, maintenance, and dependency risks.

Goal

Produce a practical package-risk review for the current repository:

  • what dependencies are installed
  • which ones are direct vs transitive
  • which ones look stale, risky, or unnecessary
  • whether there are known audit issues
  • whether version ranges are too loose or outdated

Scope

Focus on:

  • package.json
  • lockfiles such as package-lock.json, bun.lock, pnpm-lock.yaml, or yarn.lock
  • workspace package manifests
  • scripts that introduce package/tooling risk
  • duplicated or overlapping dependencies

Use the reference notes in references/checklist.md and references/commands.md when useful.

Workflow

  1. Find package manifests and lockfiles.
  2. Read the root package.json and any workspace manifests.
  3. List direct dependencies and devDependencies.
  4. Check for:

- very old package versions - abandoned or suspicious packages - duplicate packages solving the same problem - unnecessary runtime dependencies - risky postinstall/build hooks - overly broad semver ranges

  1. Run available package-manager audit commands if appropriate.
  2. Summarize findings by severity.
  3. Recommend concrete next steps.

Commands

Prefer fast repo inspection first:

rg --files | rg '(^|/)(package\.json|package-lock\.json|bun\.lock|pnpm-lock\.yaml|yarn\.lock)$'

Inspect manifests:

cat package.json

If using Bun:

bun pm ls
bun audit

If using npm:

npm ls --depth=0
npm audit

If using pnpm:

pnpm ls --depth=0
pnpm audit

If using yarn:

yarn list --depth=0
yarn audit

Output format

Return:

  1. High-risk findings
  2. Medium-risk findings
  3. Low-risk cleanup items
  4. Packages worth upgrading soon
  5. Packages that may be removable
  6. Exact commands to verify or fix

Review rules

  • Prioritize real risk over noise.
  • Distinguish direct dependencies from transitive ones.
  • Do not recommend upgrades blindly; mention likely blast radius.
  • If audit output is noisy, extract only actionable items.
  • If no serious issues are found, say so explicitly.

Constraints

  • Do not modify dependency versions unless explicitly asked.
  • Do not remove packages unless explicitly asked.
  • Do not assume a package is abandoned without evidence from the repo context or audit/tool output.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

98.88%
按下载量换算2,162

安全审计

VirusTotal

通过

ClawScan

可疑

Static analysis

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills