1inch-swap
Quote and execute token swaps via the 1inch MCP `swap` tool: Classic (DEX aggregation), Fusion (gasless intent), and Fusion+/cross-chain
Install / Use
npx skills add internet-court/internet-court-skill --skill 1inch-swapInstalls into whichever agent you are using.
SKILL.md
Installable skill definition
Quality Score
Category
Development & EngineeringSupported Platforms
Our assessment of 1inch-swap
1inch-swap scores 83/100 on our quality scale, 3034th of 4,715 Development & Engineering skills we index.
Its SKILL.md is 3.4 KB long, split into 6 sections and no code examples: a solid amount of guidance for an agent.
With 7,198 GitHub stars, it is one of the more widely adopted skills in the catalogue.
Maintenance, license and trust
- The repository was last updated yesterday, so 1inch-swap is actively maintained.
- No license is declared. By default that means all rights are reserved: you can read it, but reusing or redistributing it is not clearly permitted. Ask the author before building on it commercially.
- Its trust signals score 88/100, with 1 caution from licensing, adoption, age or documentation. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
Safety scan
No issues foundOur scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands.
Automated pattern scan on 2026-11-25. It catches known dangerous patterns, not every risk — read a skill before letting an agent act on it.
1inch-swap compared with similar skills
All 4 of these similar skills score higher than 1inch-swap; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| 1inch-swap (this skill)by internet-court | 83 | 7.2k | 1d ago | SKILL.md |
| taste-skillby Leonxlnx | 100 | 121.5k | today | CLAUDE.md |
| Agent-Reachby Panniantong | 100 | 114.7k | 1d ago | CLAUDE.md |
| hyperframesby heygen-com | 100 | 90.0k | today | CLAUDE.md |
| rufloby ruvnet | 100 | 82.4k | today | CLAUDE.md |
Frequently asked questions
- How do I install 1inch-swap?
- Run
npx skills add internet-court/internet-court-skill --skill 1inch-swap. The install tabs above show the steps for each supported agent. - Which AI agents does 1inch-swap work with?
- It is written for Universal, as a SKILL.md file. Other agents that read the same format can often use it too.
- Is 1inch-swap safe to use?
- Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. It declares no license and scores 88/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is 1inch-swap still maintained?
- The repository was last updated yesterday, so 1inch-swap is actively maintained.
Skill content
View source on GitHubname: 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.
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: falseonly when the user wants unsigned calldata / typed data to sign elsewhere. - Set
execute: trueexplicitly 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
- Wallet-first (recommended): connect via
walletconnect, then callswapwithsrc,dst,amount,chain,from(the connected wallet address). The user approves in their wallet. - Shortcut: call
swapdirectly. OmitpreferredTypeto let the server recommend, or set it explicitly. - Full flow:
quoteOnly: true→ compare quotes /recommended→ execute with chosenpreferredType. - 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 | file://1inch-mcp/guides/swap/quote |
| Classic | references/CLASSIC.md | file://1inch-mcp/guides/swap/classic |
| Fusion | references/FUSION.md | file://1inch-mcp/guides/swap/fusion |
| Cross-chain | 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"
Related Skills
taste-skill
121.5kAgent skills that give coding agents taste: art direction, reference images and a browser check instead of generic AI pages
Agent-Reach
114.7kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
hyperframes
90.0kOpen-source AI video editor: edit your own footage, or create and remake any video with Claude Code, Codex or the free Studio app. Write HTML, render MP4. By HeyGen.
ruflo
82.4k🌊 The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native Claude Code / Codex / Hermes and many more Integrated
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
