clankerguru/opsx/go
Claude Code and agent skill by clankerguru/opsx
- community
Checking that the SKILL.md file is still in the repository.
Use when you need to install the Go toolchain or install a Go-distributed CLI (skate, gum, glow, vhs, yq, and similar) via `go install`. Covers toolchain install on macOS/Linux, PATH setup so `go install` binaries are on PATH, versioned `go install pkg@version` usage, and common proxy or checksum pitfalls. Not a Go language tutorial.
Install
npx vskill@latest install clankerguru/opsx/goSKILL.md
The same SKILL.md was published earlier as clankerguru/opsx/go.
When to use this skill
- Installing a Go-distributed CLI because
brew/aptlacks it or ships an
outdated version (common for charmbracelet/* tools, newer yq, etc.).
- Getting Go onto a fresh macOS or Linux box just to
go installbinaries. - Debugging "command not found" after a
go install— almost always PATH. - Pinning a tool to a specific commit or tag in CI via
go install.
When NOT to use this skill
- You are writing, testing, or structuring Go source code. This skill
covers toolchain install and go install, nothing else.
- A first-class package exists (
brew install gum). Prefer the package
manager; fall back to go install only if the version is stale or the host lacks that manager.
Install the toolchain
macOS
Linux
Distro packages (apt install golang, dnf install golang) are often one or two minor versions behind. Use the tarball when the tool you're installing requires a recent Go.
Verify
Set PATH so installed binaries resolve
go install writes binaries to $GOBIN if set, otherwise $(go env GOPATH)/bin — defaults to $HOME/go/bin. That directory is not on PATH by default.
Add to your shell rc (~/.zshrc, ~/.bashrc, ~/.config/fish/config.fish):
Reload: source ~/.zshrc (or open a new shell). Confirm:
If Homebrew installed Go, /usr/local/go/bin is not needed — Brew symlinks go into /opt/homebrew/bin (Apple Silicon) or /usr/local/bin (Intel). Still add $(go env GOPATH)/bin.
Install a Go CLI
Modern syntax (Go 1.17+):
<version> is required. Use @latest for the newest released tag, a specific tag (@v0.15.0), or a commit SHA.
Then confirm:
Multi-binary modules
Some modules publish several commands. Install each explicitly:
Uninstall
go install has no uninstall. Delete the binary:
go install vs go get
go install pkg@version— install or upgrade a binary. This is the
only correct form for installing CLIs on Go 1.17+.
go get pkg— now scoped to managing module dependencies inside a
go.mod. Do not use it to install binaries. Using go get to install a CLI is a deprecated pattern from Go ≤ 1.16.
If a tool's README still says go get github.com/foo/bar, translate it mentally to go install github.com/foo/bar@latest.
CI: GitHub Actions
Pin the Go version and the tool version; @latest in CI means non-reproducible builds.
Common pitfalls
| Symptom | Cause / fix | |
|---|---|---|
command not found after go install | $(go env GOPATH)/bin not on PATH. Add it to your shell rc. | |
missing go.sum entry during go install | Stale checksum db. Run go clean -modcache and retry. | |
Corporate proxy blocks proxy.golang.org | GOPROXY=direct go install ... or set GOPROXY to an internal mirror. | |
unrecognized import path / dial tcp | Network / DNS. Retry; set GOSUMDB=off only if using an internal proxy. | |
Old Go version: go install fails on new tool | Toolchain too old. Upgrade before installing. | |
go get: installing executables... not supported | You're on Go ≥ 1.17 using the old go get form. Use go install. | |
| Binary installs but shell calls old version | Stale PATH / another binary earlier on PATH. Run which -a <tool>. |
Reference points
- https://go.dev/doc/install — official install
- https://go.dev/ref/mod#go-install —
go installsemantics - https://go.dev/doc/go1.17 —
go getdeprecation for CLI install - https://go.dev/ref/mod#goproxy-protocol — proxy/checksum config
- https://github.com/actions/setup-go — CI action
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingcli/src/main/resources/content/skills/go/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/clankerguru/opsx/go)