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/daibang123a/golang-agent-skillsnpx agentmods add skills/daibang123a/golang-agent-skills/docker-deployWrote 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/daibang123a/golang-agent-skills/docker-deploy)<a href="https://agentmods.dev/skills/daibang123a/golang-agent-skills/docker-deploy"><img src="https://agentmods.dev/badge/skills/daibang123a/golang-agent-skills/docker-deploy/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/daibang123a/golang-agent-skills/docker-deploy"><img src="https://agentmods.dev/badge/skills/daibang123a/golang-agent-skills/docker-deploy.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.00087 | $0.01669 |
| Opus 5.5 | $0.00035 | $0.00668 |
| Sonnet 5.5 | $0.00017 | $0.00334 |
| Haiku 4.5 | $0.00009 | $0.00167 |
Grade A, and why
docker-deploy 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.
How it starts
The opening of the file, as written. The whole thing — 222 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Docker Deploy for Go
Build and deploy Go applications with production-optimized Docker images. Auto-detects project type and generates appropriate configurations.
How It Works
- Agent detects the project type by examining
go.mod,main.go, and import paths - Agent generates an optimized multi-stage Dockerfile
- Agent creates supporting files (docker-compose, .dockerignore, CI config)
- Agent reports image size and build metrics
Project Detection
| Signal | Project Type | Base Image |
|---|---|---|
net/http, chi, gin, echo |
Web server | distroless/static |
google.golang.org/grpc |
gRPC service | distroless/static |
cobra, urfave/cli |
CLI tool | distroless/static |
| No network imports | Worker/batch | scratch |
Dockerfile Templates
Web Service (Default)
# ---- Build Stage ----
FROM golang:1.22-alpine AS builder
# Install certificates and timezone data
RUN apk add --no-cache ca-certificates tzdata
WORKDIR /app
# Cache dependencies
COPY go.mod go.sum ./
RUN go mod download && go mod verify
# Build
COPY . .
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build \
-ldflags="-s -w -X main.version=$(git describe --tags --always 2>/dev/null || echo dev)" \
-trimpath \
-o /bin/app \
./cmd/myservice
# ---- Runtime Stage ----
FROM gcr.io/distroless/static-debian12:nonroot
COPY --from=builder /usr/share/zoneinfo /usr/share/zoneinfo
COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
COPY --from=builder /bin/app /bin/app
EXPOSE 8080
USER nonroot:nonroot
ENTRYPOINT ["/bin/app"]
Scratch Image (Minimal)
FROM golang:1.22-alpine AS builder
RUN apk add --no-cache ca-certificates
WORKDIR /app
COPY go.mod go.sum ./
RUN go mod download
COPY . .
RUN CGO_ENABLED=0 go build -ldflags="-s -w" -trimpath -o /bin/app ./cmd/myservice
FROM scratch
COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
COPY --from=builder /bin/app /bin/app
EXPOSE 8080
ENTRYPOINT ["/bin/app"]
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 2mo ago First seen · 222 lines · 87 tokens per session scan A 9302e94ca688
docker-deploy is a skill published in the GitHub repository daibang123a/golang-agent-skills (2 stars, last pushed 8mo ago), licensed MIT. It adds 87 tokens to every session and 1,669 once invoked, about $0.0003 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.
docker-deploy compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| docker-deploydaibang123a/golang-agent-skills | Skill | 2 | 8mo ago | MIT | A | 87 | Claude Code, Codex |
| audit-release-go-versionopenshift-eng/ai-helpers | Skill | 122 | yesterday | Apache-2.0 | A | 68 | Claude Code |
| go-install-skilljiushiwon/wg-skills | Skill | 134 | yesterday | Apache-2.0 | A | 48 | Claude Code, Codex |
| go-binary-sizeeduardo-sl/go-agent-skills | Skill | 86 | 22d ago | MIT | A | 147 | Claude Code |
| go-build-releaseeduardo-sl/go-agent-skills | Skill | 86 | 22d ago | MIT | A | 152 | Claude Code |
| go-containerslaurigates/claude-plugins | Skill | 59 | yesterday | MIT | B | 47 | Claude Code |
| kubernetes-operator-developmentd-padmanabhan/agent-engineering-handbook | Skill | 20 | yesterday | MIT | A | 72 | Claude Code, Codex |