chainlink-oracle-guide

chainlink-oracle-guide is a skill for Claude Code, Codex from nirholas/three.ws. It costs 68 tokens per session (2,272 once invoked), scanned A, original, Apache-2.0.

A guide to Chainlink price oracles, which collect outside data such as market prices and make it available to blockchain applications. It explains how data providers and oracle nodes produce feeds used by DeFi protocols.

In plain words
What is it for?
Use it to explain or integrate Chainlink price feeds, read feed data on-chain, check available asset pairs, or understand oracle security.
Why use it?
Smart contracts cannot directly read information from the outside world. This guide explains how reliable price data supports collateral values, stablecoin prices, liquidations, and swaps.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: positional $N argument.

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/nirholas/three.ws/chainlink-oracle-guide
Any agent
npx skills add nirholas/three.ws --skill chainlink-oracle-guide
Clone the repo
git clone --depth 1 https://github.com/nirholas/three.ws

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for chainlink-oracle-guide

README.md
[![agentmods](https://agentmods.dev/badge/skills/nirholas/three.ws/chainlink-oracle-guide.svg)](https://agentmods.dev/skills/nirholas/three.ws/chainlink-oracle-guide)
Your own site
<a href="https://agentmods.dev/skills/nirholas/three.ws/chainlink-oracle-guide"><img src="https://agentmods.dev/badge/skills/nirholas/three.ws/chainlink-oracle-guide.svg" alt="Measured on agentmods" height="20"></a>
Per session 68 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,272 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00068 $0.02272
Opus 5 $0.00034 $0.01136
Sonnet 5 $0.00014 $0.00454
Haiku 4.5 $0.00007 $0.00227

Measured 2d ago against content hash c41dae9f1573, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

chainlink-oracle-guide scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

data/skills/protocol/chainlink-oracle-guide/SKILL.md · 202 lines

How it starts

The opening of the file, as written. The whole thing — 202 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Chainlink is the dominant oracle network in DeFi. This guide explains how it works and how to use price feeds.

What Problem Do Oracles Solve?

Smart contracts can't access external data (prices, weather, events). Oracles bridge this gap:

Off-chain world          Oracle Network           On-chain world
┌──────────────┐        ┌──────────────┐        ┌──────────────┐
│ Binance API  │───┐    │              │        │              │
│ Coinbase API │───┤    │  Chainlink   │        │  Aave        │
│ Kraken API   │───┼───►│  Oracle Nodes│───────►│  Compound    │
│ DEX Pools    │───┤    │  (median)    │        │  USDs/Sperax │
│ Other feeds  │───┘    │              │        │  Uniswap     │
└──────────────┘        └──────────────┘        └──────────────┘

Without reliable oracles, DeFi protocols can't:

  • Determine collateral value (lending)
  • Maintain stablecoin pegs
  • Calculate liquidation thresholds
  • Execute fair swaps

The Aggregator Model

  1. Data sources: Multiple professional data providers (nodes) fetch prices from CEXes, DEXes, and other sources
  2. Independent observation: Each node independently computes a price
  3. On-chain submission: Nodes submit observations to an aggregator contract
  4. Median calculation: The contract takes the median of all reports
  5. Storage: The median price is stored as the latest answer

Update Triggers

A feed updates when EITHER condition is met:

Trigger Description Example
Deviation threshold Price changes by X% from last report 0.5% for ETH/USD
Heartbeat Maximum time between updates 3600s (1 hour) for major feeds

This means high-volatility periods get more frequent updates.

Feed Architecture

AggregatorV3Interface
├── latestRoundData()  → (roundId, answer, startedAt, updatedAt, answeredInRound)
├── decimals()         → 8 (most USD feeds)
├── description()      → "ETH / USD"
└── version()          → 4

Read the full file on GitHub · 202 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 202 lines · 68 tokens per session scan A c41dae9f1573

Subscribe to this mod's changes

chainlink-oracle-guide is a skill published in the GitHub repository nirholas/three.ws (111 stars, last pushed today), licensed Apache-2.0. It adds 68 tokens to every session and 2,272 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

blockchain-cross-chain

Cross-chain protocols, IBC, LayerZero, Wormhole, Axelar, CCIP, bridges, atomic composability, shared sequencer, cross-chain message passing. Covers trust models (light clients, external validators, ZK proofs), bridge security, token representation (canonical, wrapped, native), relayer economics, and cross-chain…

j4flmao/agent-skills · 108 tokens

blockchain-management

Use this skill when asked about blockchain project management, DAO governance, multi-sig operations, treasury management, tokenomics design, and web3 project methodology. Languages: Solidity, TypeScript, Python. Covers DAO governance frameworks (Compound Governor, Aave, Snapshot, Tally), multi-sig wallet operations…

j4flmao/agent-skills · 207 tokens

modernize-move

Detects and modernizes outdated Move V1 syntax, patterns, and APIs to Move V2+. Use when upgrading legacy contracts, migrating to modern syntax, or converting old patterns to current best practices. NOT for writing new contracts (use write-contracts) or fixing bugs.

aptos-labs/aptos-agent-skills · 60 tokens

write-contracts

Generates secure Aptos Move V2 smart contracts with Object model, Digital Asset integration, security patterns, and storage type guidance. Includes comprehensive storage decision framework for optimal data structure selection. Triggers on: 'write contract', 'create NFT collection', 'build marketplace', 'implement…

aptos-labs/aptos-agent-skills · 104 tokens

threejs-docs

Comprehensive Three.js reference covering core API (objects, cameras, lights, materials, geometries, renderers, scenes, textures, math, animation, audio, loaders, helpers, nodes), all addons (controls, postprocessing, loaders, exporters, geometries, shaders, WebXR, physics), TSL (Three.js Shading Language) functions…

pledgeandgrow/pledge-skills · 112 tokens

coinmarketcap

Expert assistant for CoinMarketCap Pro API — price quotes, listings, historical OHLCV, market metrics, Fear & Greed Index, CMC100/CMC20 indices, exchange data, DEX data, airdrops, trending, community sentiment. Covers 10+ endpoint categories across REST + MCP + x402 pay-per-call modes. Use when the user wants: current…

Vo1ganin/crypto-claude-skills · 183 tokens