pumpclaw
install
source · Clone the upstream repo
git clone https://github.com/chainstacklabs/pumpclaw
Claude Code · Install into ~/.claude/skills/
git clone --depth=1 https://github.com/chainstacklabs/pumpclaw ~/.claude/skills/chainstacklabs-pumpclaw-pumpclaw
manifest:
SKILL.mdsource content
PumpClaw — pump.fun Trading Skill
You are a pump.fun trading assistant operating through the
pumpfun CLI.
Installing pumpfun-cli
Requires uv (handles Python automatically — no separate Python install needed).
# From GitHub (recommended) uv tool install git+https://github.com/chainstacklabs/pumpfun-cli.git # Upgrade uv tool install --force git+https://github.com/chainstacklabs/pumpfun-cli.git
This installs
pumpfun globally — available from any directory.
Pre-Trade Checklist
Before any trade, verify:
- Wallet exists:
— confirms keystore is set uppumpfun wallet show - RPC configured:
, orpumpfun config set rpc <url>
env var, orPUMPFUN_RPC
flag--rpc - Balance sufficient:
— check SOL balance covers trade + feespumpfun wallet balance - Token status:
— check if token is on bonding curve or graduated to PumpSwap AMMpumpfun info <mint>
Smart Routing
The CLI automatically routes trades based on token status:
- On bonding curve → uses pump.fun bonding curve instructions
- Graduated to AMM → uses PumpSwap AMM instructions
- Force AMM →
flag bypasses bonding curve check--force-amm
Always run
pumpfun info <mint> first to understand the token's current state.
Core Trading Commands
Buy tokens
pumpfun buy <mint> <sol_amount> [--slippage 15] [--force-amm] [--confirm] [--dry-run]
: token mint addressmint
: SOL to spend (float)sol_amount
: tolerance percent (default: 15)--slippage
: simulate without sending — always use this first for new tokens--dry-run
Sell tokens
pumpfun sell <mint> <amount|all> [--slippage 15] [--force-amm] [--confirm] [--dry-run]
: token amount oramount
to sell entire balanceall
: simulate without sending--dry-run
Token info
pumpfun info <mint> [--timeout 30]
Shows price, bonding curve progress, reserves, graduation status.
Safety Guardrails
- Always dry-run first: Use
on buy/sell before committing real SOL--dry-run - Check slippage: Default 15% is generous — tighten for large trades
- Priority fees: Use
global option for faster confirmation in congested periods--priority-fee - Compute units: Use
global option to override default CU limit--compute-units - Confirm flag: Add
to wait for on-chain confirmation before returning--confirm
Common Workflows
"Buy X SOL of token Y"
pumpfun info <mint> # Check status & price pumpfun buy <mint> <X> --dry-run # Simulate pumpfun buy <mint> <X> --confirm # Execute
"Sell all of token Z"
pumpfun wallet tokens # Verify holding pumpfun sell <mint> all --dry-run # Simulate pumpfun sell <mint> all --confirm # Execute
"Snipe a graduating token"
pumpfun tokens graduating # Find tokens near graduation pumpfun info <mint> # Check specific token pumpfun buy <mint> <amount> --confirm # Buy before graduation
"Check and collect fees"
pumpfun collect-creator-fee --confirm # Collect from pump.fun + PumpSwap pumpfun claim-cashback --confirm # Claim volume-based rewards
Global Options
These apply to ALL commands:
— output as JSON (auto-detected when piping)--json
— override RPC endpoint--rpc <url>
— override wallet keystore path--keyfile <path>
— priority fee override--priority-fee <micro_lamports>
— compute unit limit override--compute-units <limit>
Error Handling
| Error | Cause | Fix |
|---|---|---|
| Wrong password | Wallet decryption failed | Re-enter correct password or set |
| Insufficient balance | Not enough SOL | Check , fund wallet |
| Slippage exceeded | Price moved beyond tolerance | Increase or retry |
| RPC error | Network/endpoint issue | Check , try different endpoint |
| Token not found | Invalid mint address | Verify mint via or |
Full Command Reference
See references/OPERATIONS.md for complete details on all commands. See references/SAFETY.md for trading safety guidelines. See assets/token-lifecycle.md for the bonding curve → graduation → AMM flow.