Solana Cli

🌐Community
by solanaguide · vlatest · Repository

Solana Cli helps you interact directly with the Solana blockchain via its command-line interface, streamlining development and automation tasks.

Install on your platform

We auto-selected Claude Code based on this skill’s supported platforms.

1

Run in terminal (recommended)

terminal
claude mcp add solana-cli npx -- -y @trustedskills/solana-cli
2

Or manually add to ~/.claude/settings.json

~/.claude/settings.json
{
  "mcpServers": {
    "solana-cli": {
      "command": "npx",
      "args": [
        "-y",
        "@trustedskills/solana-cli"
      ]
    }
  }
}

Requires Claude Code (claude CLI). Run claude --version to verify your install.

About This Skill

What it does

The solana-cli skill provides AI agents with direct command-line access to the Solana blockchain, enabling them to interact with the network using official client tools. It allows agents to execute low-level operations such as querying account data, managing keys, and broadcasting transactions without requiring a graphical interface.

When to use it

  • Automating routine maintenance tasks like checking validator status or monitoring token balances.
  • Executing complex smart contract interactions that require precise parameter formatting.
  • Performing bulk data retrieval from the Solana ledger for analysis or reporting.
  • Managing local development environments by initializing programs and compiling code via CLI commands.

Key capabilities

  • Direct execution of solana command-line interface instructions.
  • Interaction with the Solana network using official client libraries.
  • Support for key management, account querying, and transaction broadcasting.
  • Integration within AI agent workflows to handle blockchain-specific logic.

Example prompts

  • "Use solana-cli to check the current balance of my wallet address on the mainnet-beta."
  • "Execute a transfer transaction of 10 SOL from one keypair to another using the solana-cli skill."
  • "Query the metadata of a specific NFT account and display its token mint address."

Tips & gotchas

Ensure your AI agent has valid private keys or access permissions before attempting to sign transactions, as incorrect usage can result in lost funds. This skill relies on the underlying solana binary being available in the agent's execution environment; verify network connectivity and RPC endpoint configuration beforehand to prevent command failures.

Tags

🛡️

TrustedSkills Verification

Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.

Security Audits

Gen Agent Trust HubPass
SocketPass
SnykPass

Details

Version
vlatest
License
Author
solanaguide
Installs
72

🌐 Community

Passed automated security scans.