chainlink-oracle-guide

Explain Chainlink oracle price feed architecture and on-chain data retrieval.

8|3|Updated Feb 25, 2026
One-click install
npx skills add https://github.com/Sperax/sperax-skills --skill chainlink-oracle-guide
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: chainlink-oracle-guide
Source: https://github.com/Sperax/sperax-skills/tree/main/skills/chainlink-oracle-guide
Command: npx skills add https://github.com/Sperax/sperax-skills --skill chainlink-oracle-guide

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill explains how Chainlink oracles provide reliable price data to smart contracts, which is crucial for DeFi applications to function correctly.

Core Features & Use Cases

  • Oracle Architecture: Details the aggregator model, data sources, and on-chain submission process.
  • Price Feed Usage: Demonstrates how to read price feeds using Solidity, Etherscan, and JavaScript (ethers.js).
  • Security & Best Practices: Covers common oracle attacks and safety checks for using price feeds.
  • Use Case: Explaining to a new DeFi developer how Aave or Compound use Chainlink to determine collateral value and liquidation points.

Quick Start

Explain how Chainlink price feeds work, including their architecture and how to read them on-chain.

Frequently Asked Questions about chainlink-oracle-guide

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

FAQPage Schema
How do Chainlink price feeds work for smart contracts?

Chainlink price feeds use an aggregator model to source data off-chain and submit it on-chain, providing decentralized price data to smart contracts for reliable DeFi infrastructure.

How do I read Chainlink oracle price data using Solidity or ethers.js?

You can read Chainlink oracle price data on-chain by implementing Solidity interfaces or using ethers.js via JavaScript to fetch the latest aggregated price data from deployed feed contracts.

How do DeFi platforms like Aave or Compound use Chainlink oracles?

DeFi platforms like Aave or Compound use Chainlink oracles to determine collateral value and calculate liquidation points, ensuring smart contracts have accurate price data for lending operations.

What security checks should I perform when using Chainlink price feeds?

Security checks for using Chainlink price feeds include verifying common oracle attack vectors, checking deviation thresholds, and ensuring the correct feed addresses are used across EVM chains.

Can I use Chainlink price feeds across different EVM chains?

Yes, you can use Chainlink price feeds across different EVM chains by referencing specific common feed addresses deployed on each network to retrieve accurate on-chain price data.