solana-network

solana-network is a skill for Claude Code from widnyana/eyay-toolkits. It costs 66 tokens per session (418 once invoked), scanned A, original, MIT.

A command for choosing which Solana network a session uses, from a local testing network to the public production network. Devnet and localnet are used for testing; mainnet-beta uses real SOL, Solana’s currency.

In plain words
What is it for?
Use it to view the current network or switch between devnet, testnet, localnet, and mainnet-beta.
Why use it?
It helps prevent sending changes or funds to the wrong network. Production access is blocked until the user explicitly accepts the risk.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the solana-onchain plugin — 8 skills shipped together

Good fit Use it to view the current network or switch between devnet, testnet, localnet, and mainnet-beta.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/widnyana/eyay-toolkits/solana-network
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 widnyana/eyay-toolkits --skill solana-network
Clone the repo
git clone --depth 1 https://github.com/widnyana/eyay-toolkits

Made for: Claude Code.

Or install solana-onchain, the plugin that ships this one along with the rest of its 8 skills.

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-network

README.md
[![agentmods](https://agentmods.dev/badge/skills/widnyana/eyay-toolkits/solana-network/github.svg)](https://agentmods.dev/skills/widnyana/eyay-toolkits/solana-network)
Your own site
<a href="https://agentmods.dev/skills/widnyana/eyay-toolkits/solana-network"><img src="https://agentmods.dev/badge/skills/widnyana/eyay-toolkits/solana-network/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-network

Your own site · 80×15
<a href="https://agentmods.dev/skills/widnyana/eyay-toolkits/solana-network"><img src="https://agentmods.dev/badge/skills/widnyana/eyay-toolkits/solana-network.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 66 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 418 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00066 $0.00418
Opus 5 $0.00033 $0.00209
Sonnet 5 $0.00013 $0.00084
Haiku 4.5 $0.00007 $0.00042

Measured 10d ago against content hash 3eb7c5de4bc7, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

solana-network 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 10d ago.

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.

plugins/solana-onchain/skills/solana-network/SKILL.md · 54 lines

What it actually says

Manage the active Solana network. Default is devnet.

Review: $ARGUMENTS

Instructions

No arguments — show current network

  1. Read SOLANA_NETWORK from environment. If unset, assume devnet.
  2. Display current network and available options:
Current network: [network]

Available:
  devnet        - Testing, free SOL via airdrop
  testnet       - Community testnet, real conditions, no risk
  localnet      - Local validator, requires local setup
  mainnet-beta  - Production, real SOL, requires /solana-accept-risk

Switching to devnet / testnet / localnet

  1. Set SOLANA_NETWORK to the requested value.
  2. Confirm the switch with network details.

Switching to mainnet-beta

  1. Check if SOLANA_ACCEPT_RISK is set to true.
  2. If not accepted — refuse the switch and tell the user to run /solana-accept-risk first.
  3. If accepted — switch and show mainnet safety reminders:
    • Verify addresses 3x before transferring
    • Start with tiny test amounts (0.001 SOL)
    • Simulate all transactions first

Invalid network name

Show error with valid options: devnet, testnet, localnet, mainnet-beta.

Notes

  • Network defaults to devnet on session restart.
  • Custom RPC: set SOLANA_RPC_URL environment variable.
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. 10d ago First seen · 54 lines · 66 tokens per session scan A 3eb7c5de4bc7

Subscribe to this mod's changes

solana-network is a skill published in the GitHub repository widnyana/eyay-toolkits (7 stars, last pushed 7d ago), licensed MIT. It adds 66 tokens to every session and 418 once invoked, about $0.0003 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-31.

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

web3-protocol-gtm

Go-to-market strategy for web3 builders - protocols, products, services, and solo founders. Use when planning growth for a crypto protocol, building developer community, crafting CT narrative, planning ecosystem partnerships, preparing grant applications, launching tokens, pricing crypto-native products, or growing as…

tenequm/skills · 70 tokens

solana-development

Build, test, deploy, and audit Solana programs with Anchor or native Rust, plus ZK Compression (Light Protocol). Use for Solana contracts, token operations, compute optimization, deployment, program audits, or compressed tokens and PDAs.

tenequm/skills · 53 tokens

x402

Build internet-native payments with x402 - HTTP 402 for on-chain micropayments, no accounts or API keys. Use for paid APIs, paywalled content, agent payment flows, or per-call MCP tools. TypeScript, Python, and Go SDKs across EVM and Solana.

tenequm/skills · 63 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

erc-8004

Build with ERC-8004 Trustless Agents - on-chain agent identity, reputation, validation, and discovery on EVM chains. Use when registering agents on-chain, building agent reputation, or using the Agent0 SDK. Triggers on ERC-8004 and Agent0.

tenequm/skills · 60 tokens