oracle-analysis

Analyze Sui oracle integrations for staleness, decimal gaps, and failure modes.

276|56|Updated Mar 16, 2026
One-click install
npx skills add https://github.com/PlamenTSV/plamen --skill oracle-analysis
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: oracle-analysis
Source: https://github.com/PlamenTSV/plamen/tree/main/agents/skills/sui/oracle-analysis
Command: npx skills add https://github.com/PlamenTSV/plamen --skill oracle-analysis

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Analyzes Sui oracle integrations to identify staleness, decimal handling gaps, and potential failure modes that could impact pricing, collateral, or governance decisions.

Core Features & Use Cases

  • Oracle inventory and mapping for data sources (pyth, switchboard v2, supra, custom on-chain feeds) and the consumer functions that read them
  • Staleness and freshness checks to ensure oracle data is up-to-date before it influences protocol behavior
  • Decimal normalization audit to verify exponent handling and correct decimal scaling across oracle outputs and protocol consumers
  • Deviation reference auditing and failure-mode analysis for robust risk assessment in multi-oracle setups
  • TWAP considerations and cold-start edge-case analysis to prevent exploitation during periods of low observability
  • Deliverables include a structured report with code locations and recommended mitigations

Quick Start

Run this skill against your Sui Move protocol to generate a comprehensive oracle-analysis report.

Frequently Asked Questions about oracle-analysis

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

FAQPage Schema
How do I audit Sui Move oracle integrations for staleness and decimal normalization gaps?

To audit Sui Move oracle integrations, inventory data sources like Pyth and Switchboard, check data freshness, validate decimal exponents, and evaluate multi-oracle thresholds to identify pricing and collateral risks.

What is oracle staleness in Sui protocols and how does it impact pricing?

Oracle staleness in Sui protocols occurs when price feed updates lag, causing outdated data to influence protocol behavior. Analyzing freshness ensures data remains current before affecting collateral or governance decisions.

Can I use this to check decimal normalization across Pyth and Switchboard v2 feeds?

Yes, you can check decimal normalization across Pyth and Switchboard v2 feeds. The analysis verifies exponent handling and correct decimal scaling across oracle outputs and their protocol consumers.

What is the best way to evaluate multi-oracle failure modes in Sui Move?

The best way to evaluate multi-oracle failure modes is to analyze deviation references and cold-start edge cases. This prevents exploitation during low observability and outputs mitigations with code locations.

Does the analysis cover TWAP considerations and cold-start edge cases?

Yes, the analysis covers TWAP considerations and cold-start edge cases to prevent exploitation during periods of low observability. This is part of the failure-mode analysis for robust risk assessment.