1inch-swap
Quote and execute token swaps via the 1inch MCP `swap` tool: Classic (DEX aggregation), Fusion (gasless intent), and Fusion+/cross-chain.
Skill by 1inch
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/1inch-1inch-swap
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/1inch-swap
What's inside
- Skill name
1inch-swap- Description
- Quote and execute token swaps via the 1inch MCP `swap` tool: Classic (DEX aggregation), Fusion (gasless intent), and Fusion+/cross-chain. Use when the user wants best rate, gasless swap, bridge-less cross-chain, or quote comparison.
- License
- MIT
- Compatibility
- Requires 1inch MCP server (see 1inch-mcp-server skill) with auth for execution.
- Instructions
- 46 lines in SKILL.md · view on GitHub
Files (5)
- SKILL.md
- CLASSIC.md · references/
- CROSSCHAIN.md · references/
- FUSION.md · references/
- QUOTE.md · references/
SKILL.md (first lines)
# 1inch Swap Use the authenticated MCP tool **`swap`**. Call **`authenticate` first** if you are not already a real user (initialize 200 is still anonymous). Do not hand-build calldata for normal flows. ## Recommended: connect the user's wallet first (WalletConnect) Unless the user explicitly wants to sign with their own tooling (private key, cast, viem), **offer WalletConnect before executing**: pair via the `walletconnect` tool (see the `1inch-walletconnect` skill), then call `swap`. With an active session, `execute` **defaults to true** — the tool handles approve txs, EIP-712 signing, submission, and native escrow sends through the connected wallet, and the user simply approves each prompt in their wallet app. No key handling, no manual signing steps. - Set `execute: false` only when the user wants unsigned calldata / typed data to sign elsewhere. - Set `execute: true` explicitly to require a wallet session (errors if not connected). ## Modes - **Classic** — on-chain via aggregation router; user pays gas. `preferredType: "classic"`. - **Fusion** — gasless intent; resolvers fill. `preferredType: "fusion"`. - **Cross-chain** — set `dstChain`; `preferredType: "crosschain"`. ## Approaches 1. **Wallet-first (recommended):** connect via `walletconnect`, then call `swap` with `src`, `dst`, `amount`, `chain`, `from` (the connected wallet address). The user approves in their wallet. 2. **Shortcut:** call `swap` directly. Omit `preferredType` to let the server recommend, or set it explicitly. 3. **Full flow:** `quoteOnly: true` → compare quotes / `recommended` → execute with chosen `preferredType`. 4. **Manual Fusion/cross-chain submit (no wallet session):** after signing typed data locally, call again with `signedOrder` + `orderHash`. ## Flow guides (bundled references) Load the reference for your flow before signing or broadcasting: | Flow | Reference | MCP resource fallback | | ----------- | ---------------------------------------------------- | ----------------------------------------- | | Quote | [references/QUOTE.md](references/QUOTE.md) | `file://1inch-mcp/guides/swap/quote` | | Classic | [references/CLASSIC.md](references/CLASSIC.md) | `file://1inch-mcp/guides/swap/classic` | | Fusion | [references/FUSION.md](references/FUSION.md) | `file://1inch-mcp/guides/swap/fusion` | | Cross-chain | [references/CROSSCHAIN.md](references/CROSSCHAIN.md) | `file://1inch-mcp/guides/swap/crosschain` | The references are the primary source (they work in every client). The MCP resource URIs serve the same content live for clients that read resources. The manual signing snippets in the references (cast / Python / viem) are only needed **without** a WalletConnect session — with one, the tool executes through the connected wallet automatically. ## Example prompts - "Quote swapping 100 USDC to ETH on Base" - "Swap 0.5 ETH to USDT on Arbitrum with Fusion" - "Swap 100 USDC from Ethereum to Polygon"
From 1inch/1inch-ai, MIT.
More from 1inch/1inch-ai
- 0.563score
1inch-orderbook
1inch
Build, sign, create, list, and cancel limit orders via the 1inch MCP `orderbook` tool (Limit Order Protocol v4.1).
SkillBFreshness: B★ 2Claude Code +9 - 0.563score
1inch-wallet-data
1inch
Query portfolio value/P&L, wallet balances, transaction history, NFTs, and token metadata via the 1inch MCP `product_api` tool.
SkillBFreshness: B★ 2Claude Code +9 - 0.563score
1inch-market-data
1inch
Fetch spot token prices, gas prices, and price charts via the 1inch MCP `product_api` tool.
SkillBFreshness: B★ 2Claude Code +9 - 0.563score
1inch-mcp-server
1inch
Connect to the 1inch MCP server for documentation search, SDK examples, token swaps, limit orders, authenticated product API access, WalletConnect, Aqua…
SkillBFreshness: B★ 2Claude Code +9 - 0.559score
1inch-aqua
1inch
Read 1inch Aqua shared-liquidity analytics (maker TVL, fees, APY, strategies, activity, volume) via the MCP `aqua` tool.
SkillBFreshness: B★ 2Claude Code +9 - 0.559score
1inch-infrastructure
1inch
Call Web3 JSON-RPC, broadcast transactions via the Transaction Gateway, and resolve ENS/domains through the 1inch MCP `product_api` tool.
SkillBFreshness: B★ 2Claude Code +9 - 0.557score
1inch-walletconnect
1inch
Pair an EVM or Solana wallet via WalletConnect (non-custodial) using the 1inch MCP `walletconnect` tool, then sign messages or send transactions.
SkillBFreshness: B★ 2Claude Code +9 - 0.552score
1inch-debug
1inch
Look up organization-scoped 1inch API request logs by request-id or time window via the MCP `debug` tool.
SkillBFreshness: B★ 2Claude Code +9 - 0.501score

1inch MCP
business.1inch.comOfficial
Doc search, intent & cross-chain swaps, limit orders, portfolio, spot prices, gas & all APIs.
ConnectorBFreshness: BRemote★ 2Claude Code +3
Signals
- Stars
- 2
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Sep 13, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/1inch/1inch-ai
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from 1inch
- 0.563score
1inch-mcp-server
1inch
Connect to the 1inch MCP server for documentation search, SDK examples, token swaps, limit orders, authenticated product API access, WalletConnect, Aqua…
SkillBFreshness: B★ 2Claude Code +9 - 0.563score
1inch-orderbook
1inch
Build, sign, create, list, and cancel limit orders via the 1inch MCP `orderbook` tool (Limit Order Protocol v4.1).
SkillBFreshness: B★ 2Claude Code +9 - 0.563score
1inch-wallet-data
1inch
Query portfolio value/P&L, wallet balances, transaction history, NFTs, and token metadata via the 1inch MCP `product_api` tool.
SkillBFreshness: B★ 2Claude Code +9 - 0.563score
1inch-market-data
1inch
Fetch spot token prices, gas prices, and price charts via the 1inch MCP `product_api` tool.
SkillBFreshness: B★ 2Claude Code +9 - 0.559score
1inch-aqua
1inch
Read 1inch Aqua shared-liquidity analytics (maker TVL, fees, APY, strategies, activity, volume) via the MCP `aqua` tool.
SkillBFreshness: B★ 2Claude Code +9 - 0.559score
1inch-infrastructure
1inch
Call Web3 JSON-RPC, broadcast transactions via the Transaction Gateway, and resolve ENS/domains through the 1inch MCP `product_api` tool.
SkillBFreshness: B★ 2Claude Code +9
Cite this page
1inch-swap skill. Agent Mart. https://agentmart.dev/skills/1inch-1inch-swap (last updated 2026-10-24)