Claude Code:
/helius:dflow (via plugin) or auto-invoked (standalone). Codex: $helius-dflow (auto-discovered from .agents/skills/). API / Cursor / ChatGPT: Use the pre-built system prompt variants.What It Covers
The DFlow skill routes the AI across both DFlow and Helius tools:| Domain | APIs Used | MCP Tools |
|---|---|---|
| Spot Swaps | DFlow Trading API + Helius Sender | getPriorityFeeEstimate, getSenderInfo, transferSol, transferToken |
| Prediction Markets | DFlow Order API + Proof KYC | getPriorityFeeEstimate, parseTransactions |
| Real-Time Market Data | DFlow WebSockets | DFlow MCP tools |
| On-Chain Monitoring | Enhanced WebSockets, LaserStream | transactionSubscribe, accountSubscribe, laserstreamSubscribe |
| Portfolio & Discovery | DAS API, Wallet API | getAssetsByOwner, getWalletBalances, getWalletHistory |
| Transaction Submission | Helius Sender | getPriorityFeeEstimate, getSenderInfo |
| KYC Verification | DFlow Proof | DFlow MCP tools |
Prerequisites
This skill requires two MCP servers:Helius MCP Server (Required)
The Helius MCP server provides blockchain tools for transaction submission, asset queries, and on-chain streaming.DFlow MCP Server (Recommended)
The DFlow MCP server provides tools for querying API details, response schemas, and code examples. DFlow APIs can also be called directly via fetch if the MCP is not installed.If you install via the Claude Code plugin, both MCP servers start automatically.
Standalone Installation
Run the install script
~/.claude/skills/helius-dflow/.Options:./install.sh --project— install to the current project./install.sh --path /custom/path— install to a custom directory
Set your API keys
Helius:DFlow: REST dev endpoints work without an API key (rate-limited). WebSockets and production use require a key from pond.dflow.net/build/api-key.
Example Prompts
Once installed, ask in plain English:- “Build a swap interface using DFlow and Helius Sender”
- “Create a prediction market trading UI”
- “Stream real-time prices for this prediction market…”
- “Build a trading bot that trades memecoins”
- “Show me how to integrate Proof KYC for prediction markets”
- “Build a portfolio dashboard with live token prices”
Composite Workflows
The DFlow skill excels at tasks that span multiple APIs. Here are common patterns the AI handles automatically:Swap / Trading App
DFlow Trading API for quotes and routing, Helius Sender for transaction submission, DAS API for token lists, Priority Fee API for optimal fees.Prediction Market UI
DFlow Metadata API for market discovery, DFlow Order API for trades, Proof KYC for identity verification, DFlow WebSockets for live prices, Helius Sender for submission.Trading Bot
DFlow WebSockets for price signals, DFlow Order API for execution, Helius Sender for submission, LaserStream for fill detection at shred-level latency.Portfolio + Trading Dashboard
Wallet API for holdings, DAS API for token metadata, DFlow WebSockets for live prices, DFlow Order API for trading.What’s Included
SKILL.md— Routing logic, rules, and expert context for trading applicationsprompts/— Pre-built system prompt variants (openai.developer.md,claude.system.md,full.md) — see platform setupreferences/— Deep documentation files:dflow-spot-trading.md— Imperative and declarative swap flowsdflow-prediction-markets.md— Prediction market order lifecycledflow-websockets.md— Real-time streaming (prices, orderbooks, trades)dflow-proof-kyc.md— Identity verification for prediction marketsintegration-patterns.md— Composite patterns (swap execution, token selector, CORS proxy, bots)helius-sender.md— Transaction submission via Helius Senderhelius-priority-fees.md— Fee estimation strategieshelius-das.md— Digital Asset Standard APIhelius-laserstream.md— gRPC streaminghelius-wallet-api.md— Wallet analysis and identityhelius-websockets.md— WebSocket subscriptionshelius-onboarding.md— Account setup and signup flow