State Overlay Consistency Checker

Detect state-visibility violations across execution frames within a transaction.

27|8|Updated Jan 16, 2026
One-click install
npx skills add https://github.com/Sounder25/Google-Antigravity-Skills-Library --skill state-overlay-consistency-checker
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: State Overlay Consistency Checker
Source: https://github.com/Sounder25/Google-Antigravity-Skills-Library/tree/main/22_state_overlay_consistency
Command: npx skills add https://github.com/Sounder25/Google-Antigravity-Skills-Library --skill state-overlay-consistency-checker

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Detect and prevent state-visibility violations across execution contexts within a single transaction.

Core Features & Use Cases

  • Enforces code visibility, overlay inheritance, and gas propagation invariants across FRAME transitions (CREATE, CALL, CREATE2, DELEGATECALL, SSTORE, SLOAD) within a single transaction.
  • Prevents silent gas under-charging and inconsistent state by ensuring checks across nested execution frames.
  • Use cases include auditing complex contract deployments and ensuring deterministic behavior in multi-frame transaction flows.

Quick Start

Run the state overlay consistency checker against a transaction trace to verify cross-frame visibility and coherence.

Frequently Asked Questions about State Overlay Consistency Checker

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I check state visibility across transaction execution frames?

To check state visibility across transaction execution frames, you run a consistency checker against a transaction trace to verify cross-frame visibility, overlay inheritance, and gas propagation invariants for nested calls.

Why does gas mis-accounting happen during nested smart contract calls?

Gas mis-accounting happens during nested smart contract calls when state-visibility violations occur across execution contexts, causing silent gas under-charging because deployed code and storage changes are not properly visible to subsequent frames.

What is state overlay consistency in multi-frame smart contract transactions?

State overlay consistency in multi-frame transactions ensures that storage changes and deployed code from operations like CREATE or DELEGATECALL are visible to subsequent execution frames, preventing inconsistent state and gas under-charging within a single transaction.

How do I audit a CREATE and CALL sequence for write-read consistency?

To audit a CREATE and CALL sequence for write-read consistency, inspect the transaction trace's frame hierarchy, code visibility, storage overlays, and gas accounting to ensure deployed code and SSTORE changes are visible to subsequent frames.

When do I need to verify state overlay consistency for smart contract deployments?

You need to verify state overlay consistency when auditing complex contract deployments that use multi-frame patterns like CREATE2 followed by CALL or DELEGATECALL, ensuring deterministic behavior and preventing silent gas under-charging.

Can I use this consistency checker for transactions without nested execution frames?

This consistency checker targets multi-frame patterns within a single transaction, so transactions without nested execution frames or complex contract deployments do not require cross-frame visibility checks for code, storage, or gas propagation.