mainframe-go-backend

mainframe-go-backend is a skill for Claude Code, Codex from CATWILLgh/MAINFRAME. It costs 33 tokens per session (893 once invoked), scanned A, original, MIT.

A Go backend engineering skill for developing, debugging, reviewing, or testing server-side Go services. Go is a programming language; backend services run behind an app or website and handle requests, rules, storage, or integrations.

In plain words
What is it for?
Use it for changes and investigations in Go APIs, workers, routers, persistence code, and their tests, while excluding client interfaces and infrastructure ownership.
Why use it?
It helps trace which Go module, process entry point, middleware, database code, and external service actually control the behavior, especially in projects with several components.

Skill for Claude CodeCodex

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

Good fit Use it for changes and investigations in Go APIs, workers, routers, persistence code, and their tests, while excluding client interfaces and infrastructure ownership.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/catwillgh/mainframe/mainframe-go-backend
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 CATWILLgh/MAINFRAME --skill mainframe-go-backend
Clone the repo
git clone --depth 1 https://github.com/CATWILLgh/MAINFRAME

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 mainframe-go-backend

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/catwillgh/mainframe/mainframe-go-backend"><img src="https://agentmods.dev/badge/skills/catwillgh/mainframe/mainframe-go-backend.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 33 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 893 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.00033 $0.00893
Opus 5.5 $0.00013 $0.00357
Sonnet 5.5 $0.00007 $0.00179
Haiku 4.5 $0.00003 $0.00089

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

Security

Grade A, and why

mainframe-go-backend 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 10d 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/mainframe-go-backend/SKILL.md · 80 lines

How it starts

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

Go backend engineering

Apply this method whenever the active work matches the description, whether you are the primary implementer, a delegated engineer, or a reviewer. Follow the scope and authority supplied through the current execution path; this skill does not expand either.

For behavior changes, load mainframe-testing for the shared TDD and local/CI boundary, then use this skill's testing reference for stack-specific evidence.

Establish the active service boundary

Identify the Go module and package that own the behavior. Trace the real process entrypoint through registration, middleware or worker wiring, business rules, persistence and external boundaries, side effects, callers, and observable output. A package name, interface, or passing unit test alone does not prove the active runtime path.

Several modules, commands, routers, database clients, generated packages, and test styles may legitimately coexist. Resolve ownership from go.mod, go.work, imports, constructors, registration, process commands, build tags, configuration, and affected tests. Read reconnaissance when ownership or runtime wiring is unclear.

Preserve the established system

Preserve the supported Go and toolchain versions, module/workspace layout, router, persistence library, error contract, concurrency model, observability, deployment boundary, and verification conventions unless changing one is part of the assigned result. Do not introduce another router, ORM, migration tool, worker system, or abstraction layer for convenience.

Keep non-trivial business behavior independent of transport when the established architecture supports that separation. Pass context.Context through request, database, provider, and background boundaries; derive bounded child contexts at the operation that owns the deadline. Treat goroutines, transactions, connections, response bodies, timers, and channels as owned resources with a defined completion and cleanup path.

Verify installed or selected versions before relying on version-sensitive behavior. Prefer the owning project's source and current primary documentation.

Read the full file on GitHub · 80 lines

Files

What ships with it

7 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. 10d ago Changed · +2 lines · -4 tokens per session 62acfa83cebb
  2. 15d ago First seen · 78 lines · 37 tokens per session scan A 9ab4fb97c7b1

Subscribe to this mod's changes

mainframe-go-backend is a skill published in the GitHub repository CATWILLgh/MAINFRAME (2 stars, last pushed 4d ago), licensed MIT. It adds 33 tokens to every session and 893 once invoked, about $0.0001 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-10-02.

Related

Other skills, from other repositories

go-clean-architecture

Use when scaffolding or refactoring a Go service into a framework-agnostic clean (hexagonal) architecture: Domain, Usecase, Repository, Delivery layers, inward dependency rule, 'framework/database is a detail'. Apply when untangling a monolith or checking whether business logic is testable without HTTP or DB.

muratmirgun/gophers · 70 tokens

go-graphql

Use when building or reviewing a GraphQL API in Go. Covers library choice (gqlgen vs graph-gophers), schema design (nullability, pagination, mutation envelopes), thin resolver pattern, per-request DataLoaders for N+1, authentication via context plus schema directives, error presenters, subscription lifecycle (context…

muratmirgun/gophers · 107 tokens

go-grpc

Use when implementing or reviewing gRPC servers/clients in Go. Covers .proto organisation, code generation with protoc/buf, server bootstrap (interceptors, health, graceful shutdown), client patterns (reuse, deadlines, retries), status.Code error handling, streaming, TLS/mTLS, and bufconn testing. Apply when writing…

muratmirgun/gophers · 84 tokens

go-swagger

Use when adding or maintaining OpenAPI/Swagger documentation for a Go HTTP API. Covers swaggo/swag annotation comments (@Summary, @Param, @Success, @Router, @Security), the swag CLI workflow, framework integration for Gin/Echo/Fiber/Chi/net-http, security definitions (Bearer/JWT, OAuth2, API key), and struct tags…

muratmirgun/gophers · 120 tokens

go-context

Use when designing, propagating, or debugging context.Context flow in Go — first-parameter placement, deadlines and cancellation, request-scoped values, WithoutCancel for fire-and-forget work, and key-collision-safe value patterns. Apply proactively whenever a function takes ctx, spawns work, or accepts request-scoped…

muratmirgun/gophers · 78 tokens

golang-graphql

Implements GraphQL APIs in Golang using gqlgen or graphql-go. Apply when building GraphQL servers, designing schemas, writing resolvers, handling subscriptions, or integrating GraphQL with existing Go HTTP services. Also apply when the codebase imports github.com/99designs/gqlgen or github.com/graph-gophers/graphql-go.

samber/cc-skills-golang · 77 tokens