Golang Pkg Go Dev
context-labs/whip
Golang package/module docs via godig, a pkg.go.dev API client (CLI + MCP) — APIs, symbols, versions, importers, licenses, vulnerabilities.
Patch a Go dependency to fix a CVE using the appropriate strategy based on Go version compatibility.
$ npx skills add openshift-eng/ai-helpers --skill fix-cve -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install openshift-eng/ai-helpers fix-cve --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/openshift-eng/ai-helpers.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/golang/skills/fix-cve .claude/skills/fix-cve && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "fix-cve" agent skill from https://github.com/openshift-eng/ai-helpers/tree/main/plugins/golang/skills/fix-cve into .claude/skills/fix-cve/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "fix-cve", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/openshift-eng/ai-helpers/tree/main/plugins/golang/skills/fix-cveType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add openshift-eng/ai-helpers --skill fix-cve -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install openshift-eng/ai-helpers fix-cve --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/openshift-eng/ai-helpers.git skills-src && mkdir -p .agents/skills && cp -r skills-src/plugins/golang/skills/fix-cve .agents/skills/fix-cve && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "fix-cve" agent skill from https://github.com/openshift-eng/ai-helpers/tree/main/plugins/golang/skills/fix-cve into .agents/skills/fix-cve/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "fix-cve", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add openshift-eng/ai-helpers --skill fix-cve -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install openshift-eng/ai-helpers fix-cve --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/openshift-eng/ai-helpers.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/plugins/golang/skills/fix-cve .cursor/skills/fix-cve && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "fix-cve" agent skill from https://github.com/openshift-eng/ai-helpers/tree/main/plugins/golang/skills/fix-cve into .cursor/skills/fix-cve/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "fix-cve", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/openshift-eng/ai-helpers.git --path plugins/golang/skills/fix-cve--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add openshift-eng/ai-helpers --skill fix-cve -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install openshift-eng/ai-helpers fix-cve --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/openshift-eng/ai-helpers.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/plugins/golang/skills/fix-cve .gemini/skills/fix-cve && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "fix-cve" agent skill from https://github.com/openshift-eng/ai-helpers/tree/main/plugins/golang/skills/fix-cve into .gemini/skills/fix-cve/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "fix-cve", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install openshift-eng/ai-helpers fix-cveInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add openshift-eng/ai-helpers --skill fix-cve -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/openshift-eng/ai-helpers.git skills-src && mkdir -p .github/skills && cp -r skills-src/plugins/golang/skills/fix-cve .github/skills/fix-cve && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "fix-cve" agent skill from https://github.com/openshift-eng/ai-helpers/tree/main/plugins/golang/skills/fix-cve into .github/skills/fix-cve/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "fix-cve", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add openshift-eng/ai-helpers --skill fix-cve -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install openshift-eng/ai-helpers fix-cve --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/openshift-eng/ai-helpers.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/plugins/golang/skills/fix-cve .opencode/skills/fix-cve && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "fix-cve" agent skill from https://github.com/openshift-eng/ai-helpers/tree/main/plugins/golang/skills/fix-cve into .opencode/skills/fix-cve/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "fix-cve", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
fix-cvePatch a Go dependency to fix a CVE using the appropriate strategy based on Go version compatibility.
Fix Cve is an agent skill from openshift-eng/ai-helpers. Patch a Go dependency to fix a CVE using the appropriate strategy based on Go version compatibility. Use when the user wants to fix a CVE by updating a Go module, replacing it with a patched fork, or applying a security patch across all go.mod files in a Go project. Triggers on: 'patch CVE', 'fix CVE', 'replace grpc', 'update vulnerable dependency', 'security patch go module', or any mention of CVE + Go dependency replacement.
Its SKILL.md is about 2.2k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Security, covering Vulnerability scanning. It works with Go and gRPC. The repository describes itself as: Developer productivity tools for Claude Code & other AI assistants. The licence is Apache-2.0.
6 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit a627176. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
gomakegitFrom the folder's file list and the shell code blocks in SKILL.md.
Hosts in commands or code, which the agent is likely to contact:
github.comFrom URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Fix Cve loads about 2.2k tokens when it runs. Until then it costs about 110 tokens; SKILL.md has 1,079 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from openshift-eng/ai-helpers at commit a627176, republished under its Apache-2.0 licence (© openshift-eng). 1,079 words, ~2,155 tokens.
.claude/skills/fix-cve/SKILL.md (or your agent's skills folder).Patch a Go module dependency to fix a CVE. The skill determines the right strategy based on Go version compatibility between the project and the fix, then applies the minimum changes needed.
google.golang.org/grpcv1.75.1 — or a URL to the release/advisory with version infoCVE-2026-33186OCPBUGS-83972If any required parameter is missing, ask the user before proceeding.
The fix follows one of three paths depending on Go version compatibility. Determine which path to take BEFORE making any changes.
go.mod (go directive), e.g. go 1.23.6go.mod to check its go directive1.23 from go 1.23.6)Condition: The project's Go version is equal or higher than what the fix requires. The fix can be applied by simply updating the dependency to the upstream version that contains the patch.
Example: Project uses go 1.25.0, fix requires go 1.23.1 → direct update works.
Action: Update the module version in go.mod to the fix version (or latest patched version), then follow the standard update workflow (Step 3 onwards).
Condition: The project's Go is on the same minor version as the fix but a lower patch. Bumping the patch version (Z in X.Y.Z) within go.mod is safe enough to unlock the fix.
Example: Project uses go 1.23.1, fix requires go 1.23.7 → bump to go 1.23.7 in go.mod and update the dependency.
Action: Update the go directive in go.mod to the required patch version, then update the module and follow the standard update workflow. Report the Go patch bump to the user but don't block on it.
Condition: The project's Go minor version is lower than what the upstream fix requires. Bumping Go minor on a release branch is not acceptable — we need a backported patch.
Example: Project uses go 1.22.1, upstream fix requires go 1.23.0 → need a fork.
The openshift-sustaining team maintains patched forks of common libraries at lower Go versions for exactly this case. These live under https://github.com/openshift-sustaining/ and follow a naming pattern like v1.71.3-sec.1 (component version + security patch suffix).
Action:
https://github.com/openshift-sustaining/<module-name>/releases for available patched versions matching the project's Go minor.go.mod to verify its Go version is compatible.replace directive in each affected go.mod pointing to the fork.The replace directive format:
// <CVE number>
replace <original-module> => <fork-module> <fork-version>Once the strategy is determined and the go.mod changes are made, follow these steps in exact order.
find . -name "go.mod" -not -path "*/vendor/*"For each go.mod, check if it references the target module:
grep "<module>" path/to/go.modReport which are affected. Only modify affected ones. Apply the same change (version bump or replace directive) to each.
This is the most important step. The vendor directory MUST be updated BEFORE running any repo-level checks like make update. Without this, codegen tools that use go/packages with -mod=vendor fail with cryptic errors like Hit an unsupported type invalid type because the new module code isn't in vendor yet.
For each affected go.mod, from its directory:
GO111MODULE=on GOWORK=off GOFLAGS="" go mod tidy
GO111MODULE=on GOWORK=off GOFLAGS="" go mod vendorGOWORK=off prevents Go workspace interference. GOFLAGS="" prevents inheriting -mod=vendor which blocks downloads.
go mod tidy may bump transitive dependencies — this is expected (MVS).
After tidy, verify the go directive in each go.mod was NOT bumped. If it was, STOP and tell the user — a transitive dependency is forcing a Go version bump.
If the project's Go version is old enough to have dyld issues on modern macOS (typically Go < 1.22.5 on macOS Sequoia/Tahoe), use GOTOOLCHAIN to compile with a newer Go while preserving module semantics:
GOTOOLCHAIN=go1.23.6 make updateThis compiles using Go 1.23.6 but respects the go 1.22.x directive in the module. Delete stale binaries in hack/tools/bin/ before running if switching toolchain versions.
Inspect the Makefile for update and verify targets:
grep -E "^(update|verify):" MakefileRun in order:
make update
make verifyIf either fails:
hack/tools/bin/ — delete and rebuildAfter success, verify changes:
git diff --statfix(deps): <action> <module-name> to fix <CVE>
<TICKET>
<Description of what was done and why.>
<One-line description of the vulnerability.>Where <action> is:
updatebump go version and updatereplaceUse git commit -s for sign-off if required.
Before any push or PR action:
main or master.-f, --force, --force-with-lease).git remote -v; do not assume names like origin.Format for OpenShift:
[<branch>] <TICKET>: fix <CVE> by <action> <module-name>Include in the PR body:
make update or make verify fail: Report the error, don't retry blindly.The vendor doesn't have the new module code. Ensure go mod tidy && go mod vendor ran for the root module BEFORE make update.
dyld: missing LC_UUID on macOSUse GOTOOLCHAIN=go1.23.6 to compile with a newer Go. Delete stale hack/tools/bin/* first.
go work sync bumps workspace modulesExpected when using Go workspaces. The bumps in api/go.mod etc. are normal.
Run go mod vendor again for the affected module.
Path A — direct update (project Go 1.25.0, fix needs Go 1.23):
/golang:fix-cve module="google.golang.org/grpc" fix-version="v1.75.1" cve="CVE-2026-33186" ticket="OCPBUGS-83972"Path C — fork replace (project Go 1.22.1, fix needs Go 1.23):
/golang:fix-cve module="google.golang.org/grpc" fix-version="v1.75.1" cve="CVE-2026-33186" ticket="OCPBUGS-83972"→ Skill detects Go mismatch, asks user for fork, user provides github.com/openshift-sustaining/grpc-go v1.71.3-sec.1, skill applies replace directive.
© openshift-eng, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in plugins/golang/skills/fix-cve of openshift-eng/ai-helpers.
Open the folder on GitHubat commit a627176
Fix Cve next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Fix Cve this skillopenshift-eng/ai-helpers | 120 | — | ~2.2k | Automated safety check: Pass | Apache-2.0 | |
| Golang Pkg Go Devcontext-labs/whip | 1.1k | 2 repos | ~3k | Automated safety check: Pass | MIT | |
| Docsboostsecurityio/poutine | 523 | — | ~336 | Automated safety check: Pass | Apache-2.0 | |
| Cve Remediator V2kubernetes-sigs/cloud-provider-azure | 294 | — | ~2.5k | Automated safety check: Pass | Apache-2.0 | |
| Snapshotboostsecurityio/poutine | 523 | — | ~214 | Automated safety check: Pass | Apache-2.0 | |
| Update Vulndbboostsecurityio/poutine | 523 | — | ~173 | Automated safety check: Pass | Apache-2.0 |
context-labs/whip
Golang package/module docs via godig, a pkg.go.dev API client (CLI + MCP) — APIs, symbols, versions, importers, licenses, vulnerabilities.
boostsecurityio/poutine
Update project documentation when features are added or changed.
kubernetes-sigs/cloud-provider-azure
Raise Go modules to caller-supplied minimum fixed versions from CVE/GO findings in any format, per tracked module root, sync go.mod/go.sum and root vendor/, audit the source module graphs, run the…
boostsecurityio/poutine
Run snapshot regression tests after changes to OPA rules, scanners, analyzers, or formatters to detect output regressions.
boostsecurityio/poutine
Update the embedded build platform vulnerability database from the CVE Project's cvelistV5 repository.
ghostsecurity/skills
Ghost Security - Software Composition Analysis (SCA) scanner.
openshift-eng/ai-helpers
Find and independently validate actionable reliability defects across OpenShift release jobs and presubmits, then export portable issue handoffs.
openshift-eng/ai-helpers
Fetch and address all PR review comments — categorize by priority, make code changes, post replies, and push.
openshift-eng/ai-helpers
Categorize Jira issues into Red Hat Sankey Activity Type categories using MCP Jira tools.
openshift-eng/ai-helpers
Decide whether a GitHub PR has unanswered authorized review comments or new required CI failures worth a follow-up agent.
openshift-eng/ai-helpers
Analyze OpenShift must-gather diagnostic data including cluster operators, pods, nodes, and network components.
openshift-eng/ai-helpers
Schema for the autodl JSON data file produced by payload-analysis for database ingestion — you must use this skill whenever generating the autodl JSON file
Categories
Patch a Go dependency to fix a CVE using the appropriate strategy based on Go version compatibility. Fix Cve is an agent skill from openshift-eng/ai-helpers. Patch a Go dependency to fix a CVE using the appropriate strategy based on Go version compatibility.
Fix Cve fits situations like: the user wants to fix a CVE by updating a Go module; replacing it with a patched fork; applying a security patch across all go.mod files in a Go project; update vulnerable dependency.
Run `npx skills add openshift-eng/ai-helpers --skill fix-cve -a claude-code`. Or copy the skill folder (plugins/golang/skills/fix-cve in openshift-eng/ai-helpers) into .claude/skills/fix-cve in your project. Claude Code loads it when a task matches its description.
Run `npx skills add openshift-eng/ai-helpers --skill fix-cve -a codex`. Or copy the skill folder (plugins/golang/skills/fix-cve in openshift-eng/ai-helpers) into .agents/skills/fix-cve in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add openshift-eng/ai-helpers --skill fix-cve -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/fix-cve, .gemini/skills/fix-cve, .github/skills/fix-cve and .opencode/skills/fix-cve in your project.
Going by SKILL.md and its folder, Fix Cve needs the command-line tools its instructions call (go, make and git).
SKILL.md names 1 domain. In commands or code: github.com; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Fix Cve is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.2k tokens (SKILL.md is roughly 8.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Fix Cve: Golang Pkg Go Dev (context-labs/whip, 1.1k stars), Docs (boostsecurityio/poutine, 523 stars), Cve Remediator V2 (kubernetes-sigs/cloud-provider-azure, 294 stars) and Snapshot (boostsecurityio/poutine, 523 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
openshift-eng (a GitHub organization) maintains it in openshift-eng/ai-helpers, which has 120 GitHub stars. The repository holds 118 skills in this directory. The repository was last updated on October 6, 2026.
Source: openshift-eng/ai-helpers on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.