dflow

dflow is a skill for Claude Code, Codex from helius-labs/core-ai. It costs 68 tokens per session (4,344 once invoked), scanned A, a copy of helius-dflow, MIT.

A development guide for Solana trading applications that combine DFlow, a trading and liquidity service, with Helius blockchain infrastructure.

In plain words
What is it for?
Use it for token swaps, prediction markets, live market data, identity checks, autonomous trading, wallet data, transaction submission, and fee optimization.
Why use it?
It provides the required setup and patterns for building trading features without bypassing the specified Helius tools or transaction safeguards.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/helius-labs/core-ai/dflow
Any agent
npx skills add helius-labs/core-ai --skill dflow
Clone the repo
git clone --depth 1 https://github.com/helius-labs/core-ai

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for dflow

README.md
[![agentmods](https://agentmods.dev/badge/skills/helius-labs/core-ai/dflow.svg)](https://agentmods.dev/skills/helius-labs/core-ai/dflow)
Your own site
<a href="https://agentmods.dev/skills/helius-labs/core-ai/dflow"><img src="https://agentmods.dev/badge/skills/helius-labs/core-ai/dflow.svg" alt="Measured on agentmods" height="20"></a>
Per session 68 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,344 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
Origin 92% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00068 $0.04344
Opus 5 $0.00034 $0.02172
Sonnet 5 $0.00014 $0.00869
Haiku 4.5 $0.00007 $0.00434

Measured yesterday against content hash cdba55a8dbdf, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

dflow scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

If they are NOT available, **STOP**. Do NOT attempt to call Helius APIs via curl or any other workaround. Tell the user:
Origin

This is a copy

92% identical to helius-dflow — 85 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

helius-cursor/skills/dflow/SKILL.md · 297 lines

How it starts

The opening of the file, as written. The whole thing — 297 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Helius x DFlow — Build Trading Apps on Solana

Helius MCP now uses 10 public tools total, including expandResult. When this skill references a Helius action name like getPriorityFeeEstimate, transactionSubscribe, or transferSol, call the matching public tool with action: "<action name>".

You are an expert Solana developer building trading applications with DFlow's trading APIs and Helius's infrastructure. DFlow is a DEX aggregator that sources liquidity across venues for spot swaps and prediction markets, and offers an Agent CLI for autonomous trading execution. Helius provides superior transaction submission (Sender), priority fee optimization, asset queries (DAS), real-time on-chain streaming (WebSockets, LaserStream), and wallet intelligence (Wallet API).

Prerequisites

Before doing anything, verify these:

1. Helius MCP Server

The Helius MCP server should start automatically with this plugin. Check that 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:

The Helius MCP server isn't running. Try restarting Cursor.
If the problem persists, add it manually via Settings > Cursor Settings > MCP
with command: npx [email protected]

2. DFlow MCP Server (Optional, Not Bundled)

The DFlow MCP server is not bundled with this plugin — expect its tools to be absent unless the user has added it themselves. It provides tools for querying API details, response schemas, and code examples. Everything in this skill works without it: DFlow APIs can be called directly via fetch/curl, and the references/ files carry the endpoint details.

It is a third-party hosted connector. Do not configure it for the user. If they ask for it, point them at DFlow's own setup docs:

The DFlow MCP server is optional and not bundled with this plugin.
Setup instructions: https://pond.dflow.net/build/mcp

Read the full file on GitHub · 297 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday Changed cdba55a8dbdf
  2. 5d ago First seen · 297 lines · 68 tokens per session scan A eb3c105ab541

Subscribe to this mod's changes

dflow is a skill published in the GitHub repository helius-labs/core-ai (26 stars, last pushed 2d ago), licensed MIT. It adds 68 tokens to every session and 4,344 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). It is 92% identical to helius-dflow, differing in 85 lines, and is treated as a copy.

Related

Other skills, from other repositories

metengine-data-agent

Real-time smart money analytics API for Polymarket prediction markets, Hyperliquid perpetual futures, and Meteora Solana LP/AMM pools. 63 endpoints. Pay-per-request via x402 on Solana Mainnet USDC. No API keys.

sendaifun/skills · 57 tokens

meteora

Complete Meteora DeFi SDK suite for building liquidity pools, AMMs, bonding curves, vaults, token launches, and zap operations on Solana. Use when integrating DLMM, DAMM v2, DAMM v1, Dynamic Bonding Curves, Alpha Vaults, Zap, or Stake-for-Fee functionality.

sendaifun/skills · 69 tokens

kamino

Complete guide for Kamino Finance - Solana's leading DeFi protocol for lending, borrowing, liquidity management, and leverage trading. Covers klend-sdk (lending), kliquidity-sdk (automated liquidity strategies), scope-sdk (oracle aggregator), multiply/leverage operations, vaults, and obligation orders.

sendaifun/skills · 65 tokens

coingecko

Complete CoinGecko Solana API integration for token prices, DEX pool data, OHLCV charts, trades, and market analytics. Use for building trading bots, portfolio trackers, price feeds, and on-chain data applications.

sendaifun/skills · 50 tokens

dflow

Complete DFlow trading protocol SDK - the single source of truth for integrating DFlow on Solana. Covers spot trading, prediction markets, Swap API, Metadata API, WebSocket streaming, and all DFlow tools.

sendaifun/skills · 46 tokens

lulo

Complete guide for Lulo - Solana's premier lending aggregator. Covers API integration for deposits, withdrawals, balance queries, Protected/Boosted deposits, Custom deposits, and automated yield optimization across Kamino, Drift, MarginFi, and Jupiter.

sendaifun/skills · 52 tokens