Agent skill

Lifi

by sendaifun in sendaifun/skills

Integrate LI.FI for cross-chain swaps, bridging, payments, route discovery, and transfer status tracking across Solana, EVM, Bitcoin, and Sui.

Apache-2.0Auto-check passedBackend & APIs

Install Lifi

skills CLI
$ npx skills add sendaifun/skills --skill lifi -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install sendaifun/skills lifi --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/sendaifun/skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/lifi .claude/skills/lifi && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
lifi
GitHub stars
130
Token cost
~4.6k tokens
SKILL.md length
1,740 words
Files
1
Skills in repo
24
Repo updated
First seen
Licence
Apache-2.0

At a glance

Integrate LI.FI for cross-chain swaps, bridging, payments, route discovery, and transfer status tracking across Solana, EVM, Bitcoin, and Sui.

  • Works in 6 steps: Clarify the transfer intent → Discover support instead of hardcoding → Choose quote vs routes → …
  • Building Solana applications
  • SKILL.md covers Overview, Product Surface Selection, Base URLs and Authentication and Integration Workflow, plus 7 more sections
  • Calls curl and npm; reaches docs.li.fi and li.quest; needs PRIVATE_KEY and BRIDGE_KEY

What it does

Lifi is an agent skill from sendaifun/skills. Integrate LI.FI for cross-chain swaps, bridging, payments, route discovery, and transfer status tracking across Solana, EVM, Bitcoin, and Sui. Use when building Solana applications or AI agents that need quotes, routes, executable transactions, supported chains/tokens/tools, or cross-chain transfer monitoring.

Its SKILL.md is about 4.6k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Backend & APIs, covering Project management and Smart contracts. It works with Solana, Bitcoin and Model Context Protocol. The repository describes itself as: a public marketplace of all solana-related skills for agents to learn from! The licence is Apache-2.0.

When your agent uses it

  • Building Solana applications
  • AI agents that need quotes
  • Executable transactions
  • Supported chains/tokens/tools

Example prompts

  • “/lifi”

Requirements

  • Node.js
  • A credential in YOUR_API_KEY
  • A credential in BRIDGE_KEY

Workflow steps

6 steps, taken from the first numbered list in SKILL.md.

  1. Clarify the transfer intent
  2. Discover support instead of hardcoding
  3. Choose quote vs routes
  4. Show the user what they will sign
  5. Execute through the appropriate wallet path
  6. Track status after source-chain submission

What it can do on your machine

Read from SKILL.md and the folder at commit 06b36b8. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • curl
    • npm

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • docs.li.fi
    • li.quest
    • staging.li.quest

    Also links to:

    • portal.li.fi

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • PRIVATE_KEY
    • BRIDGE_KEY
    • LIFI_API_KEY

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Lifi loads about 4.6k tokens when it runs. Until then it costs about 79 tokens; SKILL.md has 1,740 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~79
When it runs · the whole SKILL.md, loaded when a task matches
~4.6k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from sendaifun/skills at commit 06b36b8, republished under its Apache-2.0 licence (© sendaifun). 1,740 words, ~4,575 tokens.

