skills/pumpfun-fees/SKILL.md
Configure and claim creator fee sharing on Pump.fun tokens
npx skillsauth add x402agent/solana-clawd skills/pumpfun-feesInstall 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.
Set up, manage, and claim creator fee sharing on Pump.fun tokens. Supports up to 10 shareholders with configurable basis point splits.
HELIUS_RPC_URL configuredimport { PUMP_SDK } from "@nirholas/pump-sdk";
const createConfigIx = await PUMP_SDK.createFeeSharingConfig({
creator: wallet.publicKey,
mint: tokenMint,
pool: null, // null for pre-graduation tokens
});
Shares must total exactly 10,000 BPS (100%). Maximum 10 shareholders.
const updateIx = await PUMP_SDK.updateFeeShares({
authority: wallet.publicKey,
mint: tokenMint,
currentShareholders: [wallet.publicKey],
newShareholders: [
{ address: wallet.publicKey, shareBps: 7000 }, // 70%
{ address: new PublicKey("Partner..."), shareBps: 2000 }, // 20%
{ address: new PublicKey("Dev..."), shareBps: 1000 }, // 10%
],
});
const sdk = new OnlinePumpSdk(connection);
const claimResult = await sdk.distributeCreatorFees({
mint: tokenMint,
creator: wallet.publicKey,
});
Fees are tiered by market cap:
| Market Cap (SOL) | Protocol Fee | Creator Fee | |-------------------|-------------|-------------| | < 100 | Higher | Lower | | 100-1000 | Standard | Standard | | > 1000 | Lower | Higher |
| Error | Cause | Fix |
|-------|-------|-----|
| NoShareholdersError | Empty array | Provide ≥1 shareholder |
| TooManyShareholdersError | >10 shareholders | Reduce to ≤10 |
| ZeroShareError | Share ≤ 0 | Set positive values |
| InvalidShareTotalError | Sum ≠ 10,000 | Ensure total = 10,000 BPS |
| DuplicateShareholderError | Same address twice | Remove duplicates |
Track unclaimed $PUMP reward tokens:
import { totalUnclaimedTokens, currentDayTokens } from "@nirholas/pump-sdk";
const unclaimed = totalUnclaimedTokens(userVolumeAccumulator, globalVolumeAccumulator);
const todayTokens = currentDayTokens(globalVolumeAccumulator);
The fee-claimer agent role uses this skill to automatically monitor and claim accumulated creator fees across all managed tokens.
development
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