Chainlink

Assist with Chainlink LINK tokens, oracle integrations, staking, and price feed usage.

23 stars

Best use case

Chainlink is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Assist with Chainlink LINK tokens, oracle integrations, staking, and price feed usage.

Teams using Chainlink should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/chainlink/SKILL.md --create-dirs "https://raw.githubusercontent.com/jiayaoqijia/cryptoskill/main/skills/chains/chainlink/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/chainlink/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How Chainlink Compares

Feature / AgentChainlinkStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Assist with Chainlink LINK tokens, oracle integrations, staking, and price feed usage.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

## LINK Token Basics
- LINK is an ERC-20 token on Ethereum — standard wallet and exchange support
- Also available on multiple chains — Arbitrum, Optimism, Polygon, Avalanche, BSC
- Bridging LINK between chains uses official Chainlink bridge — verify bridge address before using
- Different chains have different LINK contract addresses — verify correct address per network

## Token Transfers
- Standard ERC-20 transfer rules apply — gas paid in native token (ETH, MATIC, etc.)
- Some DeFi protocols accept LINK as collateral — Aave, Compound
- LINK has no special transfer restrictions — no tax tokens, no rebasing
- Decimals: 18 — same as ETH, standard precision

## Staking (v0.2)
- Community staking allows LINK holders to stake — earn rewards for securing network
- Staking has capacity limits — pool may be full, waitlist exists
- Unbonding period applies — can't withdraw instantly after unstaking
- Rewards in LINK — automatically added to staked balance
- Slashing risk exists — node operators can lose stake for misbehavior

## Price Feeds (For Developers)
- Chainlink price feeds are the standard for DeFi — Aave, Synthetix, and most protocols use them
- Feed addresses differ per network and pair — always verify on docs.chain.link
- Feeds update based on deviation threshold and heartbeat — not every block
- Check `latestRoundData()` not just `latestAnswer()` — includes timestamp and round info
- Stale data check critical — verify `updatedAt` timestamp is recent

## Oracle Integration Patterns
- Direct consumer: your contract calls feed directly — simplest approach
- Chainlink Automation (Keepers): trigger actions based on conditions — no server needed
- VRF (Verifiable Random Function): provably fair randomness — for NFT mints, games, lotteries
- Functions: connect to any API — custom off-chain computation
- CCIP: cross-chain messaging — official Chainlink interoperability protocol

## VRF Usage
- Request/receive pattern: request randomness, receive in callback — not synchronous
- Each request costs LINK — fund subscription or pay per request
- Confirmation blocks add security but delay — more confirmations = more secure
- Randomness is verifiable on-chain — anyone can verify it wasn't manipulated

## Common Developer Mistakes
- Hardcoding feed addresses — use address registry or config
- Not checking for stale data — price feeds can stop updating
- Assuming instant updates — deviation thresholds mean prices can be slightly stale
- Not handling VRF callback failures — callback can revert, losing the randomness
- Insufficient LINK for subscriptions — requests fail silently when underfunded

## Network Comparisons
- Ethereum mainnet: highest security, highest gas costs
- L2s (Arbitrum, Optimism): lower cost, same security model
- Alt-L1s (Polygon, Avalanche): native integration, different trust assumptions
- Testnets: Sepolia for Ethereum, network-specific for others

## Security Considerations
- Only use official Chainlink feeds — verify contract addresses on docs.chain.link
- Monitor for feed deprecation — Chainlink announces deprecated feeds
- Multi-oracle pattern for critical systems — don't rely on single source
- Circuit breakers for extreme price movements — protect against oracle manipulation

## CCIP (Cross-Chain)
- Send messages and tokens across chains — official Chainlink bridge
- Lane availability varies — not all chain pairs supported
- Fee estimation before sending — paid in LINK or native token
- Message finality depends on source and destination chains

## Ecosystem
- Node operators earn LINK for providing data — professional infrastructure required
- BUILD program for projects integrating Chainlink — access to resources and support
- Extensive documentation at docs.chain.link — primary reference for developers
- Community resources: Discord, Stack Overflow, GitHub

Related Skills

chainlink-functions-agent

23
from jiayaoqijia/cryptoskill

Toolkit for AI agents to interact with Chainlink Functions for offchain computation and data feeds.

