/india-trading-skills:stock-screenerfrom india-trading-skills
Runs fundamental screens on Indian stocks from a Screener.in CSV export. Supports CANSLIM, value-dividend, GARP, quality-compounder, and dividend-growth-pullback presets with India-specific thresholds, red-flag gates, and a --where filter language.
Ships in india-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.
fundamental-screening explains how to read one company. This skill is the calculator: it runs a
whole universe through explicit rules, shows each pass/fail with the value, and ranks what survives.
A screen produces a reading list, not a buy list.
python3 scripts/screen.py presets # the five screens, rules, weights, reasons
python3 scripts/screen.py fields --csv export.csv # how your headers mapped; field names
python3 scripts/screen.py run --csv export.csv --preset quality-compounder
python3 scripts/screen.py run --csv export.csv --where "roce>20" --where "pe<25" --where "pledge<=5" --sort roce --top 20
python3 scripts/screen.py run --csv export.csv --preset dividend-growth-pullback --prices-dir data/
python3 scripts/screen.py explain "Infosys" --csv export.csv --preset garp
python3 scripts/screen.py query --preset value-dividend --gsec 7.15
Common flags: --json (strict JSON, missing values are null), --gsec (current 10-year G-sec
yield, default 7.0), --min-mcap (₹ crore, 500), --max-pledge (%, 20), --no-gates,
--map "field=Header" (repeatable), --financials auto|none|NAME,NAME. A preset and --where can
be combined. Bad input exits 2 with a one-line error:.
screen.py presets and the "NOT CHECKED" notes tell you which.Industry column if you can: it is how banks and NBFCs are recognised.Headers are matched by keyword, so units, %, commas (1,23,456.70), ₹, blanks, - and NA
are fine. Verified on public Screener.in screen tables (Nov 2026): S.No., Company, CMP Rs.,
P/E, Mar Cap Rs.Cr., Div Yld %, NP Qtr Rs.Cr., Qtr Profit Var %, Sales Qtr Rs.Cr.,
Qtr Sales Var %, ROCE %, ROE %, Debt / Eq, CMP / BV. Assumed (column names vary with
what you add): EPS, 3/5-year growth, promoter/pledge/FII/DII holding and change, PEG, payout,
dividend growth, free cash flow, 52-week high, returns. We have only seen the web tables, not an
exported file, so if a header is not recognised, fields --csv lists it as unmapped. Fix it with
--map pledge="Pledged %". Snake_case files work too: name,symbol,industry,price,market_cap_cr,pe, pb,dividend_yield,payout_ratio,roce,roe,debt_to_equity,profit_growth_3y,promoter_holding,pledge_pct.
--no-gates)| Gate | Default | Why |
|---|---|---|
| Market cap | ≥ ₹500 cr | Below this: SME boards, thin floats, operator stocks, ASM/GSM lists |
| Promoter pledge | ≤ 20% | Red-flag line in fundamental-screening; 10–20% is flagged pledge |
| Net worth | not negative | Negative book value, P/B or D/E means losses have eaten the equity |
| Missing data | any rule's value blank | Listed as INCOMPLETE, never silently passed (blank P/E usually = loss) |
Banks, NBFCs, insurers (from the Industry column, otherwise guessed from the name) skip the
debt, ROCE, free-cash-flow, interest-cover and margin rules in presets, and are tagged FIN. Judge
them on ROA (> 1.2%), GNPA/NNPA, NIM and capital adequacy with fundamental-screening. Your own
--where rules apply to them unchanged. Soft flags: small-cap (< ₹2,000 cr) and low-base?
(quarterly profit up 200%+).
fii-dii-flows for detail). M is
not in a fundamentals file: run ../market-regime/scripts/regime.py status (market-regime) first.--gsec with today's yield. Dividends are taxed at your slab
rate, with 10% TDS once a company pays you more than ₹10,000 in a financial year (s.194, from
FY 2025-26). In the 30% slab a 3% yield nets about 2.1% (indian-tax-for-traders).--prices-dir (daily CSVs named after the symbol or
company, read with ../technical-analysis/scripts/ta.py) or an RSI column. Without either, the
pullback rule is reported as not checked.Score: each rule scores 50 at its threshold and 100 at its "best" value (linear, capped), and
the composite is the weighted average. Weights are in presets. Near misses failed exactly one
rule and show which, with the value.
--where takes FIELD OP NUMBER only (> >= < <= == !=; and joins several). It is parsed by a
regular expression and never evaluated, so __import__(...), function calls and field-vs-field
comparisons are rejected. query prints the same rules as Screener.in query text, e.g.
Return on capital employed > 20 AND Debt to equity < 0.3 AND Pledged percentage < 1. Query
names seen in public Screener.in screens are marked verified (fields). Return over 1year was
not found and is flagged unverified. Dividend growth has no known field and is left out. ≥ is
written as >.
fundamental-screening. Check results
timing with results-season.breakout-planner (base and pivot) or momentum-scanner (RS and bursts).portfolio-review.Limits: the file is a snapshot from the export date, and stale columns give stale answers. RS is relative to your file only. Thresholds are judgement calls you can override. A screen cannot see related-party deals, auditor changes or surveillance status.
Educational analysis, not investment advice.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub xdhruv/claude-trading-skills-india-mv --plugin india-trading-skills36 skills in this plugin
/backtest-labBacktests rule-based swing ideas on NSE/BSE daily bars with Indian frictions built in: decide on
the close and fill at the next open, gap-through stops, slippage, exact per-trade charges by
segment and broker (STT, stamp duty, GST, DP), whole shares or lots, circuit-band no-fills,
futures-only shorts and an optional STCG/LTCG estimate. Six built-in strategies; CAGR vs
buy-and-hold, drawdown, Sharpe/Sortino, profit factor, expectancy in ₹ and R; parameter sweeps
with a plateau-or-spike read, walk-forward and Monte Carlo. backtest.py, stdlib only, offline.
Use when the user asks: "backtest this strategy", "would a 20/50 crossover have worked on X",
"is this edge real or curve-fit", "optimise my parameters", "walk-forward test", "Monte Carlo my
trades", "what drawdown should I expect", "do charges kill this idea", "does a NIFTY 200-DMA
filter help", or before putting real money behind any mechanical rule.
/breakout-plannerStage-2 breakout setups on NSE/BSE stocks: a trend-template check (rising 200 DMA, 50>150>200
stack, distance from 52-week high/low, relative strength vs NIFTY), base detection (volatility
contraction with successively tighter pullbacks, or a flat base) with pivot, depth, duration,
volume dry-up and a grade, then an order-ready plan: trigger, chase limit, capped stop, size,
Indian charges, R targets, GTT/SL templates, circuit-band and NSE tick-size checks. breakout.py
scans a folder of CSVs or yfinance symbols and ranks them, offline-capable.
Use when the user asks: "is X in a Stage 2 uptrend", "find VCP setups", "where is the pivot on X",
"plan a breakout trade in X", "breakout buy point and stop", "scan these stocks for breakouts",
"Minervini trend template for NSE stocks", "how do I place a GTT for a breakout", or any question
about buying stocks as they clear a base.
2 plugins ship this exact skill · first indexed Nov 14, 2026
Other plugins' skills for the same job