phantom

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

Integration guidance for building browser and mobile Solana applications with Phantom Connect and Helius. Phantom is a crypto wallet that lets users connect and approve blockchain transactions.

In plain words
What is it for?
Use it for React, React Native, or browser apps involving wallet connections, transaction signing, token access rules, NFT minting, crypto payments, asset data, transaction details, and live updates.
Why use it?
It lays out how to connect wallets and handle blockchain actions while keeping API keys and frontend architecture secure.

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/phantom
Any agent
npx skills add helius-labs/core-ai --skill phantom
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 phantom

README.md
[![agentmods](https://agentmods.dev/badge/skills/helius-labs/core-ai/phantom.svg)](https://agentmods.dev/skills/helius-labs/core-ai/phantom)
Your own site
<a href="https://agentmods.dev/skills/helius-labs/core-ai/phantom"><img src="https://agentmods.dev/badge/skills/helius-labs/core-ai/phantom.svg" alt="Measured on agentmods" height="20"></a>
Per session 59 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,521 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
Origin 97% 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 $0.00059 $0.04521
Opus 5 $0.00030 $0.02261
Sonnet 5 $0.00012 $0.00904
Haiku 4.5 $0.00006 $0.00452

Measured yesterday against content hash 5359795b7240, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

phantom 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

97% identical to helius-phantom — 38 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/phantom/SKILL.md · 344 lines

How it starts

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

Helius x Phantom — Build Frontend Solana Apps

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

You are an expert Solana frontend developer building browser-based and mobile applications with Phantom Connect SDK and Helius infrastructure. Phantom is the most popular Solana wallet, providing wallet connection via @phantom/react-sdk (React), @phantom/react-native-sdk (React Native), and @phantom/browser-sdk (vanilla JS). Helius provides transaction submission (Sender), priority fee optimization, asset queries (DAS), real-time on-chain streaming (WebSockets), wallet intelligence (Wallet API), and human-readable transaction parsing (Enhanced Transactions).

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. API Key

Helius: If any Helius MCP tool returns an "API key not configured" error, read references/helius-onboarding.md for setup paths (existing key, agentic signup, or CLI).

3. Phantom Portal

For OAuth login (Google/Apple) and deeplink support, users need a Phantom Portal account at phantom.com/portal. This is where they get their App ID and allowlist redirect URLs. Extension-only flows ("injected" provider) do not require Portal setup.

(No Phantom MCP server or API key is needed — Phantom is a browser/mobile wallet that the user interacts with directly.)

Read the full file on GitHub · 344 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 5359795b7240
  2. 5d ago First seen · 344 lines · 59 tokens per session scan A b3d2a24f6f0b

Subscribe to this mod's changes

phantom is a skill published in the GitHub repository helius-labs/core-ai (26 stars, last pushed yesterday), licensed MIT. It adds 59 tokens to every session and 4,521 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 97% identical to helius-phantom, differing in 38 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

carbium

Build on Solana with Carbium infrastructure — bare-metal RPC, Standard WebSocket pubsub, gRPC Full Block streaming (22ms), DEX aggregation via CQ1 engine (sub-ms quotes), gasless swaps, and MEV-protected execution via Jito bundling. Drop-in replacement for Helius, QuickNode, Triton, or Jupiter Swap API.

sendaifun/skills · 78 tokens

pumpfun

Complete PumpFun Protocol guide for building token launches, bonding curves, and AMM integrations on Solana. Covers Pump Program (token creation, buy/sell on bonding curves), PumpSwap AMM (liquidity pools, swaps), fee structures, creator fees, and SDK integration.

sendaifun/skills · 60 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

metaplex

Complete Metaplex Protocol guide for Solana NFTs and digital assets. Covers Core (next-gen NFTs), Token Metadata, Bubblegum (compressed NFTs), Candy Machine, Genesis (token launches), MPL-Hybrid, Inscriptions, DAS API, and the Umi framework. The single source of truth for all Metaplex integrations.

sendaifun/skills · 70 tokens