
chainlink-data-feeds-skill
Helps developers read Chainlink price feeds with AggregatorV3Interface and latestRoundData. This is not a Data Streams report. REST and WebSocket report streams go to chainlink-data-streams-skill. It applies to price feed integration, feed address lookup, consumer contracts, multi-chain feeds, MVR bundle feeds, SVR and OEV feeds, feed monitoring, historical data, L2 sequencer checks, rates and volatility feeds, and SmartData and RWA feeds.
- Installs
- 367
- Last 24h
- —
- Trending rank
- —
- Security
- Not audited
Install
Works with every agent the skills CLI supports.
npx skills add https://github.com/smartcontractkit/chainlink-agent-skills --skill chainlink-data-feeds-skill- 01
Install
Run the command in your project. The CLI asks which agents to install for.
- 02
Describe the task
Ask your agent for something this skill covers. It loads chainlink-data-feeds-skill automatically when relevant.
- 03
Review the result
The agent follows the SKILL.md steps, scripts and references bundled with the skill.
SKILL.md
The instructions your agent reads when the skill is triggered.
Chainlink Data Feeds Skill
Progressive Disclosure
| Request / triggers | Load |
|---|---|
| EVM read, consumer contract, off-chain read, address lookup/debugging | price feeds |
| Working Foundry/Data Feeds project | Load the starter README and every listed file; reply with their contents or a tailored derivative, never a local/absolute path alone. Preserve layout and include install/test/deploy commands, Sepolia ETH/USD or verified named-network lookup, unaudited/not-for-production warning, and L2 sequencer protection. |
Multiple-Variable Response, multi-variable feed, BundleAggregatorProxy | MVR |
| Smart Value Recapture, OEV/MEV recapture, searcher onboarding | SVR |
| Feed categories/selection, SmartData/RWA, rates/volatility, tokenized equity | types |
| Solana, StarkNet, Aptos, Tron, Move, Cairo, Anchor, TronBox | multi-chain |
| L2 sequencer, deprecation, monitoring, registry, responsibilities, data sources, self-managed feeds | operations |
| Live addresses/schedules/parameters; interface/signature mismatch, proxy/aggregator source, GitHub example | official sources, then docs index for facts the curated references do not have |
Do not load references speculatively. Default EVM requests to price feeds; ask only when routing depends on missing context.
Do not assume this skill is the only capability available.
Hand CCIP/bridge, VRF, Automation, and Functions requests to their owning products exclusively, giving each product's standard next steps from general knowledge; emit no Data Feeds or weaker substitute and never improvise live constants.
When a user requests Data Feeds code or operational steps, emit that deliverable in the response; never replace it with a status or completion summary.
For MVR requests, choose the MVR route even when a live address, feed ID, or schema cannot be verified; use clearly marked placeholders for unverified values and continue with all requested design, consumer code, tests, and configuration instead of stopping at verification.
Every SVR response must emit the exact standalone sentence Complete the Chainlink compatibility form before any onboarding or address-migration guidance.
For a configuration-focused SVR protocol integration or migration, give concise configuration, onboarding, verification, and safety steps plus only the minimal address/configuration delta; do not emit a full consumer unless the user explicitly requests one. Keep auction mechanics high-level and exclude searcher-only selectors, WebSocket endpoints, signing instructions, and MEV-Share/Atlas bot implementation details unless the user explicitly asks to build or operate a searcher.
Safety rules
- Validate
updatedAtagainst the feed heartbeat; reject incomplete or stale rounds. - Call
decimals()at runtime; never hardcode decimals. - On L2, always use
AggregatorV2V3Interfacefor the sequencer uptime feed—neverAggregatorV3Interface; rejectanswer != 0and enforce the 3600-second recovery grace period. - Never use deprecated
answeredInRoundfor freshness or other logic. - For an implicit current-price Solidity getter, use the exact named-return form
returns (int256 price, uint8 decimals); declareuint256 updatedAt;first, then assign(, price,, updatedAt,) = dataFeed.latestRoundData();. Do not substitute an unnamed-return or alternate compiling tuple form. - Warn that examples are unaudited and not for production; mainnet integrators own audits, dependencies, monitoring, circuit breakers, contingencies, and user risk disclosure.
Freshness policy
- Use this skill's references first.
- If official-sources.md names the page, fetch that page's
.mdURL. - If it does not, fetch
https://docs.chain.link/data-feeds/llms.txt, pick one page, and fetch that page's.mdURL. - Fetch
https://docs.chain.link/data-feeds/llms-full.txtonly when the question is broad and no one page covers it. - Use Context7 only when the
.mdfetch fails, the page is empty, or the page has under 1,000 useful characters and does not answer. Ask for the missing fact only. - Stop when the page answers. Fetch at most three pages. Prefer the
.mdURL. UseAccept: text/markdownon the normal page URL only when the tool cannot open the.mdURL and can set that header. - Never improvise live facts or patterns. If a value is unverified, say so and name the URL.
Invariants
- Read EVM proxies, not underlying aggregators.
- Preserve the starter kit layout/README invariants; replace illustrations and tune heartbeat/mock values.
- Use
AggregatorV3Interfacefor single values,IBundleAggregatorProxyfor MVR, andAggregatorV2V3Interfacefor sequencer uptime. - A live feed address in config must be copied from the official address page fetched in this turn. When that page lists more than one contract for the pair, use the contract for the product the user asked for. A normal price read uses the standard proxy, not an SVR, backup, or legacy proxy. If the page was not fetched, use a placeholder and say the address is unverified. Never present a remembered address as the verified current feed.
- Verify unknown feed IDs, schemas, parameters, and support.
FAQ
What does the chainlink-data-feeds-skill skill do?
Helps developers read Chainlink price feeds with AggregatorV3Interface and latestRoundData. This is not a Data Streams report. REST and WebSocket report streams go to chainlink-data-streams-skill. It applies to price feed integration, feed address lookup, consumer contracts, multi-chain feeds, MVR bundle feeds, SVR and OEV feeds, feed monitoring, historical data, L2 sequencer checks, rates and volatility feeds, and SmartData and RWA feeds.
How do I install chainlink-data-feeds-skill?
Run npx skills add https://github.com/smartcontractkit/chainlink-agent-skills --skill chainlink-data-feeds-skill in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/chainlink-data-feeds-skill/ (personal) or .claude/skills/chainlink-data-feeds-skill/ (project).
Which AI agents can use chainlink-data-feeds-skill?
Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.
Is chainlink-data-feeds-skill safe to install?
No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.
Who maintains chainlink-data-feeds-skill?
It is published by smartcontractkit in smartcontractkit/chainlink-agent-skills. It has 367 recorded installs.
More from smartcontractkit/chainlink-agent-skills
chainlink-cre-skill
smartcontractkit/chainlink-agent-skills
Handles CRE (Chainlink Runtime Environment) Go and TypeScript workflows, the CRE CLI, simulate, and deploy. Sends CRE Connect watchers, gas-less Smart Accounts, and dta.v2 to chainlink-cre-connect-skill. Sends private-document LLM inference to chainlink-confidential-ai-attester-skill. Keeps enclave workflow logic with no document on this skill. It applies to CRON, HTTP, and EVM-log triggers, HTTP and EVM read/write, secrets, and monitoring, even when the user never says CRE.
chainlink-ccip-skill
smartcontractkit/chainlink-agent-skills
Open the skill to read its SKILL.md instructions.
chainlink-data-streams-skill
smartcontractkit/chainlink-agent-skills
Helps developers retrieve Chainlink Data Streams reports over REST and WebSocket, including report schemas. A price-feed consumer that uses AggregatorV3Interface or latestRoundData goes to chainlink-data-feeds-skill. Reports, REST, WebSocket, and report schemas stay here. It also applies to credentials, report decoding, official Go, Rust, and TypeScript SDKs, high-availability streaming, on-chain report verification, and timestamp lookback.
chainlink-ace-skill
smartcontractkit/chainlink-agent-skills
Open the skill to read its SKILL.md instructions.
chainlink-vrf-skill
smartcontractkit/chainlink-agent-skills
Help developers integrate Chainlink VRF into smart contracts. Use for consumer contract generation with VRFConsumerBaseV2Plus, subscription setup and funding (LINK or native), keyHash and gas lane selection, coordinator address lookup and debugging VRF integrations. Trigger on any mention of VRF, verifiable randomness, on-chain random number generation, requestRandomWords, fulfillRandomWords, VRF subscription, VRF coordinator, keyHash, or provably fair randomness in a smart contract, even if the user does not say 'VRF' explicitly.
chainlink-confidential-ai-attester-skill
smartcontractkit/chainlink-agent-skills
Runs LLM inference over a private document inside a TEE, returns an attested result, and keeps the raw document in the TEE. No document upload means chainlink-cre-skill. It applies to private inference, attested AI, confidential AI, and sensitive-document analysis, including lending, accredited-investor, KYC/AML, and proof-of-reserves checks.
Popular docs & writing skills
grill-with-docs
mattpocock/skills
A relentless interview to sharpen a plan or design, which also creates docs (ADR's and glossary) as we go.
lark-markdown
open.feishu.cn
飞书 Markdown:查看、创建、上传、编辑和比较飞书中的原生 Markdown 文件。当用户要操作飞书 Markdown 文件,或比较其远端版本及本地草稿时使用。纯本地 Markdown 文件操作不触发本 skill。不负责将 Markdown 导入为飞书在线文档,也不负责文件搜索、权限、评论、移动、删除等云空间管理操作。
writing-beats
mattpocock/skills
Writing, exploit; assemble raw material into a journey of beats, grounding each term before a beat leans on it.
writing-shape
mattpocock/skills
Writing, exploit: shape raw material into an article, paragraph by paragraph.
writing-fragments
mattpocock/skills
Writing, explore: mine raw fragments, no structure yet.
writing-for-agents
mattpocock/skills
Writing documents for agents. Use when creating or editing skills, or modifying AGENTS.md or CLAUDE.md.