Skip to content
Back to skills

Repo Integrations

ASecurity

**Branch:** `feat/kol-leaderboard` **Source repo:** https://github.com/nirholas/kol-quest **One PR. Standalone. No other prompt is required to be shipped first.**

  • 7 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 6, 2026
testingnodegitapidatabase

Works with

  • api
  • mcp

Security analysis

A100/100

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

Scanned September 6, 2026

npx -y skills add nirholas/three-ui --skill repo-integrations --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Repo Integrations?

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

Security grade badge for Repo Integrations
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/nirholas-repo-integrations-three-ui/badge)](https://www.skillsdirectory.com/skills/nirholas-repo-integrations-three-ui)

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
# 12 — KOL leaderboard skill + endpoint

**Branch:** `feat/kol-leaderboard`
**Source repo:** https://github.com/nirholas/kol-quest
**One PR. Standalone. No other prompt is required to be shipped first.**

## Why it matters

A "who are the top traders right now" leaderboard is useful both as an agent skill ("show me the top 10 KOLs by 7d P&L") and as a public endpoint embedded sites can poll. kol-quest is the reference; this prompt ports the leaderboard surface only.

## Read these first

| File | Why |
| :--- | :--- |
| [src/agent-skills-pumpfun.js](../../src/agent-skills-pumpfun.js) | Skill registration. |
| [api/pump-fun-mcp.js](../../api/pump-fun-mcp.js) | MCP tool registration. |
| [api/pump/](../../api/pump/) | API style. |
| https://github.com/nirholas/kol-quest | Reference: leaderboard scoring + ranking logic. |

## Build this

1. Add `src/kol/leaderboard.js` exporting:
    ```js
    export async function getLeaderboard({ window = '7d', limit = 25 })
    // window ∈ '24h' | '7d' | '30d'
    // Returns [{ wallet, pnlUsd, winRate, trades, rank }] sorted by pnlUsd desc.
    ```
2. Add `api/kol/leaderboard.js`:
    ```js
    // GET /api/kol/leaderboard?window=7d&limit=25 → { items: [...] }
    ```
3. Register skill `kol.leaderboard` in [src/agent-skills-pumpfun.js](../../src/agent-skills-pumpfun.js).
4. Register MCP tool `kol_leaderboard` in [api/pump-fun-mcp.js](../../api/pump-fun-mcp.js).
5. Add `tests/kol-leaderboard.test.js` asserting:
    - Sorted descending by pnlUsd.
    - `window` is validated (rejects `'1y'`).
    - `limit` capped at 100.

## Out of scope

- Database-backed history; if no upstream source available, port the kol-quest scoring against a recent on-chain window or a static seed file in `src/kol/seed.json` and document the source choice in code comments.
- UI changes.

## Acceptance

- [ ] `node --check` passes for new files.
- [ ] `npx vitest run tests/kol-leaderboard.test.js` passes.
- [ ] Skill + MCP tool callable.
- [ ] `/api/kol/leaderboard?window=7d&limit=10` returns 10 items.
- [ ] `npx vite build` passes.

## Test plan

1. Hit endpoint; confirm response.
2. Call agent skill; confirm summary.
3. Pass `window=1y`; confirm 400.

## Reporting

- Shipped: …
- Skipped: …
- Broke / regressions: …
- Unrelated bugs noticed: …

Files in this skill

  • 01-pumpkit-whale-alerts.md3.5 KB
  • 02-pumpkit-claim-monitor.md3.1 KB
  • 03-pumpkit-channel-feed.md2.7 KB
  • 04-pumpkit-telegram-delivery.md2.7 KB
  • 05-pumpfun-claims-bot-feed.md2.6 KB
  • 06-claim-alerts-agent-home.md2.7 KB
  • 07-cf-workers-mcp-mirror.md3 KB
  • 08-pump-fun-skills-port.md2.9 KB
  • 09-skill-manifest-export.md2.6 KB
  • 10-pump-swap-quote-skill.md2.5 KB
  • 11-kol-quest-smart-money-widget.md2.8 KB
  • 12-kol-leaderboard-skill.md2.2 KB
  • 13-wallet-pnl-skill.md2 KB
  • 14-gmgn-smart-wallets-ingest.md2.4 KB
  • 15-radar-signals-skill.md2.2 KB
  • 16-x-post-price-impact-skill.md2.3 KB
  • 17-cashtag-sentiment-skill.md2.4 KB
  • 18-realtime-trade-visualizer-widget.md2.5 KB
  • 19-trades-into-3d-scene.md2.8 KB
  • 20-launchpad-ui-port-studio.md2.7 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.