Classifies market regime (risk-on uptrend, selective, choppy, correction, risk-off) for any index, ETF, or crypto benchmark using trend, momentum, volatility, and breadth. Helps users assess market conditions before trading and scale position sizes.
Ships in trading-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
trading-market)Most individual setups fail when the overall market is falling. Check the tide before the waves.
python3 scripts/regime.py # config benchmark
python3 scripts/regime.py --index ^GSPC
python3 scripts/regime.py --index ^GSPC --universe assets/watchlists/us-mega-caps.txt
python3 scripts/regime.py --index ^GSPC ^FTSE ^N225 ^NSEI BTC-USD # cross-market dashboard
If no benchmark is configured, ask the user which market they trade and suggest the obvious index
(^GSPC/SPY, ^NDX, ^FTSE, ^GDAXI, ^N225, ^NSEI, ^HSI, ^AXJO, BTC-USD), then offer to
save it with trading-setup: setup.py set account.benchmark ^GSPC.
Points from: price vs 200-SMA (+-2), 200-SMA slope, price vs 50-SMA, 50 vs 200, price vs 21-EMA,
3-month momentum, and (with --universe) % of stocks above 50/200-SMA. High volatility
(top 20% of the year) cuts exposure one notch.
| score | regime | exposure |
|---|---|---|
| >= 6 (normal vol) | risk-on uptrend | 100% |
| 4-5 | uptrend, selective / volatile | 75% |
| 0-3 | pullback / choppy | 50% |
| -1..-4 | correction | 25% |
| <= -5 | downtrend / risk-off | 0% |
--risk-pct).assets/watchlists/crypto-majors.txt (opens in a new tab)assets/watchlists/global-index-etfs.txt (opens in a new tab)assets/watchlists/global-large-caps.txt (opens in a new tab)assets/watchlists/india-large-caps.txt (opens in a new tab)assets/watchlists/us-mega-caps.txt (opens in a new tab)assets/watchlists/world-indices.txt (opens in a new tab)scripts/_vendor/tradekit/__init__.py (opens in a new tab)scripts/_vendor/tradekit/alerts.py (opens in a new tab)scripts/_vendor/tradekit/analysis.py (opens in a new tab)scripts/_vendor/tradekit/backtest.py (opens in a new tab)scripts/_vendor/tradekit/brokers/__init__.py (opens in a new tab)scripts/_vendor/tradekit/brokers/_rest.py (opens in a new tab)scripts/_vendor/tradekit/brokers/base.py (opens in a new tab)scripts/_vendor/tradekit/brokers/dhan.py (opens in a new tab)scripts/_vendor/tradekit/brokers/fyers.py (opens in a new tab)scripts/_vendor/tradekit/brokers/groww.py (opens in a new tab)scripts/_vendor/tradekit/brokers/kite.py (opens in a new tab)scripts/_vendor/tradekit/brokers/paper.py (opens in a new tab)scripts/_vendor/tradekit/brokers/upstox.py (opens in a new tab)scripts/_vendor/tradekit/cli.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
21 skills in this plugin
/trading-alertsPrice alerts for any market - above or below a price, a trade's stop and target (long or short), a percent move from the previous close, a time on the exchange clock, the opening bell and minutes before the close, plus stop and target alerts for every open trade in the journal in one go. Works out each exchange's session from the data (NYSE, Nasdaq, NSE, BSE, LSE, TSE...) so holidays need no tables; each alert rings once; optional desktop notifications. Use when the user says "alert me when", "tell me if RELIANCE crosses 1400", "watch my stop", "remind me to close by 3:20", "is the market open", "when does NSE open", or right after a trade is planned or opened./trading-backtestBacktest trading strategies written as simple rules on one or many symbols in any market - next-bar-open execution with no look-ahead, commissions and slippage, ATR/percent/rule-based stops, R or percent targets, trailing stops, time exits, risk-based position sizing, max concurrent positions with ranking, benchmark comparison, in-sample vs out-of-sample split and a self-contained HTML report. Use when the user asks "does this strategy work", "backtest X", "test a moving-average crossover", "what if I bought when RSI was below 30", or wants to validate an idea before trading it.Other plugins' skills for the same job
/trading-skills:trading-marketfrom trading-skills
npx claudepluginhub reddygopalkrishna/trading-skills --plugin trading-skills