Skip to content
Back to skills

Pump Fun Strategy

ASecurity

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

  • 7 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added June 7, 2026
tools

Security analysis

A100/100

Pro scans all 5 files and shows the line behind each finding

Scanned June 7, 2026

npx -y skills add nirholas/three-ui --skill pump-fun-strategy --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Pump Fun Strategy?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Pump Fun Strategy
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/nirholas-pump-fun-strategy/badge)](https://www.skillsdirectory.com/skills/nirholas-pump-fun-strategy)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
# pump-fun-strategy

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

## Spec

```json
{
  "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](dsl.js).

## Tools

| Tool | Use it for |
|---|---|
| `validateStrategy` | Parse + type-check before running |
| `runStrategy` | Live (with `simulate: true` for dry-run) |
| `backtestStrategy` | Replay 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

Files in this skill

  • SKILL.md1.6 KB
  • dsl.js3.8 KB
  • handlers.js11.6 KB
  • manifest.json691 B
  • tools.json1.8 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.