Download SKILL.mdSave it as .claude/skills/lifi/SKILL.md (or your agent's skills folder).
name
lifi
description
Integrate LI.FI for cross-chain swaps, bridging, payments, route discovery, and transfer status tracking across Solana, EVM, Bitcoin, and Sui. Use when building Solana applications or AI agents that need quotes, routes, executable transactions, supported chains/tokens/tools, or cross-chain transfer monitoring.
creator
LI.FI

LI.FI Cross-Chain Integration Guide

Use LI.FI when a Solana app, wallet, backend, or AI agent needs cross-chain token transfers, bridge aggregation, same-chain swaps, payment flows, or transfer status tracking. LI.FI exposes the same routing engine through REST API, SDK, MCP server, CLI, and Widget surfaces.

Overview

LI.FI is a multi-chain liquidity aggregation platform for swaps and bridging. For agent and backend integrations, the REST API is the lowest-dependency default. For frontend apps, prefer the SDK because it handles wallets, signing, execution tracking, and ecosystem-specific transaction handling. For MCP-compatible AI hosts, prefer the LI.FI MCP server for typed tool discovery.

Core capabilities:

  • Quotes: Get a ready-to-sign transaction for the best route.
  • Routes: Compare multiple route options and execute step-by-step.
  • Status tracking: Track source and destination chain transfer progress.
  • Discovery: Query supported chains, tokens, bridges, and exchanges at runtime.
  • Solana support: Request Solana-specific chain/token data via chainTypes=SVM and use SOL as the Solana chain key in API examples.

Product Surface Selection

Choose the smallest surface that matches the task:

  • REST API: Backend services, scripts, and general AI agents. Simple HTTP calls, no runtime dependency.
  • SDK (@lifi/sdk): Frontend or full execution flows. Handles wallet connectors, signing, route execution, and update hooks.
  • MCP Server: MCP-compatible AI hosts such as Claude, Cursor, or Windsurf. Use when typed tool discovery is available.
  • CLI: Token-efficient agent workflows where compact human-readable output is preferable to raw JSON.
  • Widget: Ready-made UI when the user wants embedded swap/bridge UX rather than custom integration.

Do not force every integration through the SDK. For quote lookup, route comparison, or status checks, the API is often simpler and easier to audit.

Base URLs and Authentication

text
Production API: https://li.quest/v1
Staging API:    https://staging.li.quest/v1
Docs:           https://docs.li.fi
OpenAPI:        https://docs.li.fi/openapi.yaml
LLM overview:   https://docs.li.fi/llms.txt

LI.FI APIs can be used without an API key. Use an API key for higher rate limits or authenticated partner usage. Register an integration in the LI.FI Partner Portal to get an API key: https://portal.li.fi/

For direct REST calls, pass the key in the x-lifi-api-key header:

bash
curl 'https://li.quest/v1/chains?chainTypes=EVM,SVM' \
  --header 'accept: application/json' \
  --header 'x-lifi-api-key: YOUR_API_KEY_IF_AVAILABLE'

Test a key server-side before using it in production:

bash
curl 'https://li.quest/v1/keys/test' \
  --header 'x-lifi-api-key: YOUR_API_KEY'

Never expose x-lifi-api-key in browser code, public repositories, or direct Widget configuration. If using the SDK from a backend or trusted runtime, pass the key through createConfig({ apiKey: '...' }); if using the Widget in a frontend, do not pass an API key.

Integration Workflow

  1. Clarify the transfer intent

    • Source chain, destination chain, source token, destination token.
    • Amount in the token's smallest unit.
    • Sender address and, when different, recipient address.
    • Whether the user wants a single best route or route comparison.
  2. Discover support instead of hardcoding

    • Use /chains to verify chains.
    • Use /tokens or /token to verify token addresses and decimals.
    • Use /tools to list current bridges and exchanges.
    • Do not assume every token, bridge, or chain pair is available.
  3. Choose quote vs routes

    • Use GET /quote for a simple transfer where the best executable route is enough.
    • Use POST /advanced/routes when comparing alternatives or when the user asks for route choice, cost, speed, tool allowlists, or multiple steps.
    • Use POST /advanced/stepTransaction to populate transaction data for individual route steps when executing advanced routes.
  4. Show the user what they will sign

    • Summarize from-chain, to-chain, from-token, to-token, amount, estimated output, tool/bridge, fees, recipient, and slippage.
    • Never ask a user to sign opaque transaction data without a human-readable summary.
  5. Execute through the appropriate wallet path

    • If using GET /quote, the response already includes transactionRequest; after allowance/permit handling, submit that transaction with the source-chain wallet.
    • If using POST /advanced/routes, first choose a route, then populate each step with POST /advanced/stepTransaction before execution.
    • EVM transaction requests usually include fields such as to, data, value, and gas fields.
    • Solana-originating transfers return Solana transaction data as base64 in transactionRequest.data; deserialize, sign, and send through the user's Solana wallet or SDK path.
    • Prefer SDK executeRoute for production multi-step execution because it manages allowance and balance checks, chain switching, transaction data retrieval, transaction submission, and status tracking.
    • Never mutate transactionRequest.data, calldata, recipient, refund, memo, or bridge-specific payloads after receiving them from LI.FI.
  6. Track status after source-chain submission

    • Poll /status every 10-30 seconds until terminal status.
    • Include fromChain, toChain, and bridge from the quote when available to speed up lookup.
    • Treat source-chain confirmation as only the start of a cross-chain transfer, not proof of final delivery.

Minimal Endpoint Set

Get a quote

Use for a single best route with transaction data included.

bash
curl --request GET \
  --url 'https://li.quest/v1/quote?fromChain=ARB&toChain=SOL&fromToken=0xaf88d065e77c8cC2239327C5EDb3A432268e5831&toToken=7vfCXTUXx5WJV5JADk17DUJ4ksgau7utNKj4b963voxs&fromAddress=YOUR_EVM_WALLET&toAddress=YOUR_SOL_WALLET&fromAmount=1000000000' \
  --header 'accept: application/json'

Required parameters:

  • fromChain: source chain ID or key.
  • toChain: destination chain ID or key.
  • fromToken: source token symbol or address.
  • toToken: destination token symbol or address.
  • fromAmount: amount in smallest unit.
  • fromAddress: sender wallet address.
  • toAddress: recipient wallet address when different from sender or when bridging across ecosystems.
Get multiple routes

Use when the user asks to compare routes or when the application needs route selection.

bash
curl --request POST \
  --url 'https://li.quest/v1/advanced/routes' \
  --header 'accept: application/json' \
  --header 'content-type: application/json' \
  --data '{
    "fromChainId": "ARB",
    "toChainId": "SOL",
    "fromTokenAddress": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
    "toTokenAddress": "7vfCXTUXx5WJV5JADk17DUJ4ksgau7utNKj4b963voxs",
    "fromAmount": "1000000000",
    "fromAddress": "YOUR_EVM_WALLET",
    "toAddress": "YOUR_SOL_WALLET"
  }'
