pumpfun-fees

pumpfun-fees is a skill for Claude Code, Codex from x402agent/solana-clawd. It costs 10 tokens per session (622 once invoked), scanned A, original, MIT.

A fee-sharing guide for Pump.fun tokens, a Solana token platform. It explains how creators can assign percentage shares to wallets and distribute accumulated creator fees.

In plain words
What is it for?
Use it to create fee-sharing settings, update shareholder percentages, and claim or distribute accumulated fees for a token.
Why use it?
It organizes fee splits and collection, including the requirement that all configured shares add up to the full amount.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to create fee-sharing settings, update shareholder percentages, and claim or distribute accumulated fees for a token.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/x402agent/solana-clawd/pumpfun-fees
Install

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.

Any agent
npx skills add x402agent/solana-clawd --skill pumpfun-fees
Clone the repo
git clone --depth 1 https://github.com/x402agent/solana-clawd

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 pumpfun-fees

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/x402agent/solana-clawd/pumpfun-fees"><img src="https://agentmods.dev/badge/skills/x402agent/solana-clawd/pumpfun-fees.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 10 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 622 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.00010 $0.00622
Opus 5 $0.00005 $0.00311
Sonnet 5 $0.00002 $0.00124
Haiku 4.5 $0.00001 $0.00062

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

Security

Grade A, and why

pumpfun-fees 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/pumpfun-fees/SKILL.md · 90 lines

How it starts

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

PumpFun Fee Sharing

Set up, manage, and claim creator fee sharing on Pump.fun tokens. Supports up to 10 shareholders with configurable basis point splits.

Prerequisites

  • Token creator wallet
  • HELIUS_RPC_URL configured
  • Token must be active (bonding curve or graduated)

Fee Sharing Setup

1. Create Fee Sharing Config

import { PUMP_SDK } from "@solana-clawd/pump-sdk";

const createConfigIx = await PUMP_SDK.createFeeSharingConfig({
  creator: wallet.publicKey,
  mint: tokenMint,
  pool: null, // null for pre-graduation tokens
});

2. Set Shareholders

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%
  ],
});

3. Claim Accumulated Fees

const sdk = new OnlinePumpSdk(connection);
const claimResult = await sdk.distributeCreatorFees({
  mint: tokenMint,
  creator: wallet.publicKey,
});

Fee Tier Reference

Fees are tiered by market cap:

Market Cap (SOL) Protocol Fee Creator Fee
< 100 Higher Lower
100-1000 Standard Standard
> 1000 Lower Higher

Error Handling

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

Token Incentives

Track unclaimed $PUMP reward tokens:

import { totalUnclaimedTokens, currentDayTokens } from "@solana-clawd/pump-sdk";

const unclaimed = totalUnclaimedTokens(userVolumeAccumulator, globalVolumeAccumulator);
const todayTokens = currentDayTokens(globalVolumeAccumulator);

Read the full file on GitHub · 90 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 · 90 lines · 10 tokens per session scan A 28923e4f8b52

Subscribe to this mod's changes

pumpfun-fees is a skill published in the GitHub repository x402agent/solana-clawd (24 stars, last pushed 3mo ago), licensed MIT. It adds 10 tokens to every session and 622 once invoked, about $0.0001 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.