@@ -31,36 +31,15 @@ markets, candles, CLOB quotes / book, public WebSocket streams.
3131 If missing: ` cargo install --locked --path . `
3232 or download the prebuilt binary.
3333
34- 2 . ** Credentials configured** (required for ` clob ` reads and anything
35- touching account state; ` data trending ` -class public endpoints work
36- without):
37- ``` bash
38- # clob reads need an OAuth session (brokered by okx-auth); config from config.json
39- bash skills/okx-outcomes-market/scripts/preflight.sh | jq -r ' .ready_for.clob_reads'
40- ```
41- (Richer detail, optional — emits ` ready_for.clob_reads ` :
42- ` bash "${CLAUDE_PLUGIN_ROOT:-.}/skills/okx-outcomes-market/scripts/preflight.sh" ` .)
43- If ` false ` , route the user to the ` okx-outcomes-setup ` skill, which owns
44- onboarding: it detects the missing piece and walks the user through
45- region (Global / US) → OAuth sign-in → EOA wallet binding (one step at a
46- time, IM-friendly). It ultimately drives the interactive `okx-outcomes
47- setup` wizard / per-step commands in the user's own terminal — that
48- wizard auto-generates a fresh EIP-712 signing wallet (private key never
49- displayed) and lands credentials in the OS keyring (with an AES-256-GCM
50- encrypted file fallback at ` ~/.okx-outcomes/keyring.enc ` ).
51-
52- 3 . ** OAuth session** (required for ` clob ` reads; the ` account ` and
53- private-ws commands that also need it live in the ` okx-outcomes-trade `
54- skill):
55- - Established by ` okx-outcomes setup ` (or a standalone
56- ` okx-outcomes auth login ` ); the token is brokered by ` okx-auth ` and
57- never displayed. This OAuth bearer token is the only account-auth
58- path — there is no HMAC.
59- - Public endpoints (` data ` / ` search ` / public ` ws ` ) work without
60- any authentication at all.
61- - See ` references/env-vars.md ` .
62-
63- 4 . ** Corporate proxy** : if the user mentions VPN / firewall, add
34+ 2 . ** No credentials needed.** Every command in this skill — ` data ` ,
35+ ` search ` , ` clob ` reads (price / midpoint / spread / book), and public
36+ ` ws ` streams — hits ** public, unauthenticated** endpoints, so there is
37+ nothing to set up here and no sign-in to gate on. (Account state and
38+ signed writes * do* require auth, but those live in the
39+ ` okx-outcomes-trade ` skill — route there for "my balance" / orders /
40+ placing or cancelling trades.)
41+
42+ 3 . ** Corporate proxy** : if the user mentions VPN / firewall, add
6443 ` --proxy <URL> ` .
6544
6645One-shot helper: ` bash skills/okx-outcomes-market/scripts/preflight.sh `
@@ -101,7 +80,7 @@ unset unless the user explicitly asks about it.
10180| candles / K-line | ` $P data candles <assetId> [--bar 1m\|5m\|15m\|1H\|4H\|1D] [--limit 100] [--after <ms>] [--before <ms>] -j ` |
10281| search events | ` $P search <keyword> [--cursor ...] [--limit 20] -j ` |
10382
104- ### CLOB reads (OAuth auth, but read-only market data)
83+ ### CLOB reads (public, no auth — read-only market data)
10584
10685` assetId ` is the YES-outcome asset id; pass ` --outcome no ` (or ` --no ` )
10786for the NO side (derived as ` 1 - yes ` ).
0 commit comments