opensea-swaps

opensea-swaps is a skill for Claude Code, Codex from ProjectOpenSea/opensea-skill. It costs 51 tokens per session (1,859 once invoked), scanned A, original, MIT.

A tool for exchanging ERC20 tokens, which are common blockchain-based digital currencies, across supported blockchain networks through OpenSea’s exchange service.

In plain words
What is it for?
Use it to request swap prices, check token balances, and execute token exchanges. It is for tokens rather than NFT trading.
Why use it?
It finds a route for the exchange and checks balances, reducing the need to compare routes and perform each swap step manually.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to request swap prices, check token balances, and execute token exchanges. It is for tokens rather than NFT trading.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/projectopensea/opensea-skill/opensea-swaps
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add ProjectOpenSea/opensea-skill --skill opensea-swaps
Clone the repo
git clone --depth 1 https://github.com/ProjectOpenSea/opensea-skill

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for opensea-swaps

README.md
[![agentmods](https://agentmods.dev/badge/skills/projectopensea/opensea-skill/opensea-swaps/github.svg)](https://agentmods.dev/skills/projectopensea/opensea-skill/opensea-swaps)
Your own site
<a href="https://agentmods.dev/skills/projectopensea/opensea-skill/opensea-swaps"><img src="https://agentmods.dev/badge/skills/projectopensea/opensea-skill/opensea-swaps/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for opensea-swaps

Your own site · 80×15
<a href="https://agentmods.dev/skills/projectopensea/opensea-skill/opensea-swaps"><img src="https://agentmods.dev/badge/skills/projectopensea/opensea-skill/opensea-swaps.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 51 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,859 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00051 $0.01859
Opus 5.5 $0.00020 $0.00744
Sonnet 5.5 $0.00010 $0.00372
Haiku 4.5 $0.00005 $0.00186

Measured yesterday against content hash ae541d789e64, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

opensea-swaps scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/opensea-swap.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- curl
opensea-swaps/SKILL.md · 88 lines

How it starts

The opening of the file, as written. The whole thing — 88 lines — stays where its author put it; the contents beside it link to each section on GitHub.

OpenSea Swaps

Swap tokens on one chain or across chains through OpenSea's DEX aggregator. Token research (trending, prices, holders) is opensea-api; wallet setup is opensea-wallet. The API key is enough to request quotes on any supported chain. CLI execution supports EVM transactions and needs a wallet. Use an external signer and submitter for Solana transactions.

Swap flow

For EVM swaps, quote, confirm, then execute the quote the user approved:

# 1. Balance, then a quote for the signing wallet, saved to a file
opensea accounts tokens 0xWALLET --chains base
opensea swaps quote --from-chain base --from-address 0x0000000000000000000000000000000000000000 \
  --to-chain base --to-address 0xTOKEN --quantity 0.02 --address 0xWALLET --out quote.json

# 2. After the user confirms, sign exactly that quote's transactions (no re-quote)
opensea swaps execute --quote quote.json

Before step 2, show the user: amount in and expected amount out, price impact, fees, slippage, both chains, and the recipient. Get an explicit yes.

execute --quote refuses a quote older than 120 seconds (--max-age <seconds> to change), one built for an address other than the signing wallet, or one with a transaction off its from_chain. On refusal, re-quote and confirm again. It also refuses a file whose MAC does not verify under the local quote key that swaps quote --out signs with, so an edited or handed-over file fails, and it prints every call before signing. Add --dry-run to run those checks without signing. --quote cannot be combined with the quote flags. execute without --quote takes the EVM token, quantity, recipient and slippage flags and fetches a fresh quote, bounded only by --slippage-bps. Solana transaction controls belong to quote.

  • Use a decimal --quantity for human units (0.02 ETH); an integer string is already in raw token units. The native EVM token address is 0x0000000000000000000000000000000000000000. Native SOL uses 11111111111111111111111111111111; wrapped SOL is a different asset.
  • --slippage-bps sets slippage tolerance in basis points, 0 to 5000 (50 = 0.5%; default 1). Check the returned route minimum before approving the trade.
  • --recipient sends the output elsewhere (default: the signing wallet).
  • execute picks the wallet provider from env vars (see opensea-wallet), or pass --wallet-provider privy|turnkey|fireblocks|bankr|private-key.
  • Verify a token's contract address with opensea tokens get <chain> <address> or opensea search <name> --types token before swapping. Similar names and symbols are common in scams.
  • After a submit with an unknown outcome, check the wallet's balance or the transaction receipt before retrying.

Read the full file on GitHub · 88 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday Changed · +1 lines ae541d789e64
  2. 3d ago Changed · +4 lines 0611ae4f5b4b
  3. 15d ago Changed · +19 lines · -6 tokens per session 1509a5cf6a42
  4. 23d ago Changed · -82 lines b91001cab42b
  5. 3mo ago First seen · 146 lines · 57 tokens per session scan A 349c3a7c0942

Subscribe to this mod's changes

opensea-swaps is a skill published in the GitHub repository ProjectOpenSea/opensea-skill (55 stars, last pushed yesterday), licensed MIT. It adds 51 tokens to every session and 1,859 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

opensea-swaps compared with skills from other repositories

opensea-swaps next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
opensea-swapsProjectOpenSea/opensea-skillSkill55yesterdayMITA51Claude Code, Codex
agentic-streetLeoYeAI/openclaw-master-skillsSkill2.2k12d agoMITA91Claude Code, Codex
bridgealsk1992/CloddsBotSkill3.1k21d agoMITA13Claude Code, Codex
hyperliquidalsk1992/CloddsBotSkill3.1k21d agoMITA19Claude Code, Codex
marginfialsk1992/CloddsBotSkill3.1k21d agoMITA11Claude Code, Codex
token-pickaeonfun/aeonSkill802yesterdayMITA25Claude Code, Codex
okx-dex-strategynirholas/three.wsSkill289todayApache-2.0A184Claude Code