Check transfer status
bash
curl --request GET \
  --url 'https://li.quest/v1/status?txHash=SOURCE_TX_HASH&fromChain=ARB&toChain=SOL&bridge=BRIDGE_KEY' \
  --header 'accept: application/json'

Status handling:

  • NOT_FOUND: Transaction may not be indexed or mined yet. Retry with fromChain and bridge if known.
  • PENDING: Continue polling.
  • DONE + COMPLETED: Successful final delivery.
  • DONE + PARTIAL: Successful but output token may differ while preserving value semantics.
  • DONE + REFUNDED: Transfer failed but funds were refunded.
  • FAILED: Stop polling and surface the error/substatus.
List supported chains
bash
curl --request GET \
  --url 'https://li.quest/v1/chains?chainTypes=EVM,SVM' \
  --header 'accept: application/json'

Solana-only:

bash
curl --request GET \
  --url 'https://li.quest/v1/chains?chainTypes=SVM' \
  --header 'accept: application/json'
List Solana tokens
bash
curl --request GET \
  --url 'https://li.quest/v1/tokens?chains=SOL&chainTypes=SVM' \
  --header 'accept: application/json'
List bridges and exchanges
bash
curl --request GET \
  --url 'https://li.quest/v1/tools' \
  --header 'accept: application/json'

Solana-Specific Guidance

Use this section whenever either side of the transfer is Solana.

  • Use chainTypes=SVM when querying Solana chain support.
  • Use SOL as the Solana chain key in API examples.
  • Always pass a Solana toAddress when bridging from an EVM chain to Solana; the sender's EVM address is not a valid Solana recipient.
  • For SOL -> EVM transfers, expect transactionRequest.data to contain base64-encoded Solana transaction data. This is not EVM calldata.
  • Use a Solana wallet adapter or the LI.FI SDK to deserialize, sign, and submit Solana transactions. Do not manually rebuild the transaction unless the docs for the exact flow require it.
  • Validate token decimals from /tokens or /token; do not assume EVM and Solana versions of a token share decimals or addresses.
  • If status is slow, pass the source transaction hash plus fromChain, toChain, and bridge/tool key from the quote.

Execution Patterns

Show full SKILL.md (751 more words)Show less
Direct API execution

Use direct API execution when you control the wallet/provider layer yourself. /quote returns executable transaction data immediately; /advanced/routes returns route choices and requires POST /advanced/stepTransaction for each selected step.

For EVM-originating quotes, a typical flow is:

  1. Check token allowance for quote.estimate.approvalAddress when the source token is not native.
  2. Submit an approval or use Permit/Permit2 if required by the selected flow.
  3. Send quote.transactionRequest through the EVM wallet.
  4. Poll /status with source transaction hash, quote.tool, source chain, and destination chain.

For Solana-originating quotes, do not treat transactionRequest.data as calldata. It is base64-encoded Solana transaction data; use the SDK or a Solana wallet-adapter/web3.js path to deserialize, sign, and submit it.

SDK execution

Prefer the SDK when building a frontend or when the agent needs full route execution rather than only quote/status lookup. The SDK exports createConfig, getQuote, getRoutes, executeRoute, EVM, Solana, and KeypairWalletAdapter from @lifi/sdk as of @lifi/sdk@3.16.3.

bash
npm install @lifi/sdk

Quote-only lookup:

