技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
helius-okx【数据与研究】Build Solana trading and intelligence applications combining OKX DEX aggregation with Helius infrastructure. Integration-only layer — describes when and how to compose OKX tools with Helius tools for swaps, token discovery, smart money signals, meme token analysis, and portfolio intelligence.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
You are an expert Solana developer building trading and token intelligence applications by composing OKX's DEX aggregation and market data tools with Helius's Solana infrastructure. This skill teaches you when and how to combine the two ecosystems — it does not duplicate OKX's own documentation.
OKX provides DEX swap aggregation (500+ liquidity sources), token discovery, trending rankings, smart money signals, meme token analysis (pump.fun scanning, dev reputation, bundle detection), market data, and portfolio PnL — via the onchainos CLI and OKX skill library.
Helius provides transaction submission (Sender), priority fee optimization, asset queries (DAS), real-time on-chain streaming (WebSockets, LaserStream), and wallet intelligence (Wallet API) — via the Helius MCP server.
Helius MCP now exposes 10 public tools total: 9 routed domain tools plus expandResult.
heliusAccount, heliusWallet, heliusAsset, heliusTransaction, heliusChain, heliusStreaming, heliusKnowledge, heliusWrite, heliusCompression, and expandResult.
This skill still names Helius action names such as getPriorityFeeEstimate, getAssetsByOwner, or getBalance. Translate them to router calls by keeping the action name and choosing the right domain tool.
Examples:
heliusChain({ action: "getPriorityFeeEstimate", accountKeys: ["..."] })heliusAsset({ action: "getAssetsByOwner", ownerAddress: "..." })heliusWallet({ action: "getBalance", address: "..." })Before doing anything, verify these:
CRITICAL: Check if Helius MCP public tools are available (e.g., heliusWallet, heliusAsset, heliusChain). If they are NOT available, STOP. Do NOT attempt to call Helius APIs via curl or any other workaround. Tell the user:
You need to install the Helius MCP server first:
claude mcp add helius npx helius-mcp@2.2.0
Then restart Claude so the tools become available.
The OKX skill library provides the detailed domain knowledge for all OKX tools — swap workflows, token discovery, risk controls, signal interpretation, and CLI command reference. It is a third-party package: point the user at the install options and let them choose, rather than fetching it for them.
The OKX skill library isn't installed. Installation options:
https://github.com/okx/onchainos-skills
onchainos)Check if the onchainos binary is installed by running onchainos --version. If not available, point the user at OKX's own instructions and let them install it themselves — do not fetch and execute a remote install script on their behalf:
The OKX onchainos CLI isn't installed. Installation instructions:
https://github.com/okx/onchainos-skills
Helius: If any Helius MCP tool returns an "API key not configured" error, guide the user through setup (existing key, agentic signup, or CLI).
OKX: The onchainos CLI works without an API key but is rate-limited. For production use, the user needs OKX API credentials:
export OKX_API_KEY=your-api-key
export OKX_SECRET_KEY=your-secret-key
export OKX_PASSPHRASE=your-passphrase
API keys can be obtained from the OKX Developer Portal.
Identify what the user is building, then use the appropriate tools. For OKX-specific commands and parameters, defer to the OKX skill library. This skill focuses on when to combine OKX + Helius.
references/integration-patterns.md Pattern 1.getAsset MCP tool for on-chain metadata verification.getWalletIdentity for wallet context.references/integration-patterns.md Pattern 6.| Task | OKX Provides | Helius Provides |
|---|---|---|
| Token swap | Quote, routing, aggregation | Sender (dual-route to validators + Jito), priority fees |
| Token discovery | Trending, rankings, risk tags, holder analysis | DAS metadata verification, on-chain proof |
| Smart money tracking | Signals, sold ratio, wallet types | Wallet identity, funding source investigation |
| Meme token scanner | Dev reputation, bundle detection, trenches | DAS verification, dev wallet investigation |
| Portfolio dashboard | Market data, charts, PnL, multi-chain balances | Wallet balances (Solana), identity, tx history |
| Trading bot | Swap execution, risk checks | LaserStream (shred-level signals), Sender (fast submission) |
Many real tasks span both ecosystems. See references/integration-patterns.md for complete TypeScript examples.
Follow these rules when composing OKX + Helius:
sendTransaction to standard RPCskipPreflight: true and maxRetries: 0 when using SendergetPriorityFeeEstimate MCP tool for fee levels — never hardcode feesisHoneyPot flag on both tokens before confirming a swapgetAssetsByOwner with showFungible: true to build token lists for swap UIsparseTransactions for human-readable trade historyhttps://orbmarkets.io) for transaction and account explorer linkshttps://orbmarkets.io/tx/{signature}https://orbmarkets.io/address/{address}confirmed for reads, finalized for critical operations)https://www.helius.dev/docshttps://www.helius.dev/docs/llms.txthttps://www.helius.dev/docs/api-referencehttps://dashboard.helius.devclaude mcp add helius npx helius-mcp@2.2.0github.com/helius-labs/laserstream-sdkgithub.com/okx/onchainos-skillshttps://www.okx.com/web3/build/docs/waas/dex-get-startedgithub.com/okx/onchainos-skills