/tabularium:tabulariumfrom Tabularium
Builds or verifies reproducible releases of on-chain credit events from Aave v4, Euler v1/V2, Compound v3, and Wildcat V1/V2 using preserved venue-native records with full provenance tracking.
Ships in Tabularium. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Tabularium owns its own credit-event release frontier, not Hexaemeron's delivery or Solidity frontier. Its version, held target, next job, and maturity state live in EVOLUTION.md. Do not recommend or run another frontier pass after that ledger becomes mature.
Tabularium maps preserved venue-native records into reproducible, venue-qualified credit events while keeping the source, mapping, coverage, and gaps beside them.
Current frontier. Compound v3 Phase 0 now rebuilds ordered calls and signed-principal transitions from one verified Alexandria witness; the Phase 1 canonical adapter and Ethereum USDC specimen remain unimplemented.
Tabularium turns preserved venue records into a common event ledger without discarding what the venue said or the rule used to interpret it.
Alexandria is the upstream archive and narrow-view provider. Probitas may use a verified Tabularium release in a counterparty dossier, and Ariadne may bind its digest to evidence. Those downstream uses do not authorise Tabularium to collect live data, flatten venue meaning, rate a borrower, or hide unsupported coverage.
Synkrisis is not a release comparator for these datasets. Its input is validated agent-run observations, it builds a checked cohort and infers bounded findings over one, and it cannot promote repeated records into a credit claim.
$SKILL_DIR is the directory holding this file. The tool lives at
$SKILL_DIR/../../scripts/tabularium.py; resolve it from where you loaded this
skill.
Developers. A hosted indexer is still answering, but it will not do so for ever. Preserve the response and its capture boundary now, then build a release whose bytes another person can reproduce after the endpoint is gone.
Security and audit. A dataset arrives with a digest and a claim that it was
built from a named source. verify checks the paths, digests, counts, mapping
versions and source selectors, then rebuilds the canonical bytes instead of
trusting the claim.
Finance. Borrow and repayment records from different venues need to be compared without pretending they have identical meanings. Every row keeps its venue-qualified action and complete native record, so the common family does not become a verdict about the borrower.
The built prototype ships
aave-v4-v0: unchanged source and
capture bytes, 500 canonical rows from consensus logs, a coverage manifest, a
data dictionary and a temporary rebuild demonstration.
It also ships euler-v1-v0, a
one-block canonical-proxy release, and
euler-v2-v0, a fixed owner/second
activity release from the Euler V3 API. Euler V2 names the protocol
generation; Euler V3 names the hosted API. Keep those fields separate.
Those three were published under canonical event schema v2 and stay under it.
aave-v4-v1,
euler-v1-v1 and
euler-v2-v1 supersede them under
schema v3, each built from its v0 source.json bytes. Read a v0 release when
you need the bytes that were published; read its v1 successor when you need
the current envelope.
From the repository root:
python3 plugins/tabularium/examples/aave-v4-v0/rebuild.py
python3 plugins/tabularium/examples/euler-v1-v0/rebuild.py
python3 plugins/tabularium/examples/euler-v2-v0/rebuild.py
python3 plugins/tabularium/examples/aave-v4-v1/rebuild.py
python3 plugins/tabularium/examples/euler-v1-v1/rebuild.py
python3 plugins/tabularium/examples/euler-v2-v1/rebuild.py
python3 plugins/tabularium/examples/compound-v3-phase0-v0/rebuild.py
The demonstration copies the inputs to a fresh temporary directory, builds there, makes all four release files read-only, verifies them offline and requires the canonical and coverage bytes to match the committed release. It does not rewrite the example.
Keep the four files of any release together and select its adapter explicitly. Aave v4 remains the default for old commands:
python3 scripts/tabularium.py build \
--adapter <aave-v4|euler-v1|euler-v2> \
--source <release-dir>/source.json \
--capture-manifest <release-dir>/capture.json \
--out <release-dir>/events.jsonl \
--manifest <release-dir>/coverage.json \
--release <release-id>
python3 scripts/tabularium.py verify <release-dir>/coverage.json
build writes canonical event and coverage schema_version 3 unless
--event-schema names another supported version, and verify reads 2 and 3.
Build a new release under the default; pass --event-schema 2 only to
reproduce a release that was published under 2.
Wildcat uses a separate raw-release command and always writes schema 3. Its
new builds use adapter 1.6.0. It retains accrual, state-update and hook-call
observations and adds market approval and SphereX configuration rows. These
control rows have no financial amounts and establish no effective exit access.
--adapter-version names an earlier interpretation, and 1.0.0 requests
starting-tree reconstruction. Verification selects the release version
and compares every generated byte. Fee collection keeps its own family and
recipient gap; V2 protocol-fee Bips stays native state with no amount:
python3 scripts/tabularium.py wildcat-canonical \
--alexandria-release <raw-release-dir> \
--release <release-id> --out <new-release-dir>
python3 scripts/tabularium.py verify <new-release-dir>/coverage.json
The fresh release contains a complete raw copy at source/raw-release/,
source.json, capture.json, events.jsonl and coverage.json. Verification
rechecks the copied Alexandria release and rebuilds every generated file;
source descriptors cannot establish their own parties or evidence classes.
Read the Wildcat canonical guide for native
roles, financial units, unsupported records and constructed-input limits.
build checks the capture's source digest, byte count, adapter and declared
scope before it writes anything. Venue validation then checks the preserved
source response. It rejects
duplicate source identifiers, unsafe numeric values, paths outside the release
directory and outputs that alias preserved input.
The Aave v4 adapter maps two consensus-log topics to aave-v4.borrow and
aave-v4.repay. Each row carries the complete log, its block hash and
transaction index, a stable source selector, the source contract, adapter
version and mapping rule, and names the getReserve, symbol and decimals
reads that resolved its asset. A log whose reserve was never read is refused
rather than mapped with an unnamed asset.
Euler v1 maps canonical proxy Borrow, Repay and Liquidation logs. Euler V2 maps borrow, repay, liquidation, debt socialisation, debt transfer and interest accrual from the V3 API without flattening those actions. Owner and sub-account remain separate, liquidation amount legs remain separate, and every row keeps its complete source record.
verify reads only local files and writes nothing. It checks the source,
capture and canonical digests and byte counts; confines every declared path;
checks supported schema, adapter and mapping versions; reconciles the capture
with source metadata; requires one ordered selector per mapped entity; and
rebuilds the expected JSONL from source. Exit 0 means those checks passed.
This non-canonical path consumes Alexandria's verified checked-in raw release. It does not write a canonical event or coverage-v2 row:
python3 scripts/tabularium.py compound-witness \
--alexandria-release <alexandria-release> \
--out facts.jsonl --manifest witness.json
python3 scripts/tabularium.py verify-compound-witness \
--alexandria-release <alexandria-release> \
--facts facts.jsonl --manifest witness.json
The witness binds the Alexandria release and component digests, pinned Comet commit, proxy implementation and code. It rebuilds ordered successful Comet calls, relevant proxy-storage writes and one packed signed-principal transition. Unknown implementations, layouts, call shapes, relevant writes, source selectors or changed bytes are refused. This proves only the recorded method for one transaction; Compound canonical mapping and interval coverage remain Phase 1 work.
wildcat-view --alexandria-release DIR --out FILE verifies a local Wildcat
V1/V2 interval release and writes historical facts under
tabularium-wildcat-view/v1. verify-wildcat-view takes the same flags and
rebuilds every output byte. This view is separate from canonical schema 3.
Read the field mapping before using it.
Native logs supply deployment terms, borrow and repayment amounts, and
closure events. Borrower bindings are derived from recorded deployments;
repayment senders stay separate. Every fact retains source selectors and
evidence classes. Current standing, delinquency timing, underlying metadata
and unpaid-batch status remain unsupported. No state replay or chain proof
is supplied. Probitas consumes this mapping through --wildcat-release.
An Aave v4 repayment row means a repay log stated a total repaid. It does not by itself prove that every obligation was paid, the facility closed or the borrower's whole debt was settled.
The capture boundary is what the named hosted indexer or public RPC reported. Neither the boundary nor each event is independently proved against Ethereum here.
The release is unsigned. A passing offline verification establishes internal consistency among the local files and the implemented mapping. It does not establish publisher identity or authenticity. Do not turn the result into an identity claim, counterparty score or chain-proof claim.
Read the adapter guide before adding a venue. A new adapter must validate its source, keep venue meaning qualified, retain the native record, name its provenance, declare unsupported collections and ship fixtures that hold the mapping against drift.
Read the release policy before correcting a mapping. Published source, canonical and coverage bytes are immutable. A changed schema, adapter or mapping rule gets a new version and a new release directory that names what it supersedes.
The Euler preservation study records the source and version boundary. Its runbook records the atomic delivery and verification gates.
The Euler study also records the Euler V3 naming boundary: in the preserved
evidence, V2 is the protocol generation and V3 is the hosted API name. Do not
invent a separate protocol generation without new primary evidence.
If a build, verification, source check or test did not run, say so plainly and do not describe it as successful.
wildcat-view followed by verify-wildcat-view rebuilds the historical facts supported by one verified Alexandria Wildcat interval release under tabularium-wildcat-view/v1.build or wildcat-canonical writes venue-qualified canonical events and coverage whose rows deterministically map one-to-one from the validated preserved source under the named adapter and mapping versions.verify recomputes the named release's source, capture and canonical digests, counts, schema and mapping versions, selectors and expected JSONL from local files.compound-witness followed by verify-compound-witness reproduces the ordered calls, relevant proxy writes and signed-principal transition for the one named verified Alexandria transaction witness.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub wildcat-finance/skills --plugin tabulariumOther plugins' skills for the same job