Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/gopherguides/gopher-ainpx agentmods add skills/gopherguides/gopher-ai/go-lint-auditWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/gopherguides/gopher-ai/go-lint-audit)<a href="https://agentmods.dev/skills/gopherguides/gopher-ai/go-lint-audit"><img src="https://agentmods.dev/badge/skills/gopherguides/gopher-ai/go-lint-audit/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/gopherguides/gopher-ai/go-lint-audit"><img src="https://agentmods.dev/badge/skills/gopherguides/gopher-ai/go-lint-audit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00077 | $0.01507 |
| Opus 5.5 | $0.00031 | $0.00603 |
| Sonnet 5.5 | $0.00015 | $0.00301 |
| Haiku 4.5 | $0.00008 | $0.00151 |
Grade C, and why
go-lint-audit scanned grade C with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Hidden instructionshighPrompt injection
Directives inside HTML comments, invisible characters or bidirectional overrides are read by the model and not by the person reviewing the file.
```go // Before os.Remove(tempFile) // After if err := os.Remove(tempFile); err != nil { return fmt.Errorf("failed to remove temp file %s: %w", tempFile, err) } ``` **Ignore:** Only if the file removal is truly best-ef Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
curl -s -H "Authorization: Bearer $GOPHER_GUIDES_API_KEY" \ How it starts
The opening of the file, as written. The whole thing — 227 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Go Lint Audit
Extended lint analysis with human-readable explanations. Wraps golangci-lint with better categorization, explanations, and configuration recommendations.
What It Does
- Runs golangci-lint with comprehensive linter set
- Groups findings by category and severity
- Explains each finding in plain language with fix examples
- Recommends config improvements for
.golangci.yml
Steps
API Integration (Optional)
If GOPHER_GUIDES_API_KEY is set, verify it:
curl -s -H "Authorization: Bearer $GOPHER_GUIDES_API_KEY" \
https://gopherguides.com/api/gopher-ai/me
If not set, local analysis tools (go vet, staticcheck, golangci-lint) still provide comprehensive analysis. Set the key for enhanced API-powered insights. Get your key at gopherguides.com.
1. Check Configuration
# Find existing config
ls .golangci.yml .golangci.yaml .golangci.toml 2>/dev/null
# If no config exists, note it — will recommend one
2. Run Analysis
# Run with all findings shown
golangci-lint run \
--max-issues-per-linter 0 \
--max-same-issues 0 \
--out-format json \
./... 2>&1
If golangci-lint is not installed:
# Install
go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest
3. Categorize Findings
Group findings into categories:
| Category | Linters | Severity |
|---|---|---|
| Bugs | govet, staticcheck, gosec | 🔴 Critical |
| Error Handling | errcheck, errorlint | 🔴 Critical |
| Performance | prealloc, bodyclose | 🟡 Warning |
| Style | gofmt, goimports, misspell | 🟢 Suggestion |
| Complexity | cyclop, gocognit, funlen | 🟡 Warning |
| Maintainability | gocritic, revive, dupl | 🟡 Warning |
| Security | gosec | 🔴 Critical |
4. Explain Findings
For each finding, provide:
- What it means in plain language
- Why it matters (bug risk, performance, maintainability)
- How to fix it with a code example
- When to ignore it (if applicable, with
//nolintdirective)
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 3mo ago First seen · 227 lines · 77 tokens per session scan C a65d3f63b16d
go-lint-audit is a skill published in the GitHub repository gopherguides/gopher-ai (21 stars, last pushed 3d ago), licensed MIT. It adds 77 tokens to every session and 1,507 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it C with 2 findings (hidden instructions, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
go-lint-audit compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| go-lint-auditgopherguides/gopher-ai | Skill | 21 | 3d ago | MIT | C | 77 | Claude Code, Codex |
| go-lintersgithub/gh-aw | Skill | 5.7k | today | MIT | A | 17 | Claude Code, Codex |
| stack-trace-go-probeopensquilla/opensquilla | Skill | 7.2k | 5d ago | Apache-2.0 | A | 42 | Claude Code |
| golang-troubleshootingsamber/cc-skills-golang | Skill | 4.0k | 22d ago | MIT | A | 175 | Claude Code |
| golang-error-handlingsamber/cc-skills-golang | Skill | 4.0k | 22d ago | MIT | A | 144 | Claude Code |
| tree-sitter-language-pack-extracting-code-structurexberg-io/tree-sitter-language-pack | Skill | 489 | 2d ago | MIT | A | 52 | Claude Code |
| tree-sitter-language-pack-parsing-sourcexberg-io/tree-sitter-language-pack | Skill | 489 | 2d ago | MIT | A | 48 | Claude Code |