nexus-trading-labs/SKILL.md
Non-custodial perpetual DEX on Arbitrum. Use when user says buy, sell, trade, long, short, open position, close position, flip trade, set leverage, deposit USDC, withdraw funds, check balance, view positions, cancel order, copy a thesis, publish trade on-chain, check leaderboard, top traders, Rep Score, market intel, crypto news, funding rate, thesis, analyst feed, who's winning on Nexus.
npx skillsauth add bankrbot/skills nexusInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Every authenticated action requires a wallet signature. Get it once, reuse for the session.
Step 1 — request_additional_tools({ names: ["sign_message"] })
Step 2 — commit_to_tools({ keep: ["sign_message"] })
Step 3 — sign_message({ message: "nexus-trading-key-v1" }) → save as walletSig
also capture walletAddress from the connected wallet
⛔ DO NOT skip this. No walletSig = 401 error on every authenticated endpoint.
⛔ DO NOT ask the user for a signature. You have sign_message — use it yourself.
trade.nexustradinglabs.com for API requests — that is the static frontend app. It returns 405 on all POSTs./api/ or /api/v1/ to endpoint paths — there is no such prefix on this API.stopLoss / takeProfit in the /trade body — place them via /set-sl-tp after fill@orderly.network/cli)sign_message before every request — one signature per session is enoughPOST https://og.nexustradinglabs.com/trade
{
"symbol": "PERP_BTC_USDC", // or shorthand "BTC"
"side": "BUY", // or "SELL"
"notional": 50, // USD size
"leverage": 5,
"walletSig": "<from sign_message>",
"walletAddress": "<connected wallet>"
}
If response is { error: "wallet_not_registered" } → run Registration Flow (see references/trading.md).
To attach SL/TP after fill: POST /set-sl-tp (see references/trading.md — never put SL/TP in /trade).
⚠️ ALWAYS use the full URL: https://og.nexustradinglabs.com
| Action | Full URL | Auth |
|---|---|---|
| Place trade | POST https://og.nexustradinglabs.com/trade | walletSig |
| Close position | POST https://og.nexustradinglabs.com/close-position | walletSig |
| Attach SL/TP | POST https://og.nexustradinglabs.com/set-sl-tp | walletSig |
| Cancel order | POST https://og.nexustradinglabs.com/cancel | walletSig |
| Order status | POST https://og.nexustradinglabs.com/order-status | walletSig |
| Order history | POST https://og.nexustradinglabs.com/order-history | walletSig |
| Positions | POST https://og.nexustradinglabs.com/positions | walletSig |
| Balance | POST https://og.nexustradinglabs.com/balance | walletSig |
| Set leverage | POST https://og.nexustradinglabs.com/set-leverage | walletSig |
| Deposit USDC | POST https://og.nexustradinglabs.com/proxy/bankr-deposit | Bankr API key |
| Withdraw USDC | POST https://og.nexustradinglabs.com/proxy/bankr-withdraw | Bankr API key + walletSig |
| Settle PnL | POST https://og.nexustradinglabs.com/settle-pnl | walletSig |
| Register wallet | POST https://og.nexustradinglabs.com/proxy/bankr-register | Bankr API key |
| Publish thesis on-chain | POST https://og.nexustradinglabs.com/proxy/thesis-register | Bankr API key |
| Mark price | GET https://og.nexustradinglabs.com/mark-price?symbol=BTC | public |
| Funding rate | GET https://og.nexustradinglabs.com/funding-rate?symbol=BTC | public |
| 24h stats | GET https://og.nexustradinglabs.com/24h-stats?symbol=BTC | public |
| Public feed | GET https://og.nexustradinglabs.com/feed | public |
| Trader lab | GET https://og.nexustradinglabs.com/lab/:wallet | public read |
| Trader profile | GET https://og.nexustradinglabs.com/profile/:wallet | public read |
| Leaderboard | derive from GET https://og.nexustradinglabs.com/feed + getTraderStats() | public |
| Market intel | GET https://api-evm.orderly.org/v1/public/futures | public |
| Crypto news | rss2json proxy (see references/news.md) | public |
tools
HSM-backed secret management for AI agents. Store API keys (including Bankr `bk_` keys), passwords, and credentials in an encrypted vault; retrieve them at runtime via MCP without keeping secrets in chat context. Policy-based access control, secret rotation, sharing, EVM transaction intents (sign/simulate/broadcast), multi-chain signing keys, treasury multisig proposals, OIDC federation for external service auth, built-in prompt injection detection, and optional Shroud TEE LLM proxy. Use when the agent needs secure credential storage, just-in-time secret access, guarded on-chain signing, or security scanning — not for Bankr trading prompts, portfolio checks, or x402 calls (use the bankr skill instead).
testing
Stake $GEM tokens on Gem Miner (gemminer.app) to earn yield and unlock the in-game earn/cashout system. Use when the user wants to stake GEM, check their staking balance or rewards, unstake, claim rewards, or check whether they meet the 25M GEM gate. Base mainnet only.
development
CodeGrid is a native macOS canvas where multiple coding agents (Claude, Codex, Gemini, Cursor, Grok, shells) run side by side in panes and collaborate via a local agent bus — no tmux, no cloud, no account, no stored API keys. Install this skill when an agent should know how to operate inside a CodeGrid pane, drive the workspace from outside (control socket or codegrid:// deep links), spawn or message sibling agents, or coordinate multi-agent work (delegate, review, pipeline, parallel fan-out, monitor, debate). The differentiator: multiple coding agents collaborating on one canvas, addressable by stable session_id, with a read → message → read protocol built for orchestration.
tools
Use Agent Wormhole for one-time sealed handoffs between autonomous agents, including encrypted mission briefs, scoped secrets, temporary artifacts, receipts, config drops, CLI/API usage, ECHO holder access, and Bankr x402 paid opens.