go-data-architecture

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

A method for deciding where each piece of data is authoritative: which store and writer make it true, and how other copies are derived. It also covers identity, schema changes, repairs, and data retention.

In plain words
What is it for?
Use it when changing databases, schemas, backfills, projections, exports, caches, or retention rules.
Why use it?
It prevents duplicated records, caches, or exports from becoming conflicting sources of truth. It makes ownership, delays, repair paths, and lifecycle decisions explicit.

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 databases, schemas, backfills, projections, exports, caches, or retention rules.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/dankosik/go-service-template-rest/go-data-architecture"><img src="https://agentmods.dev/badge/skills/dankosik/go-service-template-rest/go-data-architecture.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 38 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 345 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.00038 $0.00345
Opus 5 $0.00019 $0.00172
Sonnet 5 $0.00008 $0.00069
Haiku 4.5 $0.00004 $0.00034

Measured 4d ago against content hash b7e8c58e6c8d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

go-data-architecture 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 4d 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-data-architecture/SKILL.md · 31 lines

What it actually says

Go Data Architecture

Every datum answers to one authority: the single store and writer whose acceptance makes it true, from which every copy, projection, and cache admits being derived.

authority -> identity and tenancy -> write invariant -> evolution and backfill -> derived surfaces -> retention -> proof

A derived surface that cannot name its source, lag, and repair path is a second authority waiting to disagree, and retention is a designed lifecycle stage with an owner rather than a response to disk pressure.

For a delegated Decision or Review, or when the active artifact requires its result interface, load the shared specialist contract. From every changed writer or durable schema through each reader, projection, export, cache, repair, and retention path, build AuthorityRecord{datum, identity, writer, invariant, derived_surfaces, lag, repair, evolution, retention, proof}. A derived surface that cannot name its source, lag, and repair path is a competing authority. Complete when every affected datum has one authority and every derived surface and lifecycle stage has a disposition.

postgres-schema-design owns relational modeling and expand-and-contract mechanics. Load the decision selector only when this repository's current migration, publication, derived-surface, or retention policy changes the decision.

Files

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.

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. 4d ago Changed · +2 lines b7e8c58e6c8d
  2. 12d ago First seen · 29 lines · 38 tokens per session scan A dead14ea2068

Subscribe to this mod's changes

go-data-architecture is a skill published in the GitHub repository Dankosik/go-service-template-rest (7 stars, last pushed 3d ago), licensed MIT. It adds 38 tokens to every session and 345 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.

Related

Other skills, from other repositories

sq

Guides use of the sq CLI to query SQL databases and tabular files with SLQ (sq's jq-like query language) or native SQL, manage sources, choose output formats, and run inspect, diff, and table commands. Use when the user mentions sq, SLQ, wrangling CSV/Excel/JSON/DB data, cross-source joins, or command-line data…

neilotoole/sq · 89 tokens

pi-loop-forensics

Diagnose pi-go agent loops and degenerate turns — "agent loop aborted", runaway thinking with no tool calls, repeated phrases. Discriminates genuine model repetition collapse from a race, a tool-parse failure, or a too-low guard, and A/B replays a seed session across providers.

dimetron/pi-go · 65 tokens

nightly-session-watch

Nightly sweep of the last 24h of pi-go sessions — anomalous runs, loop aborts, tool error rates, token waste, real prompt-token spend, and whether the observation and palace pipelines are still recording. Triages each finding to the specialist skill that diagnoses it. Use for an unattended daily health check, or on…

dimetron/pi-go · 78 tokens

db-infra-mocks

Propose minimal seams and local substitutes so tests run without real RDBMS/Redis/Mongo infrastructure.

pilinux/gorest · 27 tokens

migration-helper

Analyze GORM model changes, estimate resulting schema (DDL) differences, and propose safe migration steps with verification guidance.

pilinux/gorest · 26 tokens

memory-status

Show MemPalace memory system status — drawer counts, wings, rooms, knowledge graph stats, and embedding model state.

dimetron/pi-go · 27 tokens