solana-keypair

solana-keypair is a skill for Claude Code from widnyana/eyay-toolkits. It costs 63 tokens per session (447 once invoked), scanned B, original, MIT.

A command for setting up and checking a Solana keypair, a file containing the credentials used to sign transactions. It shows only the wallet’s public address, never the private key.

In plain words
What is it for?
Use it to set a keypair path, validate a keypair, view its public address, and get guidance on creating one.
Why use it?
It makes sure the signing file exists, can be read, and has the expected format while reducing the chance of exposing credentials.

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 set a keypair path, validate a keypair, view its public address, and get guidance on creating one.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/widnyana/eyay-toolkits/solana-keypair
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-keypair
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-keypair

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/widnyana/eyay-toolkits/solana-keypair"><img src="https://agentmods.dev/badge/skills/widnyana/eyay-toolkits/solana-keypair.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 63 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 447 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00063 $0.00447
Opus 5 $0.00032 $0.00224
Sonnet 5 $0.00013 $0.00089
Haiku 4.5 $0.00006 $0.00045

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

Security

Grade B, and why

solana-keypair scanned grade B 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 12d 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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

- Warn users to `chmod 400` keypair files.
plugins/solana-onchain/skills/solana-keypair/SKILL.md · 56 lines

What it actually says

Configure the Solana keypair used for signing write operations.

Review: $ARGUMENTS

Instructions

show (default)

  1. Read SOLANA_KEYPAIR_PATH from environment.
  2. If set and file exists — show public address (never the private key).
  3. If not set — show setup instructions:
    Option 1 (env var): export SOLANA_KEYPAIR_PATH=~/.config/solana/id.json
    Option 2 (command): /solana-keypair set /path/to/keypair.json
    

set

  1. Validate the file exists and is readable.
  2. If valid — extract public address, confirm success.
  3. If invalid — show error with troubleshooting (check path, permissions, format).
  4. Always remind: keypair files are sensitive. Never share or commit them.

validate

  1. Check file exists, is readable, and is valid Solana keypair format.
  2. Show validation result with details (path, public address, permissions).

Security rules

  • Never display private keys — only public addresses.
  • Warn users to chmod 400 keypair files.
  • Remind that keypair controls all funds in the associated wallet.
  • Suggest dedicated wallets for testing, hardware wallets for large amounts.

Keypair creation (if user has none)

Point user to:

  • solana-keygen new --outfile ~/.config/solana/id.json
  • Wallet apps: Solflare, Phantom, Magic Eden (export keypair to JSON)

Related skills

  • /solana-accept-risk — required before mainnet write operations
  • /solana-network — choose which network to use
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. 12d ago First seen · 56 lines · 63 tokens per session scan B e65ce7589c51

Subscribe to this mod's changes

solana-keypair is a skill published in the GitHub repository widnyana/eyay-toolkits (7 stars, last pushed 9d ago), licensed MIT. It adds 63 tokens to every session and 447 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it B with 1 finding (asks for root). 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

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

privy-integration

Integrates Privy authentication, embedded wallets, and agent payment protocols into web and agentic apps. Covers React SDK (PrivyProvider, hooks, wagmi), Node.js SDK, smart wallets (ERC-4337), x402 and MPP machine payments, Tempo chain, and agentic wallets with policies. Use when setting up Privy auth, creating…

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

foundry-solidity

Build and test Solidity contracts with Foundry. Use when developing Ethereum contracts, writing Forge tests, deploying with scripts, or debugging with Cast/Anvil. Triggers on forge, cast, anvil, foundry.toml, .t.sol, or .s.sol.

tenequm/skills · 60 tokens