solana-dev

solana-dev is a skill for Claude Code, Codex from solana-foundation/solana-dev-skill. It costs 258 tokens per session (4,132 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

Which agent this was written for is unclear — built for cline. Also seen: mentions Claude Code; mentions Codex; built for cline.

Good fit 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.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/solana-foundation/solana-dev-skill/solana-dev
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.

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/github.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/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for solana-dev

Your own site · 80×15
<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="Reviewed on agentmods" width="80" height="20"></a>
Per session 258 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,132 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket pass 6 Nov 2026
  • Snyk fail 3 Dec 2026
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium MCP Rug Pull · line 148
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
How audits are shown
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.1 $0.00258 $0.04132
Opus 5.5 $0.00103 $0.01653
Sonnet 5.5 $0.00052 $0.00826
Haiku 4.5 $0.00026 $0.00413

Measured yesterday against content hash 94e94e02dc9c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 · 214 lines

How it starts

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

Solana Development Skill

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) — the default format for new code; 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)
  • Gasless / sponsored-fee transactions (Kora), server-side signing with KMS / MPC / managed wallets (Solana Keychain), regulated token issuance (Mosaic)
  • 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 8 plugin clients, transaction v1 by default
  • Build clients with createClient() from @solana/kit, then .use(...) plugins. Pass transactionConfig: { version: 1 } to the RPC plugin so every transaction the client plans is v1:
    createClient()
      .use(signer(mySigner))
      .use(solanaRpc({ rpcUrl, transactionConfig: { version: 1, priorityFeeLamports: lamports(5_000n) } }));
    // or solanaLocalRpc / solanaDevnetRpc / solanaMainnetRpc from @solana/kit-plugin-rpc
    
  • Transaction v1 is the default for new code. Set version: 1; the planner otherwise defaults to v0. Plugin clients estimate compute and loaded-accounts-data limits by simulation. On manual pipelines, use Kit's resource-estimation helpers instead of guessing limits; use fixed values only for measured overrides or deliberate caps. See transactions-v1.md.
  • Manual pipe() + createTransactionMessage({ version: 1 }) is the low-level alternative for when you need control over every step (custom lifetimes, offline signing, bespoke planners) — see kit/advanced.md. It is not the default path.
  • 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.
  • Server-side signers (backends, bots, agents, treasuries) come from Solana Keychain, not keypair files: keychainSigner({ backend: 'aws-kms', ... }) from @solana/keychain-kit-plugin in place of signer(). See keychain.md.
  • Use @solana-program/* program plugins (e.g., tokenProgram()) for fluent instruction APIs.
  • Prefer Kit types (Address, Signer, transaction message APIs, codecs).

Read the full file on GitHub · 214 lines

Files

What ships with it

36 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 94e94e02dc9c
  2. 1mo ago Changed · +1 lines a0b75a296d40
  3. 1mo ago Changed c97235f7e4b3
  4. 1mo ago Changed 3f6c786b89d5
  5. 1mo ago Changed · +15 lines · +9 tokens per session 502d8a60f881
  6. 1mo ago Changed · -3 tokens per session ae28dffcf081
  7. 1mo ago Changed c14678610ab4
  8. 2mo ago Changed 37f593a9f96d
  9. 2mo ago Changed · +2 lines · +2 tokens per session b212fe7308a4
  10. 3mo ago First seen · 196 lines · 250 tokens per session scan A c6d34b33851c

Subscribe to this mod's changes

solana-dev is a skill published in the GitHub repository solana-foundation/solana-dev-skill (599 stars, last pushed 2d ago), licensed MIT. It adds 258 tokens to every session and 4,132 once invoked, about $0.0010 per session on Opus 5.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.

Related

solana-dev compared with skills from other repositories

solana-dev next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
solana-devsolana-foundation/solana-dev-skillSkill5992d agoMITA258Claude Code, Codex
monetize-servicenirholas/three.wsSkill289todayApache-2.0A94Claude Code
subgraph-development-guidenirholas/three.wsSkill289todayApache-2.0A59Claude Code, Codex
x402nirholas/three.wsSkill289todayApache-2.0A140Claude Code
chainlink-oracle-guidenirholas/three.wsSkill289todayApache-2.0A68Claude Code, Codex
okx-dex-wsnirholas/three.wsSkill289todayApache-2.0A150Claude Code
web3auth-integration-guidenirholas/three.wsSkill289todayApache-2.0A60Claude Code, Codex