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.
npx skills add alexei-led/cc-thingz --skill writing-gogit clone --depth 1 https://github.com/alexei-led/cc-thingzWrote 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/alexei-led/cc-thingz/writing-go)<a href="https://agentmods.dev/skills/alexei-led/cc-thingz/writing-go"><img src="https://agentmods.dev/badge/skills/alexei-led/cc-thingz/writing-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.
<a href="https://agentmods.dev/skills/alexei-led/cc-thingz/writing-go"><img src="https://agentmods.dev/badge/skills/alexei-led/cc-thingz/writing-go.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.00072 | $0.00635 |
| Opus 5.5 | $0.00029 | $0.00254 |
| Sonnet 5.5 | $0.00014 | $0.00127 |
| Haiku 4.5 | $0.00007 | $0.00064 |
Grade A, and why
writing-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 1mo 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 — 44 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Go Development
Check go.mod (go and toolchain lines) and CI before using version-gated APIs. Project conventions win over these defaults.
Defaults
- Stdlib first:
net/http,testing,flag,log/slog. Add a module only for a concrete requirement. - Concrete types in domain code. Consumers own small private interfaces; producers return concrete types.
- Keep HTTP, CLI, database, and vendor SDK types out of domain packages. Map errors to status, exit code, or retry at the edge.
- New binaries:
cmd/<name>plusinternal/. Usepkg/only for code meant for external import. - Avoid package stutter:
user.Store, notuser.UserStore. - Doc comments on exported names start with the identifier and end with a period.
- Every goroutine has an owner, a cancellation path, and a completion path. Use
errgroupfor errors or shared cancellation when the module already has it.
Version-Gated
- 1.24+:
t.Context(),t.Chdir(), andb.Loop()in tests. - 1.25+:
sync.WaitGroup.Gowhen no error propagation is needed. - 1.26+: stdlib
crypto/hpke;new(expr)only when clearer than a local variable or composite literal; self-referential generic constraints belong in generic libraries, not business logic. - 1.26+:
testing/cryptotest.SetGlobalRandomswaps process-wide randomness, so never use it in parallel tests. encoding/json/v2is experimental and exists only underGOEXPERIMENT=jsonv2; use it only when the project already builds that way.
CLIs
- Use the existing framework. Otherwise
flagfor single-command tools, Cobra for large command trees with completions, urfave/cli for small multi-command tools. Skip Viper unless already used. - Keep
mainthin: it callsrun(ctx, args, stdin, stdout, stderr) errorand maps the result to an exit code. Tests callrun. Avoidlog.Fatal; it skips deferred cleanup. - Config precedence: flag, env, config file, default.
References
- testing.md: read when adding or reshaping tests, or when the test loop is slow.
- linting.md: read when changing lint commands or golangci-lint config.
What ships with it
3 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.
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.
- 1mo ago Changed · -22 lines · +1 tokens per session fb78dfcbe3be
- 1mo ago Changed · +1 lines 276d74b50b16
- 2mo ago First seen · 65 lines · 71 tokens per session scan A d6d608ac93cb
writing-go is a skill published in the GitHub repository alexei-led/cc-thingz (38 stars, last pushed 5d ago), licensed MIT. It adds 72 tokens to every session and 635 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-30.
Other skills, from other repositories
ring:verifying-code
Verifying a Go project: runs every quality check (lint, vet, imports, format, docs, unit, integration, E2E) and returns a single MERGEREADY or NEEDSFIX verdict. Report-only: never fixes anything. Use for a quick pre-merge or pre-PR check outside a full dev-cycle. Skip when not a Go project, when you want a single…
review-golang
Run a comprehensive Go code review on git-changed files using the golang-pro agent with Context7 library docs.
agent-go-reviewer
Expert Go code reviewer specializing in idiomatic Go, concurrency patterns, error handling, and performance. Use for all Go code changes. MUST BE USED for Go projects.
go-code-reduce
Find and, when authorized, apply maintainable Go code reductions. Use when a user asks to reduce Go lines, boilerplate, duplication, or obsolete idioms without changing behavior; not for general implementation or style review.
google-go-style
Use when writing, reviewing, or refactoring Go code; when handling errors (fmt.Errorf, %w, sentinel, errors.Is, errors.As); when deciding between panic, error return, and log.Fatal; when writing tests (table-driven, t.Helper, t.Fatal vs t.Error, goroutines); when designing API surface (option struct, variadic options…
pr-to-go-linter
Generate a new pkg/linters analyzer from a merged or open PR pattern.