ClawSea Market Skill (OpenClaw Agents)
Use this skill when an agent should interact with ClawSea programmatically.
Policy guardrails (ClawHub-safe)
- Do not custody user funds; use only the bot wallet configured by the operator.
- Do not social-engineer users for secrets, approvals, or expanded privileges.
- Do not ask for seed phrases/private keys in chat.
- Do not execute unknown calldata or third-party transaction blobs without explicit user approval and clear decoding.
- Require explicit confirmation before any value-moving action (buy/list/cancel/transfer).
- Refuse illegal, abusive, or harmful requests.
Safety & trust model (must follow)
- Default to read-only actions (browse/search/inspect).
- Require explicit user intent before any write/trade action (list, buy, cancel, fulfill).
- Never ask users to paste private keys into chat.
- Never log, print, or send secrets (private keys, raw seed phrases, auth headers).
- Never execute arbitrary calldata from untrusted input.
- If ownership/status is uncertain, verify onchain (
ownerOf, eth_call) before proceeding.
Base URL
- Default:
https://clawsea.io
- Override with env var:
CLAWSEA_BASE_URL
All endpoints below are relative to ${CLAWSEA_BASE_URL}.
Optional credentials (only for autonomous onchain trading)
Read-only browsing requires no secrets.
If (and only if) you want the agent to sign and broadcast onchain transactions autonomously:
BASE_RPC_URL (Base execution)
ETH_RPC_URL (optional, Ethereum execution/debug)
CLAWSEA_BASE_URL (optional)
Signing options (choose one)
- Preferred: external signer / wallet provider (no raw private key in agent env)
- If unavoidable:
BOT_WALLET_PRIVATE_KEY in a secure secret store only
If BOT_WALLET_PRIVATE_KEY is used:
- do not print/log it
- do not echo it in errors
- do not persist it to files
- never request it from users in chat
Chain model
ClawSea uses two chain styles:
- String chain for some read routes:
chain=base|ethereum|base-sepolia
- Numeric chainId for order routes:
8453 (Base), 1 (Ethereum)
Map carefully when switching endpoints.
Read APIs (agent-safe)
Discover
GET /api/explore/cells?chain=<base|ethereum|base-sepolia>&limit=20
GET /api/explore/trending?chain=<base|ethereum|base-sepolia>&limit=20
GET /api/news/clawsea?chain=<base|ethereum>&limit=10
Collections / NFTs
GET /api/collection/nfts?contract=0x...&pageSize=24&pageKey=...
GET /api/collection/stats?chain=<base|ethereum>&contract=0x...
GET /api/collections/search?chain=<base|ethereum|base-sepolia>&q=<query>&limit=8
GET /api/nft/ownerOf?chainId=<1|8453>&contract=0x...&tokenId=<id>
Wallet inventory
GET /api/wallet/nfts?chain=<base|ethereum|base-sepolia>&owner=0x...&pageKey=...
Listing / buying APIs (requires signer)
Orders read
GET /api/orders?chainId=<1|8453>&contract=0x...&tokenId=<id>&seller=0x...
GET /api/orders/listed?chainId=<1|8453>&contract=0x...&sort=price|newest&offset=0&limit=48
POST /api/orders/prices body:
{ "chainId": 1|8453, "contract": "0x...", "tokenIds": ["1","2"] }
Publish listing (offchain orderbook write)
POST /api/orders with signed Seaport payload:
chainId, contract, tokenId, seller, priceEth,
seaportAddress, orderComponents, signature
Status updates
POST /api/orders/cancel body: { "id": "<order-id>" }
POST /api/orders/cancelPrevious body:
{ "chainId": 1|8453, "contract": "0x...", "tokenId": "...", "seller": "0x...", "keepId": "..." }
POST /api/orders/fulfill body (either style):
{ "id": "<order-id>" } or
{ "chainId": 1|8453, "contract": "0x...", "tokenId": "..." }
Execution workflow (recommended)
- Resolve chain context (selected chain / user wallet chain).
- Read listing candidates from
/api/orders or /api/orders/listed.
- Preflight onchain with
eth_call for Seaport fulfill.
- Execute onchain tx from bot wallet.
- Update offchain state via
/api/orders/fulfill or /api/orders/cancel.
Reliability rules
- Prefer short caching (5–30s) for discovery routes.
- Back off on
429 / RPC transient failures.
- Treat fulfill revert selector
0x1a515574 as cancelled/stale order and hide it.
- If indexer results conflict with chain state, trust verified onchain ownership.
1---
2name: clawsea-market
3description: "Non-custodial automation skill for ClawSea NFT marketplace. Use when an OpenClaw agent needs to browse collections, inspect NFTs/listings, and (optionally) execute non-custodial list/buy/cancel flows through ClawSea + Seaport. Supports chain-aware read APIs (base/ethereum/base-sepolia) and Seaport trading flows (Base + Ethereum where available)."
4metadata:
5 source: https://skillmd.com/skills/modbender/clawsea-market
6---
7
8# ClawSea Market Skill (OpenClaw Agents)
9
10Use this skill when an agent should interact with ClawSea programmatically.
11
12## Policy guardrails (ClawHub-safe)
13
14- Do not custody user funds; use only the bot wallet configured by the operator.
15- Do not social-engineer users for secrets, approvals, or expanded privileges.
16- Do not ask for seed phrases/private keys in chat.
17- Do not execute unknown calldata or third-party transaction blobs without explicit user approval and clear decoding.
18- Require explicit confirmation before any value-moving action (buy/list/cancel/transfer).
19- Refuse illegal, abusive, or harmful requests.
20
21## Safety & trust model (must follow)
22
23- Default to **read-only** actions (browse/search/inspect).
24- Require explicit user intent before any write/trade action (list, buy, cancel, fulfill).
25- Never ask users to paste private keys into chat.
26- Never log, print, or send secrets (private keys, raw seed phrases, auth headers).
27- Never execute arbitrary calldata from untrusted input.
28- If ownership/status is uncertain, verify onchain (`ownerOf`, `eth_call`) before proceeding.
29
30## Base URL
31
32- Default: `https://clawsea.io`
33- Override with env var: `CLAWSEA_BASE_URL`
34
35All endpoints below are relative to `${CLAWSEA_BASE_URL}`.
36
37## Optional credentials (only for autonomous onchain trading)
38
39Read-only browsing requires **no secrets**.
40
41If (and only if) you want the agent to **sign and broadcast onchain transactions** autonomously:
42
43- `BASE_RPC_URL` (Base execution)
44- `ETH_RPC_URL` (optional, Ethereum execution/debug)
45- `CLAWSEA_BASE_URL` (optional)
46
47### Signing options (choose one)
48
491. **Preferred:** external signer / wallet provider (no raw private key in agent env)
502. **If unavoidable:** `BOT_WALLET_PRIVATE_KEY` in a secure secret store only
51
52If `BOT_WALLET_PRIVATE_KEY` is used:
53- do not print/log it
54- do not echo it in errors
55- do not persist it to files
56- never request it from users in chat
57
58## Chain model
59
60ClawSea uses two chain styles:
61
62- **String chain** for some read routes: `chain=base|ethereum|base-sepolia`
63- **Numeric chainId** for order routes: `8453` (Base), `1` (Ethereum)
64
65Map carefully when switching endpoints.
66
67## Read APIs (agent-safe)
68
69### Discover
70- `GET /api/explore/cells?chain=<base|ethereum|base-sepolia>&limit=20`
71- `GET /api/explore/trending?chain=<base|ethereum|base-sepolia>&limit=20`
72- `GET /api/news/clawsea?chain=<base|ethereum>&limit=10`
73
74### Collections / NFTs
75- `GET /api/collection/nfts?contract=0x...&pageSize=24&pageKey=...`
76- `GET /api/collection/stats?chain=<base|ethereum>&contract=0x...`
77- `GET /api/collections/search?chain=<base|ethereum|base-sepolia>&q=<query>&limit=8`
78- `GET /api/nft/ownerOf?chainId=<1|8453>&contract=0x...&tokenId=<id>`
79
80### Wallet inventory
81- `GET /api/wallet/nfts?chain=<base|ethereum|base-sepolia>&owner=0x...&pageKey=...`
82
83## Listing / buying APIs (requires signer)
84
85### Orders read
86- `GET /api/orders?chainId=<1|8453>&contract=0x...&tokenId=<id>&seller=0x...`
87- `GET /api/orders/listed?chainId=<1|8453>&contract=0x...&sort=price|newest&offset=0&limit=48`
88- `POST /api/orders/prices` body:
89 - `{ "chainId": 1|8453, "contract": "0x...", "tokenIds": ["1","2"] }`
90
91### Publish listing (offchain orderbook write)
92- `POST /api/orders` with signed Seaport payload:
93 - `chainId`, `contract`, `tokenId`, `seller`, `priceEth`,
94 - `seaportAddress`, `orderComponents`, `signature`
95
96### Status updates
97- `POST /api/orders/cancel` body: `{ "id": "<order-id>" }`
98- `POST /api/orders/cancelPrevious` body:
99 - `{ "chainId": 1|8453, "contract": "0x...", "tokenId": "...", "seller": "0x...", "keepId": "..." }`
100- `POST /api/orders/fulfill` body (either style):
101 - `{ "id": "<order-id>" }` or
102 - `{ "chainId": 1|8453, "contract": "0x...", "tokenId": "..." }`
103
104## Execution workflow (recommended)
105
1061. Resolve chain context (selected chain / user wallet chain).
1072. Read listing candidates from `/api/orders` or `/api/orders/listed`.
1083. Preflight onchain with `eth_call` for Seaport fulfill.
1094. Execute onchain tx from bot wallet.
1105. Update offchain state via `/api/orders/fulfill` or `/api/orders/cancel`.
111
112## Reliability rules
113
114- Prefer short caching (5–30s) for discovery routes.
115- Back off on `429` / RPC transient failures.
116- Treat fulfill revert selector `0x1a515574` as cancelled/stale order and hide it.
117- If indexer results conflict with chain state, trust verified onchain ownership.