golang-pkg-go-dev Skill for Claude Code: Look Up Go Packages with godig
Skill that makes your assistant look up Go package docs, symbols, versions, licenses and known vulnerabilities through the godig tool.
- Installs
- 12.6K
- on skills.sh
- Stars
- 3.7K
- on GitHub
- Files
- 1
- besides SKILL.md
- Updated
- Nov 2026
- last repo commit
Ask which versions of a Go library exist, what a function signature is, which packages import it or whether it has known vulnerabilities. The assistant runs godig commands against pkg.go.dev and answers from the results. SKILL.md says to prefer it over Context7 for any Go package or module.
It needs the godig program, either installed with Go or reached as an MCP server, and internet access. SKILL.md describes all operations as read-only with no sign-in. The folder has 2 files including SKILL.md.
Good for
- Go developers who want exact docs and signatures for a library
- Teams checking a dependency for known vulnerabilities
- Maintainers who want to know which packages import theirs
Install golang-pkg-go-dev
Claude Code
- 1
Copy this prompt.
Install the golang-pkg-go-dev skill in Claude Code. Run this command: /plugin marketplace add samber/cc /plugin install cc-skills-golang@samber Then check that it loaded and tell me how to use it.
- 2
Paste it into Claude Code. It shows the change and asks before running it.
The skill only works with godig, which neither the plugin nor the skills CLI installs: add the godig CLI or a godig MCP server in both cases. SKILL.md prefers the CLI when it is installed and calls the hosted server a fallback. The README says these skills are built as cross-referencing units and recommends installing the general-purpose ones together, which the plugin does; its manifest lists no hooks or MCP servers and the repo holds 46 skills. Use the skills CLI line only if you want just this one. Pick one skill route, not both.
From the project README. Source.
What's in the skill
When it loads
Golang package and module lookup via `godig`, a pkg.go.dev API client (CLI + MCP server). Use for any Go/Golang library's documentation, API signatures, symbols, usage examples, which versions exist, licenses, whether a dependency has CVEs, or who imports a package — prefer this over Context7 for any Go package or module. Read-only, no auth. Not for upgrading dependencies (→ See `samber/cc-skills-golang@golang-dependency-management` skill), choosing a library (→ See `samber/cc-skills-golang@golang-popular-libraries` skill), or local symbols and an already-used dependency's resolved source, call sites, and generic instantiations (→ See `samber/cc-skills-golang@golang-gopls` skill).
Sections in SKILL.md
- When to use this skill
- Choosing between godig, gopls, Context7, and govulncheck
- Setup
- Install
- Register the MCP server (optional)
- Commands
- Tips
- Filter syntax
- Examples
Key facts
- License
- MIT (SKILL.md frontmatter)
- Installs on skills.sh
- 12,647 as of 2026-11-02
- Last repo commit
- 2026-11-01
What it includes
Compact summary of metadata, versions, licenses and vulnerabilities.
SKILL.md says to start here.
Network ·
overviewFinds packages, optionally by an exported symbol.
Network ·
searchPackage metadata and the packages it imports.
Network ·
package info / importsFull docs, runnable examples and license text. SKILL.md marks them large.
Network ·
package doc / examples / licensesOne symbol's signature, docs and examples, or the list of exported symbols.
Uses far fewer tokens than the package-wide commands, per SKILL.md.
Network ·
symbol doc / examples, symbolsModule metadata, license files and README.
Network ·
module info / licenses / readmeA module's go.mod dependencies and the packages it contains.
Network ·
dependencies, packagesAll versions newest first, and major versions that live as separate modules.
Network ·
versions, major-versionsWhich packages import a package, and its known vulnerabilities.
Network ·
imported-by, vulnsRuns godig as an MCP server over stdio or streamable HTTP.
Optional. The CLI and the MCP server expose the same operations.
Runs code ·
mcpFilters list results with a Go boolean expression; -o md renders Markdown in chat.
Read ·
--filter and -o md
From the official docs
Permissions
Medium risk
The lookups are described as read-only, but setup downloads and builds a Go program and the allowed tools are broad. Approve the install command and prefer the local CLI over the hosted server.
What it can do
- Read your data
- Create and change things
- Delete things
- Read-only modeHow to turn it on
Watch out for
It needs a Go tool installed from the internet
The setup runs go install on github.com/samber/godig/cmd/godig@latest, which downloads and builds the latest version of that program. Check the project before you install. github.com
Its tool list is broader than the lookups
The allowed-tools line includes Edit, Write and Bash for go, golangci-lint and git, besides godig. The lookups themselves are described as read-only. github.com
The hosted server sees your package queries
The optional hosted MCP server at godig.samber.dev receives the package names you look up. Use the CLI if you prefer to query pkg.go.dev from your own machine. github.com
It can fan out to 5 sub-agents
For large lookups SKILL.md says to dispatch up to 5 parallel sub-agents that each run godig calls. github.com
Technical details
| Turning on read-only | SKILL.md says all godig operations are read-only and need no authentication. |
|---|---|
| Talks to | pkg.go.dev (documentation API). Go vulnerability database (used by the vulns and overview commands). godig.samber.dev (only if you register the hosted MCP server) |
| Scopes |
|
Questions
What does the golang-pkg-go-dev skill do?
It makes your assistant answer questions about Go packages by running godig, a pkg.go.dev API client. It covers docs, symbols, examples, versions, licenses, importers and known vulnerabilities.
How do I install it?
Use the install box at the top of this page. It adds the skill and the godig tool the skill depends on, with the hosted MCP server as an option that needs no local install.
Does it need an API key?
No. SKILL.md says godig is read-only and needs no authentication. It does need internet access to reach the pkg.go.dev API.
Is it safe?
Lookups are described as read-only, but setup downloads and builds godig with go install, and the skill's allowed tools include Edit, Write and Bash for go, git and golangci-lint. Approve the install command and prefer the local CLI over the hosted server.
Why is there no Claude app install?
The skill depends on the godig program or an MCP server, and the folder alone does nothing without one. The box lists the routes that include godig.
godig vs Context7 or gopls?
SKILL.md says godig answers questions about the published Go ecosystem and should be preferred over Context7 for Go. Context7 is a fallback for non-Go or unindexed docs, and gopls is for your locally resolved build.
Is there a plugin version?
The README documents a Claude Code plugin that installs the repo's Go skill set. The repo has 46 skill folders and its plugin manifest lists no hooks or MCP servers.
Information
updated Nov 2, 2026
- Repository
- samber/cc-skills-golang
- Folder
skills/golang-pkg-go-dev
Sources
Docs, issue trackers and discussions this page is built from.
Show all 3Hide
- README.md · github.com
- SKILL.md · github.com
- plugin.json · github.com