This pulls historical price data through FMP's API and identifies peak to trough downtrends, then generates interactive histograms showing how long corrections typically last across different sectors and market caps. You'd use it when building mean reversion strategies and need realistic holding period estimates, or when a trader asks how long tech pullbacks usually take to recover. The segmentation by market cap is the useful bit here since mega caps consistently show faster recovery than small caps in the output. It spits out JSON with percentile data, markdown reports, and Plotly visualizations you can actually filter and interact with. Solid for setting stop loss timeouts based on historical norms rather than guessing.
npx skills add https://github.com/tradermonty/claude-trading-skills --skill downtrend-duration-analyzer