opensea-tool-sdk

opensea-tool-sdk is a skill for Claude Code, Codex from ProjectOpenSea/opensea-skill. It costs 84 tokens per session (5,583 once invoked), scanned B, original, MIT.

A tool for creating AI-callable web endpoints, registering them on Base—a blockchain network—and controlling who can use them.

In plain words
What is it for?
Use it to scaffold HTTPS endpoints with JSON Schema inputs, register them onchain, and limit access through NFT ownership, subscriptions, traits, or pay-per-call USDC payments.
Why use it?
It covers the setup, blockchain registration, and access rules needed to offer tools to AI systems and restrict their use.

Skill for Claude CodeCodex

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

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is import { toolHandler } from "../src/handler.js".

Good fit Use it to scaffold HTTPS endpoints with JSON Schema inputs, register them onchain, and limit access through NFT ownership, subscriptions, traits, or pay-per-call USDC payments.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/ProjectOpenSea/opensea-skill
agentmods
npx agentmods add skills/projectopensea/opensea-skill/opensea-tool-sdk

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-tool-sdk

README.md
[![agentmods](https://agentmods.dev/badge/skills/projectopensea/opensea-skill/opensea-tool-sdk/github.svg)](https://agentmods.dev/skills/projectopensea/opensea-skill/opensea-tool-sdk)
Your own site
<a href="https://agentmods.dev/skills/projectopensea/opensea-skill/opensea-tool-sdk"><img src="https://agentmods.dev/badge/skills/projectopensea/opensea-skill/opensea-tool-sdk/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-tool-sdk

Your own site · 80×15
<a href="https://agentmods.dev/skills/projectopensea/opensea-skill/opensea-tool-sdk"><img src="https://agentmods.dev/badge/skills/projectopensea/opensea-skill/opensea-tool-sdk.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 84 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,583 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 2 findings. 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.00084 $0.05583
Opus 5.5 $0.00034 $0.02233
Sonnet 5.5 $0.00017 $0.01117
Haiku 4.5 $0.00008 $0.00558

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

Security

Grade B, and why

opensea-tool-sdk scanned grade B with 2 findings 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 21d ago.

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.

Sends data to an external URLmediumData exfiltration

A POST to an outside endpoint may be telemetry or may be exfiltration; either way the mod talks to somewhere, and you should know where.

curl -X POST https://my-tool.vercel.app/api -H "Content-Type: application/json" -d '{"query":"hello"}'

Makes network callslowCapability

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

curl -s "https://api.opensea.io/api/v2/tools/search?query=nft&access_type=open&limit=10" \
opensea-tool-sdk/SKILL.md · 386 lines

How it starts

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

OpenSea Tool SDK

Build, register, and gate AI-callable tool endpoints using the OpenSea Tool Registry (ERC-8257) on Base.

When to use this skill (scope_in)

Use opensea-tool-sdk when you need to:

  • Scaffold an AI-callable tool endpoint (HTTPS, JSON Schema, .well-known manifest) for Vercel, Cloudflare, or Express
  • Register a tool onchain on the Base ToolRegistry so other agents can discover it
  • Gate access via x402 pay-per-call (USDC) or predicates (ERC-721/ERC-1155 ownership, subscriptions, trait gating, ERC-20 balance, composites)
  • Call a gated or paid tool: 402 payments (paidFetch), predicate-gated auth (eip3009AuthenticatedFetch), or both (paidAuthenticatedFetch)
  • Search and discover registered tools via the OpenSea REST API

When NOT to use this skill (scope_out, handoff)

Need Use instead
Query NFT/token data, search, collection stats opensea-api
Buy/sell NFTs opensea-marketplace
Swap ERC20 tokens opensea-swaps
Set up wallet signing providers opensea-wallet

This SDK is for tool providers and consumers. For OpenSea marketplace data (floor prices, listings, trades), use the opensea-api skill.

Concepts

Term Meaning
Tool A single REST API endpoint with a JSON Schema interface, discoverable via /.well-known/ai-tool/<slug>.json. Each tool should perform one focused operation.
Manifest JCS-canonicalized JSON describing the tool's name, endpoint, inputs, outputs, pricing, and access policy
ToolRegistry Onchain contract (Base) where tools are registered with a manifest hash and optional access predicate
Access Predicate An IAccessPredicate contract that gates who can invoke a tool (NFT ownership, subscriptions, trait gating, ERC-20 balance, composites)
x402 HTTP 402-based pay-per-call protocol (caller signs a USDC TransferWithAuthorization; server settles after execution)
EIP-3009 auth Zero-value USDC TransferWithAuthorization signature used to authenticate callers for predicate-gated tools
Facilitator Third-party service that verifies and settles x402 payments (PayAI or Coinbase CDP)

Read the full file on GitHub · 386 lines

Files

What ships with it

3 files 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. 21d ago Changed ccddf73eb9b1
  2. 23d ago Changed · -177 lines scan A → B 4c2412498f00
  3. 1mo ago Changed 26b475941eb8
  4. 2mo ago Changed 959774925aa7
  5. 3mo ago First seen · 563 lines · 84 tokens per session scan A 8781d079c747

Subscribe to this mod's changes

opensea-tool-sdk is a skill published in the GitHub repository ProjectOpenSea/opensea-skill (55 stars, last pushed yesterday), licensed MIT. It adds 84 tokens to every session and 5,583 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it B with 2 findings (sends data to an external url, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

opensea-tool-sdk compared with skills from other repositories

opensea-tool-sdk next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
opensea-tool-sdkProjectOpenSea/opensea-skillSkill55yesterdayMITB84Claude Code, Codex
signature-replayPurpleAILAB/DecepticonSkill6.9k15d agoApache-2.0A31Claude Code, Codex
official-sui-skillsMystenLabs/suiSkill7.8ktodayApache-2.0A116Claude Code, Codex
bridgealsk1992/CloddsBotSkill3.1k21d agoMITA13Claude Code, Codex
onchainkitalsk1992/CloddsBotSkill3.1k21d agoMITA24Claude Code, Codex
marginfialsk1992/CloddsBotSkill3.1k21d agoMITA11Claude Code, Codex
devtools-event-clientTanStack/devtoolsSkill518todayMITA79Claude Code, Codex