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.
npx agentmods add skills/nirholas/three.ws/chainlink-oracle-guidenpx skills add nirholas/three.ws --skill chainlink-oracle-guidegit clone --depth 1 https://github.com/nirholas/three.wsWrote 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.
[](https://agentmods.dev/skills/nirholas/three.ws/chainlink-oracle-guide)<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>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.
| Model | Per session | Once 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 |
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.
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 Oracle Price Feeds Guide
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
How Chainlink Works
The Aggregator Model
- Data sources: Multiple professional data providers (nodes) fetch prices from CEXes, DEXes, and other sources
- Independent observation: Each node independently computes a price
- On-chain submission: Nodes submit observations to an aggregator contract
- Median calculation: The contract takes the median of all reports
- 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
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.
- 2d ago First seen · 202 lines · 68 tokens per session scan A c41dae9f1573
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.
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…
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…
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.
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…
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…
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…