← 返回 Skills 市场
ivangdavila

Chainlink

作者 Iván · GitHub ↗ · v1.0.0
linuxdarwinwin32 ✓ 安全检测通过
805
总下载
2
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install chainlink
功能描述
Assist with Chainlink LINK tokens, oracle integrations, staking, and price feed usage.
使用说明 (SKILL.md)

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
安全使用建议
This skill is an informational reference about Chainlink and appears coherent and low-risk. Before installing, consider: 1) provenance — the source/homepage is unknown, so prefer official docs (docs.chain.link) for critical actions; 2) this skill will not itself perform transactions or request keys, so never paste private keys or wallet secrets into the agent; 3) if you use an agent to actually interact with wallets/bridges, ensure any transaction actions require explicit user consent and use testnets first; and 4) verify contract addresses and bridge endpoints on official Chainlink documentation rather than relying solely on this skill.
功能分析
Type: OpenClaw Skill Name: chainlink Version: 1.0.0 The skill bundle contains standard metadata in `_meta.json` and a purely informational `SKILL.md` file. The markdown content describes Chainlink, its tokens, services, and common developer practices, without any executable code, shell commands, network calls, or instructions that could be interpreted as prompt injection against the AI agent. There is no evidence of malicious intent, data exfiltration, persistence mechanisms, or obfuscation.
能力评估
Purpose & Capability
The name/description (Chainlink, LINK tokens, oracles, staking, price feeds) match the SKILL.md content — all sections are relevant developer guidance. No unrelated binaries, env vars, or install steps are requested.
Instruction Scope
SKILL.md provides best-practice guidance and API/contract usage notes only. It does not instruct the agent to read local files, environment variables, or send data to external endpoints, nor does it include open-ended instructions to gather arbitrary context.
Install Mechanism
No install spec or code files are present; this is instruction-only, so nothing is written to disk or installed by the skill itself.
Credentials
The skill declares no required environment variables, credentials, or config paths. The guidance refers to verifying addresses on official docs (docs.chain.link) but does not request secrets or tokens.
Persistence & Privilege
always is false and the skill does not request persistent system privileges or modify other skills. It is user-invocable and can be called autonomously by the agent platform (normal), but the skill itself does not ask for elevated access.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install chainlink
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /chainlink 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release
元数据
Slug chainlink
版本 1.0.0
许可证
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Chainlink 是什么?

Assist with Chainlink LINK tokens, oracle integrations, staking, and price feed usage. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 805 次。

如何安装 Chainlink?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install chainlink」即可一键安装,无需额外配置。

Chainlink 是免费的吗?

是的,Chainlink 完全免费(开源免费),可自由下载、安装和使用。

Chainlink 支持哪些平台?

Chainlink 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(linux, darwin, win32)。

谁开发了 Chainlink?

由 Iván(@ivangdavila)开发并维护,当前版本 v1.0.0。

💬 留言讨论