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.
Ships in clawd. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
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 Clawd MCP server.
Before doing anything, verify these:
The Clawd MCP server should start automatically with this plugin. Check that Clawd MCP tools are available (e.g., getBalance, getAssetsByOwner, getPriorityFeeEstimate).
If they are NOT available, STOP. Do NOT attempt to call Helius APIs via curl or any other workaround. Tell the user:
The Clawd MCP server isn't running. Try restarting Clawd Code.
If the problem persists, you can add it manually:
npx clawd-mcp@latest # configure in .clawd/settings.json or your MCP client
Then restart Clawd 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. Install it:
npx skills add okx/onchainos-skills
Or via the Clawd Code plugin marketplace. See github.com/okx/onchainos-skills for all installation options.
onchainos)Check if the onchainos binary is installed by running onchainos --version. If not available, tell the user:
You need to install the OKX onchainos CLI:
curl -fsSL https://raw.githubusercontent.com/okx/onchainos-skills/main/install.sh | bash
Helius: If any Clawd 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.devnpx clawd-mcp@latest # configure in .clawd/settings.json or your MCP clientgithub.com/helius-labs/laserstream-sdkgithub.com/okx/onchainos-skillshttps://www.okx.com/web3/build/docs/waas/dex-get-startedcurl -fsSL https://raw.githubusercontent.com/okx/onchainos-skills/main/install.sh | bashWhat SKILL.md sets; muted values are Claude Code's defaults
/clawd:okxfrom clawd
npx claudepluginhub solizardking/clawd-cloud --plugin clawd6 skills in this plugin
/clawdBuild Solana applications with Helius infrastructure. Covers transaction sending (Sender), asset/NFT queries (DAS API), real-time streaming (WebSockets, Laserstream), event pipelines (webhooks), priority fees, wallet analysis, and agent onboarding./dflowBuild Solana trading applications combining DFlow trading APIs with Helius infrastructure. Covers spot swaps (imperative and declarative), prediction markets, real-time market streaming, Proof KYC, the DFlow Agent CLI for autonomous trading, transaction submission via Sender, fee optimization, shred-level streaming via LaserStream, and wallet intelligence./jupiterBuild Solana DeFi applications combining Jupiter APIs with Helius infrastructure. Covers token swaps (Swap API V2), lending/borrowing (Lend protocol), limit orders (Trigger), DCA (Recurring), token/price data, transaction submission via Sender, fee optimization, real-time streaming, and wallet intelligence.