pump-testing

pump-testing is a skill for Claude Code, Codex from x402agent/solana-clawd. It costs 43 tokens per session (646 once invoked), scanned A, original, MIT.

A multi-language test setup for the Pump SDK, covering Rust, TypeScript, Python, and shell tests. It includes ordinary tests, fuzz tests that try many unexpected inputs, and performance benchmarks.

In plain words
What is it for?
Use it to run unit and integration tests, security checks, fuzzing, performance benchmarks, coverage reports, and coordinated test commands.
Why use it?
It provides a repeatable way to check correctness, security, command-line behavior, and speed across the SDK.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for openclaw. Also seen: built for openclaw.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is bash scripts/test-rust.sh # Full Rust test orchestration.

Good fit Use it to run unit and integration tests, security checks, fuzzing, performance benchmarks, coverage reports, and coordinated test commands.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/x402agent/solana-clawd
agentmods
npx agentmods add skills/x402agent/solana-clawd/pump-testing

Made for: Claude Code, Codex.

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 pump-testing

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/x402agent/solana-clawd/pump-testing"><img src="https://agentmods.dev/badge/skills/x402agent/solana-clawd/pump-testing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 646 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.00043 $0.00646
Opus 5 $0.00022 $0.00323
Sonnet 5 $0.00009 $0.00129
Haiku 4.5 $0.00004 $0.00065

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

Security

Grade A, and why

pump-testing 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 7d 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.

agents/skills/pump-testing/SKILL.md · 92 lines

How it starts

The opening of the file, as written. The whole thing — 92 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Testing & Quality — Multi-Language Test Infrastructure

Comprehensive test infrastructure spanning Rust, TypeScript, Python, and Bash with CI quality gates.

Test Matrix

Language Framework Directory Focus
Rust cargo test rust/tests/ Unit, integration, security
Rust Criterion rust/benches/ Performance benchmarks
TypeScript Jest typescript/tests/ Unit, integration
TypeScript Jest tests/ SDK tests
Python Custom tests/fuzz/ Fuzzing
Bash Custom tests/cli/ CLI integration

Running Tests

# Rust
cargo test                            # All tests
cargo test --test integration_tests   # Integration only
cargo test --test security_tests      # Security only
cargo test --test performance_tests   # Performance only
cargo bench                           # Criterion benchmarks

# TypeScript
npx jest                              # All Jest tests
npx jest --coverage                   # With coverage

# Shell
bash scripts/test-rust.sh             # Full Rust test orchestration
bash docs/run-all-tests.sh            # Run everything

Test Orchestration (test-rust.sh — 10 Steps)

  1. Check Rust toolchain
  2. Run cargo fmt --check
  3. Run cargo clippy
  4. Run unit tests
  5. Run integration tests
  6. Run security tests
  7. Run performance tests
  8. Run benchmarks
  9. Build release binary
  10. Verify binary output

Quality Gates

Gate Threshold
Rust tests All pass
TypeScript tests All pass
cargo clippy No warnings
cargo fmt Formatted
Coverage >70%

Stress / Benchmark Tests

# Rust benchmarks
cargo bench --bench generation_bench

# Stress tests
tests/stress/       # Long-running stability tests
tests/benchmarks/   # SDK benchmark tests

Patterns to Follow

  • Write tests alongside implementation — not as an afterthought
  • Test edge cases: zero amounts, null accounts, maximum values
  • Test roundtrip consistency: buy→sell should approximate original (minus fees)
  • Use transaction simulation for on-chain behavior verification
  • Mock Anchor programs for offline SDK tests

Read the full file on GitHub · 92 lines

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. 7d ago First seen · 92 lines · 43 tokens per session scan A 5f80feb9b0fb

Subscribe to this mod's changes

pump-testing is a skill published in the GitHub repository x402agent/solana-clawd (24 stars, last pushed 3mo ago), licensed MIT. It adds 43 tokens to every session and 646 once invoked, about $0.0002 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-09-03.