Skip to content

Commit 5cc2f63

Browse files
authored
Merge pull request #1 from ProjectOpenSea/feat/migrate-to-clawhub
feat: attach opensea skill via ClawHub instead of submodule
2 parents 1cdd3bc + 49222b6 commit 5cc2f63

7 files changed

Lines changed: 21 additions & 57 deletions

File tree

.gitmodules

Lines changed: 0 additions & 3 deletions
This file was deleted.

README.md

Lines changed: 13 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Supported chains: see `workspace/TOOLS.md`. Mainnets only by default.
2121
## What's bundled
2222

2323
- [`@opensea/cli`](https://github.com/ProjectOpenSea/opensea-cli) — installed globally at build time.
24-
- [`ProjectOpenSea/opensea-skill`](https://github.com/ProjectOpenSea/opensea-skill) at `skills/opensea/` (git submodule, pinned to `v2.1.0`) — SKILL.md + 7 reference docs + shell scripts for Seaport, swaps, stream events, wallet setup, and policy templates.
24+
- [`opensea/opensea-marketplace`](https://clawhub.ai/opensea/opensea-marketplace) — attached via `manifest.json``skills` and mounted at `skills/opensea/`. SKILL.md + reference docs + shell scripts for Seaport, swaps, stream events, wallet setup, and policy templates. Pinata pulls the latest published version at deploy time.
2525

2626
## Secrets you'll need
2727

@@ -74,29 +74,22 @@ Full walkthrough: `skills/opensea/references/wallet-setup.md`. Policy templates:
7474

7575
```
7676
.
77-
├── manifest.json # Pinata agent manifest
78-
├── setup.sh # build: submodule init + CLI install
77+
├── manifest.json # Pinata agent manifest — attaches opensea/opensea-marketplace from ClawHub
7978
├── .openclaw/
8079
│ ├── openclaw.json
8180
│ └── SOUL.md # short canonical persona — points at workspace/SOUL.md
82-
├── workspace/
83-
│ ├── SOUL.md # guardrails + Conviction Score + Pre-Buy Gate
84-
│ ├── AGENTS.md # workspace conventions + memory schemas
85-
│ ├── IDENTITY.md # blank — filled on first run
86-
│ ├── TOOLS.md # watchlist, whales, budgets — user-tunable
87-
│ ├── BOOTSTRAP.md # first-run walkthrough
88-
│ ├── HEARTBEAT.md # idle-cycle routine
89-
│ └── USER.md # collector profile — filled on first run
90-
└── skills/opensea/ # submodule: opensea-skill @ v2.1.0
91-
├── SKILL.md
92-
├── references/*.md # rest-api, seaport, wallet-setup, wallet-policies, …
93-
└── scripts/*.sh # opensea-fulfill-listing.sh, opensea-stream-collection.sh, …
81+
└── workspace/
82+
├── SOUL.md # guardrails + Conviction Score + Pre-Buy Gate
83+
├── AGENTS.md # workspace conventions + memory schemas
84+
├── IDENTITY.md # blank — filled on first run
85+
├── TOOLS.md # watchlist, whales, budgets — user-tunable
86+
├── BOOTSTRAP.md # first-run walkthrough
87+
├── HEARTBEAT.md # idle-cycle routine
88+
└── USER.md # collector profile — filled on first run
9489
```
9590

91+
At deploy time Pinata attaches the OpenSea skill under `skills/opensea/` (SKILL.md + `references/*.md` + `scripts/*.sh`) — not checked into this repo.
92+
9693
## Updating the skill
9794

98-
```bash
99-
git -C skills/opensea fetch --tags
100-
git -C skills/opensea checkout v2.2.0 # or whichever tag you want
101-
git add skills/opensea && git commit -m "chore: bump opensea-skill to v2.2.0"
102-
```
95+
Skill versions are managed on ClawHub, not in this template. To pick up a new version, no repo change is needed — Pinata pulls the latest published version of `opensea/opensea-marketplace` on each deploy. To pin to a specific version, replace `clawhub_slug` in `manifest.json` with a `cid` for that version.

manifest.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,11 @@
1414
"authorUrl": "https://github.com/ProjectOpenSea/opensea-skill",
1515
"authorLogoUrl": "https://static.seadn.io/logos/Logomark-Blue.png"
1616
},
17+
"skills": [
18+
{ "clawhub_slug": "opensea/opensea-marketplace", "name": "OpenSea" }
19+
],
1720
"scripts": {
18-
"build": "bash setup.sh",
21+
"build": "npm install -g @opensea/cli",
1922
"start": ""
2023
},
2124
"routes": []

setup.sh

Lines changed: 0 additions & 28 deletions
This file was deleted.

skills/opensea

Lines changed: 0 additions & 1 deletion
This file was deleted.

workspace/AGENTS.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ workspace/
1313
USER.md # About your human (filled on first run)
1414
MEMORY.md # Long-running free-text observations (create when useful)
1515
memory/ # Structured memory files (create on first write)
16-
skills/opensea/ # Skill submodule, pinned to v2.1.0
16+
skills/opensea/ # Attached from ClawHub at deploy time (opensea/opensea-marketplace)
1717
```
1818

1919
## Memory Schemas
@@ -63,11 +63,11 @@ Free-text long-form observations that don't fit a schema: API quirks, volatile s
6363

6464
- **You (the agent)** write to: `memory/*`, `workspace/MEMORY.md`, `workspace/IDENTITY.md`, `workspace/USER.md`, and once — to delete `workspace/BOOTSTRAP.md` after first-run.
6565
- **User** writes to: `workspace/TOOLS.md`. When they edit it, re-read at the start of the next turn.
66-
- **Never write** to: `skills/opensea/` (read-only submodule), `manifest.json`, `setup.sh`, `.openclaw/*`, `README.md`.
66+
- **Never write** to: `skills/opensea/` (read-only, attached from ClawHub), `manifest.json`, `.openclaw/*`, `README.md`.
6767

6868
## Workflow
6969

70-
1. **Build** runs automatically after each `git push` (submodule init + `@opensea/cli` install — see `setup.sh`).
70+
1. **Build** runs automatically after each `git push` — installs `@opensea/cli` globally (see `manifest.json``scripts.build`). The OpenSea skill is attached separately by Pinata from ClawHub.
7171
2. **Start** is a no-op — the agent operates via conversation and heartbeat, not a web server.
7272

7373
## Safety

workspace/TOOLS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ _User-tunable. Edit this file to change what the agent watches, who it follows,
55
## Stack
66

77
- **OpenSea CLI:** `@opensea/cli` — installed globally at build time. Use `opensea --help` for the command tree.
8-
- **OpenSea skill:** `skills/opensea/`git submodule pinned to `v2.1.0`.
8+
- **OpenSea skill:** `skills/opensea/`attached from ClawHub (`opensea/opensea-marketplace`) at deploy time.
99
- **Wallet:** Privy server wallet, env-configured (`PRIVY_APP_ID`, `PRIVY_APP_SECRET`, `PRIVY_WALLET_ID`).
1010

1111
## Watchlist

0 commit comments

Comments
 (0)