pump-token-incentives

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

A reward system for distributing PUMP governance tokens according to users’ SOL trading volume. It divides rewards into daily periods and allocates each day’s supply proportionally.

In plain words
What is it for?
Use it to initialize and update user volume records, calculate daily rewards, and claim tokens based on trading activity.
Why use it?
It keeps track of daily trading totals and user balances so rewards can be calculated and claimed across the relevant programs.

Skill for Claude CodeCodex

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

Good fit Use it to initialize and update user volume records, calculate daily rewards, and claim tokens based on trading activity.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/x402agent/solana-clawd/pump-token-incentives
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 pump-token-incentives
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 pump-token-incentives

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/x402agent/solana-clawd/pump-token-incentives"><img src="https://agentmods.dev/badge/skills/x402agent/solana-clawd/pump-token-incentives.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 34 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 714 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.00034 $0.00714
Opus 5 $0.00017 $0.00357
Sonnet 5 $0.00007 $0.00143
Haiku 4.5 $0.00003 $0.00071

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

Security

Grade A, and why

pump-token-incentives 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-token-incentives/SKILL.md · 75 lines

How it starts

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

Token Incentives — Volume-Based PUMP Token Rewards

Implement and maintain the token incentive system that rewards traders with PUMP governance tokens based on their SOL trading volume, using a day-based epoch system with pro-rata distribution.

Context

The Pump protocol incentivizes trading activity by distributing PUMP tokens to users proportional to their SOL trading volume. The system tracks volume in day-long epochs, with each day having a pre-configured token supply pool.

Day-Based Epoch System

Volume tracking operates in fixed-length epochs defined by the GlobalVolumeAccumulator:

  • startTime — epoch system start timestamp
  • secondsInADay — epoch length (typically 86,400 seconds)
  • solVolumes[] — array of total SOL volume per day
  • totalTokenSupply[] — array of PUMP tokens available per day
dayIndex = Math.floor((currentTimestamp - startTime) / secondsInADay)

Pro-Rata Reward Formula

$$\text{tokens} = \frac{\text{userSolVolume} \times \text{dayTokenSupply}}{\text{globalSolVolume}}$$

Account Lifecycle

  1. Init (initUserVolumeAccumulator) — creates the user's volume accumulator PDA
  2. Sync (syncUserVolumeAccumulator) — updates the accumulator with latest volume data
  3. Claim (claimTokenIncentives) — claims accumulated PUMP token rewards
  4. Close (closeUserVolumeAccumulator) — closes the account, reclaims rent

BothPrograms Aggregation

Since users trade on both the bonding curve (Pump) and AMM (PumpAMM):

  • fetchUserVolumeAccumulatorTotalStats(user) — sums across both programs
  • getTotalUnclaimedTokensBothPrograms(user) — combined unclaimed rewards
  • claimTokenIncentivesBothPrograms(user, payer) — claims from both
  • syncUserVolumeAccumulatorBothPrograms(user) — syncs both

Edge Cases

Case Behavior
Zero global volume for a day No tokens distributed (division by zero guarded)
User never synced Only totalUnclaimedTokens from account state returned
Day index beyond arrays No additional rewards computed
User updated same day currentDayTokens returns preview, totalUnclaimedTokens excludes it

Read the full file on GitHub · 75 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 · 75 lines · 34 tokens per session scan A 9aa7627afe9b

Subscribe to this mod's changes

pump-token-incentives is a skill published in the GitHub repository x402agent/solana-clawd (24 stars, last pushed 3mo ago), licensed MIT. It adds 34 tokens to every session and 714 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.