|
| 1 | +--- |
| 2 | +slug: flare-ai-skills |
| 3 | +title: Flare AI Skills |
| 4 | +sidebar_label: Flare AI Skills |
| 5 | +description: Use Flare AI Skills in Cursor, Claude Code, and other agents for domain knowledge on FTSO, FAssets, FDC, and Smart Accounts. |
| 6 | +keywords: |
| 7 | + [flare-ai-skills, cursor, claude, skills, agent, ftso, fassets, fdc, smart-accounts] |
| 8 | +sidebar_position: 10 |
| 9 | +--- |
| 10 | + |
| 11 | +import CopyButton from "@site/src/components/CopyButton"; |
| 12 | + |
| 13 | +[Flare AI Skills](https://github.com/flare-foundation/flare-ai-skills) is a collection of Agent Skills for Cursor, Claude Code, Codex and other [skills.sh](https://skills.sh/) compatible agents. |
| 14 | +The skills give your AI assistant structured domain knowledge about Flare. |
| 15 | +That includes [Flare Time Series Oracle](/ftso/overview), [FAssets](/fassets/overview), [Flare Data Connector](/fdc/overview), and [Smart Accounts](/smart-accounts/overview). |
| 16 | +You get accurate, context-aware help when building on Flare. |
| 17 | + |
| 18 | +## Available skills |
| 19 | + |
| 20 | +| Skill | Description | |
| 21 | +|-------|-------------| |
| 22 | +| **flare-general** | Flare overview, networks, chain IDs, RPC endpoints, explorers, faucets, and developer tooling | |
| 23 | +| **flare-ftso** | [FTSO](/ftso/overview) price feeds, feed IDs, on-chain/off-chain consumption, fee calculation, delegation, and scaling anchor feeds | |
| 24 | +| **flare-fassets** | [FAssets](/fassets/overview) overview, minting, redemption, agents, collateral, and smart contract integration | |
| 25 | +| **flare-fdc** | [Flare Data Connector](/fdc/overview) overview, attestation types, request flow, Merkle proofs and Data Availability Layer (DAL) verification | |
| 26 | +| **flare-smart-accounts** | [Smart Accounts](/smart-accounts/overview) overview, account abstraction for XRPL users to interact with Flare without owning FLR | |
| 27 | + |
| 28 | +You can install one or more skills depending on what you are building on Flare. |
| 29 | + |
| 30 | +## Installation |
| 31 | + |
| 32 | +You can install the skills using the [skills.sh](https://skills.sh/) CLI, which is recommended for general use or in Claude Code. |
| 33 | + |
| 34 | +### Using skills.sh |
| 35 | + |
| 36 | +This is the recommended way to install the skills using the [skills.sh](https://skills.sh/) CLI. |
| 37 | +Many AI agents support `skills.sh`, including Cursor, Claude Code, Codex, and more. |
| 38 | + |
| 39 | +From your project or any directory, run the following command to install the skills: |
| 40 | + |
| 41 | +```bash |
| 42 | +npx skills add https://github.com/flare-foundation/flare-ai-skills |
| 43 | +``` |
| 44 | + |
| 45 | +It will ask you to select the skills you want to install. |
| 46 | + |
| 47 | +Read more about `skills.sh` in the [skills.sh documentation](https://skills.sh/docs). |
| 48 | + |
| 49 | +### Claude Code |
| 50 | + |
| 51 | +To install the skills in Claude Code, add the marketplace and install the skills you need. |
| 52 | + |
| 53 | +1. Add the marketplace: |
| 54 | + |
| 55 | + ```bash |
| 56 | + /plugin marketplace add flare-foundation/flare-ai-skills |
| 57 | + ``` |
| 58 | + |
| 59 | +2. Select skills you need and install them. |
| 60 | + |
| 61 | + ```bash |
| 62 | + /plugin install flare-general@flare-ai-skills |
| 63 | + /plugin install flare-ftso@flare-ai-skills |
| 64 | + /plugin install flare-fassets@flare-ai-skills |
| 65 | + /plugin install flare-fdc@flare-ai-skills |
| 66 | + /plugin install flare-smart-accounts@flare-ai-skills |
| 67 | + ``` |
| 68 | + |
| 69 | +3. Run this command to manage plugins in Claude Code: |
| 70 | + |
| 71 | + ```bash |
| 72 | + /plugin |
| 73 | + ``` |
| 74 | + |
| 75 | +Read more about [plugins in Claude Code](https://code.claude.com/docs/en/skills). |
| 76 | + |
| 77 | + |
| 78 | +## Updating skills |
| 79 | + |
| 80 | +To update all installed skills (when using `skills.sh`): |
| 81 | + |
| 82 | +```bash |
| 83 | +npx skills update |
| 84 | +``` |
| 85 | + |
| 86 | +To update a single skill, reinstall it: |
| 87 | + |
| 88 | +```bash |
| 89 | +npx skills add https://github.com/flare-foundation/flare-ai-skills --skill flare-ftso |
| 90 | +``` |
| 91 | + |
| 92 | +## Using the skills |
| 93 | + |
| 94 | +After installation, use your AI agent as usual and refer to the skill when needed. |
| 95 | + |
| 96 | +Example prompts (click the copy button to copy the full prompt): |
| 97 | + |
| 98 | +- `Use the flare-general skill and explain how to set up a Hardhat project for Flare development` <CopyButton textToCopy="Use the flare-general skill and explain how to set up a Hardhat project for Flare development" /> |
| 99 | +- `Use the flare-ftso skill and show how to consume FTSO price feeds in a Solidity contract.` <CopyButton textToCopy="Use the flare-ftso skill and show how to consume FTSO price feeds in a Solidity contract" /> |
| 100 | +- `Use the flare-fassets skill and explain how to mint FXRP step by step` <CopyButton textToCopy="Use the flare-fassets skill and explain how to mint FXRP step by step" /> |
| 101 | +- `Use the flare-fdc skill and show how to request an EVMTransaction attestation and verify it in a contract` <CopyButton textToCopy="Use the flare-fdc skill and show how to request an EVMTransaction attestation and verify it in a contract" /> |
| 102 | +- `Use the flare-smart-accounts skill and show how to deposit to a vault` <CopyButton textToCopy="Use the flare-smart-accounts skill and show how to deposit to a vault" /> |
| 103 | + |
| 104 | +The agent will use the workflow and concepts from the Flare AI Skills `SKILL.md`. |
| 105 | +It can reference Flare Developer Hub links from the reference files. |
| 106 | + |
| 107 | +:::tip[What's next] |
| 108 | + |
| 109 | +[Deploy your first contract](/network/getting-started) to get started on Flare. |
| 110 | +Or explore [Developer tools](/network/developer-tools) for RPCs, wallet SDKs, bridges, indexers, and more. |
| 111 | + |
| 112 | +::: |
0 commit comments