skmtc-lang-go

skmtc-lang-go is a skill for Claude Code from skmtc/skmtc. It costs 96 tokens per session (3,564 once invoked), scanned A, original, Apache-2.0.

A Go language layer for Skmtc code generators. It defines how generated models and HTTP client code use Go packages, imports, names, files, methods, and pointers for values that may be absent.

In plain words
What is it for?
Use it when building Skmtc generators that project schemas or API operations into Go models, services, and clients.
Why use it?
It provides the conventions needed for generators to produce consistent Go 1.24-or-later code and valid package layouts.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the skmtc plugin — 16 skills shipped together

Good fit Use it when building Skmtc generators that project schemas or API operations into Go models, services, and clients.

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

Made for: Claude Code.

Or install skmtc, the plugin that ships this one along with the rest of its 16 skills.

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 skmtc-lang-go

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/skmtc/skmtc/skmtc-lang-go"><img src="https://agentmods.dev/badge/skills/skmtc/skmtc/skmtc-lang-go.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 96 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,564 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.00096 $0.03564
Opus 5.5 $0.00038 $0.01426
Sonnet 5.5 $0.00019 $0.00713
Haiku 4.5 $0.00010 $0.00356

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

Security

Grade A, and why

skmtc-lang-go 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 2d 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.

deno/docs/skills/skmtc-lang-go/SKILL.md · 268 lines

How it starts

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

The Go layer (@skmtc/lang-go)

Read skmtc-generator first. The two worked examples are @skmtc/gen-go-json (a model generator) and @skmtc/gen-go-http (an SDK: an Index for each service, and an accumulator for the client). Generated code targets Go 1.24 or later. The style of both follows google/go-github.

1. Declare the language

The import graph declares the language. src/base.ts imports a factory, and each snippet extends GoSnippet.

import { GoName, toGoModelProjectionBase } from '@skmtc/lang-go'

export const GoJsonBase = toGoModelProjectionBase<EnrichmentSchema>({
  id: denoJson.name,
  toIdentifierName({ ref }) {
    return new GoName(toModelName(ref)).toExported()
  },
  toIdentifierType,
  toExportPath({ ref, enrichments, variant }) {
    const name = this.toIdentifierName({ ref, enrichments, variant })

    return `@/${new GoName(name).toFileName()}.go`
  },
})

The factories are toGoModelProjectionBase, toGoOasOperationProjectionBase and toGoOasOperationIndexBase.

2. A folder is a package

Every file of one folder is one Go package. A file reads a name of its own package with no import.

  • Put every generated file in one folder. The engine registers an import for a definition in another file. GoFile renders nothing for it when the file is in the same folder, and stops the run when it is not: an import of another package needs the path of the Go module, which the engine does not know.
  • Each name is in the whole package. Two files cannot each declare Response. A model generator gives a model another name when a hand-written file of the package has it (reservedNames in gen-go-json/src/base.ts).
  • The package line comes from the folder. '@/' is the project's basePath. A file at the top is in the folder that basePath names: ./pkg/pet-store gives package petstore. With no folder name that Go can use, the package is api.
  • A file name can be a build rule. go build reads pets_test.go as a test and pets_windows.go as a file for Windows only. It cuts the name at the first dot, so pets_windows.generated.go is for Windows only too. It leaves out _pets.go, a folder that starts with _ or ., and a folder named testdata or vendor. GoFile stops the run for each of these export paths. It does not read the folders of settings.basePath: go build leaves a folder out only below the folder where it runs, and the engine does not know where that is. GoName.toFileName() gives a name with no such rule: MaintenanceWindows is maintenance_windows_file.
  • Two files of the package can declare one name, and the engine does not see it. A file knows its own definitions only. An inline type named BasketItem beside a component BasketItem compiles to BasketItem redeclared in this block. go build reports it.

Read the full file on GitHub · 268 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. 2d ago Changed 0ac80d50f9f3
  2. 4d ago First seen · 268 lines · 96 tokens per session scan A 3517055d4b7c

Subscribe to this mod's changes

skmtc-lang-go is a skill published in the GitHub repository skmtc/skmtc (20 stars, last pushed today), licensed Apache-2.0. It adds 96 tokens to every session and 3,564 once invoked, about $0.0004 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-12-02.

Related

skmtc-lang-go compared with skills from other repositories

skmtc-lang-go next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
skmtc-lang-goskmtc/skmtcSkill20todayApache-2.0A96Claude Code
generate-codeerraggy/oastoolsSkill7todayMITA17Claude Code
ax-go-genax-llm/axSkill3.0ktodayApache-2.0A54Claude Code, Codex
ax-go-agentax-llm/axSkill3.0ktodayApache-2.0A57Claude Code, Codex
ax-go-signatureax-llm/axSkill3.0ktodayApache-2.0A43Claude Code, Codex
ax-go-audioax-llm/axSkill3.0ktodayApache-2.0A45Claude Code, Codex
ax-go-agent-optimizeax-llm/axSkill3.0ktodayApache-2.0A51Claude Code, Codex