Upside onboarding
Skill upsidemax/upside-agent-skills/skills/upside-onboarding
Upside first-time onboarding — the single skill for creating an account, receiving test funds, and verifying balance. Trigger when the user says: register / sign up / create account / new account / I want to trade / I have no account yet / how do I start / open an account / get test funds / claim airdrop / where's my balance / why is my balance zero / testnet funds / QA funds / check my USDT / show my balance / verify my funds / airdrop timing / alpha test invitation code / invite code / invitation code / 邀请码 / 注册账户 / 领取空投 / 测试资金 / 我要交易 / 我的余额 / 查余额. Prerequisite skill for upside-trading.From its SKILL.md
npx -y skills add upsidemax/upside-agent-skills --skill upside-onboardingAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its file declares
Copied from the file, not written here
The file declares its own license as MIT. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.
SKILL.md
4.8 KB, as published. Nobody here has run it
Upside Onboarding
First-time flow: wallet generation → registration (with alpha test invitation code) → auto-airdrop → balance verification. Runs entirely on the QA environment https://dev.upsidemax.xyz.
Intent Routing
Match the user's intent to a row and open that row's linked file first — it holds the full flow. Don't load other rows. Each reference lists its own follow-on files at the bottom.
| User Intent | Reference |
|---|---|
| register / create account / sign up / new account / 注册 / 开户 | register |
| wait for airdrop / claim airdrop / test funds / where's my USDT / where's my USDC / 空投 / 领币 | auto-airdrop |
| check balance / show my funds / verify balance / 查余额 / 我有多少 USDT / 我有多少 USDC | query-account |
| what's the settle coin / USDT or USDC / what contracts exist / list coins / 结算币是啥 / 有哪些合约 | configs |
| I want to trade but have no account / start from zero / 从零开始 | run register → auto-airdrop → query-account (settle coin auto-detected via configs) |
Pre-flight
Before the first command each session, read and follow _shared/preflight.md. It verifies deps and QA reachability; skip only if the user has already run something successfully this session.
Endpoints & signing
- Endpoints (QA): _shared/endpoints.md
- Envelope signing protocol (EIP-712): _shared/signing.md
Every write is signed by the wallet's own key. Wrong signature = HTTP 401. See signing.md.
Confirming Response
registerAccount is idempotent and safe — skip the Confirming gate. Any downstream state-change (order, agent grant, lockCollateral) goes through _shared/confirming-response.md.
Security & Global Notes
Read _shared/security.md once at session start. Onboarding-specific rules:
- Never ask the user to paste a private key into chat — tell them to run
python3 examples/01_register.pylocally. - Do echo the private key ONLY when the script itself just generated it and the user is watching (QA-only). Never reproduce it from earlier in the transcript.
- Never treat
depositNonce = 0as "no account" — it just means "no funds yet". Distinguish by attemptingregisterAccount(returns 409 for existing).
Amount Display Rules
Follow _shared/amount-display.md. Quick reference:
- Never hardcode
USDT— the chain can initialize with either USDC or USDT, depending on its configuration. Auto-detect viareferences/configs.md→common.get_settle_coin(). - Settle-coin amounts: divide raw by
10**szDecimals(both USDC and USDT are 6), show as1,000,000.00 USDC(or whichever the chain declared). - Addresses: verbatim only.
- accountId: bare integer (
aid=5).
Three common mistakes to avoid
inviteCodegoes at envelope level, not insideaction. Wrong placement returnsinviteCode required. See _shared/signing.md.- Balance queries use
marketDeployerId. See references/query-account.md. - Airdrop lands in one of two layers (mo=0 or MO=1). Both count as success. Only MO=1 can trade — use
enrollUserToMarketOwner+lockCollateralto migrate mo=0 → MO=1. See references/auto-airdrop.md.
Once done
When the user has depositNonce ≥ 1 AND MO=1 crossCollateral > 0, they're ready to trade. Route to ../upside-trading/SKILL.md.