Seshat-BI: Skill for Claude Code

.claude/skills/cross-table-lineage/SKILL.md

cross-table-lineage is a skill for Claude Code from Kemetra/Seshat-BI. It costs 52 tokens per session (6,423 once invoked), scanned A, original, Apache-2.0.

A read-only guide for tracing how a column or metric moves through bronze, silver, and gold data layers in the Seshat BI repository. These layers are successive stages for raw, cleaned, and reporting-ready data.

In plain words
What is it for?
It is for assessing downstream impact by reading committed SQL and mapping files, without opening a database or editing files.
Why use it?
It shows which migrations, metric definitions, measures, and dashboard visuals may be affected by a change.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is Kemetra/Seshat-BI's own configuration. It tells Claude Code how to work on Seshat-BI itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything Seshat-BI configures →

Reuse

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.

Copy the file
curl -O https://raw.githubusercontent.com/Kemetra/Seshat-BI/main/.claude/skills/cross-table-lineage/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/Kemetra/Seshat-BI

Made for: Claude Code.

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 cross-table-lineage

README.md
[![agentmods](https://agentmods.dev/badge/skills/kemetra/seshat-bi/cross-table-lineage/github.svg)](https://agentmods.dev/skills/kemetra/seshat-bi/cross-table-lineage)
Your own site
<a href="https://agentmods.dev/skills/kemetra/seshat-bi/cross-table-lineage"><img src="https://agentmods.dev/badge/skills/kemetra/seshat-bi/cross-table-lineage/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 cross-table-lineage

Your own site · 80×15
<a href="https://agentmods.dev/skills/kemetra/seshat-bi/cross-table-lineage"><img src="https://agentmods.dev/badge/skills/kemetra/seshat-bi/cross-table-lineage.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 52 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,423 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.00052 $0.06423
Opus 5 $0.00026 $0.03211
Sonnet 5 $0.00010 $0.01285
Haiku 4.5 $0.00005 $0.00642

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

Security

Grade A, and why

cross-table-lineage 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 10d 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.

.claude/skills/cross-table-lineage/SKILL.md · 479 lines

How it starts

The opening of the file, as written. The whole thing — 479 lines — stays where its author put it; the contents beside it link to each section on GitHub.

cross-table-lineage

  • Roadmap feature: F039 (PROPOSED at plan time; not yet a docs/roadmap/roadmap.md ledger row -- see "See also" below). On-disk spec: specs/099-cross-table-lineage-impact/.
  • Authority category: Product Module / artifact-writing (the F024 enumerated declaration -- see docs/architecture/product-modules.md).

Seshat BI can already answer "does this ONE source drift from its own profile" (F014) and "what does this ONE KPI derive from, conceptually, inside the contract layer" (spec 044). Neither answers the question a table owner actually asks the moment a column changes: if this column changes shape or disappears, which migrations, metric contracts, TMDL measures, and dashboard visuals sit downstream of it, and how far does the chain reach before it runs out of committed evidence? Today that question is answered by hand -- docs/demo/net-sales-end-to-end-readiness-trace.md proves it can be done for exactly one KPI, on paper, by a human reading five artifact families in sequence. This skill GENERALIZES that trace's shape (evidence tiers, hop-by-hop citation) into a regeneratable artifact for any column or metric contract. It derives evidence only; it never fabricates a link, never scores impact, and never decides what must be re-reviewed.

Boundary against neighbouring shipped work (read first)

  • Spec 044 KPI Derivation-Lineage Contract (specs/044-kpi-derivation- lineage/, ratified, no runtime code) authors a Derives from PROSE section inside a metric contract describing METRIC-TO-METRIC conceptual derivation (e.g. Net Sales derives from Gross Sales and Discount Amount) in the DEFINE/reasoning layer. This skill does not touch contract prose and does not declare or transcribe a metric-to-metric edge; it derives a PHYSICAL, cross-ARTIFACT chain (column -> SQL -> contract -> measure -> visual) from structural references already present in committed YAML/SQL/TMDL/binding files, generated as an artifact, never authored as prose. A 044 Derives from edge is a citable input at the metric-contract hop when a chain happens to pass through a derived KPI; this skill never edits, re-derives, or second-guesses it.
  • F014 Source Drift Detector (spec 015, shipped) DETECTS that one source's shape or semantics drifted from its own recorded profile. This skill does not detect drift and runs no comparison against a baseline profile; it is the DOWNSTREAM-SCOPING half of the same idea -- given a column, it shows what sits downstream so a reviewer knows what to re-check after F014 (or a human) flags something. It enables F014's aftermath; it does not re-implement F014's comparison logic.
  • F012 Data Quality Control Room (spec 013, shipped) is also a cross-table, read-only aggregator, but it rolls up DATA-QUALITY findings across tables. This skill aggregates LINEAGE EDGES, a different evidence category; it does not read Control Room's findings and Control Room gains no lineage view from this skill.
  • The Net-Sales end-to-end readiness trace (docs/demo/net-sales-end-to-end-readiness-trace.md, shipped) is the single hand-authored proof for exactly one KPI. This skill generalizes that trace's SHAPE into a regeneratable template for any column or metric contract; it supersedes nothing and never retro-edits that file.
  • OpenLineage was evaluated and DEFERRED (docs/decisions/0013-bi-tool- adapter-shortlist.md: "emitter, not a gated reader; external-service boundary; duplicates F014"). This skill is not a revival: it is a static reader over already-committed repository text (Principle VIII), never a running emitter, never a client of an external lineage backend.

Read the full file on GitHub · 479 lines

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. 10d ago First seen · 479 lines · 52 tokens per session scan A 755bbbdb79f6

Subscribe to this mod's changes

cross-table-lineage is a skill published in the GitHub repository Kemetra/Seshat-BI (2 stars, last pushed yesterday), licensed Apache-2.0. It adds 52 tokens to every session and 6,423 once invoked, about $0.0003 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.