solana

solana is a skill for Claude Code, Codex from quicknode/solana-finance-claude-plugin. It costs 76 tokens per session (9,440 once invoked), scanned A, original, MIT.

A set of coding guidelines for Solana software, including Rust programs, TypeScript clients, Anchor projects, Quasar projects, and LiteSVM tests. It emphasizes making code, names, comments, and documentation match what is actually true.

In plain words
What is it for?
Use it while developing or reviewing Solana programs, clients, configurations, and tests that use the listed technologies.
Why use it?
It reduces misleading descriptions and hidden assumptions in blockchain code, where incorrect behavior can be costly. It also requires temporary workarounds to be clearly marked.

Skill for Claude CodeCodex

Part of the solana-finance plugin — 1 skill shipped together

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

Made for: Claude Code, Codex.

Or install solana-finance, the plugin that ships this one along with the rest of its 1 skill.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/quicknode/solana-finance-claude-plugin/solana.svg)](https://agentmods.dev/skills/quicknode/solana-finance-claude-plugin/solana)
Your own site
<a href="https://agentmods.dev/skills/quicknode/solana-finance-claude-plugin/solana"><img src="https://agentmods.dev/badge/skills/quicknode/solana-finance-claude-plugin/solana.svg" alt="Measured on agentmods" height="20"></a>
Per session 76 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 9,440 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00076 $0.09440
Opus 5 $0.00038 $0.04720
Sonnet 5 $0.00015 $0.01888
Haiku 4.5 $0.00008 $0.00944

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

Security

Grade A, and why

solana scanned grade A with 0 findings 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/solana/SKILL.md · 315 lines

How it starts

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

Coding Guidelines

Apply these rules to ensure code quality, maintainability, and adherence to project standards.

Fight for Truth

Don't write things that aren't currently true - anywhere. Chat, code comments, variable names, PR titles, READMEs, commit messages.

  • Documentation and comments that do not match the code are considered untrue.
  • Variable names that do not match the purpose of the variable are considered untrue. For example, a struct called InitializeMarket is not true because a struct cannot 'initialize a market' - structs do not do things, only functions can do things.
  • Temporary workarounds that aren't labelled as such are lying through omission - there is an issue you aren't telling the next programmer about. Mark them with a TODO comment with a link to a git issue (if it exists) and telling the next programmer when they can delete the workaround.
  • If unsure of something, say so. Bluffing is lying.
  • Ambiguity is a soft lie: if a phrase could be read two ways and only one is true, it's misleading. Disambiguate before sending - pick the term that says exactly what's meant, name the antecedent of every "it"/"this"/"that".
  • A wrong statement is worse than no statement.
  • Separate scratch labels from real identifiers.

Actively fix untrue things when you see them. Don't let "close enough" wording stand in for the truthful one.

Grep before naming. Before sending any prose, walkthrough, README, comment, or commit message that names a specific identifier (function, struct, file, account, module, field, constant), grep the source for that exact identifier and confirm it exists. "I'm pretty sure that's the name" is not enough. If the identifier doesn't exist, either use the real name or apply the rename to the code first, then write the prose.

Describe what is, not what was removed. READMEs, doc-comments, and code comments document current state - not history. Lines like "no floats", "no longer uses X", "replaces the previous Y approach" belong in CHANGELOGs and PR descriptions, not source artefacts. A first-time reader has no history and "no longer uses I64F64" creates ambient confusion ("wait, should I be worried?"). Sweep before sending: grep for no longer, removed, previously, used to, formerly, dropped, now uses, replaces the previous - each hit is a candidate for deletion.

Read the full file on GitHub · 315 lines

Files

What ships with it

8 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 · +7 lines 9efc0bc75721
  2. 5d ago First seen · 308 lines · 76 tokens per session scan A 2fda3f54ef30

Subscribe to this mod's changes

solana is a skill published in the GitHub repository quicknode/solana-finance-claude-plugin (89 stars, last pushed yesterday), licensed MIT. It adds 76 tokens to every session and 9,440 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

solana-toolkit-guide

Guide to the Solana Wallet Toolkit — vanity address generation with multi-threaded search, official Solana Labs libraries, Rust and TypeScript implementations. Includes wallet generation, custom address prefixes, and OG names on the blockchain.

nirholas/three.ws · 50 tokens

handling-rust-errors

HASH error handling patterns using error-stack crate. Use when working with Result types, Report types, defining custom errors, propagating errors with changecontext, adding context with attach, implementing Error trait, or documenting error conditions in Rust code.

hashintel/hash · 52 tokens

ultrathink-blockchain

Deep-reasoning Solana and blockchain engineering skill. Use for production blockchain development, on-chain programs, Solana transaction flows, DeFi integrations, token bots, swaps, Anchor/Rust programs, RPC handling, Helius/Jito execution, MEV analysis, PDA/account validation, retry logic, simulations, monitoring, or…

x402agent/solana-clawd · 76 tokens

atproto-cid

This skill should be used when the user is working with AT Protocol or DASL CIDs (Content Identifiers) in Rust, TypeScript, or Go — parsing, constructing, validating, verifying, or debugging them. Triggers on phrases like "parse a CID", "compute a CID for this record", "verify a blob CID", "why is this CID invalid"…

ngerakines/atproto-skills · 478 tokens

lint-all

Lint all code (Rust + JS/TS). Use before opening a PR when Rust code was changed.

denoland/deno · 24 tokens

lint-js

Lint JS/TS code only. Use before opening a PR when only JavaScript or TypeScript files were changed (no Rust).

denoland/deno · 29 tokens