solana-dev

solana-dev is a skill for Claude Code, Codex from solana-foundation/solana-dev-skill. It costs 250 tokens per session (3,440 once invoked), scanned A, original, MIT.

A development guide for building applications and on-chain programs on Solana, a blockchain network. It covers wallet connections, transactions, tokens, testing, deployment, and common toolchain problems.

In plain words
What is it for?
Use it to build Solana apps, write Anchor or Pinocchio programs, create tokens, connect wallets, send transactions, test or fuzz programs, and deploy to devnet.
Why use it?
Solana development involves network-specific code, wallets, transaction formats, and command-line tools that can be easy to mismatch. This guide helps developers choose compatible approaches and troubleshoot them.

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/solana-foundation/solana-dev-skill/solana-dev
Any agent
npx skills add solana-foundation/solana-dev-skill --skill solana-dev
Clone the repo
git clone --depth 1 https://github.com/solana-foundation/solana-dev-skill

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 solana-dev

README.md
[![agentmods](https://agentmods.dev/badge/skills/solana-foundation/solana-dev-skill/solana-dev.svg)](https://agentmods.dev/skills/solana-foundation/solana-dev-skill/solana-dev)
Your own site
<a href="https://agentmods.dev/skills/solana-foundation/solana-dev-skill/solana-dev"><img src="https://agentmods.dev/badge/skills/solana-foundation/solana-dev-skill/solana-dev.svg" alt="Measured on agentmods" height="20"></a>
Per session 250 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,440 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
Origin original No closer match found 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.00250 $0.03440
Opus 5 $0.00125 $0.01720
Sonnet 5 $0.00050 $0.00688
Haiku 4.5 $0.00025 $0.00344

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

Security

Grade A, and why

solana-dev 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.

description: 'Use when user asks to "build a Solana dapp", "write an Anchor program", "create a token", "debug Solana errors", "set up wallet connection", "test my Solana program", "fuzz my Solana program", "deploy to de
skills/solana-dev/SKILL.md · 196 lines

How it starts

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

Solana Development Skill (Kit-first)

What this Skill is for

Use this Skill when the user asks for:

  • Solana dApp UI work (React / Next.js)
  • Wallet connection + signing flows
  • Transaction building / sending / confirmation UX
  • Transaction v1 / larger transactions (SIMD-0385) — sending, reading, indexing
  • On-chain program development (Anchor or Pinocchio)
  • Program architecture — state layout, PDA seed conventions, naming, parallelization, cranks, vault topology
  • Client SDK generation (typed program clients)
  • Local testing (Surfpool, LiteSVM, Mollusk) and fuzz testing (Trident, cargo-fuzz)
  • Security hardening and audit-style reviews
  • Confidential transfers (Token-2022 ZK extension)
  • Toolchain setup, version mismatches, GLIBC errors, dependency conflicts
  • Upgrading Anchor/Solana CLI versions, migration between versions
  • Migrating web3.js v1 code to web3.js v3 or Kit

Default stack decisions (opinionated)

  1. SDK: @solana/kit (v7+) first
  • Build clients with createClient() from @solana/kit, then .use(...) plugins:
    createClient()
      .use(signer(mySigner))
      .use(solanaRpc({ rpcUrl }));
    // or solanaLocalRpc / solanaDevnetRpc / solanaMainnetRpc from @solana/kit-plugin-rpc
    
  • Default to signer() / signerFromFile() / generatedSigner() from @solana/kit-plugin-signer — they set both payer and identity to the same keypair (the common case). For fresh local/devnet signers, install the RPC/LiteSVM plugin after generatedSigner(), then fund with airdropSigner(...). Reach for the role-specific variants (payer() + identity()) only when fees and authority must come from different keypairs.
  • Use @solana-program/* program plugins (e.g., tokenProgram()) for fluent instruction APIs.
  • Prefer Kit types (Address, Signer, transaction message APIs, codecs).
  • Transaction v1 (4096-byte transactions, SIMD-0385) is the one exception to the plugin-client default: rpcTransactionPlanner throws on version: 1 today, so v1 needs @solana/kit 8 and the manual pipe() path. See transactions-v1.md.

Read the full file on GitHub · 196 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 · +250 tokens per session c6d34b33851c
  2. 5d ago First seen · 196 lines · 0 tokens per session scan A 85ea1cb7a9f6

Subscribe to this mod's changes

solana-dev is a skill published in the GitHub repository solana-foundation/solana-dev-skill (560 stars, last pushed today), licensed MIT. It adds 250 tokens to every session and 3,440 once invoked, about $0.0013 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.