Skip to content
Skill

Go dependency audit

Audits Go module dependencies for vulnerabilities, outdated versions and go.mod hygiene

Go dependency audit is an open-source agent skill for security. It is available on Claude Code.

Scripts
None
Platforms
Claude Code
GitHub stars
90
Last commit
License
MIT
Listing updated

Similar skills

About Go dependency audit

This skill guides an agent through a read-only review of a Go project's dependencies. It covers running govulncheck against the Go vulnerability database, checking go.mod and go.sum for stale or unused entries with go mod tidy and go mod verify, and listing available module updates with go list. It also gives the agent a checklist for judging a third-party package before it is added, including maintenance activity, license, transitive size, API stability and whether the standard library already covers the need.

The workflow tells the agent how to upgrade modules safely, favouring patch and minor updates and treating major version bumps as migrations, then running the test suite with the race detector. It also explains how to trace transitive dependencies with go mod why and go mod graph, and how replace, exclude, retract and go.work are meant to be used. The output follows a report format grouping findings into vulnerabilities, outdated modules and observations.

It expects a Go project with the Go toolchain installed and network access to the Go module proxy. Scanning tools such as govulncheck are invoked through Bash, and the skill does not edit code itself.

When your agent uses it

Audit Go module dependencies: detect outdated packages, check for known vulnerabilities, review go.mod hygiene, identify unused or redundant deps, and evaluate dependency quality. Use when auditing dependencies, checking for CVEs, cleaning up go.mod, upgrading modules, or evaluating third-party packages. Trigger examples: "check dependencies", "audit deps", "go.mod review", "update modules", "vulnerability scan", "govulncheck". Not for: code-level security (go-security-audit), architecture review (go-architecture-review).

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 2 files (9 KB) on GitHub on 3 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

Download the skill folder from https://github.com/eduardo-sl/go-agent-skills and copy it into your agent's skills folder.

What it does

Vulnerability scanning
Runs govulncheck against the Go vulnerability database to flag issues that affect called code paths.
go.mod hygiene checks
Uses go mod tidy and go mod verify to catch stale entries, unused requirements and checksum mismatches.
Dependency evaluation checklist
Scores candidate packages on maintenance, license, size, API stability and stdlib alternatives.
Module upgrade guidance
Explains how to list available updates and apply patch, minor or major upgrades with test runs.
Transitive dependency analysis
Shows how to trace why a module is present and spot heavy or conflicting transitive trees.
Version resolution rules
Covers minimal version selection, replace, exclude, retract and go.work usage.

Good for

  • Check my Go project for known vulnerabilities in its dependencies
  • Clean up go.mod and remove unused or stale modules
  • Show which Go modules have newer versions available
  • Evaluate whether a third-party Go package is worth adding
  • Upgrade a Go module safely and run the tests afterward
  • Trace why a transitive dependency is in my module graph

Go dependency audit FAQ

Does Go dependency audit change my code or go.mod?

No. The skill is described as read-only: it reports findings and does not edit code.

What does Go dependency audit need to run?

The Go toolchain and network access to proxy.golang.org. It is designed for Claude Code or similar AI coding agents working on Go projects.

Which tools can the agent use?

Read, Glob, Grep, and Bash limited to go, gofmt and govulncheck commands.

How is Go dependency audit different from a code security audit?

Code-level security is handled by a separate skill, go-security-audit, and architecture review by go-architecture-review.

Does Go dependency audit run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Go dependency audit?

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

What are the best alternatives to Go dependency audit?

The closest alternatives to Go dependency audit are Go security audit, Security review, Dependency health triage, Go architecture review and Source code scanning.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from eduardo-sl/go-agent-skills

  1. Guides Go agents in designing HTTP REST APIs, handlers, middleware and shutdown

    • Open source
    • 90 GitHub stars
    • Developer tools
  2. Reviews Go project structure, dependency direction and module boundaries

    • Open source
    • 90 GitHub stars
    • Developer tools
  3. Guides an AI agent to build Go command-line tools with clean flags, streams and exit codes

    • Open source
    • 90 GitHub stars
    • Developer tools
  4. Guides Go code toward constructor injection, explicit wiring and no global state

    • Open source
    • 90 GitHub stars
    • Developer tools
  5. Guides Go code toward idiomatic design patterns like functional options and factories

    • Open source
    • 90 GitHub stars
    • Developer tools
  6. Guides building Go GraphQL servers with gqlgen, covering N+1 batching and query limits

    • Open source
    • 90 GitHub stars
    • Developer tools