Skip to content
Skills Library
Programming · Tool integration

solana-network

/solana-network

Display current Solana network and switch between devnet, testnet, localnet, and mainnet-beta. Use this skill when the user runs /solana-network, asks to "switch network", "use mainnet", "connect to devnet", or mentions changing the Solana network they're connected to.

Licence
MIT
Last repository change
23.10.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 23.10.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Display current Solana network and switch between devnet, testnet, localnet, and mainnet-beta. Use this skill when the user runs /solana-network, asks to "switch network", "use mainnet", "connect to devnet", or mentions changing the Solana network they're connected to.

Triggers from the description

switch networkuse mainnetconnect to devnet

Arguments

/solana-network [network] (optional: devnet, testnet, localnet, or mainnet-beta)
Original author description

Display current Solana network and switch between devnet, testnet, localnet, and mainnet-beta. Use this skill when the user runs /solana-network, asks to "switch network", "use mainnet", "connect to devnet", or mentions changing the Solana network they're connected to.

How it works

  1. Instructions
Original SKILL.md headings · 45 lines, 179 words
SKILL.md preview
---
name: solana-network
description: |
  Display current Solana network and switch between devnet, testnet, localnet, and mainnet-beta.
  Use this skill when the user runs /solana-network, asks to "switch network", "use mainnet",
  "connect to devnet", or mentions changing the Solana network they're connected to.
argument-hint: "[network] (optional: devnet, testnet, localnet, or mainnet-beta)"
allowed-tools: [Bash]
---

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.

Versions

The database has no other skills named solana-network.

Database snapshot: 13.11.2026 · package version 5277f682203a (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 90sui-networks-gas
    Sui network environments and gas economics. Use when the user asks about Mainnet, Testnet, Devnet, or Localnet differences, gas cost calculations (computation + storage - rebate), gas budgets, epochs, or how the Sui network operates at a high level. This skill covers network…
  • 90solana-accept-risk
    Accept or revoke explicit risk acknowledgment for mainnet-beta operations. Use this skill when the user runs /solana-accept-risk, asks to "enable mainnet", "accept risk", "revoke risk", or when mainnet operations are blocked.
  • 100sui-deployer
    Use when deploying or upgrading Move packages to devnet/testnet/mainnet, managing UpgradeCaps, or planning deployment strategy. Triggers on "deploy", "publish", "upgrade package", "sui client publish", "mainnet release", "staged rollout", or any deployment/release task. Also use…
  • 100solana
    Solana is a high-throughput blockchain with 400 ms slots and sub-cent fees. Use this skill to write on-chain programs in Rust with the Anchor framework, talk to the network from TypeScript with @solana/kit, create SPL tokens with the Solana CLI, and test and deploy to devnet.…
  • 100clarity-environments
    Why Clarity behaves differently in simnet, devnet, testnet and mainnet: costs, limits, epochs, boot contracts, forks. Use when something works in one environment but not another, or to pick where to test.
  • 100solana-dev
    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", "deploy to devnet", or "explain Solana concepts" (rent, accounts, PDAs, CPIs, etc.). Also use for quick on-chain…

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.