go-distributed

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

A guide for designing reliable workflows that span multiple services or owners. It focuses on what happens when messages are duplicated, reordered, partially completed, or lost.

In plain words
What is it for?
Use it for distributed flows involving durable steps, idempotency, ordering, compensation, redrives, and reconciliation, including systems using PostgreSQL Transactional Outbox or NATS JetStream.
Why use it?
It helps prevent cross-service operations from becoming inconsistent when failures occur, and defines how to retry, compensate, replay, or reconcile uncertain results.

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 for distributed flows involving durable steps, idempotency, ordering, compensation, redrives, and reconciliation, including systems using PostgreSQL Transactional Outbox or NATS JetStream.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/dankosik/go-service-template-rest/go-distributed
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-distributed
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-distributed

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/dankosik/go-service-template-rest/go-distributed"><img src="https://agentmods.dev/badge/skills/dankosik/go-service-template-rest/go-distributed.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 28 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 502 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.00028 $0.00502
Opus 5.5 $0.00011 $0.00201
Sonnet 5.5 $0.00006 $0.00100
Haiku 4.5 $0.00003 $0.00050

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

Security

Grade A, and why

go-distributed 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 2mo 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-distributed/SKILL.md · 47 lines

What it actually says

Go Distributed

A cross-service flow is defined by its recovery.

flow contract -> durable steps -> partial failure -> ordering and duplicates -> compensation -> redrive -> reconciliation -> proof

For a delegated Decision or Review, or when the active artifact requires its result interface, load the shared specialist contract. Trace every accepted producer effect through terminal reconciliation. For interacting effects, exhaustive recovery-path coverage, or a decision/review handoff, record DurableStep{identity, authority, commit, duplicate, reorder, unknown, compensate, redrive, reconcile, proof} per step. A single local path can keep its judgment and evidence in the code or existing task artifact. Replay duplicate delivery, reordering, partial completion, process loss, redrive, and mixed versions. Each step is idempotent under redelivery or has a named compensation; ordering exists only where a key serializes it; reconciliation distinguishes applied, unapplied, and unknown.

Read the mechanism present in this checkout before changing policy: PostgreSQL Transactional Outbox owns its transaction, fencing, ordering, retry, redrive, retention, and outcome classification; NATS JetStream owns its publication identity, acknowledgements, and dead-letter transfer. An absent pack is a selected profile, not a gap. Reuse the existing pack and reject a second publication path without a distinct invariant.

For a Decision, first prove cross-service coordination is necessary and load compensation guidance only when another owner already performed an effect. For Review, replay each affected step against its pack contract. Complete when every step has an invariant, recovery or compensation, reconciliation action, and focused proof.

Load reliable messaging for broker guarantees and distributed system design when multiple coordination mechanisms change topology.

Files

What ships with it

1 file 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. 2mo ago Changed · -4 tokens per session c13e428510a3
  2. 2mo ago Changed · +5 lines 646a678ff9bc
  3. 3mo ago First seen · 42 lines · 32 tokens per session scan A ada7549761b5

Subscribe to this mod's changes

go-distributed is a skill published in the GitHub repository Dankosik/go-service-template-rest (8 stars, last pushed 2d ago), licensed MIT. It adds 28 tokens to every session and 502 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-08-31.

Related

go-distributed compared with skills from other repositories

go-distributed next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
go-distributedDankosik/go-service-template-restSkill82d agoMITA28Claude Code, Codex
goericrisco/rsc-harnessSkill6915d agoMITA86Claude Code, Codex
functions-developmentCrowdStrike/foundry-skillsSkill38todayMITA195Claude Code
structpagesjackielii/structpagesSkill2421d agoBSD-3-ClauseA154Claude Code
jwtkataras/jwtSkill2102mo agoMITA107Claude Code
go-expertpersonamanagmentlayer/pclSkill461mo agoApache-2.0A65Claude Code
golang-samber-doalexastrum/sklSkill116d agoMITA74Claude Code