2061/orderly-dex-creator/SKILL.md
End-to-end lifecycle playbook for launching and operating an Orderly perpetual futures DEX — launch, graduate, domain/DNS, growth automation, market making, vaults, and security hardening. Includes prerequisite matrices, risk boundaries, and rollback procedures.
npx skillsauth add starchild-ai-agent/community-skills @2061/orderly-dex-creatorInstall 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.
Build and operate a perpetual futures DEX on Orderly with a phased, production-oriented workflow.
Use this when the user wants to:
Do not use this for low-level endpoint implementation details alone — see references/sdk-integration.md and existing Orderly API/auth skills.
DEX Frontend (Orderly ONE or custom SDK)
├─ OtterClaw (agent skills)
├─ Domain Builder (DNS automation)
├─ Growth Agent (daily optimization loop)
├─ Agentic MM (autonomous market making)
├─ YieldClaw (vault ops)
└─ SecClaw (cross-system watchdog)
↓
Orderly infra (omnichain settlement + shared orderbook)
| Component | Repo | Purpose | |---|---|---| | OtterClaw | https://github.com/SkewCodes/OtterClaw | Installable agent skills for onboarding/trading/data/swap/vault/payments/dex-builder | | Domain Builder | https://github.com/SkewCodes/orderly-domain-builder | DNS/domain automation and provider-specific fixes | | Growth Agent | https://github.com/SkewCodes/orderly-growth-agent | Autonomous growth and fee/referral optimization loop | | Agentic MM | https://github.com/SkewCodes/orderly-agentic-mm | Fair-value quoting, adaptive spreads, and safety controls | | YieldClaw | https://github.com/SkewCodes/YieldClaw | Vault lifecycle + strategy execution | | SecClaw | https://github.com/SkewCodes/SecClaw | Monitoring, policy checks, and cross-system risk detection |
Actions agents can auto-execute vs actions requiring human approval.
| Action | Auto-pass | Human approval required | |---|---|---| | Growth | Adjust referral codes, rotate creatives, reallocate budget within caps | Increase total budget, change fee tiers, enable new chains | | Market Making | Refresh quotes, adjust spread within band, pause on circuit-breaker | Widen inventory caps, change quoting pairs, override circuit-breaker | | Vaults | Rebalance within risk budget, pause on drawdown limit | Deploy new vault, raise exposure caps, change strategy config | | Security | Alert on anomaly, block flagged address, rotate compromised key | Whitelist new address, modify policy allowlists, disable monitoring | | Domain/DNS | Verify records, renew SSL | Change DNS provider, modify domain records, transfer domain | | Graduation | Read fee/tier status | Change fee configuration, modify broker settings |
Rule of thumb: if it moves money, changes limits, or weakens security → human approval.
| Need | Details | |---|---| | Wallet | EVM wallet with gas on target chain(s) | | Access | Orderly dashboard account | | Infra | Node.js 18+ (custom path only) |
| Path | Best for | Time to first launch | |---|---|---| | Orderly One (no-code) | Fast branded launch | Minutes | | Custom SDK/API | Full product control | Days–weeks |
https://dex.orderly.networkFollow references/sdk-integration.md for React SDK / hooks / Python connector and auth model.
Rollback: Delete deployment / disconnect wallet. No on-chain state created yet.
| Need | Details | |---|---| | Phase 1 | DEX live and accessible | | Volume | Sufficient trading activity for graduation eligibility | | Dashboard | Access to Orderly builder dashboard |
Graduation enables builder revenue mechanics (broker identity + fee sharing).
Note: economics (fees, staking tiers, costs) can change. Always verify current values in official Orderly docs/dashboard before committing production settings.
Rollback: Fee settings are dashboard-configurable. Revert to previous tier config if metrics degrade.
| Need | Details | |---|---| | Domain | Registered domain name | | DNS provider | Cloudflare, GoDaddy, Namecheap, or Unstoppable Domains | | Broker ID | From Phase 2 graduation |
Use Domain Builder automation for provider-specific correctness.
git clone https://github.com/SkewCodes/orderly-domain-builder.git
cd orderly-domain-builder
./orderly-domain-setup.sh setup --domain yourdex.com --broker-id your-broker-id --yes
./orderly-domain-setup.sh verify --domain yourdex.com --broker-id your-broker-id
@, www)Rollback: Revert DNS records to previous values. Domain Builder stores previous config in .orderly-domain-backup.
| Need | Details | |---|---| | Broker ID | Active and graduated | | API keys | Orderly API key pair for the growth agent | | Node.js | 18+ with npm | | Budget | Defined growth budget cap (agent cannot exceed) |
git clone https://github.com/SkewCodes/orderly-growth-agent.git
cd orderly-growth-agent && npm install && npm run build
MEASURE → WATCHDOG → COLLECT → DIAGNOSE → DECIDE → ACT → REPORT
Rollback: Disable active playbook → agent reverts to dry-run mode. No manual cleanup needed.
| Need | Details | |---|---| | API keys | Dedicated MM API key pair (separate from growth) | | Capital | Funded trading account on Orderly | | Pairs | Target pairs selected and validated for liquidity | | Node.js | 18+ with npm |
git clone https://github.com/SkewCodes/orderly-agentic-mm.git
cd orderly-agentic-mm && npm install && npm run build
Start conservative:
Scale aggressiveness only after consistent quality grades and stable realized risk.
Rollback: Kill MM process → cancel all open orders via API → verify flat position. One command: npm run emergency-stop.
| Need | Details | |---|---| | Strategy config | YAML strategy file with risk parameters defined | | Capital | Vault seed capital allocated | | Risk budget | Max drawdown %, max exposure per vault documented | | Node.js | 18+ with npm |
git clone https://github.com/SkewCodes/YieldClaw.git
cd YieldClaw && npm install && npm run build
Use strategy-as-config (YAML), then enforce:
Rollback: Trigger pause → vault stops accepting deposits → unwind positions to stable assets. Use npm run pause -- --vault <id>.
| Need | Details |
|---|---|
| Config | config.yaml with monitored endpoints and alert channels |
| Alert channel | Telegram bot token or webhook URL |
| Access | Read access to all systems being monitored |
git clone https://github.com/SkewCodes/SecClaw.git
cd SecClaw && npm install
npm run check -- --config config.yaml
Minimum security baseline:
Rollback: SecClaw is read-only monitoring. Disable by stopping the process. No state to revert.
| Skill | Install link |
|---|---|
| Onboarding | https://github.com/SkewCodes/OtterClaw/blob/main/skills/orderly-onboarding/SKILL.md |
| Trader | https://github.com/SkewCodes/OtterClaw/blob/main/skills/orderly-trader/SKILL.md |
| Data | https://github.com/SkewCodes/OtterClaw/blob/main/skills/orderly-data/SKILL.md |
| Swap | https://github.com/SkewCodes/OtterClaw/blob/main/skills/orderly-swap/SKILL.md |
| Vault | https://github.com/SkewCodes/OtterClaw/blob/main/skills/orderly-vault/SKILL.md |
| 402 Payments | https://github.com/SkewCodes/OtterClaw/blob/main/skills/orderly-402/SKILL.md |
| DEX Builder | https://github.com/SkewCodes/OtterClaw/blob/main/skills/orderly-dex-builder/SKILL.md |
development
OpenSea API integration for NFT and token discovery, marketplace intelligence, and order/transaction workflows. Use when working with OpenSea data or trading flows (e.g. collection stats, trending collections/tokens, NFT metadata, listings/offers, swap quotes, transaction receipt polling).
development
Generate a warm, healing parallel-universe fairy tale (~1000 words) plus 3 cohesive storybook illustrations, themed "if this person had never been born, what would the world miss." Output is a polished HTML storybook that can be previewed and published. Use when the user wants a personalized "if I had never been born" / "如果我没出生" tale for a real person — input is a name, age, and 3 key life events. Great for birthdays, memorials, encouragement gifts, or healing keepsakes.
development
Onboard a user to Phala Cloud and deploy a verifiable Starchild TEE agent — a minimal FastAPI runtime running inside an Intel TDX confidential VM, plus a published chat dashboard with attestation verification. Use when the user wants to "try TEE", "run an agent in a confidential VM", "deploy to Phala", or replicate the internal Starchild TEE test setup.
tools
Trade on Polymarket prediction markets (CLOB V2) from a Privy EOA wallet. Search markets, place/cancel orders, manage positions. No private key handling. Use when the user wants to bet on event outcomes (e.g. "buy YES at 0.65 on the ceasefire market", "what are my open positions", "close my Trump bet").