go-library-builder

go-library-builder is a skill for Claude Code, Codex from ralvarezdev/ralvaskills. It costs 113 tokens per session (4,306 once invoked), scanned A, original, GPL-3.0.

A scaffolding guide for reusable Go 1.26 libraries using domain-driven design and hexagonal architecture, which separates core rules from outside technologies.

In plain words
What is it for?
Use it to create Go library modules with narrow interfaces, technology-specific adapters, configuration structs, testcontainers, mise, Task, and golangci-lint.
Why use it?
It provides a consistent project structure and tooling approach for libraries that need clear boundaries, replaceable adapters, and realistic tests.

Skill for Claude CodeCodex

Which agent this was written for is unclear — body not stored (licence); the path alone says nothing.

Good fit Use it to create Go library modules with narrow interfaces, technology-specific adapters, configuration structs, testcontainers, mise, Task, and golangci-lint.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ralvarezdev/ralvaskills/go-library-builder
Install

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.

Any agent
npx skills add ralvarezdev/ralvaskills --skill go-library-builder
Clone the repo
git clone --depth 1 https://github.com/ralvarezdev/ralvaskills

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-library-builder

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/ralvarezdev/ralvaskills/go-library-builder"><img src="https://agentmods.dev/badge/skills/ralvarezdev/ralvaskills/go-library-builder.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 113 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,306 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 unknown 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.00113 $0.04306
Opus 5.5 $0.00045 $0.01722
Sonnet 5.5 $0.00023 $0.00861
Haiku 4.5 $0.00011 $0.00431

Measured 11d ago against content hash 97c57940ba38, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

go-library-builder 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 11d 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.

skills/personal/go-library-builder/SKILL.md · 135 lines

The source is not reproduced here

Licensed GPL-3.0

The repository is licensed GPL-3.0, which this catalogue does not treat as permission to reproduce the file. Read it at the source.

Read it on GitHub

Files

What ships with it

9 files 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.

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. 11d ago Changed · +1 lines 97c57940ba38
  2. 24d ago Changed · +4 lines · +8 tokens per session 5ed453c017ef
  3. 1mo ago First seen · 130 lines · 105 tokens per session scan A c42dc4888e85

Subscribe to this mod's changes

go-library-builder is a skill published in the GitHub repository ralvarezdev/ralvaskills (2 stars, last pushed yesterday), licensed GPL-3.0. It adds 113 tokens to every session and 4,306 once invoked, about $0.0005 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

Other skills, from other repositories

test-go

Write, review, and improve Go test code for this project. Use whenever generating, reviewing, or modifying Go tests - including when invoked by the Tester agent, the /test prompt, or any test-related request. Covers table-driven tests, subtests, t.Parallel(), test helpers with t.Helper(), error assertions via…

sergeyklay/.agents · 109 tokens

go-release

Release engineering for Go projects — GoReleaser v2 with version ldflags into an internal/version package, SBOMs and multi-arch container images, tag-triggered GitHub Actions releases, CI running build/vet/test -race/govulncheck with SHA-pinned actions, and Renovate coverage for gomod, tools, npm, and Actions. Use…

bitwise-media-group/skills · 154 tokens

kit-go

Go guardrails pack — typed-nil interfaces, slice aliasing, maps, defer, goroutine/channel traps, JSON pitfalls. Use when writing or reviewing Go code.

altafino/FableClaudeMDForOpus · 37 tokens

marimo-pair

Work inside the user's live marimo notebook from the code editor: run Python in the same kernel the user does, inspect live notebook state, and commit durable notebook changes through code mode. Use whenever you create, analyze, or improve the user's marimo notebook.

marimo-team/marimo · 57 tokens

golang-pro

Implements concurrent Go patterns using goroutines and channels, designs and builds microservices with gRPC or REST, optimizes Go application performance with pprof, and enforces idiomatic Go with generics, interfaces, and robust error handling. Use when building Go applications requiring concurrent programming…

Jeffallan/claude-skills · 95 tokens

phx-deps-audit

Audit Hex deps for supply-chain security risk — bidi chars, compile-time exec, maintainer changes, typosquats, CVEs. Use after mix deps.update, when checking if a package upgrade is safe, or reviewing mix.lock PR diffs.

oliver-kriska/claude-elixir-phoenix · 58 tokens