Agent skill · Backend & API

lifi

LI.FI REST API for cross-chain and same-chain token swaps, bridging, DeFi deposits (Composer), yield discovery (Earn), and intent-based execution (Intents). USE THIS SKILL WHEN USER WANTS TO: - Swap tokens between different blockchains (e.g., "swap USDC on Ethereum to ETH on Arbitrum") - Bridge tokens to another chain (e.g., "move my ETH from mainnet to Optimism") - Swap tokens on the same chain with best rates (e.g., "swap ETH to USDC on Polygon") - Find the best route or quote for a token swap across chains - Deposit into DeFi vaults/lending/staking in one click, including cross-chain (Compo

Internet Court1,389★ · +222/wk · 1 repos on radarProfile →
claude-codecodexNOASSERTION
Install
npx skills add internet-court/internet-court-skill --skill lifi --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 3
SKILL.md size: 20 KB
Bundled scripts: none
Path: vendored/lifi/lifi/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 1,536 · +147 this week
Language: TypeScript
Read our review of the source →

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# LI.FI API Integration LI.FI aggregates bridges, DEXs, intent solvers, and DeFi protocols behind one API. This skill covers the full product surface: | Product | Base URL | What it does | |---------|----------|--------------| | **Core API** (swaps & bridges) | `https://li.quest/v1` | Quotes, routes, execution data, status tracking across 75+ chains | | **Composer** (DeFi execution) | `https://li.quest/v1` (same `/quote` endpoint) | One-click swap/bridge + deposit/withdraw into vaults, lending, staking | | **Earn** (yield data) | `https://earn.li.fi/v1` | Vault discovery, APY/TVL analytics, portfolio positions | | **Intents** (solver marketplace) | `https://order.li.fi` | Intent-based orders filled by a competitive solver network | For AI agents, LI.FI also offers an MCP server (`https://mcp.li.quest/mcp`) and a CLI (`@lifi/cli`). LI.FI recommends agents and backends use the REST API directly rather than the SDK. ## Authentication & Rate Limits API key is **optional** — it only raises rate limits. Header: `x-lifi-api-key` (get one at the [LI.FI Partner Portal](https://portal.li.fi/)). ```bash curl "https://li.quest/v1/chains" -H "x-lifi-api-key: YOUR_API_KEY" ``` | Tier | `/quote`,

What's inside
Steps it walks through
  1. Authentication & Rate Limits
  2. Quick Start — The Five-Call Recipe
  3. Core Endpoints
  4. GET /quote
  5. POST /advanced/routes + POST /advanced/stepTransaction
  6. GET /status
  7. Discovery & utility
  8. Routing Presets
  9. Composer — One-Click DeFi Deposits & Withdrawals
  10. Earn — Yield Discovery & Portfolio Data
  11. LI.FI Intents — Solver Marketplace
  12. Token Approvals
  13. Status Tracking & Recovery
  14. Error Handling
Ships with 2 files
  • LICENSE
  • references/REFERENCE.md
Commands it runs
curl "https://li.quest/v1/chains" -H "x-lifi-api-key: YOUR_API_KEY"
curl "https://li.quest/v1/quote?\
curl "https://li.quest/v1/status?txHash=0xYourTxHash&fromChain=42161&toChain=10&bridge=across"
Top USDC vaults on Base by APY, depositable via Composer
curl "https://earn.li.fi/v1/vaults?chainId=8453&asset=USDC&sortBy=apy&isComposerSupported=true&limit=10" \
More from internet-court-skill
All skills →
About this skill
What does the lifi skill do?

LI.FI REST API for cross-chain and same-chain token swaps, bridging, DeFi deposits (Composer), yield discovery (Earn), and intent-based execution (Intents). USE THIS SKILL WHEN USER WANTS TO: - Swap tokens between different blockchains (e.g., "swap USDC on Ethereum to ETH on Arbitrum") - Bridge tokens to another chain (e.g., "move my ETH from mainnet to Optimism") - Swap tokens on the same chain with best rates (e.g., "swap ETH to USDC on Polygon") - Find the best route or quote for a token swap across chains - Deposit into DeFi vaults/lending/staking in one click, including cross-chain (Compo

How do I install it?

Run `npx skills add internet-court/internet-court-skill --skill lifi --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From internet-court/internet-court-skill, a repository with 1,536 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going