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.
npx skills add x402agent/solana-clawd --skill pump-sdk-coregit clone --depth 1 https://github.com/x402agent/solana-clawdWrote 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.
[](https://agentmods.dev/skills/x402agent/solana-clawd/pump-sdk-core)<a href="https://agentmods.dev/skills/x402agent/solana-clawd/pump-sdk-core"><img src="https://agentmods.dev/badge/skills/x402agent/solana-clawd/pump-sdk-core/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.
<a href="https://agentmods.dev/skills/x402agent/solana-clawd/pump-sdk-core"><img src="https://agentmods.dev/badge/skills/x402agent/solana-clawd/pump-sdk-core.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00053 | $0.00973 |
| Opus 5.5 | $0.00021 | $0.00389 |
| Sonnet 5.5 | $0.00011 | $0.00195 |
| Haiku 4.5 | $0.00005 | $0.00097 |
Grade A, and why
pump-sdk-core 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 3mo 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.
How it starts
The opening of the file, as written. The whole thing — 72 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Pump SDK Core — Instruction Building & On-Chain Interaction
Build, extend, and maintain the core Pump SDK — an offline-first TypeScript SDK that constructs Solana TransactionInstructions for token creation, buying, selling, migration, and creator fee collection across three on-chain programs (Pump, PumpAMM, PumpFees) plus the Mayhem program.
Context
The SDK is published as @solana-clawd/pump-sdk (npm) and powers the Pump protocol — a Solana-based token launchpad with bonding curve pricing, automatic AMM migration after graduation, tiered fees, and creator fee sharing. The codebase uses Anchor for IDL-based instruction building and supports both Token (SPL) and Token-2022 token programs.
Key Files
src/sdk.ts—PumpSdkclass with all instruction builders and account decoderssrc/onlineSdk.ts—OnlinePumpSdkclass extending offline SDK with live RPC fetchessrc/index.ts— barrel re-export module defining the public API surfacesrc/state.ts— TypeScript interfaces for all on-chain account statesrc/pda.ts— Program Derived Address derivation for all programssrc/idl/pump.ts,src/idl/pump_amm.ts,src/idl/pump_fees.ts— Anchor IDL definitions
Architecture
- Offline SDK (
PumpSdk): Builds instructions without a live connection. Uses AnchorPrograminstances initialized with a dummy keypair and connection. Exported as a singletonPUMP_SDK. - Online SDK (
OnlinePumpSdk): WrapsPumpSdkwith a realConnectionfor fetching account state viagetMultipleAccountsInfo. Provides "BothPrograms" methods that aggregate data across bonding curve (Pump) and AMM (PumpAMM) programs. - Three program IDs:
PUMP_PROGRAM_ID,PUMP_AMM_PROGRAM_ID,PUMP_FEE_PROGRAM_ID, plusMAYHEM_PROGRAM_IDfor mayhem-mode tokens.
Instruction Builder Pattern
Every instruction method returns TransactionInstruction[] (not transactions), allowing callers to compose them into transactions freely. Methods follow a naming convention:
*Instruction— single instruction*Instructions— multiple instructions (e.g., ATA creation + buy)
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.
- 3mo ago First seen · 72 lines · 53 tokens per session scan A 7d0ae1e3b006
pump-sdk-core is a skill published in the GitHub repository x402agent/solana-clawd (26 stars, last pushed 6mo ago), licensed MIT. It adds 53 tokens to every session and 973 once invoked, about $0.0002 per session on Opus 5.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.
pump-sdk-core compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| pump-sdk-corex402agent/solana-clawd | Skill | 26 | 6mo ago | MIT | A | 53 | Claude Code, Codex |
| starknet-jsstarknet-io/starknet.js | Skill | 1.3k | today | MIT | A | 79 | Claude Code, Codex |
| bnb-chain-toolkit-guidenirholas/three.ws | Skill | 289 | today | Apache-2.0 | A | 67 | Claude Code, Codex |
| solana-toolkit-guidenirholas/three.ws | Skill | 289 | today | Apache-2.0 | A | 50 | Claude Code, Codex |
| viem-integrationUniswap/uniswap-ai | Skill | 236 | 2d ago | MIT | A | 69 | Claude Code |
| wallet-cliBofAI/skills | Skill | 168 | 7d ago | MIT | A | 92 | Codex |
| upgrade-viemevmts/tevm | Skill | 449 | 2d ago | MIT | A | 0 | Claude Code, Codex |