/lazarus:lazarusfrom Lazarus
Captures finite historical Ethereum state and JSON-RPC evidence into deterministic, proof-checked fixtures for replay in local tests after the original provider is gone.
Ships in Lazarus. 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.
Lazarus owns its own state-fixture preservation 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.
Lazarus captures the finite historical Ethereum state and exact RPC evidence one application test needs, proves the state-backed part, and replays only recorded requests.
Current frontier. Receipt witnesses reconstruct receiptsRoot offline for full ordered receipt sets: scoped witnesses prove one consensus receipt payload and its log projection, while empty witnesses are accepted only at Ethereum's empty trie root and prove zero relations; transaction hashes and unrelated RPC results remain recorded evidence.
Lazarus turns a finite historical Ethereum capture plan into a deterministic fixture and calls its exact JSON-RPC answers back into a local test after the original provider is gone.
Alexandria preserves broader lending-data captures; Berean may consume fixed-block reads in a grounded-agent release; Ariadne may bind a verified preservation release to its evidence. Those hand-offs preserve the distinction between receipt-trie-proved consensus payloads and recorded RPC decorations.
Synkrisis is meant for comparison across validated run-observation records, not for comparing fixtures or strengthening Lazarus evidence classes. Its four shipped operations accept their declared observation records and do not treat a Lazarus fixture as one.
$SKILL_DIR is the directory holding this file. The command lives at
$SKILL_DIR/../../scripts/lazarus.py; resolve it from where you loaded this
skill. This build implements finite capture plus the offline format, manifest
and proof-verification layer, with exact verified replay over loopback.
Protocol engineering. A fork test depends on a paid archive endpoint and one old block. Its declared reads become a reviewable fixture, and an unexpected read becomes a visible miss instead of a hidden provider call.
Research. A closed venue's state needs to remain inspectable after its front end and hosted data disappear. The fixture keeps the block, finite coverage and evidence classes together.
Security. An incident test needs stable historical inputs. Account and
storage values are checked against the captured state root. A declared full
receipt witness reconstructs receiptsRoot: the scoped shape may prove one
consensus receipt payload and its log projection, while the empty shape is
accepted only at Ethereum's empty trie root and proves zero relations.
Transaction hashes, calls, traces and unrelated fields remain recorded
evidence.
Archiving. A fixture has to outlive the people who made it. A preservation release ships the fixture, a statement about it and the document binding them, so a stranger can check that the statement describes that fixture and does not claim more than it holds.
The current build validates versioned documents and binds their bytes in a manifest:
python3 scripts/lazarus.py capture \
--plan <plan-v2.json> --rpc-url-env <environment-variable> \
--bearer-env <environment-variable> \
--anchor-rpc-env <source-id>=<environment-variable> \
--out <fixture-directory>
python3 scripts/lazarus.py validate schemas
python3 scripts/lazarus.py validate plan <plan.json>
python3 scripts/lazarus.py build-manifest <fixture-directory> \
--component plan.json --component header.json \
--chain-id 0x1 --block-number <quantity> --block-hash <hash>
python3 scripts/lazarus.py verify <fixture-directory>
python3 scripts/lazarus.py replay <fixture-directory>
python3 scripts/lazarus.py release <fixture-directory> \
--statement <statement.json> --out <release-directory>
python3 scripts/lazarus.py verify-release <release-directory>
verify checks schema versions, safe paths, canonical manifest bytes and every
declared component length and SHA-256 digest. It then recomputes the
fork-appropriate header hash; verifies EIP-1186 account and storage inclusion
or absence against the header state root; checks response fields against the
decoded leaves; and hashes captured code against the proved codeHash. It
also reconstructs a declared ordered receipt witness. The scoped shape checks
its target receipt and filtered-log relations; the empty shape checks the
empty trie root and reports zero relations. It reports separate proof-backed,
receipt-trie-proved, header-bound and recorded-RPC evidence counts.
release writes a preservation release: the verified fixture, a statement
somebody else wrote about it, and a document binding the two. The statement is
held to the counts verification recomputed rather than to the ones the manifest
claims, which is the only place that disagreement is visible, and nothing is
written unless both the fixture and the statement pass. verify-release reads
one back from its bytes years later. Neither reaches a network, and neither
signs anything. See
docs/preservation-release.md.
Read the checked-in study for the selected design and the runbook for implementation status.
capture resolves and brackets the plan's fixed number and expected hash. It
prefers EIP-1898 hash selectors for proofs and code, safely falls back to the
fixed number, checks the closing header, verifies the complete fixture and
only then atomically finalises the output directory. Required request or proof
failures leave no fixture. Optional provider failures retain only a stable
sanitised error. URL credentials, query values, bearer tokens, cookies and raw
provider errors are not fixture material.
For plan v2 or v3, repeat --anchor-rpc-env SOURCE_ID=ENV_VAR once for every
sorted source declared by the plan. The source set must match exactly. Capture reads
only those explicitly named, non-empty environment variables and never places
their URL values in argv, output, diagnostics or fixture bytes. One client per
source shares the primary request, response-byte, component-byte, total-byte
and elapsed-time limits. Each records only a local UTC observation time and the
matching mainnet chain ID, fixed number and expected block hash. Any mapping,
transport, identity, schema, limit, secret-scan or final verification failure
removes the stage and leaves no destination. The operator contract and example
are in the chain-anchor guide.
Name the primary provider with exactly one of --rpc-url <url> and
--rpc-url-env ENV_VAR; with --rpc-url-env the primary URL need not enter
argv. --bearer-env ENV_VAR sends that variable's token on every primary
request as Authorization: Bearer <token>. Capture checks the shape of every
mapping before it reads any variable, and a refusal names the variable, never
its value. The resolved URL and the supplied bearer join the provider-secret
union, so neither reaches output, diagnostics, the terminal result or fixture
bytes. This removes the need for a relay to keep the endpoint out of argv. The
scan still cannot recognise a secret that only an external relay holds.
replay verifies the fixture in the same process before binding to
127.0.0.1. It answers only exact method-and-parameter matches, preserves the
caller's identifier, handles single requests, batches and notifications, and
returns error -32070 with a capture-plan fragment on a miss. It rejects
write and unsupported methods and has no provider client or fallback setting.
A fixture separates four classes rather than lending one class the strength of another:
stateRoot; code verifies against the proved
codeHash.receiptsRoot.
The scoped shape checks one target consensus receipt payload and its
declared consensus-log projection. The empty shape is accepted only at
Ethereum's empty trie root and yields zero relations. Transaction hashes
are excluded.Chain anchors are separately counted recorded observations. Distinct source IDs are operator labels, not proof of separate provider ownership or infrastructure. Matching records do not establish canonical-chain membership or provider independence; both report fields remain false.
Replay is exact request replay, not arbitrary EVM execution from a partial world state. Object member order is canonicalised for a request key; values, array order, omitted fields, quantities and block selectors remain exact.
Provider credentials are runtime inputs. They never enter output, diagnostics or digest material.
codeHash.A self-consistent header is not proof that it belongs to Ethereum's canonical chain. Report the expected hash and its external provenance without upgrading the local check.
Replay verifies the fixture in the same process before binding to loopback. It has no capture URL and no fallback provider. A request absent from the fixture returns the stable Lazarus miss error and a capture-plan fragment. It never invents a zero value or leaves loopback to answer a miss.
eth_call from partial state in the first format.receiptsRoot, or claim
that an empty witness proves a positive relation.capture atomically writes a finite fixed-block fixture only after resolving the expected block, collecting the declared requests and proofs, closing the block bracket and passing complete local verification.receiptsRoot, are positive proof-backed relations. An empty witness proves only Ethereum's empty trie root and zero relations. Transaction hashes, calls, traces and unrelated RPC fields remain recorded evidence. Matching anchor records remain recorded observations and establish neither canonical-chain membership nor provider independence.verify recomputes the fixture's schemas, canonical manifest, component digests, header hash, state proofs, optional receipt-trie relations, response values and evidence-class counts from local bytes.replay verifies the fixture before binding to loopback and answers only exact recorded method-and-parameter keys without provider fallback.release followed by verify-release binds the verified fixture bytes to a separately supplied statement whose evidence counts do not exceed those recomputed from the fixture.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub wildcat-finance/skills --plugin lazarusOther plugins' skills for the same job