typescript
import { createConfig, getQuote } from '@lifi/sdk'

createConfig({
  integrator: 'YourAppName',
  // Backend/trusted runtime only. Do not expose this in browsers.
  apiKey: process.env.LIFI_API_KEY,
})

const quote = await getQuote({
  fromChain: 'ARB',
  toChain: 'SOL',
  fromToken: '0xaf88d065e77c8cC2239327C5EDb3A432268e5831',
  toToken: '7vfCXTUXx5WJV5JADk17DUJ4ksgau7utNKj4b963voxs',
  fromAmount: '1000000000',
  fromAddress: 'YOUR_EVM_WALLET',
  toAddress: 'YOUR_SOL_WALLET',
})

console.log(quote.estimate.toAmount, quote.tool, quote.transactionRequest)

Route execution with SDK:

typescript
import { createConfig, EVM, executeRoute, getRoutes } from '@lifi/sdk'
import type { Chain } from 'viem'
import { createWalletClient, http } from 'viem'
import { privateKeyToAccount } from 'viem/accounts'
import { arbitrum, mainnet, optimism } from 'viem/chains'

const privateKey = process.env.PRIVATE_KEY as `0x${string}` // backend/testing only
const account = privateKeyToAccount(privateKey)
const chains = [arbitrum, mainnet, optimism]

const client = createWalletClient({
  account,
  chain: arbitrum,
  transport: http(),
})

createConfig({
  integrator: 'YourAppName',
  providers: [
    EVM({
      getWalletClient: async () => client,
      switchChain: async (chainId) =>
        createWalletClient({
          account,
          chain: chains.find((chain) => chain.id === chainId) as Chain,
          transport: http(),
        }),
    }),
  ],
})

const result = await getRoutes({
  fromChainId: 42161,
  toChainId: 10,
  fromTokenAddress: '0xaf88d065e77c8cC2239327C5EDb3A432268e5831',
  toTokenAddress: '0xDA10009cBd5D07dd0CeCc66161FC93D7c9000da1',
  fromAmount: '10000000',
  fromAddress: 'YOUR_EVM_WALLET',
})

const executedRoute = await executeRoute(result.routes[0], {
  updateRouteHook(route) {
    console.log(route)
  },
  async acceptExchangeRateUpdateHook() {
    // In a UI, ask the user before accepting.
    return false
  },
})

console.log(executedRoute)

Solana provider setup:

typescript
import { createConfig, KeypairWalletAdapter, Solana } from '@lifi/sdk'

const walletAdapter = new KeypairWalletAdapter('PRIVATE_KEY') // backend/testing only

createConfig({
  integrator: 'YourAppName',
  providers: [
    Solana({
      getWalletAdapter: async () => walletAdapter,
    }),
  ],
})

For user-facing Solana apps, use @solana/wallet-adapter-react and set Solana({ getWalletAdapter }) from the connected wallet adapter at runtime. Do not embed private keys in frontend code.

Error Handling

Handle both HTTP status codes and LI.FI API error codes.

Common API error codes:

  • 1002 NoQuoteError: No quote was found. Try another token, amount, destination, or route constraint.
  • 1005 RateLimitError: Back off and retry; use API key for higher limits if available.
  • 1007 SlippageError: Ask the user before increasing slippage.
  • 1008 ThirdPartyError: A bridge/exchange/tool failed. Retry later or request alternative routes.
  • 1009 TimeoutError: Retry with backoff or use route comparison to find another tool.
  • 1011 ValidationError: Check chain IDs, token addresses, amount units, and address format.
  • 1012 RpcFailure: Retry later or configure a more reliable RPC through the SDK when applicable.

Common tool error codes:

  • NO_POSSIBLE_ROUTE: No supported path for the requested action.
  • INSUFFICIENT_LIQUIDITY: Reduce amount or choose another token/path.
  • TOOL_TIMEOUT: Retry or exclude the timing-out tool if the API request supports tool constraints.
  • AMOUNT_TOO_LOW / AMOUNT_TOO_HIGH: Adjust amount.
  • FEES_HIGHER_THAN_AMOUNT: Amount is uneconomic; increase transfer size or choose another route.
  • DIFFERENT_RECIPIENT_NOT_SUPPORTED: Use the same sender/recipient where required or choose another tool.
  • CANNOT_GUARANTEE_MIN_AMOUNT: Explain the risk and ask the user before proceeding.

