Logo: Wallet Profiling

Wallet Profiling

Communautéit
agiprolabs
wallet-profiling

Behavioral classification, performance analysis, and trading style detection for Solana wallets

Iwwersiicht

Editeuragiprolabs
Repositoryclaude-trading-skills
Skill-Nummwallet-profiling
Stären
434
Forks
85
Matgeliwwert Dateien
4
LizenzMIT
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 4 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    agiprolabs huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Wallet Profiling an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/agiprolabs/claude-trading-skills/tree/main/skills/wallet-profiling
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/agiprolabs/claude-trading-skills.git /tmp/claude-trading-skills
mkdir -p .claude/skills
cp -r /tmp/claude-trading-skills/skills/wallet-profiling .claude/skills/wallet-profiling
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Wallet Profiling an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Wallet Profiling automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Wallet Profiling net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

Wallet Profiling

Behavioral classification, performance analysis, and trading style detection for Solana wallets. Profile any wallet to understand how it trades, how well it performs, and whether it is worth following.

Why Wallet Profiling Matters

Copy-Trade Evaluation

Before mirroring another wallet's trades, you need evidence that its historical performance is genuine, consistent, and not the result of a single lucky hit. Profiling quantifies win rate, profit factor, hold time, and consistency so you can make informed decisions about which wallets merit attention.

Smart Money Identification

Wallets that consistently buy tokens early and exit profitably are signal sources. Profiling separates genuinely skilled traders from lucky gamblers and wash-trading bots. Key differentiators: sustained profit factor above 2.0, win rates above 45% across 100+ trades, and diversified token selection.

Counterparty Analysis

When a large wallet enters a position you hold, understanding its historical behavior (sniper vs. holder, bot vs. human) helps you anticipate what will happen next. A sniper wallet buying suggests a quick dump is coming; a swing trader buying suggests multi-day conviction.

Risk Assessment

Token holder analysis benefits from knowing whether top holders are bots, snipers, or genuine investors. A token where 60% of holders are classified as snipers has very different risk characteristics than one held primarily by swing traders.

Wallet Classification

By Trading Style

Classification is based on the median hold time across all closed trades:

StyleMedian Hold TimeCharacteristics
Sniper< 5 minutesFirst-block buyers, MEV-adjacent, extremely fast exits
Scalper5 min – 1 hourQuick momentum trades, high frequency
Day Trader1 – 24 hoursIntraday positions, moderate frequency
Swing Trader1 – 7 daysMulti-day conviction holds
Position Holder> 7 daysLong-term accumulation, low frequency

See references/classification_methods.md for the full classification algorithm.

By Trade Size

Based on median trade size in SOL:

TierMedian Trade SizeTypical Behavior
Whale> 100 SOLMarket-moving entries, often front-run
Large10 – 100 SOLSignificant but not dominant
Medium1 – 10 SOLActive retail traders
Small< 1 SOLMicro-cap gamblers, new wallets

By Behavior Type

TypeDetection Method
BotLow inter-trade timing variance (CV < 0.3), uniform sizing
HumanVariable timing, variable sizing, session-based activity
MEVSandwich patterns, consistent small profits, high frequency

By Focus Area

FocusDetection Criteria
PumpFun Specialist> 70% of trades on PumpFun-launched tokens
DEX TraderPrimarily swaps on Raydium/Orca/Meteora
DeFi FarmerFrequent LP add/remove, staking operations
NFT TraderSignificant NFT marketplace interactions
Multi-StrategyNo single category exceeds 50%

Performance Metrics

Core Metrics

Win Rate — Percentage of trades that are profitable.

win_rate = count(pnl > 0) / count(all_closed_trades)

Minimum 30 trades for statistical significance. A 60% win rate across 200 trades is far more meaningful than 80% across 10 trades.

Average ROI Per Trade — Mean return across all closed positions.

avg_roi = mean((exit_value - entry_value) / entry_value)

Include all fees: platform fees, priority fees, and estimated slippage.

Profit Factor — Ratio of gross profits to gross losses.

profit_factor = sum(winning_pnl) / abs(sum(losing_pnl))

Interpretation: > 2.0 excellent, 1.5–2.0 good, 1.0–1.5 marginal, < 1.0 losing.

Total PnL — Cumulative profit/loss in SOL.

total_pnl = sum(all_trade_pnl)

Maximum Drawdown — Largest peak-to-trough decline in cumulative PnL curve.

drawdown = (peak_equity - trough_equity) / peak_equity

Sharpe-Like Ratio — Risk-adjusted return metric.

sharpe = mean(trade_returns) / std(trade_returns) * sqrt(trades_per_year)

See references/performance_metrics.md for detailed formulas, edge cases, and interpretation guidelines.

Activity Metrics

MetricCalculationWhat It Reveals
Trades per daytotal_trades / active_daysActivity level and capacity
Average hold timemean(exit_time - entry_time)Trading style confirmation
Token diversityunique_tokens / total_tradesSpecialization vs. diversification
Peak hoursmode(hour_of_trade)Session patterns, timezone hints
Activity streaksconsecutive active daysDedication and consistency

