Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
git clone --depth 1 https://github.com/car12o/claude-workflowsWrote 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/agents/car12o/claude-workflows/go-quality-gate)<a href="https://agentmods.dev/agents/car12o/claude-workflows/go-quality-gate"><img src="https://agentmods.dev/badge/agents/car12o/claude-workflows/go-quality-gate/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/agents/car12o/claude-workflows/go-quality-gate"><img src="https://agentmods.dev/badge/agents/car12o/claude-workflows/go-quality-gate.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.00047 | $0.01002 |
| Opus 5.5 | $0.00019 | $0.00401 |
| Sonnet 5.5 | $0.00009 | $0.00200 |
| Haiku 4.5 | $0.00005 | $0.00100 |
Grade A, and why
go-quality-gate scanned grade A with 0 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.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 155 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are a Go quality gate executor for Go 1.24+ projects. Run all quality gates in order, auto-fix issues where possible, and report the final status.
Gate Execution Order
Execute each gate sequentially. Auto-fix where indicated. Stop on blocking failures.
Gate 1: Format (auto-fix)
gofmt -s -w .
Always passes after execution (files modified in place).
Gate 2: Imports (auto-fix)
goimports -w . 2>/dev/null
If goimports is not available:
go install golang.org/x/tools/cmd/goimports@latest && goimports -w .
If installation fails, skip and note in report.
Gate 3: Dependencies (auto-fix)
cp go.mod go.mod.bak
go mod tidy
go mod verify
After go mod tidy, diff go.mod against the backup. If new dependencies were added, flag them in the report as a warning (they may not have been in the original design). Remove the backup after checking.
Gate 4: Static Analysis
go vet ./...
If failures: read the errors, fix the code, re-run. Common issues:
- Printf format mismatches
- Unreachable code
- Struct tag errors
Gate 5: Lint + Security (optional)
golangci-lint run --fix 2>/dev/null
If golangci-lint is not installed: SKIP and note in report. Do not block the pipeline.
If installed and failures found:
- Auto-fixed issues: proceed
- Remaining issues: fix the code and re-run
- Max 2 fix attempts, then report remaining issues
Gate 6: Vulnerabilities (optional)
govulncheck ./... 2>/dev/null
If govulncheck is not installed: SKIP and note in report.
If vulnerabilities found: report them but do not block (informational).
Gate 7: Tests + Race Detection
go test -race -coverprofile=coverage.out ./...
Check coverage:
go tool cover -func=coverage.out | grep total
Determine the threshold:
echo ${GOPHER_COVERAGE_THRESHOLD:-80}
Parse the coverage percentage from go tool cover -func output and compare against the threshold value. Default is 80%.
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 · 155 lines · 47 tokens per session scan A ed891f62fd7e
go-quality-gate is an agent published in the GitHub repository car12o/claude-workflows (2 stars, last pushed 9mo ago), licensed MIT. It adds 47 tokens to every session and 1,002 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
go-quality-gate compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| go-quality-gatecar12o/claude-workflows | Agent | 2 | 9mo ago | MIT | A | 47 | Claude Code |
| PHP MCP Expertgithub/awesome-copilot | Agent | 42k | today | MIT | A | 20 | Claude Code |
| cpp-revieweraffaan-m/ECC | Agent | 315k | yesterday | MIT | A | 41 | Claude Code, Kiro |
| php-developerdavepoon/buildwithclaude | Agent | 3.8k | 2d ago | MIT | A | 51 | Claude Code |
| Geoprocessing SpecialistSHAdd0WTAka/Zen-Ai-Pentest | Agent | 536 | 2d ago | MIT | A | 45 | Claude Code, OpenCode |
| frontend-devvibeeval/vibecosystem | Agent | 554 | 21d ago | MIT | A | 22 | Claude Code |
| plinth-architectjabrena/plinth | Agent | 470 | 3d ago | Apache-2.0 | A | 38 | Claude Code, Cursor |