Guidelines

  • DO query live chains, tokens, and tools before giving integration advice.
  • DO use /quote for simple execution and /advanced/routes for comparison.
  • DO show estimated output, fees, bridge/exchange tool, recipient, and slippage before signing.
  • DO poll /status for cross-chain transfers until a terminal state.
  • DO preserve LI.FI transaction data exactly as returned.
  • DO register in the LI.FI Partner Portal for API keys when higher rate limits are needed, and keep keys server-side.
  • DO NOT hardcode stale bridge lists, token lists, or chain support.
  • DO NOT treat source-chain confirmation as final cross-chain completion.
  • DO NOT increase slippage, change recipients, or alter transaction data without explicit user consent.
  • DO NOT store or request private keys. Use wallet signing flows.
  • DO NOT present the Widget as the only integration path when the API or SDK fits better.

Common Errors

Error: No route found

Cause: Unsupported chain/token pair, insufficient liquidity, amount too small or too large, or restrictive route options.

Solution: Verify /chains, /tokens, and /tools; try canonical token addresses; adjust amount; request /advanced/routes for alternatives.

Error: Solana transaction data treated like EVM calldata

Cause: A SOL-originating quote returns base64 Solana transaction data in transactionRequest.data, not an EVM to/data/value call.

Solution: Use a Solana wallet/SDK path to deserialize, sign, and submit the transaction. Do not send it through an EVM provider.

Error: Status endpoint returns NOT_FOUND

Cause: Transaction not indexed yet, wrong source transaction hash, missing fromChain, or wrong bridge/tool filter.

Solution: Retry with backoff and pass fromChain, toChain, and bridge from the quote. Confirm the hash is the source-chain transaction hash.

Error: Wrong amount due to decimals

Cause: The amount was not converted into the source token's smallest unit, or token decimals were assumed incorrectly across ecosystems.

Solution: Fetch token metadata from /tokens or /token and convert amounts before requesting a quote.

Error: Different recipient unsupported

Cause: Some tools do not support sending to a recipient different from the sender.

Solution: Request another route/tool or use the same recipient when acceptable to the user.

References

© sendaifun, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/lifi of sendaifun/skills.

Open the folder on GitHubat commit 06b36b8

Compare with similar skills

Lifi next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Lifi compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Lifi this skillsendaifun/skills130—~4.6kAutomated safety check: PassApache-2.0
Finance District MCPaeonfun/aeon770—~1.1kAutomated safety check: PassMIT
Payram Crypto PaymentsPayRam/payram-mcp158—~2kAutomated safety check: NotesNone
Agent Payment X402affaan-m/ECC276k—~4.9kAutomated safety check: PassMIT
Agent Payment X402affaan-m/ECC276k—~5.4kAutomated safety check: PassMIT
AgentwalletapiLeoYeAI/openclaw-master-skills2.2k—~6.5kAutomated safety check: NotesProprietary

Similar skills

  • Multichain non-custodial agent wallet via Finance District - check balances, prices, and best DeFi yields, move funds, swap, and make x402 paid API calls across EVM, Solana, Bitcoin, and Sui.

    770 GitHub stars~1.1k tokensUpdated yesterday
    Backend & APIsAuto-check passed
  • Payram Crypto Payments

    PayRam/payram-mcp

    Self-hosted crypto and stablecoin payment gateway. An agent skill from PayRam/payram-mcp.

    158 GitHub stars~2k tokensUpdated 3 days ago
    Backend & APIsAuto-check: notes
  • Agent Payment X402

    affaan-m/ECC

    将 x402 支付执行添加到 AI 代理中,具备每任务预算、支出控制和非托管钱包。通过 agentwallet-sdk 支持 Base,通过 OKX Payments / OKX 代理支付协议支持 X Layer,并通过上游 x402 包与基于结算器的结算支持 Solana 及多网络 EVM。

    276k GitHub stars~4.9k tokensUpdated yesterday
    Backend & APIsAuto-check passed
  • Agent Payment X402

    affaan-m/ECC

    タスクごとのバジェット、支出コントロール、ノンカストディアルウォレットを備えた x402 決済実行を AI エージェントに追加します。agentwallet-sdk を通じて Base を、OKX Payments / OKX エージェント決済プロトコルを通じて X Layer を、アップストリームの x402 パッケージとファシリテーターベースの決済を通じて Solana…

    276k GitHub stars~5.4k tokensUpdated yesterday
    Backend & APIsAuto-check passed
  • Agentwalletapi

    LeoYeAI/openclaw-master-skills

    OpenclawCash crypto wallet API for AI agents (also called openclawcash).

    2.2k GitHub stars~6.5k tokensUpdated 2 mo ago
    Backend & APIsAuto-check: notes
  • Okx Dex Trenches

    nirholas/three.ws

    Read-only on-chain research for pump.fun and other meme-token launchpads (Solana / BSC / X Layer / TRON).

    229 GitHub stars~2.6k tokensUpdated yesterday
    Backend & APIsAuto-check passed

