agentleFS
89jobrien89jobrien/godmode/skills/dep-audit/SKILL.md

godmode:dep-audit

Skill1 starsChanged 57 days agoMITView on GitHub

Audit dependencies across taskit protocol freshness, taskit protocol audit, and taskit protocol audit. Produce tiered findings: Blocking (CVEs), Suggestions (major bumps), Nitpicks (minor/patch bumps). Can auto-apply patch updates when asked.

The file

Show its rules and text

We split this skill into the rules it gives an agent

13 rules. About 0 are common, 10 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈10

    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. Distinctive:

    Before a release or merge to main

    line 15
  2. Distinctive:

    After a vulnerability disclosure (e.g., Rust security advisory)

    line 16
  3. Distinctive:

    When asked to "check deps", "audit dependencies", or "security audit"

    line 17
  4. Distinctive:

    When suspicious or very old dependencies are discovered

    line 19
  5. Very specific:

    Use taskit protocol audit instead of taskit protocol audit — cargo-audit 0.22 cannot parse CVSS 4.0 entries in the advisory DB (upstream …

    line 62
  6. Very specific:

    When a crate appears in multiple Cargo.toml files (workspace, sub-crates), note version mismatches:

    line 101
  7. Distinctive:

    When asked to "apply patches" or "fix it":

    line 110
  8. Very specific:

    Run taskit check compile to verify all builds succeed

    line 114
  9. Distinctive:

    Never apply major/minor bumps without explicit consent

    line 119
  10. Distinctive:

    Always verify build succeeds after updates

    line 120
  11. Distinctive:

    Never remove a dependency to resolve an advisory — report and ask instead

    line 121
  12. Distinctive:

    If a crate requires a feature flag to pass audit, note it in findings

    line 122
  13. Distinctive:

    Stop the audit if:

    line 126

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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 Audit

When to Use

  • Before a release or merge to main
  • After a vulnerability disclosure (e.g., Rust security advisory)
  • When asked to "check deps", "audit dependencies", or "security audit"
  • To align versions across a Rust workspace
  • When suspicious or very old dependencies are discovered

The Three-Tool Audit Process

Tool 1: taskit protocol freshness

Lists all crates with available updates. Categorizes by version bump type.

taskit protocol freshness

Output shows:

  • Package name
  • Current version
  • Latest available version
  • Kind (normal, dev, build dependency)

Flag each update by severity:

  • Major (X.0.0): breaking changes likely — Suggestion level
  • Minor (x.Y.0): new features, no breaking changes — Nitpick level
  • Patch (x.y.Z): bug fixes only — Nitpick level

Tool 2: taskit protocol audit

Scans for:

  • Advisories: published security vulnerabilities (CVEs)
  • Licenses: incompatible or restricted licenses (e.g., GPL in MIT project)
  • Sources: crates from banned sources
taskit protocol audit

Any advisory or license failure is Blocking or Suggestion level (depending on license policy).

Tool 3: taskit protocol audit

Scans the vulnerability database for known CVEs in transitive dependencies. Use taskit protocol audit instead of taskit protocol audit — cargo-audit 0.22 cannot parse CVSS 4.0 entries in the advisory DB (upstream bug; crashes at DB load time before any --ignore flags can be applied).

taskit protocol audit advisories --config .config/deny.toml

Reports advisory ID, affected crate, and severity. Always Blocking. Findings that are expected/accepted should be added to the [advisories] ignore list in .config/deny.toml with a documented rationale comment.

Output Format

Report findings in three sections:

Blocking (Security advisories, CVEs, license violations)

- <crate> <version> — <CVE-ID or advisory> — <description>
- <crate> — <license> incompatible with <project license>

Suggestions (Major version bumps, breaking changes available)

- <crate> <current> → <latest> — <reason or breaking change summary>

Nitpicks (Minor/patch bumps available)

- <crate> <current> → <latest>

Omit sections with no findings.

Workspace Alignment

When a crate appears in multiple Cargo.toml files (workspace, sub-crates), note version mismatches:

- <crate> version mismatch: root uses X, crate-foo uses Y

Fix Mode

When asked to "apply patches" or "fix it":

  1. For each patch bump: cargo update -p <crate> --precise <version>
  2. Rerun taskit protocol audit advisories --config .config/deny.toml to verify no new conflicts
  3. Run taskit check compile to verify all builds succeed
  4. Report: updated crates and re-audit status

Guardrails:

  • Never apply major/minor bumps without explicit consent
  • Always verify build succeeds after updates
  • Never remove a dependency to resolve an advisory — report and ask instead
  • If a crate requires a feature flag to pass audit, note it in findings

When to Stop

Stop the audit if:

  • taskit protocol freshness output is malformed (binary missing or broken)
  • taskit protocol audit or taskit protocol audit crash with unrecoverable error

Report the error and ask for manual investigation.

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.