Overview
- Skill Key
- dfinzer/opensea-skill
- Author
- dfinzer
- Source Repo
- openclaw/skills
- Version
- -
- Source Path
- skills/dfinzer/opensea-skill
- Latest Commit SHA
- 30ecc58dee2776d781186f0eff3f4e2df8e93139
Query NFT data, trade on the Seaport marketplace, and swap ERC20 tokens across Ethereum, Base, Arbitrum, Optimism, Polygon, and more.
Stars
0
Installs
0
Status
ACTIVE
Visibility
PUBLIC
直接复制以下提示词,发送给你的 AI 助手即可完成安装。
请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 opensea 技能。 若已安装,则直接安装 opensea 技能。
# OpenSea API Query NFT data, trade on the Seaport marketplace, and swap ERC20 tokens across Ethereum, Base, Arbitrum, Optimism, Polygon, and more. ## Quick start 1. Set `OPENSEA_API_KEY` in your environment 2. **Preferred:** Use the `opensea` CLI (`@opensea/cli`) for all queries and operations 3. Alternatively, use the shell scripts in `scripts/` or the MCP server ```bash export OPENSEA_API_KEY="your-api-key" # Install the CLI globally (or use npx) npm install -g @opensea/cli # Get collection info opensea collections get boredapeyachtclub # Get floor price and volume stats opensea collections stats boredapeyachtclub # Get NFT details opensea nfts get ethereum 0xbc4ca0eda7647a8ab7c2061c2e118a18a936f13d 1234 # Get best listings for a collection opensea listings best boredapeyachtclub --limit 5 # Search across OpenSea opensea search "cool cats" # Get trending tokens opensea tokens trending --limit 5 # Get a swap quote opensea swaps quote \ --from-chain base --from-address 0x0000000000000000000000000000000000000000 \ --to-chain base --to-address 0xTokenAddress \ --quantity 0.02 --address 0xYourWallet ``` ## Task guide > **Recommended:** Use the `opensea` CLI (`@opensea/cli`) as your primary tool. It covers all the operations below with a consistent interface, structured output, and built-in pagination. Install with `npm install -g @opensea/cli` or use `npx @opensea/cli`. The shell scripts in `scripts/` remain available as alternatives. ### Token swaps OpenSea's API includes a cross-chain DEX aggregator for swapping ERC20 tokens with optimal routing across all supported chains. | Task | CLI Command | Alternative | |------|------------|-------------| | Get swap quote with calldata | `opensea swaps quote --from-chain <chain> --from-address <addr> --to-chain <chain> --to-address <addr> --quantity <qty> --address <wallet>` | `get_token_swap_quote` (MCP) or `opensea-swap.sh` | | Get trending tokens | `opensea tokens trending [--chains <chains>] [--limi...
# OpenSea Skill **Query NFT data, trade on the Seaport marketplace, and swap ERC20 tokens** across Ethereum, Base, Arbitrum, Optimism, Polygon, and more. ## What is this? This is an [Agent Skill](https://skills.sh/docs) for AI coding assistants. Once installed, your agent can interact with the OpenSea API to query NFT data, execute marketplace operations, and swap ERC20 tokens using the [OpenSea CLI](https://github.com/ProjectOpenSea/opensea-cli), shell scripts, or the MCP server. ## Prerequisites - `OPENSEA_API_KEY` environment variable — for CLI, SDK, and REST API scripts - `OPENSEA_MCP_TOKEN` environment variable — for the MCP server (separate from API key) - Node.js >= 18.0.0 — for `@opensea/cli` - `curl` for REST shell scripts - `jq` (recommended) for parsing JSON responses Get both credentials at [opensea.io/settings/developer](https://opensea.io/settings/developer). ## Installing the Skill ### Using npx ```bash npx skills add ProjectOpenSea/opensea-skill ``` ### Using Claude Code ```bash /skill install ProjectOpenSea/opensea-skill ``` ### Manual Installation Clone this repository to your skills directory: ```bash git clone https://github.com/ProjectOpenSea/opensea-skill.git ~/.skills/opensea ``` Refer to your AI tool's documentation for skills directory configuration. ## What's Included ### Skill Definition [`SKILL.md`](SKILL.md) — the main skill file that teaches your agent how to use the OpenSea API, including the CLI, task guides, script references, MCP tool documentation, and end-to-end workflows for buying, selling, and swapping tokens. ### OpenSea CLI (Recommended) The [`@opensea/cli`](https://github.com/ProjectOpenSea/opensea-cli) package provides a command-line interface and programmatic SDK for all OpenSea API operations. Install with `npm install -g @opensea/cli` or use `npx @opensea/cli`. ```bash opensea collections get mfers opensea listings best mfers --limit 5 opensea tokens trending --limit 5 opensea search "cool cats" open...
youmind-openlab
AI skill for OpenClaw & Claude Code — recommend from 10000+ Nano Banana Pro (Gemini) image prompts. Smart search by use case, content remix, sample images.
23blocks-os
AI Agent Orchestrator with Skills System - Give AI Agents superpowers: memory search, code graph queries, agent-to-agent messaging. Manage Claude, Codex or any AI Agent from one dashboard. Move Agents between computers and locations
hashgraph-online
AI agent skills for the Universal Registry - search, chat, and register 72,000+ agents across 14+ protocols. Works with Claude, Codex, Cursor, OpenClaw, and any AI assistant.
rito-w
A cross-platform skills manager for AI IDEs. Search marketplace, download locally, and install to Claude, Cursor, Windsurf, and more with one click.
besoeasy
Battle-tested skill library for AI agents. Save 98% of API costs with ready-to-use code for crypto, PDFs, search, web scraping & more. No trial-and-error, no expensive APIs.
zeropointrepo
YouTube Transcript API skills for AI agents. Get transcripts, search videos, browse channels. Works with OpenClaw, ClawdBot, Claude Code, Cursor, Windsurf.