---
title: "npm supply-chain audit: review, setup & limitations · Undominated.ai"
canonical: https://undominated.ai/skills/grafana-check-npm/
description: "Pins Grafana's package-manager audit, which is read-only, stops when package.json is missing, and stops again when every check passes."
---

# npm supply-chain audit: review, setup & limitations · Undominated.ai

> Pins Grafana's package-manager audit, which is read-only, stops when package.json is missing, and stops again when every check passes.

[← Explore all skills](/skills/)

PACKAGE MANAGER AUDITING / Grafana

# npm supply-chain audit

Pins Grafana's package-manager audit, which is read-only, stops when package.json is missing, and stops again when every check passes.

 [See setup guidance ↓](#setup)[Original source ↗](https://github.com/grafana/skills/tree/1ccacf29049fde66637fe01ab93a83a772da323b/skills/grafana-plugins/check-npm)

SOURCE REVIEW

 Reviewed 2026-10-15
 Evidence 4 linked sources
 Publisher Grafana
 Licence [Apache-2.0 ↗](https://github.com/grafana/skills/blob/1ccacf29049fde66637fe01ab93a83a772da323b/LICENSE)
 Revision 1ccacf29049f
 [Read what was—and wasn’t—checked ↓](#review)

“Audit a JavaScript/TypeScript repo's npm, yarn, or pnpm configuration for supply-chain hardening: tool version, lifecycle scripts, unsafe dependency protocols, and minimum release age ≥3 days. …”

 [Grafana · upstream description ↗](https://github.com/grafana/skills/blob/1ccacf29049fde66637fe01ab93a83a772da323b/skills/grafana-plugins/check-npm/SKILL.md) Our analysis follows below.

01 / THE REASONING

## Why this made the selection.

 - No selected skills record uses this source path.
- The file is a read-only audit that says not to modify files, and it stops when the workspace root has no package.json.

### A good fit for

 - Reporting npm, yarn, or pnpm supply-chain settings without writing config or manifests
- Restrict dependency-protocol checks to declared workspace members before interpreting fallback matches.

### Weigh up before choosing

 - This review did not execute the resource.
- claude plugin install grafana-plugins@grafana-skills installs a plugin group, not this file. This file is skills/grafana-plugins/check-npm/SKILL.md.
- The root README also shows npx skills add grafana/skills as a repository install. The only single-skill example there is npx skills add grafana/skills --skill frontend-session-rca, which is a different skill.
- The README says Codex discovers skills from .agents-plugin/marketplace.json. That manifest was not fetched, and this review did not confirm which files it selects.
- No plugin README sits above this file in the pinned tree. skills/grafana-k6, skills/grafana-lgtm, and skills/grafana-plugins have no README.md.
- Failed checks are reported with paste-ready snippets. The opening rule still says not to modify any files. This review did not apply a snippet.
- references/managers.md, references/protocols.md, and references/fix-snippets.md were not opened. Pass and fail rows in the skill body were.
- Yarn treats a missing enableScripts key as a pass. That is the file's table, not a second rule that was executed.
- Version floors differ for npm, yarn, and pnpm 10 versus pnpm 11. No package manager was run to compare a live version.

02 / THE REVIEW RECORD

## What we actually inspected.

Source review has boundaries. A clear record is more useful than a “safe” badge.

### Material inspected

 - skills/grafana-plugins/check-npm/SKILL.md
- README.md
- LICENSE

### Our findings

 - The audit is read-only and says not to modify any files.
- A missing root package.json is a stop, before the later checks.
- Script policy, dependency protocols, and minimum release age are separate pass or fail checks, with different floors for npm, yarn, and pnpm 10 versus 11.
- When every check passes, the skill says to report that and stop.
- A failure is reported with a fix snippet. The file does not say to write that snippet into the repo.
- Dependency-protocol scanning first discovers workspace members; the recursive fallback is explicitly identified as capable of matching manifests outside the workspace.

### Not established by this review

 - The resource was not executed and its tools were not called.
- npm, yarn, and pnpm were not run.
- No .npmrc, .yarnrc.yml, pnpm-workspace.yaml, or package.json was modified.
- The reference files under references/ were not opened.
- Not executed: it was not installed or run.

The review applies to the material and revision named here. A newer upstream release can change its behavior.

03 / PUT IT TO WORK

## Add a skill to your workflow.

[Upstream setup instructions ↗](https://github.com/grafana/skills/blob/1ccacf29049fde66637fe01ab93a83a772da323b/README.md)

DOCUMENTED COMMAND

 claude plugin install grafana-plugins@grafana-skills Copy command ↗

Copying does not execute this command. It may retrieve a newer version than the reviewed source.

 - The root README Claude Code section shows claude plugin marketplace add grafana/skills and then claude plugin install grafana-plugins@grafana-skills.
- That command installs the grafana-plugins plugin group. It does not install this file alone.
- The same README shows npx skills add grafana/skills for the repository. Its single-skill flag is demonstrated only for frontend-session-rca.
- This review did not run either install.

### Before you start

 - Claude Code if the plugin command is used
- A JavaScript workspace only if the audit steps are followed, which this review did not run

### Compatibility

Claude Code · Cursor · Codex · Agent Skills

### Implementation

shell

### Local skill text with read-only workspace inspection

 - Read the skill
- Install the grafana-plugins plugin group only if the operator runs the documented command
- Read package-manager config only if the operator runs the checks, which this review did not do

### Cost model

Apache-2.0; no install or package-manager command was run

04 / FOLLOW THE EVIDENCE

## The source trail.

Our notes are separate from the original resource. Check upstream before adopting a new version.

 - [check-npm SKILL.md ↗](https://github.com/grafana/skills/blob/1ccacf29049fde66637fe01ab93a83a772da323b/skills/grafana-plugins/check-npm/SKILL.md) Checked 2026-10-14 https://github.com/grafana/skills/blob/1ccacf29049fde66637fe01ab93a83a772da323b/skills/grafana-plugins/check-npm/SKILL.md Supports: read-only rule, missing package.json stop, and stop when every check passes
- [Repository README ↗](https://github.com/grafana/skills/blob/1ccacf29049fde66637fe01ab93a83a772da323b/README.md) Checked 2026-10-14 https://github.com/grafana/skills/blob/1ccacf29049fde66637fe01ab93a83a772da323b/README.md Supports: Apache License 2.0 statement and plugin-group install line
- [Repository LICENSE ↗](https://github.com/grafana/skills/blob/1ccacf29049fde66637fe01ab93a83a772da323b/LICENSE) Checked 2026-10-14 https://github.com/grafana/skills/blob/1ccacf29049fde66637fe01ab93a83a772da323b/LICENSE Supports: Apache License 2.0
- [Pinned continuation review C2-W02 ↗](https://raw.githubusercontent.com/grafana/skills/1ccacf29049fde66637fe01ab93a83a772da323b/skills/grafana-plugins/check-npm/SKILL.md) Checked 2026-10-15 https://raw.githubusercontent.com/grafana/skills/1ccacf29049fde66637fe01ab93a83a772da323b/skills/grafana-plugins/check-npm/SKILL.md Supports: review.findings, bestFor, upstreamDescription

KEEP COMPARING

## Other approaches to consider.

Related by category or shared topics. These are alternatives to inspect, not a measured quality order.

 [### Grafana Cloud dpm-finder ↗ Pins Grafana's dpm-finder skill, which checks a metrics-read key before the scan and skips metrics that return HTTP 422.](/skills/grafana-dpm-finder/)[### k6 trend analysis ↗ Pins Grafana's k6 trend skill, which reports drift and headroom and refuses to apply script or threshold edits itself.](/skills/grafana-k6-trend-analysis/)[### pnpm dependency reduction ↗ Pins Grafana's pnpm reduction skill, which runs a read-only check first, stops off pnpm, and requires approval before adding a dependency.](/skills/grafana-audit-and-reduce-dependencies/)

 [AI Tools ↗](/tools/)[Skills ↗](/skills/)[Agents ↗](/agents/)[MCP Servers ↗](/mcp-servers/)[Workflows ↗](/workflows/)

## Continue your investigation

 - [Choose a toolkit](/tools/)
- [Inspect execution hosts](/agents/)
- [Check tool access](/mcp-servers/)
- [Check project dependencies](/check-repo/)
