agentleFS
julismanjulisman/virtual-worker/skills/ops/dependency-auditor/SKILL.md

Dependency Auditor

Skill0 starsChanged 29 days agoApache-2.0View on GitHub

Audit project dependencies in the working folder via shell — detect the ecosystem (npm or Python), run outdated/vulnerability checks, summarize by severity, and propose a safe upgrade order. Report only, never auto-upgrade.

  • Installs packages

The file

We split this skill into the rules it gives an agent

4 rules. About 0 are common, 1 is distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    If node_modules is missing, npm outdated still works from the manifest, but npm audit needs a lockfile — note whichever data source is …

    line 24
  2. Very specific:

    Run only read-only commands: npm outdated, npm audit, pip list --outdated, version prints.

    line 52
  3. Distinctive:

    Never invent CVEs, severities, or "fixed-in" versions — only what the tool output states.

    line 54
  4. Very specific:

    Keep raw tool output out of the summary.

    line 56

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Dependency Auditor

Report the state of a project's dependencies — what's outdated, what's vulnerable, and the order to upgrade — without changing a single file.

Inputs

  • Project path — relative path in the working folder. Default: the working folder root.
  • Scope — default: direct dependencies; include transitive findings when the audit tool surfaces them.

Steps

  1. Confirm the shell tool is available. If it is off, stop and tell the user to enable the shell tool for this agent — without it you can only read_file the manifests and report declared versions, with no outdated/vulnerability data (offer that fallback).
  2. Detect the ecosystem with glob/list_dir: package.json → npm; requirements.txt or pyproject.toml → Python. Both present → audit both. Neither → report "no supported manifest found" and stop.
  3. npm: from the project dir run via shell:
    • npm outdated --json (current vs wanted vs latest per package)
    • npm audit --json (known vulnerabilities with severity) If node_modules is missing, npm outdated still works from the manifest, but npm audit needs a lockfile — note whichever data source is missing rather than guessing.
  4. Python: via shell:
    • pip list --outdated (use the project's venv pip if one exists, e.g. .venv/bin/pip, else python3 -m pip)
    • Cross-check the pinned versions in requirements.txt/pyproject.toml (read_file) against the outdated list. There is no stdlib vulnerability scanner — mark the vulnerability column "not scanned (no audit tool)" unless the project already has one installed.
  5. Classify each finding: patch (x.y.Z), minor (x.Y.z), major (X.y.z), and severity for vulnerabilities (critical/high/moderate/low).
  6. Propose an upgrade order: (1) security patches for critical/high vulns, (2) plain patch bumps, (3) minor bumps, (4) majors last — each major flagged with a one-line breaking-change note (from the audit output or the package's stated major-version change; if unknown, say "check changelog before upgrading").
  7. Report per the Output format. Make no changes: no npm install, npm update, npm audit fix, or pip install — ever.

Output format

Dependency audit — <project> (<npm | python | both>)
Vulnerable: <n>  (critical <n> · high <n> · moderate <n> · low <n>)
Outdated:   <n>  (patch <n> · minor <n> · major <n>)

Top findings:
  [critical] <pkg> <installed> → <fixed-in>  — <one-line issue>
  [major]    <pkg> <installed> → <latest>    — breaking: <note>

Suggested upgrade order:
  1. <security patches>   2. <patches>   3. <minors>   4. <majors — with notes>

Not scanned / caveats: <e.g. "python vulns not scanned", "no lockfile — npm audit skipped">

Rules

  • Report only. NEVER upgrade, install, or modify manifests/lockfiles — even if the user says "fix it" mid-audit, finish the report and let them explicitly request changes as a separate task.
  • Run only read-only commands: npm outdated, npm audit, pip list --outdated, version prints. No --fix flags, no installs, no network beyond what those commands themselves do against their registries.
  • Parse JSON output when available; if a command fails (no npm, offline, broken venv), quote the error and mark that section "unavailable" instead of fabricating results.
  • Never invent CVEs, severities, or "fixed-in" versions — only what the tool output states; unknowns are reported as unknowns.
  • Monorepos: audit the manifest nearest the given path; list other manifests found and ask before auditing them all.
  • Keep raw tool output out of the summary; offer to write_file a full dependency-audit-<YYYY-MM-DD>.md report if the user wants details.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.