go-ci-setup

go-ci-setup is a skill for Claude Code, Codex from woliveiras/geremmyas. It costs 57 tokens per session (1,029 once invoked), scanned A, original, MIT.

A setup guide for CI/CD, automated code checks and build steps, in Go projects.

In plain words
What is it for?
Use it to create or improve workflows with tools such as gofmt, go vet, static analysis, tests, govulncheck, builds, and optional Docker images.
Why use it?
It catches formatting, code-analysis, test, race, vulnerability, build, and optional container problems before changes are accepted or released.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is - run: go build -trimpath ./cmd/....

Good fit Use it to create or improve workflows with tools such as gofmt, go vet, static analysis, tests, govulncheck, builds, and optional Docker images.

Compare 6 skills from other repositories ↓
Install

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.

Clone the repo
git clone --depth 1 https://github.com/woliveiras/geremmyas
agentmods
npx agentmods add skills/woliveiras/geremmyas/go-ci-setup

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for go-ci-setup

README.md
[![agentmods](https://agentmods.dev/badge/skills/woliveiras/geremmyas/go-ci-setup/github.svg)](https://agentmods.dev/skills/woliveiras/geremmyas/go-ci-setup)
Your own site
<a href="https://agentmods.dev/skills/woliveiras/geremmyas/go-ci-setup"><img src="https://agentmods.dev/badge/skills/woliveiras/geremmyas/go-ci-setup/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.

agentmods 80×15 button for go-ci-setup

Your own site · 80×15
<a href="https://agentmods.dev/skills/woliveiras/geremmyas/go-ci-setup"><img src="https://agentmods.dev/badge/skills/woliveiras/geremmyas/go-ci-setup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 57 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,029 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00057 $0.01029
Opus 5.5 $0.00023 $0.00412
Sonnet 5.5 $0.00011 $0.00206
Haiku 4.5 $0.00006 $0.00103

Measured 2mo ago against content hash e4171a9093af, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

go-ci-setup 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 2mo 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.

content/skills/go-ci-setup/SKILL.md · 118 lines

How it starts

The opening of the file, as written. The whole thing — 118 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Go CI Setup

Multi-step workflow to create a production-grade Go CI pipeline.

When to Use

  • New Go project needs CI from scratch
  • Existing project has incomplete or fragile CI
  • Adding security scanning, vulnerability checks, or container builds

Pipeline Layers (in order)

Each layer gates the next. If a layer fails, the pipeline stops.

  1. Format — gofmt -l . (or gofumpt -l .) must produce no output
  2. Vet — go vet ./... (built-in, zero-config, no false positives)
  3. Static Analysis — staticcheck ./... (recommended) or golangci-lint run
  4. Test — go test -race -coverprofile=coverage.out ./...
  5. Vulnerability Scan — govulncheck ./... (reachable vulns only)
  6. Build — go build -trimpath -ldflags="-s -w" ./cmd/...
  7. Container (optional) — Multi-stage Docker with distroless/static base

Steps

1. Choose CI Platform

Decide between GitHub Actions, GitLab CI, Cloud Build, or other. Default to GitHub Actions for GitHub-hosted repositories.

2. Create Workflow File

For GitHub Actions: .github/workflows/ci.yml

Minimum structure:

name: CI
on:
  push:
    branches: [main]
  pull_request:
    branches: [main]

jobs:
  ci:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: actions/setup-go@v5
        with:
          go-version-file: go.mod
      - run: gofmt -l . | tee /dev/stderr | (! read)
      - run: go vet ./...
      - run: go install honnef.co/go/tools/cmd/staticcheck@latest && staticcheck ./...
      - run: go test -race -coverprofile=coverage.out ./...
      - run: go install golang.org/x/vuln/cmd/govulncheck@latest && govulncheck ./...
      - run: go build -trimpath ./cmd/...

3. Add Caching

Use actions/setup-go@v5 which caches ~/go/pkg/mod automatically via go-version-file. No separate cache step needed.

4. Add Container Build (if applicable)

Multi-stage Dockerfile:

FROM golang:1.24-alpine AS builder
WORKDIR /src
COPY go.mod go.sum ./
RUN go mod download
COPY . .
RUN CGO_ENABLED=0 go build -trimpath -ldflags="-s -w" -o /app ./cmd/server

FROM gcr.io/distroless/static-debian12:nonroot
COPY --from=builder /app /app
ENTRYPOINT ["/app"]

Read the full file on GitHub · 118 lines

Changes

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.

  1. 2mo ago First seen · 118 lines · 57 tokens per session scan A e4171a9093af

Subscribe to this mod's changes

go-ci-setup is a skill published in the GitHub repository woliveiras/geremmyas (10 stars, last pushed 3mo ago), licensed MIT. It adds 57 tokens to every session and 1,029 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.

Related

go-ci-setup compared with skills from other repositories

go-ci-setup next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
go-ci-setupwoliveiras/geremmyasSkill103mo agoMITA57Claude Code, Codex
golang-continuous-integrationsamber/cc-skills-golangSkill3.8k5d agoMITA181Claude Code
tree-sitter-language-pack-managing-parsersxberg-io/tree-sitter-language-packSkill482yesterdayMITA65Claude Code
go-cieduardo-sl/go-agent-skillsSkill8622d agoMITA142Claude Code
go-ci-workflowjohnqtcg/awesome-skillsSkill3029d agoMITA53Claude Code
go-deploynixopus/nixopusSkill1.5k5d agononeA41Claude Code, Codex
scaffold-gourmzd/dotfilesSkill63d agoApache-2.0A116Claude Code