> ## Documentation Index
> Fetch the complete documentation index at: https://www.helius.dev/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Skills

> Model-agnostic instruction sets that teach AI assistants to build on Solana with Helius — routing logic, correct SDK patterns, and ready-made system prompts.

Skills are model-agnostic instruction sets that teach AI assistants how to route your requests to the right [MCP tools](https://www.helius.dev/docs/agents/mcp/tools.md) and reference files. They go beyond raw tool access — they include routing logic, correct SDK patterns, and rules that prevent common mistakes like hardcoded fees, wrong endpoints, or missing Sender tips.

Skills work with **any AI platform** — Claude Code, Codex, OpenAI API, Claude API, Cursor, ChatGPT, and more. Each skill ships with pre-built system prompt variants so you can drop them into whatever tool you use.

## Available Skills

> [card] [Build](https://www.helius.dev/docs/agents/skills/build.md)
>
> Core Solana development — DAS, Sender, WebSockets, LaserStream, Webhooks, Wallet API, and more

> [card] [Phantom](https://www.helius.dev/docs/agents/skills/phantom.md)
>
> Frontend dApp development — Phantom Connect SDK (React, React Native, browser), token gating, payments

> [card] [Jupiter](https://www.helius.dev/docs/agents/skills/jupiter.md)
>
> DeFi applications — token swaps, lending, limit orders, DCA, token/price data

> [card] [DFlow](https://www.helius.dev/docs/agents/skills/dflow.md)
>
> Trading applications — spot swaps, prediction markets, real-time streaming, Proof KYC

> [card] [OKX](https://www.helius.dev/docs/agents/skills/okx.md)
>
> Trading and intelligence — OKX DEX aggregation, smart money signals, meme token analysis

> [card] [SVM](https://www.helius.dev/docs/agents/skills/svm.md)
>
> Solana protocol internals — SVM execution, consensus, account model, validator economics

## How Skills Work

Skills follow a 3-layer prompt architecture:

| Layer | What | Where |
| - | - | - |
| **A: Harness** | Agent/runtime-specific behavior and tool rules | Built-in (Claude Code), `AGENTS.md` (Codex), preamble in prompt variants (API) |
| **B: Skills** | Canonical, reusable, model-agnostic procedures | `SKILL.md` files + `references/` directory |
| **C: Task** | User request + dynamic context | Provided at runtime by each platform |

The skill content (Layer B) is identical across platforms — only the harness wrapper (Layer A) differs.

Each skill includes:

* **Routing logic** — maps your request to the correct MCP tools and reference files
* **Reference files** — deep documentation for each Helius product the AI reads before writing code
* **Rules** — prevents common mistakes (e.g., hardcoded priority fees, wrong RPC endpoints, missing error handling)

## Using Skills Across Platforms

Each skill ships with three pre-built prompt variants in its `prompts/` directory:

| File | Use Case | Format |
| - | - | - |
| `openai.developer.md` | OpenAI Responses / Chat Completions API | Layer A preamble + skill content with `=== BEGIN SKILL ===` delimiters |
| `claude.system.md` | Claude API system prompt | Layer A preamble + skill content with delimiters |
| `full.md` | Cursor Rules, ChatGPT custom instructions, other tools | All reference files inlined, no external dependencies |

Find these in:

* **Repo**: `.agents/skills/<skill>/prompts/`
* **npm package**: `helius-mcp/system-prompts/<skill>/`

> [tab] Vercel Skills CLI
>
> Install skills directly into your AI coding agent using the [Vercel Skills CLI](https://skills.sh/). Works with Claude Code, Cursor, Copilot, Codex, and more.
>
> ```bash theme={"system"}
> # Install a single skill
> npx skills add helius-labs/core-ai --skill build
>
> # Browse all available Helius skills
> npx skills add helius-labs/core-ai --list
> ```
>
> | Skill | Install Command |
> | - | - |
> | **build** — Core Solana dev (Sender, DAS, WebSockets, LaserStream, webhooks) | `npx skills add helius-labs/core-ai --skill build` |
> | **phantom** — Frontend dApps (Phantom Connect, React, token gating) | `npx skills add helius-labs/core-ai --skill phantom` |
> | **jupiter** — DeFi apps (swaps, lending, limit orders, DCA) | `npx skills add helius-labs/core-ai --skill jupiter` |
> | **dflow** — Trading apps (swaps, prediction markets, streaming, KYC) | `npx skills add helius-labs/core-ai --skill dflow` |
> | **okx** — Trading and intelligence (OKX DEX, smart money, meme scanner) | `npx skills add helius-labs/core-ai --skill okx` |
> | **svm** — Protocol internals (SVM engine, consensus, account model) | `npx skills add helius-labs/core-ai --skill svm` |

> [tab] Claude Code Plugin
>
> The [Helius plugin](https://www.helius.dev/docs/agents/claude-code-plugin.md) bundles all skills and the Helius MCP server in one install. Inside Claude Code, run these as two separate commands:
>
> ```
> /plugin marketplace add helius-labs/core-ai
> ```
>
> ```
> /plugin install helius@helius-labs
> ```
>
> Skills are invoked with `/helius:build`, `/helius:phantom`, `/helius:jupiter`, `/helius:dflow`, `/helius:okx`, or `/helius:svm`.

> [tab] Claude Code Standalone
>
> Each skill can be installed independently using its `install.sh` script:
>
> ```bash theme={"system"}
> git clone https://github.com/helius-labs/core-ai.git
> cd core-ai/helius-skills
> ./helius/install.sh            # Install to ~/.claude/skills/helius/
> ./helius/install.sh --project  # Or install to current project
> ```
>
> Standalone skills are auto-invoked as Agent Skills — no slash command needed.

> [tab] Codex CLI
>
> Codex auto-discovers skills from `.agents/skills/` in your project root:
>
> ```bash theme={"system"}
> # Copy the .agents/ directory into your project
> cp -r /path/to/core-ai/.agents/ your-project/
> ```
>
> Skills are triggered implicitly when your task matches, or explicitly with `$helius`, `$helius-phantom`, `$helius-jupiter`, `$helius-dflow`, `$helius-okx`, or `$svm`.

> [tab] OpenAI API
>
> Use `openai.developer.md` as a `developer` message:
>
> ```python theme={"system"}
> from openai import OpenAI
>
> client = OpenAI()
>
> with open(".agents/skills/helius/prompts/openai.developer.md") as f:
>     skill_prompt = f.read()
>
> response = client.responses.create(
>     model="o3",
>     instructions=skill_prompt,
>     input="Build a swap interface that submits via Helius Sender"
> )
> ```
>
> Also works with Chat Completions using `{"role": "developer", "content": skill_prompt}`.

> [tab] Claude API
>
> Use `claude.system.md` as the system prompt:
>
> ```python theme={"system"}
> import anthropic
>
> client = anthropic.Anthropic()
>
> with open(".agents/skills/helius/prompts/claude.system.md") as f:
>     skill_prompt = f.read()
>
> message = client.messages.create(
>     model="claude-sonnet-4-6-20250514",
>     max_tokens=4096,
>     system=skill_prompt,
>     messages=[
>         {"role": "user", "content": "Build a swap interface that submits via Helius Sender"}
>     ]
> )
> ```

> [tab] Cursor / ChatGPT
>
> Use `full.md` — it inlines all reference files so there are no external dependencies.
>
> **Cursor:** Copy to `.cursor/rules/helius.md`:
>
> ```bash theme={"system"}
> cp .agents/skills/helius/prompts/full.md .cursor/rules/helius.md
> ```
>
> **ChatGPT Custom Instructions:** Use the core `SKILL.md` content (the `full.md` may exceed ChatGPT's 8,000 character limit for larger skills).

## Prerequisites

All skills require the [Helius MCP server](https://www.helius.dev/docs/agents/mcp.md) to be running (or the equivalent tools configured in your agent framework). The DFlow skill can also use the optional [DFlow MCP server](https://pond.dflow.net/build/mcp). The Phantom skill additionally requires a [Phantom Portal](https://phantom.com/portal) account for embedded wallets. The Jupiter skill requires a [Jupiter API key](https://developers.jup.ag/portal). The OKX skill requires the [OKX skill library](https://github.com/okx/onchainos-skills) and the `onchainos` CLI.

| Skill | Requires | API Key Needed |
| - | - | - |
| [Build](https://www.helius.dev/docs/agents/skills/build.md) | Helius MCP | Yes (Helius) |
| [Phantom](https://www.helius.dev/docs/agents/skills/phantom.md) | Helius MCP | Yes (Helius) |
| [Jupiter](https://www.helius.dev/docs/agents/skills/jupiter.md) | Helius MCP | Yes (Helius + Jupiter) |
| [DFlow](https://www.helius.dev/docs/agents/skills/dflow.md) | Helius MCP (DFlow MCP optional) | Yes (Helius + DFlow for production) |
| [OKX](https://www.helius.dev/docs/agents/skills/okx.md) | Helius MCP + OKX skill library + `onchainos` CLI | Yes (Helius; OKX optional for dev) |
| [SVM](https://www.helius.dev/docs/agents/skills/svm.md) | Helius MCP | No |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.