# Weekly Npm Dependency Audit

> Run a weekly npm dependency audit for JavaScript or TypeScript projects. Use this when the user asks for an npm dependency audit, npm outdated package review, package.json upgrade plan, weekly dependency audit, npm security check, or a safe npm upgrade summary.

- **Type:** Skill
- **Install:** `agentstack add skill-leek-agent-skills-weekly-npm-dependency-audit`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [leek](https://agentstack.voostack.com/s/leek)
- **Installs:** 0
- **Category:** [Developer Tools](https://agentstack.voostack.com/c/developer-tools)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [leek](https://github.com/leek)
- **Source:** https://github.com/leek/agent-skills/tree/main/skills/weekly-npm-dependency-audit
- **Website:** https://skills.sh/leek/agent-skills

## Install

```sh
agentstack add skill-leek-agent-skills-weekly-npm-dependency-audit
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# NPM Dependency Audit Weekly

## Goal

Deliver a weekly npm dependency audit summary.

## Loop

Kickoff prompt:

```text
/loop 7d Start the "NPM Dependency Audit Weekly" loop.
Goal: deliver a weekly npm dependency audit summary.
Between iterations run: npm outdated || true
Exit when: summary is posted with recommended upgrades.

Step 1: Run npm outdated, categorize updates, and propose a safe upgrade plan.
```

Run this in the target project:

```bash
npm outdated || true
```

Also run a security audit when the project has a lockfile that makes the result meaningful:

```bash
npm audit || true
```

If there is no `package.json`, stop and report that the current directory is not an npm project.

## Report

Summarize the result with:

- Current package manager evidence, such as `package-lock.json`, `npm-shrinkwrap.json`, or npm scripts.
- Outdated dependencies grouped by patch, minor, and major updates.
- Security advisories from `npm audit`, grouped by severity, if audit output is available.
- Recommended safe upgrade order, starting with low-risk patch and minor updates.
- Breaking-change risks, required code changes, or test coverage gaps for major updates.
- Exact verification commands the project should run after upgrades.

Keep the report direct. Do not apply upgrades unless the user asks you to do the upgrade work.

## Guardrails

- Do not modify the check command or exit criteria to force success.
- Do not skip, disable, or bypass checks to make the audit look clean.
- If package metadata is missing, dependency resolution fails, or audit output is blocked by registry/authentication issues, stop and report the blocker.

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [leek](https://github.com/leek)
- **Source:** [leek/agent-skills](https://github.com/leek/agent-skills)
- **License:** MIT
- **Homepage:** https://skills.sh/leek/agent-skills

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-leek-agent-skills-weekly-npm-dependency-audit
- Seller: https://agentstack.voostack.com/s/leek
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
