go-observability

go-observability is a skill for Claude Code, Codex from Dankosik/go-service-template-rest. It costs 44 tokens per session (499 once invoked), scanned A, original, MIT.

A set of rules for designing and reviewing observability in Go services. Observability means collecting logs, metrics, and traces that help answer operational questions about whether a system is working.

In plain words
What is it for?
Use it when changing metrics, labels, logs, traces, resource attributes, readiness checks, dashboards, or alerts, especially when reviewing their privacy, cardinality, diagnostic, and cost impact.
Why use it?
It prevents telemetry that cannot answer a clear question or that creates unnecessary privacy, storage, or cost problems. It connects each signal to service targets, alerts, correlation details, and proof.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

Good fit Use it when changing metrics, labels, logs, traces, resource attributes, readiness checks, dashboards, or alerts, especially when reviewing their privacy, cardinality, diagnostic, and cost impact.

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

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-observability

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/dankosik/go-service-template-rest/go-observability"><img src="https://agentmods.dev/badge/skills/dankosik/go-service-template-rest/go-observability.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 44 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 499 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.00044 $0.00499
Opus 5 $0.00022 $0.00249
Sonnet 5 $0.00009 $0.00100
Haiku 4.5 $0.00004 $0.00050

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

Security

Grade A, and why

go-observability 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 3d 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.

.agents/skills/go-observability/SKILL.md · 45 lines

What it actually says

Go Observability

Telemetry is operator evidence: every signal answers a named operational question or is avoidable cost.

operator question -> signal -> SLI/SLO -> alert -> correlation -> cardinality, privacy, and cost -> proof

For a delegated Decision or Review, or when the active artifact requires its result interface, load the shared specialist contract. Trace each changed signal from its operator question to the page or diagnostic action it enables, using accepted outcomes, runtime paths, current telemetry, dashboards, and alerts. For interacting signals, exhaustive coverage, or a decision/review handoff, record OperatorSignal{question, signal, SLI, alert, correlation, labels, privacy, cost, owner, proof}. A local field change can keep its purpose, privacy, cardinality, and cost judgment in the code or existing artifact; it does not require a new SLI or alert. Alert on user-visible symptoms; keep causes as correlated diagnosis surfaces. Treat label cardinality as a budget and every emitted field as a disclosure surface.

Load the selector for a new or widened metric label, instrument, resource attribute, cross-service correlation, log event, payload logging, readiness signal, or debug surface. Its reference carries the accepted policy and enforcing repository owner.

For a Decision, disposition every operator question and signal with privacy, cardinality, diagnostic, and cost bounds. For Review, account for every affected signal. A signal that cannot answer its named question or has no bounded labels and readers is not complete.

Use production diagnosis for cross-service localization, reliable messaging for producer, consumer, DLQ, redrive, and replay signals, and durable jobs for queue age, leases, checkpoints, and drain.

Files

What ships with it

5 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. 3d ago Changed · +6 lines 2bfacb09338b
  2. 11d ago First seen · 39 lines · 44 tokens per session scan A da5ede5a69b4

Subscribe to this mod's changes

go-observability is a skill published in the GitHub repository Dankosik/go-service-template-rest (7 stars, last pushed 2d ago), licensed MIT. It adds 44 tokens to every session and 499 once invoked, about $0.0002 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-08-31.