Skip to content

Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.

Remove internal working files

fudjia466015c84feb
diff --git a/prompts/robinhood-chain/00-INDEX.md b/prompts/robinhood-chain/00-INDEX.md
deleted file mode 100644
index 50ff04265..000000000
--- a/prompts/robinhood-chain/00-INDEX.md
+++ /dev/null
@@ -1,42 +0,0 @@
-# Robinhood Chain prompt pack — execution index
-
-Run order matters: later waves consume earlier waves' output. Within a wave, prompts are
-independent and can run concurrently. Every agent reads `_shared.md` first, then its prompt.
-
-## Wave 1 — foundation (run first, alone)
-| Prompt | Product | Folder |
-|---|---|---|
-| [01-sdk-core.md](01-sdk-core.md) | Core TypeScript SDK (`hoodchain`) | `robinhood/robinhood-chain-sdk/` |
-
-## Wave 2 — SDK consumers (run after 01 completes; all concurrent)
-| Prompt | Product | Folder |
-|---|---|---|
-| [02-sdk-simple-wrapper.md](02-sdk-simple-wrapper.md) | Dead-simple wrapper (`hood-js`) | `robinhood/hood-js/` |
-| [03-sdk-advanced-wrapper.md](03-sdk-advanced-wrapper.md) | Advanced toolkit (`hoodkit`) | `robinhood/hoodkit/` |
-| [04-market-data-api.md](04-market-data-api.md) | Hosted market-data API + x402 | `robinhood/hood-api/` |
-| [05-x402-usdg-rail.md](05-x402-usdg-rail.md) | x402 USDG middleware + facilitator | `robinhood/hood402/` |
-| [06-mcp-servers.md](06-mcp-servers.md) | MCP servers (data + trading) | `robinhood/hood-mcp/` |
-| [11-toolkit-cli.md](11-toolkit-cli.md) | CLI toolkit (`hood-cli`) | `robinhood/hood-cli/` |
-
-## Wave 3 — applications (after wave 2; all concurrent)
-| Prompt | Product | Folder |
-|---|---|---|
-| [07-agent-trading.md](07-agent-trading.md) | Autonomous trading agents | `robinhood/hood-traders/` |
-| [08-agent-launcher.md](08-agent-launcher.md) | Autonomous coin launcher | `robinhood/hood-launcher/` |
-| [09-examples.md](09-examples.md) | Examples gallery | `robinhood/robinhood-chain-examples/` |
-| [12-threews-markets.md](12-threews-markets.md) | three.ws /markets display + purchase | in-repo (`api/`, `public/`) |
-| [13-threews-play.md](13-threews-play.md) | three.ws /play coin worlds + firehose | in-repo |
-
-## Wave 4 — synthesis (last)
-| Prompt | Product | Folder |
-|---|---|---|
-| [10-tutorials.md](10-tutorials.md) | Tutorial site (`learn-robinhood-chain`) | `robinhood/learn-robinhood-chain/` |
-
-## Non-negotiables recap
-- Read `_shared.md` before starting. Facts there override training data.
-- Standalone repos live under `robinhood/<name>/`, MIT © 2026 nirholas, no `git init`, no commits.
-- Prompts 12–13 modify the three.ws app itself — same commit gate: leave uncommitted.
-- Docs sites are static `/docs` folders (Pages deploy-from-branch). No GitHub Actions anywhere.
-- Done = tested + real on-chain evidence + docs + report. See `_shared.md` report format.
-
-Research backing this pack: [PLAN.md](PLAN.md).
diff --git a/prompts/robinhood-chain/01-sdk-core.md b/prompts/robinhood-chain/01-sdk-core.md
deleted file mode 100644
index 19f469b36..000000000
--- a/prompts/robinhood-chain/01-sdk-core.md
+++ /dev/null
@@ -1,68 +0,0 @@
-# 01 — Core SDK: `hoodchain` (the first real Robinhood Chain SDK)
-
-Read `prompts/robinhood-chain/_shared.md` first. It is binding.
-
-## Mission
-Build the definitive TypeScript SDK for Robinhood Chain at `robinhood/robinhood-chain-sdk/`.
-There is NO official SDK and nothing real on npm — this is a first-mover product and every other
-prompt in this pack builds on it. It must be the library you'd expect from Stripe: typed,
-tree-shakeable, documented, verified against the live chain.
-
-Names: GitHub repo `robinhood-chain-sdk`; npm `hoodchain` (fallbacks: `hoodchain-sdk`,
-`rhchain`). Check availability per `_shared.md`.
-
-## Modules (all real, all verified on-chain)
-
-1. **`client`** — thin factory over viem: `createHoodClient({ chain: 'mainnet' | 'testnet', rpcUrl?, transport? })`
- returning typed public/wallet clients pinned to `robinhood`/`robinhoodTestnet` from
- `viem/chains` (peer dep `viem@^2.55.0`). Multicall batching on by default.
-2. **`stocks`** — the Stock Token registry + reads:
- - Build the REAL registry: scrape `https://docs.robinhood.com/chain/contracts` +
- cross-check `BankrBot/skills` `known-contracts.json` + verify every address on Blockscout
- (`/api/v2/tokens/{address}`). Ship it as generated, checked-in data
- (`src/registry/stock-tokens.json`) with a `scripts/refresh-registry.mjs` regenerator that
- re-verifies live. Include symbol, name, address, Chainlink feed address, decimals.
- - `getQuote(symbol)` — Chainlink `latestRoundData()` with staleness guard (configurable
- `maxAgeSeconds`, typed `StaleFeedError`).
- - `getMultiplier(symbol)` — ERC-8056 `uiMultiplier()` read with graceful handling when a
- token predates the interface.
- - `getPosition(address, symbol)` / `getPortfolio(address)` — multiplier-correct balances and
- USD valuation (this is the gap every generic tracker gets wrong — it is the SDK's flagship
- correctness claim; test it explicitly).
-3. **`swap`** — real Uniswap v3 quoting + execution on chain 4663: QuoterV2 `quoteExactInputSingle`
- (+ multi-hop via USDG/WETH routes), swap calldata building through the canonical router,
- slippage bounds, deadline handling. Resolve and verify the deployed Uniswap addresses on
- 4663 from official Uniswap deployment docs/Blockscout — do not assume Ethereum-mainnet
- addresses. Works for memecoins and Stock Tokens alike; Stock Token swaps emit the eligibility
- disclosure from `_shared.md` in JSDoc and README.
-4. **`usdg`** — USDG address/decimals/`transfer`/`approve`/`permit` (EIP-2612 if the contract
- supports it — verify on Blockscout), `formatUsdg`/`parseUsdg`.
-5. **`launchpads`** — watch NOXA + The Odyssey: discover their factory/bonding-curve contracts
- (research their verified contracts on Blockscout; the sniper-bot repos tagged
- `robinhood-chain` on GitHub reference them), decode creation + trade events, expose
- `watchLaunches(onLaunch)` and `getRecentLaunches()`.
-6. **`feed`** — sequencer firehose client for `wss://feed.mainnet.chain.robinhood.com`:
- reconnecting WebSocket, decoded L2 message stream, plus a filtered
- `watchTransfers({ token })` helper built on RPC logs for consumers who want simpler events.
-7. **`errors` / `types`** — typed error hierarchy, exhaustive exported types, JSDoc on every
- public symbol.
-
-## Non-functional requirements
-- ESM + CJS dual build (tsup or tsc), `exports` map, `types`, Node ≥ 20, zero runtime deps
- besides viem (+ `ws` for Node WebSocket only, optional-peer for browser).
-- Vitest suite: unit (registry integrity — every entry has a Blockscout-verified checksum
- address; quote math; multiplier math) + integration (`test:live`: real mainnet reads —
- quote AAPL or whichever tokens exist, read USDG totalSupply; real testnet swap E2E using
- faucet ETH + faucet TSLA — actually execute it and assert the receipt).
-- `examples/` with 5 runnable scripts (quote, portfolio, swap-testnet, watch-launches, firehose).
-- `docs/` static site per `_shared.md`: landing page with LIVE ticking Stock Token prices read
- client-side from the public RPC (this is the screenshot), quickstart, full API reference
- (generated from JSDoc via typedoc into the static site, styled to match), architecture page.
-
-## Done checklist (beyond CLAUDE.md's)
-- [ ] Registry ships ≥ 90 verified Stock Tokens with feeds (or the true on-chain count with
- evidence if fewer exist — never pad).
-- [ ] `npm test` green; `npm run test:live` green with pasted output; testnet swap tx hash in report.
-- [ ] `npm pack` clean; README quickstart runs verbatim in a fresh dir via `npm i ../robinhood-chain-sdk`.
-- [ ] docs/index.html shows live prices when opened locally.
-- [ ] Report per `_shared.md`, including the chosen npm name and registry token count.
diff --git a/prompts/robinhood-chain/02-sdk-simple-wrapper.md b/prompts/robinhood-chain/02-sdk-simple-wrapper.md
deleted file mode 100644
index 5d605f4af..000000000
--- a/prompts/robinhood-chain/02-sdk-simple-wrapper.md
+++ /dev/null
@@ -1,44 +0,0 @@
-# 02 — Simple wrapper: `hood-js` (five lines to your first trade)
-
-Read `prompts/robinhood-chain/_shared.md` first. Requires Wave 1 (`robinhood/robinhood-chain-sdk/`)
-to exist — install it via `file:../robinhood-chain-sdk` and depend on its npm name.
-
-## Mission
-Build `robinhood/hood-js/` — the "just works" layer over the core SDK, for developers who don't
-want to know what a viem transport is. One import, sensible defaults, promise-first, browser and
-Node. Think `axios` vs `http`. npm name `hood-js` (fallbacks: `hoodjs`, `easyhood`).
-
-## API surface (complete — nothing more, nothing hidden)
-```js
-import hood from 'hood-js'
-
-await hood.price('AAPL') // → { symbol, usd, updatedAt }
-await hood.prices(['AAPL','TSLA','NVDA']) // batched multicall under the hood
-await hood.portfolio('0xabc…') // multiplier-correct, USD-valued positions
-await hood.coins() // trending memecoins w/ price + 24h (launchpads + Uniswap)
-await hood.launches({ live: true }, cb) // stream new launchpad coins
-await hood.quote({ sell: 'USDG', buy: 'CASHCAT', amount: 100 }) // swap quote, no wallet needed
-await hood.swap({ ...quote, wallet }) // execute — wallet = private key env or injected EIP-1193
-hood.testnet() // flip every call to 46630
-```
-- Zero required config. Public RPC default, `hood.config({ rpcUrl, alchemyKey })` optional.
-- Stock Token buy paths require `hood.config({ acknowledgeEligibility: true })` and surface the
- `_shared.md` disclosure in the thrown error otherwise. Memecoins need nothing.
-- Every function has a one-line JSDoc + a runnable snippet in the README that matches reality.
-
-## Requirements
-- Bundle size budget: ≤ 15 kB gzipped on top of viem (verify with a size check script; print it
- in the report). Browser build works from a `<script type="module">` CDN-style import.
-- Friendly errors: no raw viem stack traces — wrap into plain-language messages with a `cause`.
-- Vitest: unit (arg validation, formatting) + live (real `hood.price('AAPL')` on mainnet, real
- testnet `hood.swap` with faucet funds — paste tx hash).
-- `docs/` site per `_shared.md`: landing page IS the pitch — an interactive REPL-style demo where
- visitors type `hood.price('TSLA')` and see the live answer (client-side, public RPC), a
- copy-paste quickstart, and the full API table. This page must be beautiful enough to trend on
- developer X.
-- README: install, 30-second quickstart, API reference table, testnet guide, eligibility note.
-
-## Done checklist
-- [ ] The README quickstart runs verbatim (`node quickstart.mjs`) in a fresh folder.
-- [ ] Live browser demo returns real prices when docs/index.html is opened locally.
-- [ ] Testnet swap tx hash in the report; size budget printed; `npm pack` clean.
diff --git a/prompts/robinhood-chain/03-sdk-advanced-wrapper.md b/prompts/robinhood-chain/03-sdk-advanced-wrapper.md
deleted file mode 100644
index 9269922b7..000000000
--- a/prompts/robinhood-chain/03-sdk-advanced-wrapper.md
+++ /dev/null
@@ -1,50 +0,0 @@
-# 03 — Advanced toolkit: `hoodkit` (the power-user layer)
-
-Read `prompts/robinhood-chain/_shared.md` first. Requires Wave 1 core SDK
-(`file:../robinhood-chain-sdk` + npm name dep).
-
-## Mission
-Build `robinhood/hoodkit/` — the advanced wrapper for teams building real products on Robinhood
-Chain: streaming, caching, batching, indexing, strategy primitives, React hooks. Where `hood-js`
-hides complexity, `hoodkit` weaponizes it. npm `hoodkit` (fallbacks: `hood-kit`, `hoodchain-kit`).
-
-## Modules
-
-1. **`stream`** — unified real-time layer over the sequencer firehose + RPC log subscriptions:
- `streamPrices(symbols)`, `streamSwaps({ pool | token })`, `streamLaunches()`,
- `streamPortfolio(address)`. Backpressure-safe async iterators AND event-emitter forms.
- Automatic reconnect with resume-from-block gap fill (no silently dropped events — test this
- by killing the socket mid-stream in an integration test).
-2. **`cache`** — pluggable read-through cache (memory LRU default, Redis adapter interface) with
- per-datatype TTLs (quotes 2s, registry 1h, multipliers 10m); request coalescing so N
- concurrent identical reads → 1 RPC call (test with 100 parallel `getQuote`s → assert 1 fetch).
-3. **`batch`** — multicall aggregation with automatic chunking + a `plan()` API that batches
- arbitrary SDK reads into minimal RPC round-trips.
-4. **`index`** — lightweight local indexer: sync Transfer/Swap/launch events for a token set
- into SQLite (better-sqlite3), incremental from last synced block, exposing
- `holders(token)`, `candles(token, interval)` (build OHLCV from swap events — real math,
- tested against a known pool's Blockscout history), `volume24h(token)`.
-5. **`strategy`** — primitives autonomous agents need (prompt 07 consumes this): position
- tracker with PnL (realized/unrealized, multiplier-aware for Stock Tokens), TWAP executor
- (slice a big swap across time with per-slice slippage bounds), price triggers
- (`onCross(symbol, threshold, cb)`), spend-cap guard, dry-run mode that builds+simulates
- (`eth_call`) without sending.
-6. **`react`** — `@hoodkit/react` subpath: `useQuote`, `usePortfolio`, `useLaunches`, `useSwap`
- hooks over the stream/cache layers, SSR-safe, with a small real demo app in `examples/react-demo`
- (Vite) actually run during verification.
-
-## Requirements
-- Same packaging bar as the core SDK (ESM+CJS, exports map, Node ≥ 20). Keep heavy deps optional:
- better-sqlite3 and react are optional peer deps; core installs light.
-- Vitest: unit for cache/batch/strategy math; integration: live stream 60s of real mainnet
- swaps on a busy pool (paste event count), index a real token's last 1000 blocks and assert
- holder math against Blockscout's holder count (tolerance documented).
-- `docs/` static site per `_shared.md`: landing = live dashboard demo (client-side: streaming
- prices + latest launches rendered beautifully), guides per module, API reference (typedoc).
-- README: when to use hoodkit vs hood-js vs core SDK (honest decision table).
-
-## Done checklist
-- [ ] Reconnect gap-fill test proves no dropped events.
-- [ ] Coalescing test proves 100→1. Candle math validated against a real pool.
-- [ ] React demo runs (`npm run dev` exercised, screenshot-worthy). `npm pack` clean on both entry points.
-- [ ] Live-stream evidence + indexer-vs-Blockscout comparison in the report.
diff --git a/prompts/robinhood-chain/04-market-data-api.md b/prompts/robinhood-chain/04-market-data-api.md
deleted file mode 100644
index b0cbc308e..000000000
--- a/prompts/robinhood-chain/04-market-data-api.md
+++ /dev/null
@@ -1,57 +0,0 @@
-# 04 — Hosted Market Data API: `hood-api` (free tier + x402)
-
-Read `prompts/robinhood-chain/_shared.md` first. Requires Wave 1 core SDK
-(`file:../robinhood-chain-sdk`). Coordinates with prompt 05 (`hood402`) — if its middleware
-exists when you run, consume it; otherwise implement x402 402-challenge handling inline against
-the standard x402 spec and leave a clean seam to swap in `hood402` later.
-
-## Mission
-Build `robinhood/hood-api/` — a deployable REST API service that is the missing market-data
-layer for Robinhood Chain, monetized with x402. Nobody offers this: RWA.xyz is enterprise-paid,
-CoinGecko has no equity semantics. This is the flagship API product.
-
-## Endpoints (all real data, JSON, versioned under `/v1`)
-
-Free (rate-limited by IP, generous):
-- `GET /v1/health`, `GET /v1/chain` — chain stats: block height, gas, TVL (DefiLlama), bridge flows.
-- `GET /v1/stocks` — all Stock Tokens: Chainlink price, DEX price (Uniswap pool mid), premium/
- discount between the two, uiMultiplier, 24h DEX volume + liquidity (GeckoTerminal/on-chain).
-- `GET /v1/stocks/:symbol` — detail: candles (from hoodkit-style swap-event OHLCV or
- GeckoTerminal), holders (Blockscout), feed metadata, contract links.
-- `GET /v1/coins` — memecoins: launchpad state (bonding/graduated), price, volume, age, holders.
-- `GET /v1/coins/:address` — detail incl. launch info and graduation status.
-- `GET /v1/launches` — recent + live launchpad activity (NOXA, The Odyssey).
-
-Paid via x402 (USDC on Base + USDG on Robinhood Chain when hood402 lands; price each $0.001–0.01):
-- `GET /v1/portfolio/:address` — multiplier-correct full portfolio with USD valuation + PnL basis.
-- `GET /v1/stocks/:symbol/history` — deep OHLCV history.
-- `GET /v1/equities` — THE unique one: unified cross-issuer tokenized-equity view — same
- underlying ticker across Robinhood Chain, xStocks (Backed, public no-auth API per their docs)
- and Ondo GM (Chainlink tokenized-equity feeds): normalized price, venue premium/discount
- spread, where it's cheapest. Cache upstreams respectfully.
-- `GET /v1/firehose` token + `wss /v1/ws` — real-time stream (launches, big swaps, stock ticks)
- with metered x402 session auth.
-
-## Requirements
-- Node 20 + Express (or Hono), no framework bloat; strict input validation (zod); per-endpoint
- cache TTLs; upstream failover (public RPC → Alchemy if `ALCHEMY_KEY` set; CoinGecko →
- GeckoTerminal → on-chain, in the failover style of three.ws market handlers).
-- Every response includes `source` + `asOf` fields. Errors are structured
- (`{ error, hint, docs }`) — never a bare 500.
-- OpenAPI 3.1 spec (`openapi.json`) generated and served at `/v1/openapi.json`; docs site renders it.
-- Deploy: `Dockerfile` (distroless, PORT-aware) + Cloud Run instructions + `vercel.json`
- alternative. Deploy for real only if creds exist; otherwise document exact commands.
-- Tests: vitest with real upstream integration tests (hit your own running server via
- `npm run dev` in the test, assert real data shapes; no recorded fixtures for the live suite).
-- `docs/` static site per `_shared.md`: landing with LIVE example responses (fetched client-side
- from the deployed URL if deployed, else rendered from a real captured response with a clear
- "sample of live output" label — capture it during your run, from the real server), full
- endpoint reference from the OpenAPI spec, x402 payment walkthrough with a working client
- snippet, pricing table.
-
-## Done checklist
-- [ ] Local server run exercised: `curl` transcript for every endpoint in the report (real data).
-- [ ] x402 402-challenge → pay → 200 flow proven with a scripted client (testnet/base-sepolia
- settlement acceptable for the E2E; document the mainnet config).
-- [ ] `/v1/equities` returns a real cross-venue row for at least 3 tickers with venue spreads.
-- [ ] OpenAPI validates; Dockerfile builds; report lists deploy status + owner actions.
diff --git a/prompts/robinhood-chain/05-x402-usdg-rail.md b/prompts/robinhood-chain/05-x402-usdg-rail.md
deleted file mode 100644
index 150cde460..000000000
--- a/prompts/robinhood-chain/05-x402-usdg-rail.md
+++ /dev/null
@@ -1,47 +0,0 @@
-# 05 — x402 on Robinhood Chain: `hood402` (USDG payment rail)
-
-Read `prompts/robinhood-chain/_shared.md` first. Requires Wave 1 core SDK for chain plumbing.
-
-## Mission
-Build `robinhood/hood402/` — the x402 payment stack for USDG on Robinhood Chain: server
-middleware, client, and facilitator. The only prior art is days old (`project-r0x`, MIT — study
-its facilitator design and the canonical `x402` protocol repo/spec; follow the STANDARD x402
-scheme exactly rather than inventing a variant, so any x402 client interoperates). npm scope:
-`hood402` with subpath exports (fallbacks: `x402-usdg`, `hood-402`).
-
-## Deliverables
-
-1. **Protocol conformance** — implement x402 `exact` scheme for EVM with USDG on chain 4663:
- verify USDG's EIP-3009/`transferWithAuthorization` or EIP-2612 permit support by READING the
- verified contract on Blockscout first; build settlement on whichever the contract actually
- supports (document the finding — this decision is load-bearing). Testnet twin on 46630.
-2. **`hood402/server`** — Express/Hono/Next middleware: `paywall({ price, payTo, network: 'robinhood' })`
- issuing spec-compliant 402 challenges and verifying/settling via facilitator or self-settle mode.
-3. **`hood402/client`** — fetch wrapper: intercept 402 → sign payment (viem wallet) → retry,
- with spend caps per origin and a session cache. Works in Node and browser (injected wallet).
-4. **Facilitator service** — `facilitator/` subfolder: verify + settle endpoints per x402 spec,
- Dockerfile, Cloud Run deploy docs, idempotent settlement with a small SQLite ledger, metrics
- endpoint. This is what we run in production; keys via env.
-5. **Interop proof** — E2E script: a demo paid endpoint + the client completing a REAL paid
- request with USDG on testnet 46630 (faucet ETH for gas; if no USDG testnet faucet exists,
- deploy a mock— NO: deploy nothing fake. If testnet USDG doesn't exist, run the E2E on
- mainnet with a $0.001 real payment funded from the owner's wallet if creds are present,
- otherwise prove the full flow up to settlement broadcast in simulation (`eth_call`) and mark
- settlement as pending-owner-funding in the report. State plainly which path you took.)
-6. **three.ws seam** — a short `INTEGRATION.md` describing exactly how three.ws's existing x402
- catalog adds `network: robinhood-chain` as an accepted rail using this package (env vars,
- settlement wallet, facilitator URL). Do not modify three.ws in this prompt.
-
-## Requirements
-- Strict TypeScript, ESM+CJS, vitest unit suite for challenge/verify/settle state machine
- (malformed payloads, replay, expiry, wrong-chain, underpayment — each a test).
-- `docs/` static site per `_shared.md`: landing explains x402-on-Robinhood-Chain in one screen
- with an animated request/402/pay/200 diagram (CSS, no video), quickstarts for the three
- pieces, spec-conformance notes, r0x comparison (fair, factual).
-- README: security model, key handling, spend caps, replay protection.
-
-## Done checklist
-- [ ] USDG settlement mechanism verified from the actual contract, cited by address + Blockscout link.
-- [ ] State-machine tests green; interop E2E evidence per deliverable 5 with the honest path taken.
-- [ ] Facilitator Docker image builds; `npm pack` clean on both packages.
-- [ ] INTEGRATION.md actionable enough that a three.ws agent can wire the rail without research.
diff --git a/prompts/robinhood-chain/06-mcp-servers.md b/prompts/robinhood-chain/06-mcp-servers.md
deleted file mode 100644
index ddddb2517..000000000
--- a/prompts/robinhood-chain/06-mcp-servers.md
+++ /dev/null
@@ -1,49 +0,0 @@
-# 06 — MCP servers: `hood-mcp` (chain data + trading for AI agents)
-
-Read `prompts/robinhood-chain/_shared.md` first. Requires Wave 1 core SDK
-(`file:../robinhood-chain-sdk`).
-
-## Mission
-Build `robinhood/hood-mcp/` — production MCP servers for Robinhood Chain. Robinhood's own MCP
-covers only their US brokerage; the chain itself has just two 0-star read-only hobby MCPs.
-Ours is the productized one: full data surface + a guarded trading surface. npm `hood-mcp`
-(fallbacks: `hoodchain-mcp`, `robinhood-chain-mcp-server`).
-
-## Deliverables — two servers, one package
-
-1. **`hood-mcp` (data server, zero-config, read-only)** — stdio + streamable-HTTP transports,
- built on `@modelcontextprotocol/sdk` (use the current SDK — check npm for the latest major):
- - `list_stock_tokens`, `get_stock_quote` (Chainlink + DEX price + premium),
- `get_portfolio` (multiplier-correct), `get_coin` / `list_trending_coins`,
- `get_recent_launches`, `watch_launches` (streamable), `get_chain_stats`,
- `search_token` (symbol/name/address via registry + Blockscout).
- - Every tool: precise JSON schema, one-line description an LLM can route on, real error
- messages. No API key required — public RPC default, `ALCHEMY_KEY` env optional.
-2. **`hood-mcp/trading` (wallet server, explicitly opt-in)** — separate entry point, requires
- `ROBINHOOD_CHAIN_PRIVATE_KEY` + `HOOD_MCP_ENABLE_TRADING=1`:
- - `get_swap_quote`, `execute_swap` (memecoins; Stock Token buys additionally require
- `HOOD_MCP_ACKNOWLEDGE_ELIGIBILITY=1` per `_shared.md`), `transfer_usdg`, `get_my_portfolio`.
- - Hard spend caps via `HOOD_MCP_MAX_SPEND_USDG` (per-call and per-session), every mutating
- tool returns the simulation result and requires a `confirm: true` argument round-trip.
-3. **Registry listings** — prepare (don't submit) the metadata for the MCP registries the
- ecosystem actually uses (modelcontextprotocol registry `server.json`, Smithery config), plus
- Claude Desktop / Claude Code / Cursor install snippets in the README — exact, tested JSON.
-4. **Optional x402 monetization seam** — if `robinhood/hood402` exists when you run, add a
- config flag that paywalls the expensive data tools (history, firehose) using its middleware
- on the HTTP transport; otherwise leave a documented seam. Free tools stay free either way.
-
-## Requirements
-- Vitest: tool-schema validation tests + a scripted MCP client (SDK's client) exercising every
- tool for real: data tools against mainnet, trading tools against testnet 46630 with faucet
- funds — a REAL `execute_swap` round-trip (simulate → confirm → receipt) with tx hash pasted.
-- `docs/` static site per `_shared.md`: landing shows a real Claude Code session transcript
- (run it yourself with the local server via `claude mcp add`) doing "what's AAPL trading at
- on-chain and what's the premium?" — the answer with live numbers is the screenshot. Install
- matrix (Claude Code / Desktop / Cursor / any stdio client), tool reference, safety model page.
-- README: 60-second install per client, both servers, env table, safety model.
-
-## Done checklist
-- [ ] Every tool exercised by the scripted client with real outputs in the report.
-- [ ] Real testnet swap through the trading server (hash in report). Spend-cap + confirm-gate tests green.
-- [ ] Claude Code session actually run against the local build; transcript captured for docs.
-- [ ] `npm pack` clean; registry metadata validates; report lists owner actions (registry submissions).
diff --git a/prompts/robinhood-chain/07-agent-trading.md b/prompts/robinhood-chain/07-agent-trading.md
deleted file mode 100644
index 48d8c4b4c..000000000
--- a/prompts/robinhood-chain/07-agent-trading.md
+++ /dev/null
@@ -1,54 +0,0 @@
-# 07 — Autonomous trading agents: `hood-traders`
-
-Read `prompts/robinhood-chain/_shared.md` first. Wave 3: requires core SDK; use `hoodkit`'s
-`strategy`/`stream` modules if built (they should be — check `robinhood/hoodkit/`), else the
-core SDK directly with a note in your report.
-
-## Mission
-Build `robinhood/hood-traders/` — a framework + runnable fleet of autonomous agents that trade
-Robinhood Chain memecoins and monitor Stock Token premium/discount, in the spirit of
-three.ws/play/arena (autonomous agents, live P&L, every trade real and signed). This is both a
-real product and the reference app proving the whole stack.
-
-## Deliverables
-
-1. **Agent framework** (`src/framework/`) — an agent = strategy + wallet + risk budget + journal:
- - Lifecycle: observe (hoodkit streams) → decide (strategy fn) → simulate (`eth_call`) →
- execute (real swap) → journal (SQLite: every decision, tx, PnL mark).
- - Risk layer is NOT optional: per-agent `MAX_POSITION_USDG`, `MAX_DAILY_SPEND_USDG`,
- `MAX_SLIPPAGE_BPS`, global kill switch (SIGINT + `KILL` file + HTTP `/kill`), cooldowns.
- - Modes: `paper` (default — full pipeline, simulation-only, marked clearly in every output)
- and `live` (requires `HOOD_TRADERS_LIVE=1` + funded key). Paper mode is a real simulation
- against live market data, not fake data.
-2. **Three real strategies** (`src/strategies/`) — honest, simple, documented with their edge
- hypothesis and failure modes; no ML theater:
- - `launch-sniper` — enter new launchpad coins passing liquidity/holder-distribution filters,
- exit on take-profit/stop/time.
- - `momentum` — volume+price breakout entries on graduated coins, trailing stop exits.
- - `premium-watch` — Stock Token Chainlink-vs-DEX premium tracker that trades the
- convergence ONLY in eligible configuration (`_shared.md` gate), otherwise alerts-only.
- Default: alerts-only.
-3. **Live dashboard** (`dashboard/`) — served by the agent process: fleet overview, per-agent
- equity curve, open positions, decision journal (why each trade fired), kill buttons.
- Vanilla JS + the design bar from `_shared.md`. This is the demo and the screenshot.
-4. **Deploy** — Dockerfile + Cloud Run (or any always-on host) docs; `docker compose up` runs
- fleet + dashboard locally in paper mode with zero config.
-
-## Requirements
-- Vitest: risk-layer tests are the priority (cap breach → refusal; kill switch mid-loop;
- slippage bound; journal integrity). Strategy logic unit-tested on real recorded market
- snapshots captured during your run (capture them yourself from live data; they're inputs to
- deterministic tests, not runtime mocks).
-- E2E: run the fleet in paper mode against LIVE mainnet data for ≥ 30 minutes; then execute at
- least one REAL testnet-46630 trade through the full pipeline (faucet funds) — tx hash in report.
-- `docs/` static site per `_shared.md`: landing = the dashboard aesthetic with a real captured
- session (clearly labeled paper/live), architecture page (the observe→journal loop), strategy
- docs with honest risk disclosure, "run your own in 5 minutes" quickstart.
-- README top: prominent risk disclaimer (autonomous trading, real funds, no guarantees) — plain
- language, not legalese soup.
-
-## Done checklist
-- [ ] 30-min live-data paper session evidence (journal excerpt + dashboard screenshot-worthy state).
-- [ ] Real testnet trade through the full pipeline. Risk tests green. Kill switch proven (test output).
-- [ ] `docker compose up` → working dashboard on first try in a clean checkout.
-- [ ] Report: honest assessment of each strategy's edge hypothesis + owner actions (funding for live).
diff --git a/prompts/robinhood-chain/08-agent-launcher.md b/prompts/robinhood-chain/08-agent-launcher.md
deleted file mode 100644
index a655cc789..000000000
--- a/prompts/robinhood-chain/08-agent-launcher.md
+++ /dev/null
@@ -1,56 +0,0 @@
-# 08 — Autonomous coin launcher: `hood-launcher`
-
-Read `prompts/robinhood-chain/_shared.md` first. Wave 3: requires core SDK (`launchpads` module).
-
-## Mission
-Build `robinhood/hood-launcher/` — an autonomous agent (and a human-driven CLI/API around the
-same core) that launches coins on Robinhood Chain end-to-end: concept → name/ticker/description
-→ artwork → deploy on a launchpad (NOXA primary) or direct ERC-20 + Uniswap v3 pool → announce.
-The pump.fun-launcher playbook, ported to chain 4663 — nothing like it exists there yet.
-
-## Deliverables
-
-1. **Launch rails** (`src/rails/`) — research first, then implement what is REAL:
- - `noxa` rail: reverse-engineer NOXA's verified factory/bonding-curve contracts on Blockscout
- (creation tx of a recent launch → factory → `create` calldata shape). Implement create +
- initial-buy. If NOXA has an official API/SDK, prefer it and cite it.
- - `direct` rail: deploy a clean, audited-pattern ERC-20 (OpenZeppelin v5, fixed supply,
- no owner mint, renounced) + create/initialize a Uniswap v3 pool + seed LP + burn or lock
- LP per config. Every contract verified on Blockscout via API as part of the pipeline.
- - Pick ONE more live launchpad (The Odyssey) only if its contracts are discoverable and
- verified; otherwise document why it's excluded. Never guess calldata.
-2. **Concept engine** (`src/concept/`) — name/ticker/description/lore generation via the LLM the
- operator configures (`OPENAI_API_KEY`/`ANTHROPIC_API_KEY` — support both, no proxy of ours),
- uniqueness check against existing on-chain tickers (registry + Blockscout search), artwork
- via the three.ws forge free lane (`https://three.ws` public forge/3D endpoints are usable —
- generate a 3D-render logo; this is our differentiator: every hood-launcher coin ships with a
- 3D logo GLB + rendered PNG) with a documented plain-image fallback (any image the operator
- supplies). Config-first: fully deterministic launches (operator supplies everything) must
- work with zero LLM calls.
-3. **Autonomous mode** (`src/auto/`) — scheduler that watches launch-meta conditions (e.g.
- trending narratives from the free three.ws crypto-news digest API), proposes a launch,
- and requires either `AUTO_APPROVE=1` or an operator approve step (HTTP endpoint / CLI
- confirm). Hard caps: `MAX_LAUNCHES_PER_DAY`, `MAX_SEED_USDG`. Kill switch per prompt 07's bar.
-4. **CLI + API** — `hood-launch` CLI (`hood-launch create --config coin.json --rail noxa`) and a
- small HTTP API for programmatic use, sharing one core.
-5. **Testnet-first pipeline** — full E2E on 46630: deploy, pool, buy, verify — real tx hashes.
- Mainnet execution gated behind `LIVE=1` + funding; do not launch anything real on mainnet
- during the build (a mainnet token launch is an outward-facing, irreversible act — that call
- is the owner's).
-
-## Requirements
-- Ethics/abuse posture in README: this tool creates real tradeable assets; document operator
- responsibility, no-impersonation policy (concept engine refuses trademarked/person-named
- coins — enforce with a checkable denylist + LLM screen), and the caps.
-- Vitest: calldata builders against captured real factory transactions; cap enforcement; ticker
- uniqueness. E2E on testnet with pasted hashes + Blockscout verification links.
-- `docs/` static site per `_shared.md`: landing shows a real testnet launch walkthrough
- (concept → 3D logo → live coin on the testnet explorer), rail docs, autonomous-mode guide,
- safety page.
-
-## Done checklist
-- [ ] NOXA calldata proven against a real historical launch tx (cite it) AND a real testnet
- execution of whichever rails testnet supports (direct rail at minimum).
-- [ ] A complete testnet coin exists: token + pool + initial buy + verified contract + 3D logo.
-- [ ] Caps/kill/approval tests green. No mainnet launches performed.
-- [ ] Report: rails shipped vs excluded (with evidence), owner actions for mainnet go-live.
diff --git a/prompts/robinhood-chain/09-examples.md b/prompts/robinhood-chain/09-examples.md
deleted file mode 100644
index e1111b0e5..000000000
--- a/prompts/robinhood-chain/09-examples.md
+++ /dev/null
@@ -1,50 +0,0 @@
-# 09 — Examples gallery: `robinhood-chain-examples`
-
-Read `prompts/robinhood-chain/_shared.md` first. Wave 3: consumes everything built in Waves 1–2
-(core SDK, hood-js, hoodkit, hood-api, hood402, hood-mcp). Check which siblings exist in
-`robinhood/` and cover what's actually there; note any gaps in the report.
-
-## Mission
-Build `robinhood/robinhood-chain-examples/` — THE examples repo for the chain: the place every
-new Robinhood Chain developer lands from a search. Each example is small, complete, runnable,
-and real. This repo is also our SDK's honesty check — if an example is awkward to write, file
-that as feedback in your report.
-
-## Structure
-```
-examples/
- 01-read-stock-price/ # viem-only, no SDK — the "hello chain" baseline
- 02-stock-price-sdk/ # same thing in 3 lines of hoodchain
- 03-portfolio-valuation/ # multiplier-correct portfolio (the correctness showpiece)
- 04-swap-memecoin/ # quote + execute on testnet, faucet-funded
- 05-watch-launches/ # live launchpad stream to console
- 06-firehose/ # sequencer feed → filtered event stream
- 07-live-price-webpage/ # single index.html, client-side RPC, ticking prices
- 08-portfolio-dashboard/ # small Vite app on hoodkit react hooks
- 09-x402-paid-api-call/ # client paying a hood-api endpoint via hood402
- 10-x402-sell-your-api/ # 20-line paid endpoint with hood402 middleware
- 11-mcp-agent-session/ # scripted MCP client driving hood-mcp tools
- 12-telegram-price-bot/ # grammY bot: /price AAPL, /trending — deployable free-tier
- 13-launch-a-coin-testnet/ # hood-launcher direct rail on 46630
- 14-agent-paper-trader/ # minimal hood-traders strategy in paper mode
-```
-Each folder: `README.md` (what it shows, prerequisites, exact run commands, expected output —
-real captured output), minimal deps, `package.json` with a single `npm start`.
-
-## Requirements
-- RUN EVERY EXAMPLE yourself; paste real output snippets into each README. Anything needing
- funds uses testnet 46630 + faucet. Anything needing keys documents the env var and fails with
- a helpful message when missing (test that path too).
-- Root README: gallery table (example → concept → difficulty → what it proves) + a
- "which package do I need?" decision map, consistent with hoodkit's decision table.
-- `docs/` static site per `_shared.md`: gallery landing where example 07's live-price page is
- EMBEDDED and running (it's client-side — it works on Pages), with per-example pages rendering
- the READMEs beautifully with syntax highlighting (build-time rendered to static HTML, no
- client-side markdown fetching).
-- Keep dependencies per example minimal and pinned `^`. No shared root node_modules trickery —
- each example installs standalone.
-
-## Done checklist
-- [ ] All examples run; captured outputs in READMEs; testnet hashes where applicable.
-- [ ] Gallery site works locally as static files; example 07 lives inside it.
-- [ ] SDK feedback list in the report (rough edges you hit — this feeds fixes upstream).
diff --git a/prompts/robinhood-chain/10-tutorials.md b/prompts/robinhood-chain/10-tutorials.md
deleted file mode 100644
index c9a7e3709..000000000
--- a/prompts/robinhood-chain/10-tutorials.md
+++ /dev/null
@@ -1,57 +0,0 @@
-# 10 — Tutorial site: `learn-robinhood-chain`
-
-Read `prompts/robinhood-chain/_shared.md` first. Wave 4 — run LAST: it teaches the finished
-stack. Verify which sibling repos exist in `robinhood/` and teach what's real.
-
-## Mission
-Build `robinhood/learn-robinhood-chain/` — the definitive learning site for building on
-Robinhood Chain, from zero to shipping an autonomous agent. Written tutorials, each verified by
-actually performing it. This is a content product: the writing quality bar is "official docs of
-a top-tier devtools company" (Stripe/Vite-level), and it funnels readers to our SDK, API, and
-MCP at every natural step without being an ad.
-
-## Curriculum (each tutorial = one page, sequential but independently completable)
-
-**Foundations**
-1. What Robinhood Chain actually is — architecture, chain IDs, what's real vs hype (no-token
- fact, US Stock Token restriction, permissionless deployment). Sourced, linked.
-2. Connect and read the chain in 5 minutes — wallet setup, faucet, first viem read.
-3. Stock Tokens explained for developers — ERC-20 + Chainlink feed + `uiMultiplier()`; the
- split/dividend trap, with a worked real example showing wrong-vs-right valuation.
-
-**Building**
-4. Your first app: live price ticker (from example 07, expanded with explanation).
-5. Portfolio tracker done right (SDK `getPortfolio`, why naive trackers are wrong).
-6. Swapping on-chain: quotes, slippage, execution on testnet (memecoin path; eligibility
- sidebar for Stock Tokens).
-7. Streaming the chain: launchpad watcher + sequencer firehose.
-
-**Monetizing & agents**
-8. Sell your API for USDG: x402 + hood402 from zero to first paid request.
-9. Give your AI agent chain access: hood-mcp with Claude Code/Desktop/Cursor — real transcript.
-10. Build an autonomous trading agent: paper-mode hood-traders strategy, risk-first framing.
-11. Launch a coin programmatically (testnet): hood-launcher direct rail, responsibly framed.
-
-**Capstone**
-12. Ship it: deploying your app/API (Pages for static, Cloud Run for servers), going mainnet
- checklist (funding, keys, caps, monitoring).
-
-## Requirements
-- EVERY tutorial performed by you during the build, on a clean environment; all outputs and tx
- hashes in the text are real captures. A tutorial you didn't complete doesn't ship.
-- Site: static generator you build or a minimal SSG (plain build script rendering markdown →
- styled HTML is fine; no heavy framework) outputting to `docs/` per `_shared.md`. Features:
- sidebar navigation, prev/next, reading time, copy buttons on code blocks, dark/light,
- search (client-side index — lunr-style or hand-rolled), mobile-perfect.
-- Each page: prerequisites box, "what you'll build" with a real screenshot/output, estimated
- time, troubleshooting section from errors YOU actually hit.
-- Landing page: curriculum map with progress affordance, one-line pitch, live chain stats strip
- (client-side RPC — block height, gas, a ticking price).
-- Root README: how to add a tutorial (contributor guide), local preview command.
-
-## Done checklist
-- [ ] 12 tutorials, all performed, all real outputs. Build script produces the site into docs/.
-- [ ] Search works offline; site is beautiful at 320/768/1440; Lighthouse-clean structure
- (semantic headings, alt text, contrast).
-- [ ] Report: per-tutorial verification note + list of upstream bugs/rough edges found while
- performing them (feeds fixes to the other repos).
diff --git a/prompts/robinhood-chain/11-toolkit-cli.md b/prompts/robinhood-chain/11-toolkit-cli.md
deleted file mode 100644
index 203056dce..000000000
--- a/prompts/robinhood-chain/11-toolkit-cli.md
+++ /dev/null
@@ -1,49 +0,0 @@
-# 11 — CLI toolkit: `hood-cli`
-
-Read `prompts/robinhood-chain/_shared.md` first. Wave 2: requires core SDK
-(`file:../robinhood-chain-sdk`).
-
-## Mission
-Build `robinhood/hood-cli/` — the command-line toolkit for Robinhood Chain: the `gh`/`vercel` of
-chain 4663. Instant reads with zero config, guarded writes with a wallet. npm `hood-cli`
-(fallbacks: `hoodchain-cli`, `hood-toolkit`) exposing the `hood` binary (bin fallback `hoodc`
-if a global `hood` conflict is likely — check npm).
-
-## Command surface
-```
-hood price AAPL [--watch] # Chainlink + DEX price + premium, live-updating table
-hood stocks [--sort premium] # full Stock Token board
-hood coins [--new|--trending] # memecoin screener
-hood launches [--follow] # launchpad feed, streaming
-hood portfolio <address> # multiplier-correct positions, USD totals
-hood tx <hash> | hood token <addr> # decoded inspection via Blockscout + RPC
-hood watch <addr|token> # live activity stream for an address/token
-hood swap --sell USDG --buy <token> --amount 100 [--execute] # quote by default; --execute signs
-hood transfer --to <addr> --amount 5 --token USDG
-hood faucet # testnet: request funds, print balances
-hood deploy-token --config coin.json # direct-rail ERC-20 deploy (testnet default)
-hood config [set|get|list] # rpc, alchemy key, wallet, network (mainnet|testnet)
-```
-- Reads need zero setup. Writes need `hood config set wallet` (env/keystore file with password,
- never plaintext in config) + explicit `--execute`, defaulting to a printed simulation.
- Stock Token buys additionally require `--acknowledge-eligibility` (with the `_shared.md` note
- in help text). `--json` on every command for scripting; exit codes meaningful.
-
-## Requirements
-- Node ≥ 20, commander or clipanion, chalk-free custom ANSI styling consistent with the design
- bar (a CLI has aesthetics too: aligned tables, subtle color semantics — green/red only for
- numbers, spinners for network waits, graceful narrow-terminal fallback).
-- `--watch`/`--follow` modes render flicker-free (diff-repaint, not clear-screen spam).
-- Errors: human-first message + `--verbose` for the raw cause. Offline/RPC-down states designed.
-- Vitest: command parsing, formatting, guard rails (execute-gate, eligibility-gate, cap flag).
- E2E script driving the built binary: real mainnet reads + real testnet swap and transfer
- (faucet funds) — paste session transcript in the report.
-- `docs/` static site per `_shared.md`: landing = animated terminal session (CSS/JS typewriter
- over a REAL captured session, not invented output), install (`npm i -g`), command reference
- generated from the CLI's own help definitions (single source of truth), scripting recipes.
-- README: full command reference + quickstart GIF-alternative (the animated session).
-
-## Done checklist
-- [ ] Real transcript evidence for every command (mainnet reads, testnet writes).
-- [ ] `npm pack` clean; `npm i -g ./hood-cli-*.tgz && hood price AAPL` works in a clean shell.
-- [ ] Guard-rail tests green; docs terminal animation uses the real captured session.
diff --git a/prompts/robinhood-chain/12-threews-markets.md b/prompts/robinhood-chain/12-threews-markets.md
deleted file mode 100644
index 7ad80046c..000000000
--- a/prompts/robinhood-chain/12-threews-markets.md
+++ /dev/null
@@ -1,55 +0,0 @@
-# 12 — three.ws integration: /markets display + purchase
-
-Read `prompts/robinhood-chain/_shared.md` first. Wave 3. THIS PROMPT MODIFIES THE three.ws APP
-(not a standalone repo). All CLAUDE.md rules apply directly — and the COMMIT GATE is absolute:
-build in the working tree, do NOT commit (Robinhood-referencing content needs explicit owner
-approval per commit).
-
-## Mission
-Make three.ws the best place to SEE Robinhood Chain and a working place to BUY its coins:
-a Robinhood Chain section inside our existing /markets surface, detail pages, and a purchase
-flow — following the established patterns (read the neighboring market handlers and pages
-before writing anything; match their style, caching, failover, and design tokens).
-
-## Deliverables
-
-1. **API layer** (`api/v1/robinhood/…` following `api/v1/market/*` conventions):
- - `stocks.js`, `stocks-detail.js`, `coins.js`, `launches.js`, `chain.js` — same data spec as
- prompt 04's endpoints. If `robinhood/hood-api/` is deployed, proxy it with failover to
- direct upstream calls; if not, implement direct (DefiLlama provider already knows chain
- `robinhood-chain` — extend `api/v1/_providers.js`; CoinGecko categories
- `robinhood-chain-meme` / stocks-ecosystem; GeckoTerminal pools; Chainlink reads via viem).
- - Wire routes in `vercel.json` (it's the LIVE route table — follow existing entries), respect
- the rate-limiter bucket conventions (dedicated bucket, NOT `public:ip` — see
- play-lobby-429 lesson), and register x402 pricing for the premium endpoints in the
- existing catalog exactly like current `api/v1` paid endpoints.
-2. **/markets/robinhood hub page** — three tabs: Stocks (24/7 tokenized-equity board: Chainlink
- price, DEX premium, volume, sparklines), Coins (memecoin screener: new/graduating/trending),
- Chain (TVL, bridge flows, stats). Reuse the existing markets page components/CSS tokens; add
- the hub to /markets navigation and `data/pages.json` (path, title, description, added date).
-3. **Detail pages** — `/markets/robinhood/stock/:symbol` and `/markets/robinhood/coin/:address`
- following the existing markets detail-page pattern (memory: markets detail-page expansion):
- chart, stats grid, holders, recent trades, contract links (Blockscout), and for stocks the
- premium/discount history vs Chainlink NAV.
-4. **Purchase flow** — "Buy" on coin detail pages: EVM wallet connect (injected/EIP-6963, match
- any existing EVM wallet plumbing in the codebase — search before building new), chain-switch
- helper to 4663 (viem chain def), Uniswap v3 quote + swap with slippage control, bridge
- deep-link (LI.FI/Relay) for users without funds on 4663. Stock Tokens: DISPLAY-ONLY at
- launch — show an eligibility-gated "Trade on DEX" outbound link with the disclosure instead
- of an in-house buy (owner decision pending; leave the buy path cleanly implementable).
-5. **Docs + changelog** — `docs/` entry per the Documentation rules, `data/changelog.json`
- entry (feature), STRUCTURE.md row for the new surface.
-
-## Requirements
-- Definition of Done from CLAUDE.md in full: dev server run, real browser exercise, zero console
- errors, all states designed (loading skeletons, empty, error with retry), responsive,
- accessible, `npm test` green including any new tests (add handler tests following
- `tests/api/` patterns; remember the rewrite-query test lesson for parameterized routes).
-- Performance: the stocks board must not fan out 95 RPC calls per request — batch via
- multicall/cached snapshot with a short TTL, consistent with existing market caching.
-
-## Done checklist
-- [ ] Hub + both detail page types live locally with real data; purchase flow executes a real
- testnet swap (config-flag testnet mode) — evidence in report.
-- [ ] Routes in vercel.json; pages.json + changelog + STRUCTURE.md updated; docs written.
-- [ ] NOTHING committed. Report lists exact files changed for owner review.
diff --git a/prompts/robinhood-chain/13-threews-play.md b/prompts/robinhood-chain/13-threews-play.md
deleted file mode 100644
index 50ef154df..000000000
--- a/prompts/robinhood-chain/13-threews-play.md
+++ /dev/null
@@ -1,51 +0,0 @@
-# 13 — three.ws integration: /play worlds for Robinhood Chain coins
-
-Read `prompts/robinhood-chain/_shared.md` first. Wave 3. MODIFIES THE three.ws APP — commit gate
-applies: build in the working tree, do NOT commit.
-
-## Mission
-Port the /play formula — "every pump.fun coin gets a deterministic 3D world you walk into as
-your avatar, with live trades animating the space" — to Robinhood Chain coins. Study the
-existing implementation FIRST (the /play feature pages, `multiplayer/` rooms, the pump.fun feed
-plumbing, `three-ws-pump-fun:reactive` skill wiring) and reuse its architecture wholesale; this
-prompt adds a chain, not a new engine.
-
-## Deliverables
-
-1. **Firehose service** — the PumpPortal-equivalent for chain 4663 (nothing like it exists;
- this is also sellable later): a worker (`workers/robinhood-feed/` following existing worker
- conventions, with README) that consumes `wss://feed.mainnet.chain.robinhood.com` + RPC logs
- and emits normalized events — `launch` (NOXA/Odyssey creations), `trade` (launchpad +
- Uniswap swaps for tracked coins), `graduation` — over an internal WS/SSE endpoint with the
- same shape our pump feed consumers expect (map fields 1:1 where semantics align; document
- divergences). Reconnect + gap-fill; SOL-price-style shared USD conversion for ETH/USDG.
-2. **World generation** — deterministic 3D world per Robinhood Chain coin, seeded by its
- address (reuse the existing deterministic world-gen path for pump coins; same visual system,
- new chain-flavored palette/skybox variant so RH-chain worlds are recognizably distinct —
- subtle, tasteful, no Robinhood trademark assets/branding).
-3. **/play surface** — Robinhood Chain coins appear in the /play lobby (own filter/tab beside
- pump.fun coins), each with its world route; in-world: live trade events animate the space
- exactly like pump worlds (holders chat, trades ripple), and the coin's stats HUD reads from
- the prompt-12 API endpoints. Multiplayer via the existing `multiplayer/` room system.
-4. **Stretch (build if the core lands solid, else document as next):** Stock Token "trading
- floors" — one ambient world per ticker driven by the live Chainlink tape + DEX trades
- (display-only, no purchase, no geo issue). AAPL's floor at 2am Saturday is the screenshot.
-5. **Docs + changelog + pages.json + STRUCTURE.md** per the Documentation rules; lobby rate
- limiting uses the dedicated bucket pattern (429-starvation lesson), and mind the /walk
- WebGL-context-exhaustion lesson if embedding world previews in the lobby.
-
-## Requirements
-- CLAUDE.md Definition of Done in full — dev server, real browser, zero console errors, all
- states designed. E2E: join a Robinhood coin world locally and observe REAL live trades
- animating it (pick an active coin; capture the session in the report). Multiplayer smoke:
- two clients, one room.
-- The firehose worker runs standalone (`npm start` with env-documented config) and has its own
- tests (event normalization against captured real feed frames — capture during your run).
-- Do not regress pump.fun worlds: existing /play tests stay green; shared code changes get a
- test.
-
-## Done checklist
-- [ ] Firehose worker: live session evidence (event counts by type over ≥ 10 min).
-- [ ] A Robinhood coin world joinable locally, animated by real trades; lobby tab wired.
-- [ ] Existing /play + `npm test` green. pages.json/changelog/STRUCTURE/docs updated.
-- [ ] NOTHING committed. Report: files changed, deploy steps (worker + Scheduler/Run), stretch status.
diff --git a/prompts/robinhood-chain/PLAN.md b/prompts/robinhood-chain/PLAN.md
deleted file mode 100644
index 1a0fb4dd6..000000000
--- a/prompts/robinhood-chain/PLAN.md
+++ /dev/null
@@ -1,135 +0,0 @@
-# Robinhood Chain Campaign — Research + Build Plan
-
-> Drafted 2026-07-11 from a 4-agent research sweep (chain facts, GitHub, npm, infra/gap landscape).
-> COMMIT GATE: everything in this campaign references a non-$THREE crypto project. Per CLAUDE.md,
-> no commit ships without explicit owner approval of that content. Owner directed this campaign
-> on 2026-07-11; confirm approval per-commit or get a blanket sign-off before the first push.
-
-## Ground truth (verified 2026-07-11)
-
-- **Mainnet LIVE since 2026-07-01.** Permissionless Arbitrum Orbit L2, settles to Ethereum,
- blobs DA, ETH gas, 100ms blocks, ERC-4337 supported.
-- **Chain ID 4663** (mainnet) / **46630** (testnet). Public RPC `https://rpc.mainnet.chain.robinhood.com`,
- Alchemy is the recommended provider (`robinhood-mainnet.g.alchemy.com/v2/{key}`), Blockscout
- explorer + Pro API at `robinhoodchain.blockscout.com`, public sequencer feed
- `wss://feed.mainnet.chain.robinhood.com`. Testnet faucet drips ETH + test Stock Tokens
- (TSLA, AMZN, PLTR, NFLX, AMD): `https://faucet.testnet.chain.robinhood.com/`.
-- **`viem@^2.55.0` ships `robinhood` + `robinhoodTestnet` chain defs** (published 2026-07-08).
- No custom chain config needed anywhere.
-- **Assets:** ~95 tokenized Stock Tokens (plain ERC-20, 18 decimals, each with a live Chainlink
- price feed; corporate actions via ERC-8056 `uiMultiplier()`); **USDG** (Paxos) is the dollar
- rail (>$260M week one); **no native chain token** (airdrop talk is pure speculation).
- Memecoin meta is real: $560M+/day DEX volume, NOXA + "The Odyssey" pump.fun-style launchpads
- graduating coins to Uniswap v3, CASHCAT hit ~$150M cap.
-- **Programmatic trading is open:** Uniswap v2/v3/v4 + UniswapX, 1inch, Arcus (zero-fee stock
- DEX), Lighter (perps), Morpho are live. Stock Tokens are standard transferable ERC-20s.
-- **Compliance line:** Stock Tokens may not be offered/sold to US persons (also CA/UK/CH limits).
- Enforced legally + at issuance/front-ends, not at contract level. Memecoins carry no such
- restriction. → Stock Token BUY flows must be geo-gated; display/data is fine; memecoin swaps
- are unrestricted.
-- **Official tooling vacuum:** no Robinhood SDK, no official chain MCP (their Trading MCP at
- `agent.robinhood.com/mcp/trading` is brokerage-only, US-only), no market-data REST API for
- Stock Tokens, no launchpad firehose, chain absent from Graph Studio. Robinhood's GitHub org
- has zero original chain repos.
-- **Ecosystem is ~2 weeks old:** ~40 repos, almost all 0-star. Standouts: `nhevers/project-r0x`
- (MIT, 122★, x402 facilitator + USDG agent OS on chain 4663 — the one serious competitor,
- squarely in our x402 lane), `arambarnett/robinhood-chain-mcp` (MIT, read-only chain MCP),
- `ismailmoazami/robinhood-chain-quickstart` (MIT Foundry template),
- `BankrBot/skills` hoodmarkets pack (known-contracts.json = Stock Token address source).
- `adrydevel/robinhood-chain-sdk` is the closest SDK but license-ambiguous (README-MIT, no
- LICENSE file) — do not fork until resolved; build clean-room instead.
-- **Data providers we already integrate cover the chain:** DefiLlama has chain/RWA/bridge pages
- (our fixture already carries chainId 4663), CoinGecko API has live+historical chain data plus
- "Robinhood Chain Meme" and "Robinhood Chain Stocks Ecosystem" categories, GeckoTerminal +
- DEXTools track its pools, Dune has full support.
-- **Distribution:** Robinhood committed $1M to Arbitrum Open House 2026 (4 buildathons + 2
- founder houses). Priority verticals: DEXs, perps, lending.
-
-## Confirmed market gaps (nobody has these)
-
-1. Unified tokenized-equity market-data API (Robinhood + xStocks + Ondo in one schema:
- price, 24/7 candles, holders, DEX volume, premium/discount vs underlying, multipliers).
- RWA.xyz is enterprise-paid; CoinGecko has no equity semantics.
-2. Cross-venue tokenized-stock screener ("DEX Screener for equities") with arb/premium alerts.
-3. MCP server + agent tooling for the chain itself (not the brokerage).
-4. Portfolio tracking that reads `uiMultiplier()` correctly (every generic tracker misstates
- balances after splits/dividends).
-5. Launchpad/memecoin WebSocket firehose (PumpPortal-equivalent) — raw material is the public
- sequencer feed + Blockscout.
-6. x402-payable APIs on/for the chain (r0x is day-one; no incumbent).
-7. A polished chain SDK on npm (zero exist).
-
-## Workstreams
-
-### RH-01 — Chain plumbing (foundation, do first)
-`api/_lib/robinhood-chain.js`: viem clients (public RPC + Alchemy failover), chain constants,
-Stock Token registry (seed from Robinhood docs /chain/contracts + BankrBot known-contracts.json,
-refresh from Blockscout), Chainlink feed reader with staleness guards, `uiMultiplier()` reader,
-USDG address/decimals. Testnet twin for E2E (faucet-funded). Everything below consumes this.
-
-### RH-02 — Market Data API + x402 (`api/v1/robinhood/*`)
-Extends the existing Market Data API + x402 catalog patterns (`api/v1/market`, `api/v1/tokenized`):
-- `/api/v1/robinhood/stocks` — all Stock Tokens: Chainlink price, DEX price, premium/discount,
- multiplier-adjusted, 24h volume/liquidity (GeckoTerminal/CoinGecko + on-chain).
-- `/api/v1/robinhood/stocks/:symbol` — detail incl. candles, holders (Blockscout), feeds.
-- `/api/v1/robinhood/coins` — memecoins/launchpad tokens (CoinGecko category + GeckoTerminal pools).
-- `/api/v1/robinhood/chain` — TVL/protocols/bridge flows (DefiLlama — extend existing provider).
-- `/api/v1/robinhood/portfolio/:address` — multiplier-correct portfolio valuation (gap #4).
-- `/api/v1/tokenized/equities` — THE flagship: unified cross-issuer equity API
- (Robinhood + xStocks public API + Ondo/Chainlink feeds) in one schema (gap #1).
-Pricing: free tier + x402 USDC per-call above quota, same rails as the rest of the catalog.
-Register in the x402 directory + `api/v1/_catalog.js`.
-
-### RH-03 — SDK: `@three-ws/robinhood-chain` (first real SDK in market)
-Clean-room TypeScript, `viem@^2.55.0` peer dep. Modules: stockTokens (registry/prices/
-multipliers), swap (Uniswap v3/UniswapX quoting + execution, memecoin + stock paths),
-launchpads (NOXA/Odyssey watch), usdg (transfers + x402-style payment helper), portfolio.
-Publish under `packages/`, README + runnable examples, testnet E2E in CI. npm publish needs
-owner token (known blocker — queue behind walk/tour/IRL publishes).
-
-### RH-04 — MCP server + agent skill
-`robinhood-chain` MCP: token discovery, quotes (Chainlink + DEX), swap building, portfolio,
-launchpad feed — wraps RH-01/RH-02/RH-03. Paid tools via x402 like our existing MCP. Plus a
-Claude Agent Skill. The two existing MIT MCPs are read-only and 0-star; ours is the productized
-one wired to real market data.
-
-### RH-05 — /markets integration (display)
-- Robinhood Chain section in /markets: stocks table (24/7 equity prices — a thing CoinGecko
- can't show properly), memecoin screener, chain TVL page.
-- Detail pages per Stock Token and per coin, following the markets detail-page patterns.
-- Cross-venue equity screener page: same ticker across Robinhood Chain / xStocks / Ondo with
- premium/discount + arb spread (gap #2 — screenshot bait).
-
-### RH-06 — Purchase flow
-Swap on chain 4663 via Uniswap/1inch routed through our existing EVM wallet flows (MetaMask
-agentic CLI already in stack; chain def from viem). Memecoins: open to all. Stock Tokens:
-geo-gate buy UI for US (display remains open); server-side check + clear disclosure copy.
-Bridge deep-links (LI.FI/Relay/Across) for funding.
-
-### RH-07 — /play: Live 3D worlds for Robinhood Chain coins
-Port the pump.fun /play formula: deterministic 3D world per launchpad coin (NOXA graduations,
-CoinGecko meme category), walk in as avatar, live trades driving the world via a firehose built
-on `wss://feed.mainnet.chain.robinhood.com` (gap #5 — this firehose is also sellable via RH-02).
-Stretch: Stock Token "trading floors" — a 3D floor per ticker (AAPL floor at 2am on a Saturday,
-live Chainlink tape) — display-only, no geo issue.
-
-### RH-08 — x402 USDG settlement rail (accept payments ON the chain)
-Add Robinhood Chain USDG as an accepted x402 settlement network for our existing paid endpoints
-(we already run multi-rail: Solana USDC, X Layer). r0x proves demand; we'd be the first
-established x402 catalog accepting USDG-on-4663. Needs: settlement wallet on 4663, facilitator
-support, tiny ETH gas float.
-
-## Sequencing
-
-Phase 1 (now): RH-01 → RH-02 (stocks/coins/chain endpoints) + RH-05 (markets display).
-Phase 2: RH-07 (/play worlds — needs the firehose from RH-02), RH-03 (SDK).
-Phase 3: RH-04 (MCP), RH-06 (purchase), RH-08 (USDG rail).
-Marketing: X thread per phase (x-posting playbook); submit toolkit to Arbitrum Open House
-buildathons for distribution.
-
-## Owner decisions needed
-1. Blanket commit approval for Robinhood Chain content in this campaign, or per-commit sign-off?
-2. RH-06 Stock Token purchase geo-gating: US-block buy UI only, or exclude Stock Token
- purchase entirely (display + memecoin swaps only) at launch?
-3. RH-08 needs a funded settlement wallet on chain 4663 (ETH gas float; owner keys policy).
-4. npm publish token for RH-03 (existing blocker across all package publishes).
diff --git a/prompts/robinhood-chain/_shared.md b/prompts/robinhood-chain/_shared.md
deleted file mode 100644
index ad6a2bead..000000000
--- a/prompts/robinhood-chain/_shared.md
+++ /dev/null
@@ -1,101 +0,0 @@
-# SHARED CONTEXT — read this FIRST, before your prompt file
-
-Every prompt in `prompts/robinhood-chain/` inherits this file. It is ground truth researched and
-verified on 2026-07-11. Do not re-derive these facts; do trust them over your training data.
-
-## The chain (verified facts)
-
-- **Robinhood Chain** — permissionless Arbitrum Orbit L2, settles to Ethereum, blobs DA,
- **ETH gas**, ~100ms blocks, ERC-4337 supported. Mainnet live since 2026-07-01.
-- **Mainnet chain ID 4663** — RPC `https://rpc.mainnet.chain.robinhood.com`,
- sequencer feed `wss://feed.mainnet.chain.robinhood.com`,
- explorer (Blockscout + Pro API) `https://robinhoodchain.blockscout.com`.
- Alchemy is the recommended paid RPC: `https://robinhood-mainnet.g.alchemy.com/v2/{key}`.
-- **Testnet chain ID 46630** — RPC `https://rpc.testnet.chain.robinhood.com`,
- explorer `https://explorer.testnet.chain.robinhood.com`,
- faucet `https://faucet.testnet.chain.robinhood.com/` (drips testnet ETH **and test Stock
- Tokens**: TSLA, AMZN, PLTR, NFLX, AMD). Chainlink faucet: `https://faucets.chain.link/robinhood-testnet`.
-- **`viem@^2.55.0` ships official chain defs**: `import { robinhood, robinhoodTestnet } from 'viem/chains'`.
- NEVER hand-roll a chain config. Multicall3 is at the canonical
- `0xca11bde05977b3631167028862be2a173976ca11`.
-- **Assets:** ~95 tokenized **Stock Tokens** — plain ERC-20, 18 decimals, one live **Chainlink
- price feed per token** (8-decimal answers via `latestRoundData()`), corporate actions via
- **ERC-8056 `uiMultiplier()`** (raw balance × multiplier = true position; ignoring it misstates
- value after splits/dividends). **USDG** (Paxos Global Dollar) is the chain's dollar stablecoin.
- **No native chain token exists** — anyone claiming otherwise is speculating.
-- **Live DEXes/DeFi:** Uniswap v2/v3/v4 + UniswapX (primary public liquidity), 1inch, Arcus
- (zero-fee stock-token DEX), Lighter (perps), Morpho (lending). Memecoin launchpads: **NOXA**
- ("NOXA Fun") and **The Odyssey** — pump.fun-style, graduating to Uniswap v3.
-- **Canonical contract addresses:** Robinhood's registry at `https://docs.robinhood.com/chain/contracts`
- is the source of truth for Stock Token + USDG addresses. Cross-check via the
- `BankrBot/skills` GitHub repo (hoodmarkets pack, `known-contracts.json`) and verify each
- address resolves on Blockscout before shipping it. NEVER invent or placeholder an address.
-- **Data providers already covering the chain:** DefiLlama (`/chain/robinhood-chain`), CoinGecko
- API (chain data + categories "Robinhood Chain Meme", "Robinhood Chain Stocks Ecosystem"),
- GeckoTerminal (DEX pools), Dune, Goldsky (subgraphs), Blockscout Pro API.
-- **Docs:** `https://docs.robinhood.com/chain/` (connecting, stock-tokens, deploy, contracts).
-
-## Legal line (bake into every user-facing surface that touches Stock Tokens)
-
-Stock Tokens are tokenized debt securities (issuer: Robinhood Assets (Jersey) Ltd) and **may not
-be offered, sold, or delivered to US persons** (extra limits: Canada, UK, Switzerland). This is
-enforced legally and at front-ends, NOT at the contract level. Consequences for you:
-- Displaying Stock Token data: unrestricted. Do it freely.
-- Any BUY/SWAP flow or agent that acquires Stock Tokens: must carry a clear eligibility
- disclosure and a config-level geo gate (default: Stock Token acquisition disabled until the
- operator affirms non-US eligibility). Memecoins and other non-security tokens: no restriction.
-
-## Deliverable conventions (every prompt)
-
-- **Location:** create your project at `robinhood/<repo-name>/` in this workspace. The folder
- must be a complete, standalone, push-ready repo: own `package.json`, `README.md`, `LICENSE`,
- `.gitignore`, docs site. Do NOT run `git init` inside it and do NOT `git commit` anything in
- this workspace — the owner extracts and pushes these folders himself (three.ws commit gate
- applies to all Robinhood-referencing content).
-- **Authorship & license:** MIT. `LICENSE` says `Copyright (c) 2026 nirholas`. Every README ends
- with: `Built by [nirholas](https://x.com/nichxbt) · [three.ws](https://three.ws)`. package.json
- `"author": "nirholas (https://x.com/nichxbt)"`, `"license": "MIT"`.
-- **Docs site = static `docs/` folder, GitHub Pages deploy-from-branch.** NO GitHub Actions —
- do not create `.github/workflows/`. Hand-crafted vanilla HTML/CSS/JS in `docs/` that works by
- opening `docs/index.html` locally. The README documents the one-time Pages setup (Settings →
- Pages → main branch → /docs).
-- **Landing page with LIVE demo where feasible:** read-only chain calls work client-side against
- the public RPC — so docs landing pages CAN show live data (prices ticking, latest launches,
- block height) directly on GitHub Pages. Do this; it is the screenshot moment. If the product
- needs a server (API, facilitator, long-running agent), ship a `Dockerfile` +
- `deploy` docs for Google Cloud Run (preferred) and Vercel; attempt a real deploy only if
- credentials are present in the environment, otherwise document the exact commands.
-- **Design bar:** dark theme first, one accent gradient, real typography (system stack or a
- self-hosted variable font — no CDN fonts on Pages is fine, system stack preferred), designed
- empty/loading/error states, responsive at 320/768/1440, keyboard accessible, focus rings.
- The aesthetic reference is Linear/Vercel/Stripe docs — restrained, dense, fast. No emoji soup,
- no lorem ipsum, no stock illustrations.
-- **npm:** make packages publish-ready (`files`, `exports`, `types`, `sideEffects` set; `npm pack`
- runs clean) but DO NOT publish — owner holds the token. Document `npm publish --access public`.
- Before finalizing any npm name, check availability with `npm view <name>` (a 404 = free) and
- use the fallback names your prompt lists. KNOWN TAKEN: `robinhood-chain-sdk`.
-- **Dependencies between our repos:** depend on the sibling via its npm name in `package.json`
- plus a `file:../<repo>` install for local development, documented in the README ("until the
- package is on npm, run `npm i ../robinhood-chain-sdk`"). Never copy-paste sibling source.
-
-## Quality bar (CLAUDE.md hard rules apply in full — the ones agents break most)
-
-1. NO mocks, NO fake data, NO placeholder addresses, NO stub functions, NO TODO comments.
-2. Every address, RPC URL, and ABI you ship must be verified against Blockscout/official docs
- during the build (curl it, read the contract, prove it).
-3. Real E2E verification before claiming done: unit tests green (`npm test`), plus at least one
- REAL on-chain read on mainnet 4663 and — for anything that writes — a REAL transaction on
- testnet 46630 using faucet funds. Paste the commands and outputs in your final report.
-4. Wallet keys: env vars only (`ROBINHOOD_CHAIN_PRIVATE_KEY`), never in code or docs examples
- with real values, `.gitignore` covers `.env*`. Agents that spend must have hard spend caps
- and a kill switch (env `MAX_SPEND_*`, SIGINT-safe shutdown).
-5. Documentation is part of the feature: README (what/why/install/quickstart/API), `docs/` site,
- runnable `examples/` where the prompt asks. Every code sample must actually run.
-6. Self-review before reporting: run the Definition of Done checklist from CLAUDE.md. If a step
- could not be verified, say so explicitly — never claim it.
-
-## Report format (end of your run)
-
-State: what shipped (file tree summary), names chosen (repo/npm), E2E evidence (commands +
-outputs), what is deploy-ready vs deployed, and any owner actions needed (npm publish, Pages
-toggle, funding, creds). Keep it under a page.