Skip to content
Back to skills

Repo Integrations

ASecurity

**Branch:** `feat/wallet-pnl-skill` **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
testingnodegitapi

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-ed183837/badge)](https://www.skillsdirectory.com/skills/nirholas-repo-integrations-ed183837)

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
# 13 — Wallet P&L analytics skill

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

## Why it matters

"How is wallet X doing?" is the most common question users ask about a smart-money wallet. kol-quest implements the P&L math; this prompt ports a single-wallet P&L skill so the 3D agent can answer it directly.

## 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. |
| https://github.com/nirholas/kol-quest | P&L math reference. |

## Build this

1. Add `src/kol/wallet-pnl.js` exporting:
    ```js
    export async function getWalletPnl({ wallet, window = '7d' })
    // window ∈ '24h' | '7d' | '30d' | 'all'
    // Returns { wallet, window, realizedUsd, unrealizedUsd, totalUsd, winRate, trades, openPositions: [...] }
    ```
2. Register skill `kol.walletPnl` in [src/agent-skills-pumpfun.js](../../src/agent-skills-pumpfun.js).
3. Register MCP tool `kol_wallet_pnl` in [api/pump-fun-mcp.js](../../api/pump-fun-mcp.js).
4. Add `tests/kol-wallet-pnl.test.js` mocking trade history and asserting realized vs unrealized math is correct against a known fixture (write a simple FIFO-cost test case).

## Out of scope

- A wallet-PnL widget (UI). Skill + MCP only.
- Cross-chain — Solana only.
- Tax accounting / cost-basis edge cases beyond FIFO.

## Acceptance

- [ ] `node --check src/kol/wallet-pnl.js` passes.
- [ ] `npx vitest run tests/kol-wallet-pnl.test.js` passes.
- [ ] Skill + MCP tool callable.
- [ ] `npx vite build` passes.

## Test plan

1. Call the skill against a known active wallet; confirm a coherent number.
2. Compare to a manual spot-check (one or two trades).
3. Pass an empty wallet; confirm `realizedUsd === 0` and no error.

## 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.