By to-nexus
CROSS Chain (id 612055) GameToken swap trading and AMM liquidity via EOA + viem. Lists tokens and AMM pairs, quotes buy / buy-exact / sell / deposit / withdraw routes, and submits slippage-bounded router transactions. Optionally dispatched through an OpenClaw agent. Bundles a Node.js trader, SOUL.md template, self-test, and credential-handling rules.
A Claude Code skill that quotes and executes swap-based GameToken trades and AMM liquidity actions on CROSS Chain (chain id 612055).
The old orderbook flow has been removed. This skill now follows the current x.crosstoken.io/tokens service: token/game metadata, market stats, chart candles, recent swaps, token discovery, AMM pair discovery, quotes, CROSS -> GameToken swaps, exact-output buys, GameToken -> CROSS swaps, liquidity deposit/withdraw, LP balance checks, and wallet balance checks.
https://game-swap-api.cross.nexus/v10x639Adf46ac111399361c422bC32c3892f0cbb70c0x8739bC962460a8a25184aaa9166b74dd8448a194tokens, token-info, pairs, quote, balance, buy, buy-exact, sell, quote-deposit, deposit, quote-deposit-token, deposit-token, quote-withdraw, withdrawThis skill signs and broadcasts real swap and liquidity transactions with the private key you provide. Test with small amounts and set
MAX_TRADE_CROSSin.env.
/plugin marketplace add github.com/to-nexus/cross-skills-suite
/plugin install cross-dex-trade@cross-skills-suite
Standalone:
git clone <this-repo> /tmp/skill-cross-dex-trade
bash /tmp/skill-cross-dex-trade/install.sh
cp skills/cross-dex-trade/.env.example skills/cross-dex-trade/.env
chmod 600 skills/cross-dex-trade/.env
| Variable | Required | Default | Notes |
|---|---|---|---|
PRIVATE_KEY | write commands | - | EOA signer, 0x + 64 hex chars |
MAX_TRADE_CROSS | recommended | unset | Per-transaction CROSS notional cap |
CROSS_RPC_URL | no | https://mainnet.crosstoken.io:22001/ | RPC override |
WALLET_ADDRESS | no | derived from PK | Mismatch aborts |
GAME_SWAP_API_URL | no | https://game-swap-api.cross.nexus/v1 | API override |
Inside Claude Code, describe the swap in plain language:
Direct CLI:
cd ~/.claude/skills/cross-dex-trade
node scripts/trade.mjs tokens --query=RUBY
node scripts/trade.mjs token-info SHILTZx --history=5 --candles=12 --tick=1h
node scripts/trade.mjs token-info all --limit=20
node scripts/trade.mjs pairs
node scripts/trade.mjs quote buy RUBYx 1
node scripts/trade.mjs quote buy-exact RUBYx 10
node scripts/trade.mjs quote sell RUBYx 10
node scripts/trade.mjs quote-deposit RUBYx 1
node scripts/trade.mjs quote-deposit-token SHILTZx 20
node scripts/trade.mjs quote-withdraw RUBYx 0.5
PRIVATE_KEY=0x... node scripts/trade.mjs balance
PRIVATE_KEY=0x... node scripts/trade.mjs buy RUBYx 1 --slippage-bps=300
PRIVATE_KEY=0x... node scripts/trade.mjs buy-exact RUBYx 10 --slippage-bps=300
PRIVATE_KEY=0x... node scripts/trade.mjs sell RUBYx 10 --slippage-bps=300
PRIVATE_KEY=0x... node scripts/trade.mjs deposit RUBYx 1 --slippage-bps=300
PRIVATE_KEY=0x... node scripts/trade.mjs deposit-token SHILTZx 20 --slippage-bps=300
PRIVATE_KEY=0x... node scripts/trade.mjs withdraw RUBYx 0.5 --slippage-bps=300
PRIVATE_KEY=0x... node scripts/trade.mjs withdraw RUBYx all --slippage-bps=300
All commands emit one JSON object on stdout.
612055.MAX_TRADE_CROSS caps buy spend, buy-exact max input, sell quoted output, deposit CROSS input, and withdraw quoted CROSS output.300 bps. Values above 5000 bps are refused.sell, deposit, and withdraw auto-approve the router only when allowance is insufficient.Run the network-backed smoke test after any swap API or router change:
cd skills/cross-dex-trade
npm test
The test validates token discovery, token-info discovery, pair discovery, buy / buy-exact / sell quote schema, deposit/withdraw quote math, router calldata selectors, and removal of legacy orderbook commands from SKILL.md. It does not sign or broadcast transactions.
Orderbook commands are intentionally gone: no limit orders, no market matcher, no open orders, no cancels, no bid/ask depth, and no fill/open/partial state. Use quote plus swap slippage bounds instead.
skill-cross-dex-trade/
├── .claude-plugin/plugin.json
├── install.sh
├── README.md
└── skills/cross-dex-trade/
├── SKILL.md
├── package.json
├── .env.example
├── scripts/trade.mjs
├── references/cross-chain.md
└── assets/SOUL.template.md
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
npx claudepluginhub to-nexus/cross-skills-suite --plugin cross-dex-tradeCROSS Chain (id 612055) single-pool, multi-reward staker driver via EOA + viem. Stake WCROSS into the rewards contract at 0xd9767038edb5c7ff1735d5a567696947d4907300, claim accrued reward tokens (e.g. CWT), and read pool/user state — all via natural language. Triggers on phrases like '스테이킹', '보상 수령', 'rewards 풀 보여줘', 'WCROSS deposit', 'harvest cross rewards', 'withdraw from cross staker'.
CROSS NFT marketplace driver — drives the same backends that power https://www.crossnft.io across CROSS Chain (612055). Read-path (collections, token, listing, offers, activities, stats) hits the api.crossnft.io GraphQL indexer; write-path (list, cancel-listing, buy, offer, cancel-offer, accept-offer) signs MarketplaceV1 calls via viem with auto setApprovalForAll / ERC-20 approve. Triggers on phrases like 'CROSS NFT 마켓', 'crossnft.io 구매', 'NFT 리스팅', 'make offer 0x... tokenId', 'list NFT for sale', 'buy listing'.
CrossDefi swap-bridge driver — drives the same backend that powers https://www.crossdefi.io/swap-bridge across BSC (chain 56), CROSS Chain (612055) and Klaytn (8217). Read-path (pairs/tokens/quote/status/history) and write-path (bridge) both ship; bridge.mjs auto-detects the right execution flow (native msg.value, EIP-2612 permit, or approve+bridgeToken) per the live frontend logic. Triggers on phrases like 'BSC에서 CROSS로 브릿지', 'crossdefi swap-bridge', 'list bridge pairs', 'check bridge status', 'USDT BSC to CROSS', 'execute bridge', 'send bridge tx'.
cross.shop game web-shop driver — drives the same backend that powers https://www.cross.shop and its per-game subdomains rohan2.cross.shop, seal-m.cross.shop, rom.cross.shop. Subcommands: games, products, login (Game UUID), quote, purchase (CROSS or BNB rail), orders, status. v0.1-rc-skeleton ships the registry-driven scaffold; only `games` works today, every other subcommand exits 3 with `phase_1_not_captured` until references/cross-shop.md is followed to populate references/games.json. Triggers on phrases like 'rohan2 샵에서 살 수 있는 패키지 목록 보여줘', 'seal-m 샵의 weekly costume 상품 BNB로 사줘', 'ROM 게임 상품 CROSS로 결제해', 'list available games on cross.shop', 'show my cross.shop order history', 'buy rohan2 package with CROSS', 'cross.shop game shops'.
CROSS Forge driver (v0.4, all 8 subcommands working with per-token fee auto-detection) — deploy fungible game/AI-agent tokens, create their bonding-curve pools, browse trending lists, inspect single-token state with recent trades, view per-wallet holdings + Forge-aware annotations, quote / buy / sell on the bonding curve, and read the global activity feed on CROSS Chain (612055). Wraps the official Builder API + Router (0x7aF414e4… ERC1967 proxy) verbatim per https://contents.crosstoken.io/forge/agent-skills/SKILL.md (v2.0.1) for deploy. Trade-side reads Factory (0x78E53A7f…) + per-pair reserves and signs custom-selector swaps (BUY 0xc075a591 native-in / SELL 0x029e384f token-in) with asymmetric fee math (BUY input-side, SELL output-side). v0.4 auto-back-solves the per-token fee bps (e.g. HERO=130 bps, ARA=80 bps) from /api/v1/tokens/<addr>.recent_trades[0] when --fee-bps is not explicit. Read-side hits the Forge bonding-curve API at bonding-curve-api.crosstoken.io for tokens list / token detail / recent feed. Triggers on phrases like 'CROSS Forge token deploy', 'forge launch', 'pump 토큰 발행', 'forge 풀 생성', 'forge bonding curve 매수', 'forge 본딩커브 매도', 'forge token trade', 'list trending forge tokens', 'forge activity feed', '내 forge 포트폴리오', 'x.crosstoken.io/forge'.
Comprehensive skill pack with 66 specialized skills for full-stack developers: 12 language experts (Python, TypeScript, Go, Rust, C++, Swift, Kotlin, C#, PHP, Java, SQL, JavaScript), 10 backend frameworks, 6 frontend/mobile, plus infrastructure, DevOps, security, and testing. Features progressive disclosure architecture for 50% faster loading.
Tools to maintain and improve CLAUDE.md files - audit quality, capture session learnings, and keep project memory current.
Develop, test, build, and deploy Godot 4.x games with Claude Code. Includes GdUnit4 testing, web/desktop exports, CI/CD pipelines, and deployment to Vercel/GitHub Pages/itch.io.
A growing collection of Claude-compatible academic workflow bundles. Covers scientific figures, manuscript writing and polishing, reviewer assessment, citation retrieval, data availability, paper reading, literature search, response letters, paper-to-PPTX conversion, and evidence-grounded Chinese invention patent drafting. Rules are organized as reusable skill folders with explicit workflows and quality checks.
Create new skills, improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, update or optimize an existing skill, run evals to test a skill, or benchmark skill performance with variance analysis.
Unity Development Toolkit - Expert agents for scripting/refactoring/optimization, script templates, and Agent Skills for Unity C# development