.agents/skills/pump-shell-scripts/SKILL.md
Production-quality Bash scripts for Solana vanity generation, keypair verification, batch operations, dependency auditing, and test orchestration — with security-hardened patterns including file permissions, input validation, and cleanup traps.
npx skillsauth add x402agent/solana-clawd pump-shell-scriptsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Production-quality Bash scripts for vanity generation, keypair verification, batch operations, dependency auditing, and test orchestration with security-hardened patterns.
| Script | Purpose |
|--------|---------|
| scripts/utils.sh | Shared library (colors, logging, validation, cleanup) |
| scripts/generate-vanity.sh | Vanity address generation via solana-keygen |
| scripts/batch-generate.sh | Parallel batch generation |
| scripts/verify-keypair.sh | 7-point keypair verification |
| scripts/test-rust.sh | 10-step Rust test orchestration |
| tools/audit-dependencies.sh | Dependency security audit |
| tools/check-file-permissions.sh | File permission validation |
| tools/verify-keypair.ts | TypeScript 9-point verifier |
verify_keypair() {
# 1. File exists
# 2. Valid JSON array
# 3. Exactly 64 bytes
# 4. File permissions are 0600
# 5. solana-keygen verify passes
# 6. Public key matches filename
# 7. Re-derive public key from secret matches
}
# Cleanup trap
trap 'cleanup_temp_files' EXIT ERR INT TERM
# File permissions
chmod 600 "$keypair_file"
# Input validation
validate_base58() {
[[ "$1" =~ ^[1-9A-HJ-NP-Za-km-z]+$ ]] || die "Invalid Base58"
}
# No shell injection
# Use "$var" (quoted) everywhere, never $var
| Target | Description |
|--------|-------------|
| make test-rust | Run Rust test suite |
| make bench | Run Criterion benchmarks |
| make generate | Generate a vanity address |
| make verify | Verify a keypair file |
| make audit | Audit dependencies |
scripts/utils.sh in all scripts for shared utilitiesset -euo pipefail at the top of every script"$var" not $vartrap for cleanup of temporary fileschmod 600 on any keypair file immediately after creationsolana-keygen verify expects the address as the first argument, not the fileshred is not available on all systems — check with command -vmktemp patterns differ between macOS and Linuxread -r is essential to prevent backslash interpretation[[ ]] over [ ] for conditionalsdevelopment
Formally verify programs by writing Lean 4 proofs. Trigger this skill whenever the user wants to formally verify code, generate Lean 4 proofs, prove properties about algorithms or smart contracts, verify invariants, convert program logic into formal specifications, or anything involving Lean 4 and formal verification. Also trigger when the user mentions "qedgen", "lean proof", "formal proof", "verify my code", "prove correctness", "formal verification", or wants mathematical guarantees about their implementation.
data-ai
Orchestrate multi-bot trading swarms on Pump.fun with persona-driven agents
tools
End-to-end Solana development playbook (Jan 2026). Prefer Solana Foundation framework-kit (@solana/client + @solana/react-hooks) for React/Next.js UI. Prefer @solana/kit for all new client/RPC/transaction code. When legacy dependencies require web3.js, isolate it behind @solana/web3-compat (or @solana/web3.js as a true legacy fallback). Covers wallet-standard-first connection (incl. ConnectorKit), Anchor/Pinocchio programs, Codama-based client generation, LiteSVM/Mollusk/Surfpool testing, and security checklists.
tools
Buy and sell tokens on Pump.fun bonding curves and AMM pools