pump-fun-strategy

SkillWeb & browsing

Declarative strategies. One JSON spec → live run or backtest, sharing the same evaluator so they cannot drift.

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use the pump-fun-strategy skill

About this capability

Open-source 3D AI agent framework — GLB/glTF avatars with LLM brains, memory, emotions, and autonomous payments. MCP server · x402 · Solana/EVM · Three.js. Embed anywhere as a web component. Character studio, animation gallery, OAuth 2.1. Browser-native.

What this skill tells your AI

The instructions your AI receives, as published by nirholas/three.ws in examples/skills/pump-fun-strategy/SKILL.md and read by ahel’s review.

Declarative strategies. One JSON spec → live run or backtest, sharing the same evaluator so they cannot drift.

Spec

{
  "scan":   { "kind": "newTokens", "limit": 20 },
  "filters": [
    "holders.total > 50",
    "holders.topHolderPct < 20",
    "creator.rugCount == 0"
  ],
  "entry": { "side": "buy", "amountSol": 0.05 },
  "exit": [
    { "if": "position.pnlPct > 50",       "do": { "side": "sell", "percent": 50 } },
    { "if": "holders.topHolderPct > 40",  "do": { "side": "sell", "percent": 100 } },
    { "if": "position.ageSec > 1800",     "do": { "side": "sell", "percent": 100 } }
  ],
  "caps": { "sessionSpendCapSol": 0.5, "perTradeSol": 0.05, "maxOpenPositions": 5 }
}

Predicate language

<lhs> <op> <rhs> where lhs is a dotted path into the runtime view, op is one of > >= < <= == !=, and rhs is a number (trailing % allowed for readability). The view exposes holders.*, creator.*, curve.*, token.*, position.*, trades.* — see dsl.js:buildView.

Tools

ToolUse it for
validateStrategyParse + type-check before running
runStrategyLive (with simulate: true for dry-run)
backtestStrategyReplay against historical trades from getTokenTrades

Why this matters

Compose-skill loops are imperative and hard to share. The DSL turns a strategy into a portable artifact you can:

  • Backtest before risking SOL
  • Hand to another agent to copy-trade
  • Diff between versions ("v2 added the 30-min stop")
  • Publish on the agent passport as a signed track record

Signals

GitHub stars
114
Forks
29
Last commit
Sep 2026
Advanced
Catalog kind
skill
Gateway key
pump-fun-strategy
Source
github.com/nirholas/three.ws