Getting it into your agent
There is no command for this one: it runs only inside a plugin, and the catalogue could not identify which plugin ships it. The source is linked below.
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.
[](https://agentmods.dev/skills/ericrisco/rsc-harness/go)<a href="https://agentmods.dev/skills/ericrisco/rsc-harness/go"><img src="https://agentmods.dev/badge/skills/ericrisco/rsc-harness/go.svg" alt="Measured on agentmods" 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.00086 | $0.04136 |
| Opus 5 | $0.00043 | $0.02068 |
| Sonnet 5 | $0.00017 | $0.00827 |
| Haiku 4.5 | $0.00009 | $0.00414 |
Grade A, and why
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.
How it starts
The opening of the file, as written. The whole thing — 391 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Idiomatic Go services
Targets Go 1.22+ (Go 1.26 is the current stable release): enhanced net/http routing
(mux.HandleFunc("GET /users/{id}", h) + r.PathValue), log/slog structured
logging, and fixed loop-variable semantics (no more tt := tt).
⚠️ SDD new-feature gate — read this first. If this skill fired on a new, non-trivial feature or behaviour change and there is no approved spec + plan under
02-DOCS/wiki/sdd/, STOP — do not write feature code yet. Hand off to../specify/SKILL.mdfirst: it runs brainstorm → spec → plan → tasks before any code, then routes back here once the plan is approved. Build here directly only for a genuinely one-line / low-risk change. Method:../sdd/SKILL.md.
Boundary
Go error handling and HTTP contract design (status-code taxonomy, REST resource naming) live here — this skill is the canonical authority for both in Go. Delegate outward:
- Language-agnostic abuse/authz review, threat modeling, OWASP-class bugs ->
secure-coding. This skill keeps the Go-specific controls: SQL params, server timeouts,govulncheck, TLS defaults. - Containerfile / k8s / CI pipeline authoring ->
deployment. This skill ships only a Docker note +ldflags. - Recording per-project conventions in a workspace wiki ->
harness(see "Project grounding" below).
Non-service Go (CLI tooling, codegen, ML): the patterns apply, but the HTTP/production half is irrelevant.
Idioms
Useful zero value. Design types so the zero value works before any constructor.
// Good: zero-value Counter is ready; the zero-value mutex is unlocked. var b bytes.Buffer too.
type Counter struct {
mu sync.Mutex
n int
}
func (c *Counter) Inc() { c.mu.Lock(); c.n++; c.mu.Unlock() }
// Bad: nil map field panics on first write (assignment to entry in nil map); hidden init step.
type Registry struct{ items map[string]int }
func (r *Registry) Add(k string) { r.items[k]++ } // panic if items was never make()'d
What ships with it
6 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.
- 2d ago First seen · 391 lines · 86 tokens per session scan A 423c925004a3
go is a skill published in the GitHub repository ericrisco/rsc-harness (64 stars, last pushed 3d ago), licensed MIT. It adds 86 tokens to every session and 4,136 once invoked, about $0.0004 per session on Opus 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-09-03.
Other skills, from other repositories
hns-moaiadk-best-practices
Every change must pass all five dimensions before completion.
hns-moaiadk-patterns
Skill "hns-moaiadk-patterns" from modu-ai/moai-adk, covering moai-adk-go domain patterns, architecture quick reference, key source paths, pipeline specialist delegation map and template-first build cycle.
hns-moaiadk-dev-reference
Skill "hns-moaiadk-dev-reference" from modu-ai/moai-adk, covering hns-moaiadk-dev-reference, version management (from claude.local.md §5), single source of truth, build version injection and build with version injection.
go-idioms
写 Go 时使用。地道 Go:错误处理、并发、接口的正确姿势。.
book-writer
Use when writing, expanding, rewriting, or drafting any chapter (.mdx) or Go exercise for this book. Encodes the authorial voice, the mdx-pdf-format rules, the ID/naming scheme, the zero-emoji rule, chapter/exercise pairing, and the "theory first, then code" pedagogy so new or edited content reads like the rest of the…
go-exercise-reviewer
Use when reviewing, writing, or debugging Go code under exercises/part2/ (and matching embedded code in docs/part2//.mdx). Thinks hard about correctness, idiomatic Go, error handling, resource cleanup, concurrency, and — crucially — what the tests would catch: edge cases, races, leaks, timeouts, and port conflicts.…