Data Sources

SolanaTracker PnL API (Primary)

The SolanaTracker API provides pre-computed PnL data per wallet per token.

python
import httpx

url = f"https://data.solanatracker.io/pnl/{wallet_address}"
headers = {"x-api-key": os.getenv("ST_API_KEY")}
resp = httpx.get(url, headers=headers)
pnl_data = resp.json()

Response includes per-token: realized, unrealized, total_invested, total_sold, num_buys, num_sells, last_trade_time.

Helius Parsed Transactions (Detailed)

For granular transaction-level analysis, use the helius-api skill to fetch parsed transaction history. This provides exact timestamps, amounts, and program interactions.

Birdeye Trader Data

Birdeye's trader endpoints provide wallet-level analytics. See the birdeye-api skill for endpoint details.

DexScreener (Free Fallback)

DexScreener does not provide wallet-level PnL but can be used to validate token prices at trade timestamps.

Copy-Trade Evaluation Framework

Before following a wallet's trades, verify these criteria:

Minimum Requirements

  • Trade history: At least 50 closed trades (100+ preferred)
  • Time span: Active for at least 30 days
  • Consistent performance: Rolling 7-day win rate standard deviation < 15%
  • Reasonable sizing: No single trade > 20% of observed portfolio
  • Diverse tokens: At least 10 unique tokens traded

Green Flags

  • Profit factor > 1.8 sustained over 60+ days
  • Win rate 45–65% (unrealistically high rates suggest wash trading)
  • Moderate trade frequency (2–20 trades/day)
  • Mixed hold times indicating adaptive strategy
  • Gradual equity curve growth (not step-function jumps)

Red Flags

  • New wallet (< 14 days old): Possible sybil or one-hit-wonder
  • Single big win: One trade accounts for > 50% of total PnL
  • Declining performance: Last-30-day metrics significantly below all-time
  • Bot-like patterns: Uniform timing/sizing without proportional edge
  • Extreme win rate: > 80% often indicates small wins with catastrophic losses
  • Concentration: > 50% of PnL from a single token
  • Wash trading signals: Repeated buy/sell of same token with minimal price movement

Risk Score Calculation

python
risk_score = 0  # 0 = low risk, 100 = high risk

if wallet_age_days < 14:
    risk_score += 25
if top_trade_pnl_pct > 0.5:
    risk_score += 20
if recent_pf < historical_pf * 0.7:
    risk_score += 15
if bot_probability > 0.7:
    risk_score += 15
if win_rate > 0.8:
    risk_score += 10
if unique_tokens < 5:
    risk_score += 15

Integration with Other Skills

  • whale-tracking: Identify large wallets, then profile them here for behavioral context
  • token-holder-analysis: Profile top holders of a token to assess holder quality
  • solana-onchain: Fetch raw transaction data for deep-dive analysis
  • helius-api: Parsed transaction history for granular trade reconstruction
  • birdeye-api: Token price data for PnL validation

Quick Start

Profile a Single Wallet

python
# Set environment variables
# export WALLET_ADDRESS=YourTargetWallet...
# export ST_API_KEY=your_solanatracker_key  (optional)

python scripts/profile_wallet.py
# Or use demo mode:
python scripts/profile_wallet.py --demo

Compare Multiple Wallets

python
# export WALLET_ADDRESSES=Wallet1...,Wallet2...,Wallet3...
# export ST_API_KEY=your_solanatracker_key  (optional)

python scripts/compare_wallets.py
# Or use demo mode:
python scripts/compare_wallets.py --demo

Files

FileDescription
references/classification_methods.mdHold time, size, bot detection, and focus classification algorithms
references/performance_metrics.mdDetailed metric formulas, interpretation, edge cases, and decay detection
scripts/profile_wallet.pyProfile a single wallet: fetch data, compute metrics, classify, report
scripts/compare_wallets.pyCompare multiple wallets side-by-side with ranking

Dependencies

bash
uv pip install httpx

Environment Variables

VariableRequiredDescription
WALLET_ADDRESSFor profile_wallet.pySolana wallet address to profile
WALLET_ADDRESSESFor compare_wallets.pyComma-separated wallet addresses
ST_API_KEYNoSolanaTracker API key for PnL data

Matgeliwwert Dateien

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill Wallet Profiling?

Behavioral classification, performance analysis, and trading style detection for Solana wallets

Firwat Wallet Profiling op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Wallet Profiling besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Wallet Profiling an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/agiprolabs/claude-trading-skills/tree/main/skills/wallet-profiling an. TypingMind liest d'Datei SKILL.md, bëndelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Wallet Profiling benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Wallet Profiling benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Wallet Profiling domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Wallet Profiling gratis?

Jo. agiprolabs huet de Skill ënner der Lizenz MIT op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