Chainlink Developer Agent Skills
This guide is for developers seeking to leverage AI skills while integrating Chainlink products. It covers the public skill bundle in smartcontractkit/chainlink-agent-skills: what it is, how to install it, what each skill helps with, and how to prompt your agent effectively.
What this repository is
Chainlink Agent Skills are AI tools for building with Chainlink. Each skill teaches a compatible assistant how to help you with a specific product area (for example, Data Feeds or CCIP): suggested steps, guardrails, and references so you spend less time hunting docs and more time shipping.
Requirements
- A coding environment where your AI assistant supports Agent Skills.
- Node.js with
npxavailable, for the install command below.
How to install the skills
Installation uses Vercel’s CLI for the open skills ecosystem.
Install skills (recommended default)
From your project directory, run:
npx skills add smartcontractkit/chainlink-agent-skills
Running this command starts an interactive installer where you choose project-level or global installation. Pick project-level if you want the skills stored with the repository so collaborators get the same set from version control.
Install globally (optional)
To install skills for your user account across projects, add the -g flag:
npx skills add smartcontractkit/chainlink-agent-skills -g
Install a single skill globally (optional)
If you only want one package from the bundle at user level, use --skill with the skill folder name:
npx skills add smartcontractkit/chainlink-agent-skills --skill chainlink-cre-skill -g
npx skills add smartcontractkit/chainlink-agent-skills --skill chainlink-ccip-skill -g
npx skills add smartcontractkit/chainlink-agent-skills --skill chainlink-data-feeds-skill -g
npx skills add smartcontractkit/chainlink-agent-skills --skill chainlink-data-streams-skill -g
npx skills add smartcontractkit/chainlink-agent-skills --skill chainlink-ace-skill -g
npx skills add smartcontractkit/chainlink-agent-skills --skill chainlink-vrf-skill -g
After installation, restart or refresh your assistant session if your tool requires it so newly added skills are picked up.
How to use the skills day to day
Compatible assistants can activate skills automatically when your task matches their descriptions. For predictable results, mention the skill explicitly in your message, using the slash form your tool expects (often /chainlink-data-feeds-skill, /chainlink-ccip-skill, and so on). Match the name field in each skill’s SKILL.md.
Keep prompts concrete: target chain, framework (Foundry, Hardhat, and so on), what you want built or changed, and any constraints (validation, tests, security expectations). The skills steer answers toward current integration practices and safer defaults; you remain responsible for reviews, keys, and anything executed onchain.
CRE Skill
This skill covers the Chainlink Runtime Environment (CRE). It can:
- Install and use the CRE CLI.
- Create new CRE projects in Go or TypeScript.
- Build workflows with CRON, HTTP, or EVM log triggers, including multi-handler projects with more than one entry point.
- Use EVM read and write, HTTP, and confidential HTTP capabilities.
- Develop smart contracts that receive and verify CRE reports.
- Simulate workflows before deployment and write unit tests.
- Deploy workflows and set up monitoring.
Example prompt
Using /chainlink-cre-skill, build a delivery-versus-payment settlement system that:
- locks tokenized treasuries (seller) and initiates fiat payment from buyer's bank account in escrow
- verifies off-chain bank transfer completion by checking:
- payment confirmed in seller's bank account,
- amount matches agreed price (for example $401,292 for 628 tokens)
- executes atomic settlement (releases tokenized treasuries to buyer) only when bank payment is verified
- reverts entire transaction if payment verification fails or times out (24-hour window)
- emits settlement events with bank transaction references
Deploy on Ethereum Sepolia and use mock API for testing phase. I'll provide bank API credentials for payment verification later.
Any questions before you start?
CCIP Skill
This skill covers Cross-Chain Interoperability Protocol (CCIP): cross-chain messages and tokens, message status, routes, and contracts. It can:
- Send messages, token transfers, and programmable token transfers on testnets only; quote fees before sending when needed.
- Look up message status by message ID or source transaction; interpret lifecycle states; diagnose delayed or failed messages.
- Check whether a route is supported, lane latency, networks, and tokens for a given path.
- Develop TypeScript code for interacting with CCIP using the CCIP SDK
- Scaffold CCIP contracts in Foundry or Hardhat/npm; run local or forked tests with Chainlink Local where it applies.
- Run Cross-Chain Token (CCT) setup: pool registration, rate limits, and adding networks on CCIP-supported chains.
Example prompt
Using the /chainlink-ccip-skill, build a cross-chain liquid staking project:
- is a Foundry project
- Users deposit a token on the source chain and get a liquid staking token on the destination chain
- Avalanche Fuji is the source chain where the user’s deposit tokens
- Base Sepolia is the destination chain where they get a liquid staking token
- Users can return the liquid staking token to receive their funds back on the original source chain
- Verifies all cross chain transfers
- Reverts if any issues arise
- Emits events for all token moves
- if Fuji and Base Sepolia cannot support this, say so
Questions or tradeoffs I should know about?
Data Feeds Skill
This skill covers Data Feeds: onchain and offchain reads, feed selection, and common production checks. It can:
- Generate EVM consumers that use
AggregatorV3Interface, checkupdatedAtfor freshness, and read decimals from the feed instead of hardcoding them. - Add L2 sequencer uptime checks when the chain uses a sequencer; query historical rounds; resolve feed addresses by network.
- Read feeds offchain with ethers.js, web3.js, viem, or Python web3.
- Integrate multi-variable and bundle feeds; follow SVR/OEV-related notes; map a stated product need to price, SmartData, rate, volatility, equity-style, or related feed families.
- Build or adjust readers on Solana, Aptos, StarkNet, and Tron using the chain-specific patterns in the skill.
Example prompt
Using the /chainlink-data-feeds-skill, develop a Solidity contract that:
- reads the ETH/USD Chainlink price feed on Ethereum mainnet
- is structured as a Foundry project
- handles required package installation and project setup
- includes proper validation
- follows security best practices
Any questions before you start?
Data Streams Skill
This skill covers Data Streams: report access, schema versions, REST and WebSocket clients, onchain verification, and typical app layouts on top of streamed reports. It can:
- Describe report schema versions: covered fields, differences between versions, and which are current or deprecated.
- Fetch reports with the Go, Rust, or TypeScript SDK over the REST API (latest, by UNIX timestamp, bulk, paginated history) for your feed IDs.
- Subscribe to Websockets for streams, with or without high availability mode, and receive and decode price reports
- Implement onchain verification on EVM, Solana, or Stellar; use Chainlink Local for mock verification tests where applicable.
- Query historical Data Streams price reports at a certain UNIX timestamp.
- Develop frontend applications that consume and display Data Streams data in real time
- Fetch price reports over the REST API to make a candlestick chart or display
Example prompt
Using /chainlink-data-streams-skill build a Bitcoin price monitoring dashboard that:
- streams BTC/USD prices in real-time (<1s updates) from Chainlink Data Streams
- displays current price with color-coded change indicator (green up, red down)
- shows a live-updating line chart of recent price movement
- is mobile-responsive
- has a clean, minimal design, professional aesthetic
- includes smooth animations for price changes, no jarring jumps
Use testnet data, I will provide Data Streams credentials later via .env file
Questions or tradeoffs I should know about?
ACE Skill
This skill helps developers design, build, and audit policy-gated smart contracts using the open-source Chainlink ACE core contracts (smartcontractkit/chainlink-ace, BUSL-1.1, Foundry). It is grounded in the on-chain PolicyEngine, PolicyProtected, the policy and extractor libraries, and the Cross-Chain Identity registries. It can:
- Design a policy chain for a function — pick the right pre-built policies order them safely, and reason about the
defaultAllowsetting and theContinue/Allowed/PolicyRejectedsemantics. - Write custom policies, extractors, and mappers — scaffold a new
Policy, or a newIExtractor/IMapperso the engine can decode and feed the right parameters to your policy. - Wire Cross-Chain Identity and reason about CCID correlation and PII tradeoffs.
- Bind policies to real-world data — wire
SecureMintPolicyto a Chainlink Proof-of-Reserves feed (with margin mode and staleness window) so a token's mint can never exceed backing. - Build a compliant token end-to-end
- Add ACE to an already-deployed contract
- Write Foundry tests for compliance flows — unit tests for individual policies, integration tests for policy chains and ordering, and fork tests that exercise registry/issuer interactions.
- Diagram a deployment — produce Mermaid sequence and architecture diagrams of the policy chain, identity flow, and credential lifecycle.
- Map your goal back to ACE primitives — given a compliance requirement , translate it into a concrete combination of pre-built and custom policies, extractors, and registry wiring.
Example prompt
Using /chainlink-ace-skill, build a regulated stablecoin with permissioned minting and sanctions enforcement that:
- restricts minting to treasury address + KYB-verified wholesale clients only
- enforces reserve backing via Chainlink Proof-of-Reserve feed (0.5% margin, 24hr staleness limit)
- blocks transfers to sanctioned addresses via denylist (permissionless otherwise)
- includes freeze/unfreeze/force-transfer controls for compliance officer role
- supports emergency pause by regulator (separate from issuer control)
- is structured as a Foundry project with deployment scripts and proxies
Show policy chain ordering for each protected function (mint/transfer/freeze) and flag any sequence that would create a bypass. Include Mermaid sequence diagrams for mint and transfer flows through the policy chain. Deploy on Sepolia.
Questions or tradeoffs I should know about?
VRF Skill
This skill covers Verifiable Random Function (VRF) v2.5: subscription and direct-funding consumers, billing and network parameters, migration from V1/V2, and callback design. It can:
- Build VRF v2.5 consumer smart contracts
- Manage VRF subscriptions and consumers with direct funding method
- Help with the migration from VRF versions 1 and 2
- Develop unit tests using VRF mock contracts
- Calculate VRF costs before the testnet deployment
Example prompt
Using the /chainlink-vrf-skill, implement an on-chain lottery project that:
- selects 3 random winners from a list of participants
- has a colorful UI with the countdown timer until the draw
- uses Chainlink VRF for provably fair randomness on Polygon Amoy testnet
- handles VRF subscription management and LINK funding
- includes events for winner selection with verifiable randomness proof
Any questions before you start?
Using multiple skills
Name more than one skill in the same message (for example /chainlink-data-feeds-skill and /chainlink-ccip-skill) when your task spans products so both sets of guardrails apply in one answer. Each of these skills is designed not to assume it is the only capability available. When one step feeds the next, say so up front (here: read and encode the feed, then ship it over CCIP).
Example prompt
Using /chainlink-data-feeds-skill, /chainlink-cre-skill, and /chainlink-ccip-skill, build a tokenized fund project that:
- delivers data (NAV, yields and ESG attestations) securely on-chain
- mints fund tokens representing shares in a tokenized investment fund
- uses Chainlink Proof of Reserve by CRE for real-time verification of reserved assets
- can be traded and settled seamlessly across multiple public and private chains
- has a clean, modern UI dashboard
Create a development plan. Include steps for testing on testnets. Make sure README has instructions on how to run local CRE simulations and how to monitor status of cross-chain transfers using the CCIP CLI.
Any questions before you start?