More from sendaifun/skills

All 24 skills in this repo
  • Breaks a shared video or GIF down frame by frame to recreate its motion as working code instead of guessing the timing by eye.

    130 GitHub stars~2.1k tokensUpdated 2 mo ago
    Auto-check passed
  • Builds and debugs Arcium encrypted computation apps on Solana: Arcis circuits, Anchor orchestration, encrypted inputs and the init, queue and callback flow.

    130 GitHub stars~2.8k tokensUpdated 2 mo ago
    Auto-check passed
  • Coingecko

    sendaifun/skills

    Complete CoinGecko Solana API integration for token prices, DEX pool data, OHLCV charts, trades, and market analytics.

    130 GitHub starsUsed in 1 repo~4.8k tokens
    Auto-check: notes
  • Phantom Connect SDK

    sendaifun/skills

    Integrates Phantom wallet connection, social login, and transaction signing into React, React Native, or vanilla JS apps on Solana.

    130 GitHub stars~1.3k tokensUpdated 2 mo ago
    Auto-check passed
  • Integrating Jupiter

    sendaifun/skills

    Comprehensive guidance for integrating Jupiter APIs (Ultra Swap, Lend, Perps, Trigger, Recurring, Tokens, Price, Portfolio, Prediction Markets, Send, Studio, Lock, Routing).

    130 GitHub starsUsed in 1 repo~5.1k tokens
    Auto-check passed
  • Pinocchio Development

    sendaifun/skills

    Comprehensive guide for building high-performance Solana programs using Pinocchio - the zero-dependency, zero-copy framework.

    130 GitHub starsUsed in 1 repo~4.1k tokens
    Auto-check passed

Questions about Lifi

What does Lifi do?

Integrate LI.FI for cross-chain swaps, bridging, payments, route discovery, and transfer status tracking across Solana, EVM, Bitcoin, and Sui. Lifi is an agent skill from sendaifun/skills.FI for cross-chain swaps, bridging, payments, route discovery, and transfer status tracking across Solana, EVM, Bitcoin, and Sui.

When should I use Lifi?

Lifi fits situations like: building Solana applications; AI agents that need quotes; executable transactions; supported chains/tokens/tools.

How do I install Lifi in Claude Code?

Run `npx skills add sendaifun/skills --skill lifi -a claude-code`. Or copy the skill folder (skills/lifi in sendaifun/skills) into .claude/skills/lifi in your project. Claude Code loads it when a task matches its description.

How do I install Lifi in Codex?

Run `npx skills add sendaifun/skills --skill lifi -a codex`. Or copy the skill folder (skills/lifi in sendaifun/skills) into .agents/skills/lifi in your project. Codex loads it when a task matches its description.

Can I use Lifi in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add sendaifun/skills --skill lifi -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/lifi, .gemini/skills/lifi, .github/skills/lifi and .opencode/skills/lifi in your project.

What does Lifi need to run?

Going by SKILL.md and its folder, Lifi needs the command-line tools its instructions call (curl and npm) and credentials named PRIVATE_KEY, BRIDGE_KEY and LIFI_API_KEY. Our summary lists: Node.js; A credential in YOUR_API_KEY; A credential in BRIDGE_KEY.

Does Lifi access the network?

SKILL.md names 4 domains. In commands or code: docs.li.fi, li.quest and staging.li.quest; the agent is likely to contact these when it follows the instructions. As links in the text: portal.li.fi. This is read from the text; nothing was executed.

Is Lifi safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Lifi use?

Lifi is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Lifi use?

About 4.6k tokens (SKILL.md is roughly 18k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Lifi?

Skills that share tags, products or a category with Lifi: Finance District MCP (aeonfun/aeon, 770 stars), Payram Crypto Payments (PayRam/payram-mcp, 158 stars), Agent Payment X402 (affaan-m/ECC, 276k stars) and Agent Payment X402 (affaan-m/ECC, 276k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Lifi?

sendaifun (a GitHub organization) maintains it in sendaifun/skills, which has 130 GitHub stars. The repository holds 24 skills in this directory. The repository was last updated on July 31, 2026.

Source: sendaifun/skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.