Borrowing it
Nothing to install: this file belongs to Kemetra/Seshat-BI. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/Kemetra/Seshat-BI/main/.claude/skills/retail-build-warehouse/SKILL.mdgit clone --depth 1 https://github.com/Kemetra/Seshat-BIWrote 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/kemetra/seshat-bi/retail-build-warehouse)<a href="https://agentmods.dev/skills/kemetra/seshat-bi/retail-build-warehouse"><img src="https://agentmods.dev/badge/skills/kemetra/seshat-bi/retail-build-warehouse/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/kemetra/seshat-bi/retail-build-warehouse"><img src="https://agentmods.dev/badge/skills/kemetra/seshat-bi/retail-build-warehouse.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.00113 | $0.02747 |
| Opus 5 | $0.00056 | $0.01373 |
| Sonnet 5 | $0.00023 | $0.00549 |
| Haiku 4.5 | $0.00011 | $0.00275 |
Grade A, and why
retail-build-warehouse 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 11d 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 — 168 lines — stays where its author put it; the contents beside it link to each section on GitHub.
retail-build-warehouse
Turns an APPROVED mappings/<table>/source-map.yaml into the two migration .sql
files -- silver (typed/cleaned flat table) then gold (Kimball star) -- in the
order the medallion playbook proves load-bearing. It fills the silver/gold
[SEAM] the retail-orchestrate conductor parks at.
The agent is the runtime: this is a procedure you follow, authoring SQL by adapting
the proven warehouse/migrations/0003/0004 shape. There is NO codegen engine, NO
.sql.tmpl template, and NO retail build CLI -- by design (the source-map cannot
carry the transform logic; an engine would emit only boilerplate). That is a
recorded design decision, not an omission to be fixed.
Author vs execute (read first)
- You AUTHOR
.sqlfiles. That is in-scope -- writing reviewable migration text, no side effects, the same category assource-mappingauthoringmappings/. - You NEVER execute. Do not open a DB connection, do not run the migration, do
not run the Phase-5 PK dry-run or the Phase-6 orphan/reconcile checks -- those need
live data and are the deferred DB-write seam (creds + the
dbextra, Principle VIII). Authoring -> staticseshat check-> a HUMAN applies the SQL -> only thenretail-validate. Never claim the silver/gold tables exist or were validated.
Preconditions (STOP unless all hold)
- Canonical gate signal:
mappings/<table>/readiness-status.yaml->stages.mapping_ready.status == passWITH a matchingapprovals[]entry (RS1). Its human-readable mirrormappings/<table>/unresolved-questions.mdGate status: CLEARED(ZERO open rows) MUST agree. A missing readiness-status file,mapping_ready != pass, or a mismatch between the two -> STOP (Principle IV). Never self-grant. mappings/<table>/source-map.yamlparses and carries grain, primary_key, per column type/rename/drop/pii/gold_placement, the gold_star, derived_columns.- Read
assumptions.md(the business literals the YAML cannot hold: junk-filter list, CASE maps, is_return value set, sentinels, mojibake range) andsource-profile.md(row counts to annotate, the date span for the calendar). - Pick the next contiguous migration number
NNNNoverwarehouse/migrations/(S4a). - Adapter checkpoint -- surface the choice before writing SQL by hand. Run
seshat orchestration-assessand REPORT its verdict to the human before authoring migrations. This repo ships two transformation/orchestration adapters (dbt, Dagster); hand-written migrations are the default path, so without this step they get bypassed silently rather than declined on purpose (issue #489). The assessor is read-only: it emits a categorical verdict (consider/not_recommended/already_adopted), never a numeric score, and it never adopts anything. If it saysalready_adopted, prefer the adapter over new hand-written SQL. If it saysconsider, state that and let the human choose -- do NOT adopt an adapter on your own, and do NOT treatconsideras permission to skip authoring. If it saysnot_recommended, proceed here and say so.
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.
- 11d ago First seen · 168 lines · 113 tokens per session scan A 8a4bd554f36f
retail-build-warehouse is a skill published in the GitHub repository Kemetra/Seshat-BI (2 stars, last pushed 2d ago), licensed Apache-2.0. It adds 113 tokens to every session and 2,747 once invoked, about $0.0006 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.
Other skills, from other repositories
dbt-model-gen
Generate dbt models across the medallion architecture (bronze, silver, gold, semantic) from source definitions using project templates.
dlt
Build data ingestion pipelines with dlt (data load tool) -- extract from APIs, databases, and files, then load to any destination.
metricflow_ingest
Map a MetricFlow semanticmodel or metric into ktx semantic layer sources. Covers the MetricFlow to ktx primitive table, extends: inheritance flattening, metric-type handling (simple / derived / ratio / cumulative / conversion), model: ref('x') resolution, and four worked examples. Load when the turn contains…
lookml_ingest
Map a LookML view/model/explore into ktx semantic layer sources. Covers the LookML to ktx primitive table, provenance tagging, and three worked examples (overlay, standalone from derivedtable, standalone with sqlalwayswhere). Load when the turn contains .lkml content.
sigma_ingest
Extract durable ktx wiki knowledge from staged Sigma data model specs and workbook summaries. Load for WorkUnits with unitKey sigma-data-models or sigma-workbooks.
sl
Skill "sl" from Kaelio/ktx, covering semantic layer, part 1 - schema reference, overlay sources, standalone table sources and standalone sql sources.