chainlink-mcp-server

23
from jiayaoqijia/cryptoskill

MCP server for Chainlink Data Feeds enabling AI agents to fetch real-world price data on-chain.

8004-skill

23
from jiayaoqijia/cryptoskill

ERC-8004 Trustless Agents - Register and manage AI agent identities on TRON and BSC blockchains with on-chain reputation tracking

8004-MCP - Agent Registry Protocol

23
from jiayaoqijia/cryptoskill

Multi-chain MCP server for ERC-8004 Agent Registry. Query agents, reputation, and feedback across Solana + EVM chains.

supurr

23
from jiayaoqijia/cryptoskill

Backtest, deploy, and monitor trading bots on Hyperliquid. Supports Grid, DCA, and Spot-Perp Arbitrage strategies across Native Perps, Spot markets (USDC/USDH), and HIP-3 sub-DEXes.

senpi-skills

23
from jiayaoqijia/cryptoskill

Agent Skills for autonomous crypto trading on Hyperliquid — trailing stops, market scanning, position management, and more.

sdks

23
from jiayaoqijia/cryptoskill

Official Azex SDKs — TypeScript, Python, MCP Server, CLI for the crypto-native LLM API gateway

perp-cli

23
from jiayaoqijia/cryptoskill

Multi-DEX perpetual futures CLI + MCP server — Pacifica (Solana), Hyperliquid, Lighter (Ethereum). 18 MCP tools for AI-powered trading

okx-exchange-websocket-skill

23
from jiayaoqijia/cryptoskill

Subscribe to OKX public exchange WebSocket channels through UXC raw WebSocket mode for ticker, trade, book, and candle events with explicit subscribe frames.

okx-wallet-portfolio

23
from jiayaoqijia/cryptoskill

This skill should be used when the user asks to 'check my wallet balance', 'show my token holdings', 'how much OKB do I have', 'what tokens do I have', 'check my portfolio value', 'view my assets', 'how much is my portfolio worth', 'what\'s in my wallet', or mentions checking wallet balance, total assets, token holdings, portfolio value, remaining funds, DeFi positions, or multi-chain balance lookup. Supports XLayer, Solana, Ethereum, Base, BSC, Arbitrum, Polygon, and 20+ other chains. Do NOT use for general programming questions about balance variables or API documentation. Do NOT use when the user is asking how to build or integrate a balance feature into code.

okx-security

23
from jiayaoqijia/cryptoskill

Use this skill for security scanning: check transaction safety, is this transaction safe, pre-execution check, security scan, token risk scanning, honeypot detection, DApp/URL phishing detection, message signature safety, malicious transaction detection, approval safety checks, token approval management. Triggers: 'is this token safe', 'check token security', 'honeypot check', 'scan this tx', 'scan this swap tx', 'tx risk check', 'is this URL a scam', 'check if this dapp is safe', 'phishing site check', 'is this signature safe', 'check this signing request', 'check my approvals', 'show risky approvals', 'revoke approval', 'check if this approve is safe', token authorization, ERC20 allowance, Permit2. Covers token-scan, dapp-scan, tx-scan (EVM+Solana pre-execution), sig-scan (EIP-712/personal_sign), approvals (ERC-20/Permit2). Chinese: 安全扫描, 代币安全, 蜜罐检测, 貔貅盘, 钓鱼网站, 交易安全, 签名安全, 代币风险, 授权管理, 授权查询, 风险授权, 代币授权. Do NOT use for wallet balance/send/history — use okx-agentic-wallet.

okx-onchain-gateway

23
from jiayaoqijia/cryptoskill

This skill should be used when the user asks to 'broadcast transaction', 'send tx', 'estimate gas', 'simulate transaction', 'check tx status', 'track my transaction', 'get gas price', 'gas limit', 'broadcast signed tx', or mentions broadcasting transactions, sending transactions on-chain, gas estimation, transaction simulation, tracking broadcast orders, or checking transaction status. Covers gas price, gas limit estimation, transaction simulation, transaction broadcasting, and order tracking across XLayer, Solana, Ethereum, Base, BSC, Arbitrum, Polygon, and 20+ other chains. Do NOT use for swap quote or execution - use okx-dex-swap instead. Do NOT use for general programming questions about transaction handling.