
agiprolabs/claude-trading-skills
62 skills13.4k installs15.9k starsGitHub
Install
npx skills add https://github.com/agiprolabs/claude-trading-skillsSkills in this repo
1Pandas Tapandas-ta is a Claude Code skill for computing technical analysis indicators on crypto market data. It uses the pandas-ta library to add 130+ trend, momentum, volatility, and volume indicators to an OHLCV DataFrame, and provides Strategy definitions for scalping, trend-following, mean-reversion, and momentum. A developer uses it to generate trading signals from candle data.305installs2Risk Managementrisk-management is a Claude Code skill that applies portfolio-level risk controls to crypto trading. It defines maximum drawdown, daily/weekly loss limits, concentration and exposure caps, correlation handling, and time-, loss-, and volatility-based circuit breakers, plus VaR. A developer uses it to protect an account from ruin and manage drawdowns across positions and strategies.288installs3Walk Forward ValidationA Claude Code skill for validating trading strategies and financial ML models without lookahead bias. It provides rolling and expanding walk-forward windows, purging and embargo, combinatorial purged cross-validation, and overfit-detection metrics like the deflated Sharpe ratio. Developers use it to test whether a backtested edge is real before deploying it.282installs4Regime Detectionregime-detection is a Claude Code skill that identifies the current market regime. It classifies markets into a four-quadrant model of volatility and trend using ATR percentile, ADX, EMA slope, Bollinger width, and the Hurst exponent, and maps each regime to suitable strategies. A developer uses it to route signals, adjust position size, and avoid running trend logic in a range.262installs5Kelly Criterionkelly-criterion computes the Kelly-optimal fraction of capital to risk per trade, with fractional variants and edge estimation. A developer uses it to size positions for crypto trading based on win rate and payoff ratio while avoiding the overbetting that reduces long-term growth. It stresses fractional Kelly and minimum sample sizes.255installs6Position Sizingposition-sizing is a Claude Code skill that calculates trade size. It implements fixed fractional, volatility-adjusted, Kelly criterion, liquidity-constrained, and anti-martingale methods, with risk tiers and worked examples oriented toward Solana tokens. A developer uses it to decide how much capital to risk on each trade and which sizing constraint binds.254installs7Trading VisualizationA Claude Code skill for producing trading charts in Python. It covers candlestick charts, equity curves, drawdown plots, return distributions, and correlation heatmaps using mplfinance, matplotlib, and plotly with a dark-theme trading style. Developers use it to visualize price action and evaluate whether a strategy is robust or curve-fit.250installs8Feature Engineeringfeature-engineering constructs, validates, and selects features from market data for machine-learning trading models. A developer uses it when turning raw OHLCV and on-chain data into stationary price, volume, technical, and microstructure signals for crypto/Solana token models. It emphasizes feature quality over model choice.248installs9Signal Classificationsignal-classification is a Claude Code skill for building supervised machine-learning classifiers that predict whether an asset's price moves up or down over a forward horizon. It covers the full pipeline: label creation, XGBoost/LightGBM training, walk-forward validation with embargo gaps, feature importance, probability calibration, and threshold optimization. A developer uses it when turning trading features into a tested directional signal without introducing lookahead bias.248installs10Market Microstructuremarket-microstructure analyzes DEX orderflow on Solana by classifying swaps as buys or sells and deriving buyer/seller pressure, volume profiles, whale activity, and wash-trading patterns. A developer uses it to read the swap trade tape for entry/exit timing and token-quality scoring. It works from Birdeye, DexScreener, and Helius trade data.244installs11BacktraderThis skill is a guide to Backtrader, a Python event-driven backtesting framework that walks through market history bar-by-bar with a built-in broker. It covers Cerebro, strategies, complex order types like brackets and stop-limits, analyzers, and custom indicators, and explains when to use it versus vectorized frameworks. A developer uses it to build and run realistic trading-strategy backtests in Python.240installs12Trade JournalA Claude Code skill for structured trade journaling. It logs every trade with an 18-field schema, reviews performance at daily, weekly, and monthly cadences, and computes analytics like win rate by strategy and P&L by time of day. Developers use it to attribute returns to specific setups and to catch behavioral patterns that erode trading edge.239installs13Sentiment Analysissentiment-analysis is a Claude Code skill that quantifies crypto market sentiment. It pulls from social media, news, and on-chain sources to compute mention velocity, sentiment polarity, the Fear & Greed index, and on-chain proxies like funding rates and exchange flows, then combines them into a composite score. A developer uses it to gauge crowd positioning and find contrarian extremes.234installs14Whale TrackingA Claude Code skill that tracks large Solana wallets to detect accumulation, distribution, and smart-money movements before they show up in price action. It classifies wallets by absolute and relative thresholds, scores accumulation versus distribution with on-chain heuristics, and manages a whale watchlist. Developers use it as an on-chain alpha and risk-assessment source.233installs15Mean Reversionmean-reversion provides tools to statistically confirm and trade mean reversion, including Hurst exponent, ADF testing, variance ratio, half-life estimation, and z-score signals. A developer uses it to test whether a price or spread series is mean-reverting before trading it, and to design pairs and range strategies. It documents when mean reversion works and fails.232installs16Options Pricingoptions-pricing is a Claude Code skill for pricing crypto options. It ships a working Black-Scholes calculator with Greeks and an implied-volatility solver, plus an overview of planned binomial-tree, Monte Carlo, and IV-surface features. It is marked a STUB awaiting fuller implementation, and it states it is analytical only and not financial advice.230installs17Ta Libta-lib is a Claude Code skill for using TA-Lib, a C-optimized technical analysis library with a Python wrapper providing 150+ indicator functions and 61 candlestick pattern recognition functions. It covers installation of the C dependency, the function and abstract APIs, indicator groups, when to prefer TA-Lib over pandas-ta, and crypto-specific considerations. A developer uses it for fast indicator computation in performance-critical trading pipelines and backtests.230installs18Strategy Frameworkstrategy-framework is a Claude Code skill that provides a standardized template and lifecycle for defining, documenting, and managing trading strategies. It enforces a falsifiable edge hypothesis, machine-testable entry and exit rules, position sizing, portfolio risk parameters, filters, and performance criteria, then walks a strategy through hypothesis, backtest, paper trade, and small-live stages. A developer uses it to make trading strategies reproducible, testable, and version-controlled.229installs19Volatility ModelingA Claude Code skill for estimating and forecasting volatility in crypto markets. It covers realized-volatility estimators (close-to-close, Parkinson, Garman-Klass, Yang-Zhang), EWMA and GARCH forecasting, and volatility cones for regime classification. Developers use it to drive position sizing, stop placement, and regime detection.229installs20Portfolio Analyticsportfolio-analytics is a Claude Code skill that measures trading performance from an equity curve. It computes return metrics, risk metrics like VaR and maximum drawdown, and risk-adjusted ratios (Sharpe, Sortino, Calmar, Omega, Information), and generates HTML reports via quantstats. A developer uses it after a backtest to evaluate and compare strategies.226installs21Exit Strategiesexit-strategies is a Claude Code skill for systematic, rule-based trade exits in crypto and Solana token trading. It covers stop-loss methods (fixed, ATR, support), take-profit frameworks (R:R targets, scaled tranches, market-cap milestones), and trailing stops (percentage, Chandelier, EMA), plus time-, signal-, and liquidity-based exits. A developer uses it when building disciplined exit logic into a trading strategy.225installs22Mev Analysismev-analysis assesses MEV exposure, detects sandwich attacks, and covers protection strategies for Solana DEX trading. A developer uses it to estimate how much a swap is at risk of being sandwiched or arbitraged and how to defend against it. It explains the Solana MEV supply chain and how it differs from Ethereum.216installs23VectorbtA Claude Code skill for backtesting trading strategies with the vectorbt Python library. It expresses strategies as boolean entry/exit signal arrays, simulates portfolios with fees and slippage, and computes 50+ performance metrics, and it runs parameter grid searches across thousands of combinations quickly. Developers use it to validate and optimize strategies before risking capital.216installs24Correlation Analysiscorrelation-analysis is a Claude Code skill for cross-asset correlation analysis in crypto portfolios. It computes Pearson, Spearman, and Kendall correlations, rolling and EWMA correlation, full correlation matrices with eigenvalue decomposition, minimum-variance weights, and hierarchical clustering. A developer uses it for diversification checks, risk management, pairs-trading signals, and portfolio construction. It emphasizes computing on returns rather than prices.212installs25Custom Indicatorscustom-indicators is a Claude Code skill covering nine crypto-native trading indicators, including NVT ratio, MVRV, exchange netflow, funding rate, and holder momentum. Each comes with a formula, interpretation ranges, data sources, and a code snippet. A developer uses it when building on-chain-aware signal generation that standard equity technical analysis cannot provide. It explains why crypto's on-chain transparency and derivatives dominance demand purpose-built metrics.212installs26Trade AccountingA Claude Code skill that applies double-entry bookkeeping to a crypto trading operation. It tracks every SOL spent, token acquired, fee paid, and gain realized across asset, liability, income, expense, and equity accounts, and produces P&L statements, balance sheets, and cash flow reports. Developers use it to keep trading books that balance and to separate strategy P&L from tax P&L.212installs27Market Microstructure Traditionalmarket-microstructure-traditional applies orderbook (LOB) microstructure theory to crypto, covering spread decomposition, price-formation models, execution-quality measurement, and CEX-vs-DEX structural differences. A developer uses it to reason about market making, adverse selection, and execution quality on centralized exchanges. It includes Glosten-Milgrom and Kyle's lambda models.210installs28Ohlcv Processingohlcv-processing is a Claude Code skill that prepares crypto market data for trading analysis. It validates OHLCV DataFrames, handles gaps, detects impossible candles and anomalies, resamples timeframes, and merges data from multiple sources. A developer runs it as the first step of any trading or backtesting workflow to avoid corrupted indicators and misleading results.208installs29Dexscreener Apidexscreener-api is a Claude Code skill that queries the DexScreener API for DEX pair data across 80+ chains without an API key: prices, volume, liquidity, transaction counts, and token profiles. A developer uses it for quick token lookups, cross-chain price comparison, and lightweight monitoring of new or boosted tokens. It documents the search, pair, and token endpoints and the full pair response schema.207installs30Cointegration Analysiscointegration-analysis is a Claude Code skill for testing whether two or more asset price series share a long-run equilibrium, the statistical basis for pairs trading. It applies Engle-Granger, Johansen, and Phillips-Ouliaris tests, estimates hedge ratios, and computes spread z-scores, half-life, and Hurst exponent. A developer uses it when building a statistical-arbitrage or mean-reversion trading strategy. It also covers rolling-window testing to catch breakdowns.206installs31Slippage Modelingslippage-modeling is a Claude Code skill for estimating execution costs on decentralized exchanges. It derives slippage from AMM bonding-curve mechanics, models CLMM concentrated liquidity, measures empirical slippage from Jupiter quotes, and combines price impact, DEX fees, priority fees, and MEV into a total cost model. A developer uses it to size trades within a slippage threshold and compute break-even thresholds before executing.206installs32Wallet ProfilingA Claude Code skill that profiles Solana wallets by behavior, performance, and trading style. It classifies wallets as snipers, scalpers, day traders, swing traders, or position holders, distinguishes bots and MEV from humans, and computes performance metrics like win rate and profit factor. Developers use it to evaluate wallets before copy-trading or following smart money.205installs33Defillama Apidefillama-api is a Claude Code skill that queries the DeFiLlama API for cross-chain DeFi analytics: TVL, token prices, DEX volumes, fees and revenue, stablecoins, and bridges. Most endpoints are free with no authentication. A developer uses it when building DeFi macro analysis into an agent or script. It documents base URLs, the {chain}:{address} coin identifier format, and rate limits.202installs34Coingecko Apicoingecko-api is a Claude Code skill that queries the CoinGecko REST API for crypto market data: current and historical prices, OHLC candles, exchange volumes, trending tokens, and global market stats. A developer uses it when building macro or long-term historical crypto analysis into an agent or script. It documents the free (no-key, 30 calls/min) and Pro tiers plus rate-limit backoff.201installs35Copy Tradingcopy-trading is a Claude Code skill for building a Solana copy-trading system that finds profitable on-chain wallets, evaluates whether their edge is real, monitors them in real time, and replicates trades with proportional sizing. It defines a six-stage pipeline plus quantitative wallet thresholds and independent risk limits. A developer uses it when building an agent that follows other wallets' DEX swaps. It covers discovery sources, evaluation metrics, and MEV/latency tradeoffs.201installs36Token Economicstoken-economics is a Claude Code skill for analyzing crypto token supply dynamics, vesting, inflation, and valuation. It covers total versus circulating supply, market cap versus fully diluted valuation, net inflation rate, unlock-impact modeling, selling-pressure estimation, and token distribution scoring with red-flag thresholds. A developer uses it to estimate dilution risk and anticipate price-moving unlock events when evaluating a token.201installs37Birdeye ApiThis skill documents how to fetch Solana token market data through the Birdeye API, including prices, OHLCV candles, trade history, token metadata, security checks and trader activity. It shows the endpoints, required headers, compute-unit costs and pagination for long history. A developer uses it for Solana token research, historical analysis and sourcing backtesting data.200installs38Dex Pool Analysisdex-pool-analysis is a Claude Code skill for comparing Solana AMM pool mechanics across Raydium V4/CLMM, Orca Whirlpool, and Meteora DLMM, including fee structures, capital efficiency, and program IDs. It also covers pool health metrics, creation patterns like PumpFun graduation, and best-pool selection for execution. A developer uses it when evaluating which pool to trade through or assessing pool-level risk on Solana.200installs39Solana Rpcsolana-rpc is a Claude Code skill for interacting directly with the Solana blockchain over JSON-RPC. It documents core read methods (account and token balances, transactions, blocks, program accounts, priority fees), write methods (send and simulate transactions), commitment levels, and provider tradeoffs. A developer uses it as the low-level foundation when higher-level APIs like Birdeye or Helius do not expose the needed data.200installs40Sybil Detectionsybil-detection is a Claude Code skill for detecting coordinated wallet clusters, wash trading, bundled transactions, and fake holder inflation on Solana tokens. It traces holder funding sources, groups co-trading wallets by slot window, computes bundle ratios, finds circular wash-trade cycles, and analyzes creator networks. A developer uses it to judge whether a token's holder and volume metrics reflect real demand or manufactured activity before trading.200installs41Rl Executionrl-execution is a Claude Code skill for optimizing trade execution. It frames order execution as a reinforcement-learning problem (state, action, reward, episode) to split and time large orders, and compares TWAP, VWAP, and Almgren-Chriss baselines under a temporary/permanent price-impact model. A developer uses it when an order is large relative to liquidity and execution timing can be flexible.199installs42Solanatracker Apisolanatracker-api is a Claude Code skill documenting the SolanaTracker API for Solana token data and analytics. It covers token info with risk scoring, 1-second OHLCV charts, wallet PnL, holder and bundler analysis, top traders, a 30+ filter search, and the self-hosted Raptor DEX aggregator. A developer uses it to pull token analytics and execute swaps when building Solana trading tooling.199installs43Crypto Tax Exportcrypto-tax-export is a Claude Code skill that exports crypto trade history and tax calculations in formats for Koinly, CoinTracker, CoinLedger, TokenTax, TurboTax/TaxAct, and IRS Form 8949. It classifies Solana-specific transactions (Jupiter swaps, LP operations, staking, airdrops, migrations) and excludes failed transactions. A developer uses it when building tax-reporting output for a crypto trading system. It supports FIFO, LIFO, HIFO, and Specific ID cost-basis methods.198installs44Wash Sale DetectionA Claude Code skill that detects crypto wash sales under the US tax rules effective 2025. It scans trade history for the 61-day window around realized losses, computes disallowed losses and cost-basis adjustments, and shows a safe re-entry countdown per token. It runs on the Python standard library and is explicitly informational, not tax advice.198installs45Liquidity Analysisliquidity-analysis assesses DEX liquidity depth, estimates slippage, and analyzes pool composition for Solana tokens. A developer uses it before a trade to check whether they can enter and exit at a reasonable price, size a position against pool depth, and detect rug risk. It compares DexScreener, Jupiter, Birdeye, and on-chain data sources.197installs46Yellowstone GrpcA Claude Code skill for streaming Solana data in real time using Yellowstone gRPC, a Geyser plugin exposed by RPC providers. It shows how to connect an authenticated gRPC channel and subscribe to filtered streams of transactions, accounts, slots, and blocks at roughly 5ms slot latency in Python, Rust, or TypeScript. Developers use it to build latency-sensitive Solana trading systems instead of REST polling.197installs47Helius Apihelius-api integrates the Helius enhanced Solana RPC, covering the Digital Asset Standard (DAS) API, parsed transaction history, webhooks, and priority-fee estimation. A developer uses it to query token metadata, analyze wallets, and monitor Solana transactions from an agent or script. It documents the two Helius base URLs and full DAS method set.196installs48Pumpfun Mechanicspumpfun-mechanics is a Claude Code skill for the PumpFun Solana token launchpad. It documents the virtual constant-product bonding-curve math, computes buy/sell amounts and price impact, tracks the ~85 SOL graduation threshold, and parses PumpFun CreateEvent, TradeEvent, and CompleteEvent plus PumpSwap migration. A developer uses it to analyze new token launches and build strategies around graduation.196installs49Solana Tx Buildingsolana-tx-building is a Claude Code skill for constructing, simulating, and inspecting Solana transactions programmatically. It covers transaction anatomy, instruction and account-meta encoding, legacy vs versioned v0 transactions with Address Lookup Tables, compute budget and priority-fee instructions, and common patterns like SOL transfers. The skill's scripts never sign or submit real transactions, so a developer uses it for safe transaction construction and analysis.196installs50Fixed Incomefixed-income is a stub skill that provides a working bond calculator for price, yield-to-maturity, duration, and convexity, plus an overview of planned bond and DeFi lending-rate analysis. A developer uses it to analyze bond mathematics and map it to variable-rate DeFi lending protocols on Solana. Full implementation is awaiting community contribution.195installs51Jito Bundlesjito-bundles builds and submits Jito bundles of up to five Solana transactions that execute atomically for MEV protection and competitive execution. A developer uses it when swaps, arbitrage, or liquidations need front-run-resistant, ordered execution within a single slot. It documents tip mechanics, block-engine endpoints, and the sendBundle/getBundleStatuses API.195installs52Lp Mathlp-math covers the mathematics of AMM liquidity provision, including constant-product (xy=k), concentrated liquidity, price impact, and LP share calculations. A developer uses it to estimate price impact before large trades, evaluate LP profitability, and compare capital efficiency across pool types. It provides formulas and worked examples for Solana DEXes.195installs53Tax Liability Trackingtax-liability-tracking is a Claude Code skill for real-time crypto tax analysis aimed at active Solana traders. It tracks proportional cost basis across partial sells, classifies realized versus unrealized and short versus long-term gains, projects quarterly tax obligations, and surfaces tax-aware trading signals. A developer uses it to keep a running tax ledger alongside trading so every decision reflects its tax consequence.195installs54Tax Loss Harvestingtax-loss-harvesting is a Claude Code skill for identifying, scoring, and planning tax-loss harvesting across a crypto portfolio. It ranks unrealized losses on magnitude, urgency to long-term threshold, wash-sale risk, and available gains to offset, computes net benefit after transaction costs, and tracks annual loss carryforward. A developer uses it to plan which losing positions to realize to reduce current-year tax liability while staying wash-sale compliant.195installs55Regulatory Reportingregulatory-reporting is a Claude Code skill for organizing crypto trading activity into US regulatory report formats. It generates basic IRS Form 8949 line items and covers Schedule D, FinCEN FBAR, and large-transaction rules. It is marked a STUB, is not validated against current IRS guidance, and repeatedly warns that a qualified tax professional must review any output before filing.194installs56Token Holder AnalysisA Claude Code skill that analyzes who holds a Solana token, how concentrated ownership is, and whether insider patterns suggest risk. It computes top-N holder percentage, Gini coefficient, HHI, and the Nakamoto coefficient, and detects bundler activity using data from Solana RPC, Helius, SolanaTracker, and Birdeye. Developers use it as a pre-trade safety check on token distribution risk.194installs57Yield AnalysisA Claude Code skill for evaluating DeFi yield opportunities accurately. It decomposes advertised APY into fee income, token emissions, lending interest, and staking rewards, then computes real yield net of impermanent loss, gas, and emission-token depreciation. Developers use it to compare pools and avoid high-APY yields that actually destroy capital.193installs58Impermanent Lossimpermanent-loss calculates, models, and runs breakeven analysis for impermanent loss when providing liquidity to AMM pools. A developer uses it to quantify the cost of LPing across constant-product and concentrated-liquidity pool types and decide whether fees will exceed IL. It provides the exact IL formulas and worked scenarios for Solana DEXes.191installs59Shredstreamshredstream is a Claude Code skill that documents how to receive Solana transaction data before the validator executes the block, using Jito ShredStream, Shyft RabbitStream, or Triton Deshred. It explains the shred/Turbine mechanics, how to run and configure Jito's open-source proxy, and how to consume decoded gRPC entries. A developer uses it when building latency-sensitive Solana trading bots that need transaction intent earlier than standard Yellowstone gRPC.191installs60Cost Basis Enginecost-basis-engine is a Claude Code skill that computes crypto cost basis using FIFO, LIFO, HIFO, Specific Identification, and average-cost methods, then compares the resulting tax liability across methods. It handles partial sells and on-chain events like airdrops, staking rewards, and LP entry/exit. A developer uses it when building tax-lot accounting for a crypto trading system. It runs on the Python standard library with no external dependencies.190installs61Dex Executiondex-execution is a Claude Code skill for executing Solana token swaps through the Jupiter v6 aggregator, which routes across Raydium, Orca, Meteora, and 20+ venues. It defines a seven-step pipeline covering quoting, user confirmation, transaction building, signing, submission, and confirmation. A developer uses it when building on-chain swap execution into a trading agent. It gives slippage and priority-fee ranges by token type and requires explicit user confirmation before any swap.190installs62Raptor Dexraptor-dex is a Claude Code skill for Raptor, a self-hosted Solana DEX aggregator by SolanaTracker. It documents the quote, swap, send-transaction, and status-tracking HTTP endpoints for multi-hop routing across 25+ DEXes, with local signing and Yellowstone Jet TPU submission. A developer uses it to build swap execution against a self-run Raptor binary with no rate limits or API key.189installs