> ## 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 how to build on Solana using Helius. Skills provide routing logic, correct SDK patterns, deep reference files, and pre-built system prompts for Claude, OpenAI, Codex, Cursor, and more.

Skills are model-agnostic instruction sets that teach AI assistants how to route your requests to the right [MCP tools](/agents/mcp/tools) 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

<CardGroup cols={2}>
  <Card title="Build" icon="hammer" href="/agents/skills/build">
    Core Solana development — DAS, Sender, WebSockets, LaserStream, Webhooks, Wallet API, and more
  </Card>

  <Card title="Phantom" icon="wallet" href="/agents/skills/phantom">
    Frontend dApp development — Phantom Connect SDK (React, React Native, browser), token gating, payments
  </Card>

  <Card title="Jupiter" icon="rocket" href="/agents/skills/jupiter">
    DeFi applications — token swaps, lending, limit orders, DCA, token/price data
  </Card>

  <Card title="DFlow" icon="chart-line" href="/agents/skills/dflow">
    Trading applications — spot swaps, prediction markets, real-time streaming, Proof KYC
  </Card>

  <Card title="OKX" icon="chart-mixed" href="/agents/skills/okx">
    Trading and intelligence — OKX DEX aggregation, smart money signals, meme token analysis
  </Card>

  <Card title="SVM" icon="microchip" href="/agents/skills/svm">
    Solana protocol internals — SVM execution, consensus, account model, validator economics
  </Card>
</CardGroup>

## 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>/`

<Tabs>
  <Tab title="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>

  <Tab title="Claude Code Plugin">
    The [Helius plugin](/agents/claude-code-plugin) bundles all skills + MCP servers in one install. From the Anthropic-curated registry:

    ```bash theme={"system"}
    claude plugin install helius @claude-plugins-official
    ```

    Or from the Helius marketplace inside Claude Code:

    ```
    /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>

  <Tab title="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>

  <Tab title="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>

  <Tab title="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>

  <Tab title="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>

  <Tab title="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).
  </Tab>
</Tabs>

## Prerequisites

All skills require the [Helius MCP server](/agents/mcp) to be running (or the equivalent tools configured in your agent framework). The DFlow skill additionally requires the [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](/agents/skills/build)     | Helius MCP                                       | Yes (Helius)                        |
| [Phantom](/agents/skills/phantom) | Helius MCP                                       | Yes (Helius)                        |
| [Jupiter](/agents/skills/jupiter) | Helius MCP                                       | Yes (Helius + Jupiter)              |
| [DFlow](/agents/skills/dflow)     | Helius MCP + DFlow MCP                           | Yes (Helius + DFlow for production) |
| [OKX](/agents/skills/okx)         | Helius MCP + OKX skill library + `onchainos` CLI | Yes (Helius; OKX optional for dev)  |
| [SVM](/agents/skills/svm)         | Helius MCP                                       | No                                  |
