Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add Bhala-Srinivash/nse-trading-skills --skill stop-loss-strategiesgit clone --depth 1 https://github.com/Bhala-Srinivash/nse-trading-skillsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/bhala-srinivash/nse-trading-skills/stop-loss-strategies)<a href="https://agentmods.dev/skills/bhala-srinivash/nse-trading-skills/stop-loss-strategies"><img src="https://agentmods.dev/badge/skills/bhala-srinivash/nse-trading-skills/stop-loss-strategies/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/bhala-srinivash/nse-trading-skills/stop-loss-strategies"><img src="https://agentmods.dev/badge/skills/bhala-srinivash/nse-trading-skills/stop-loss-strategies.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00098 | $0.00953 |
| Opus 5 | $0.00049 | $0.00477 |
| Sonnet 5 | $0.00020 | $0.00191 |
| Haiku 4.5 | $0.00010 | $0.00095 |
Grade A, and why
stop-loss-strategies scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 94 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Stop-Loss Strategies
A stop-loss is not optional. Every position needs one before entry. The purpose is to cap your maximum loss — not to predict where price will go.
Prerequisites
No dependencies required. Provide entry price and key levels manually. Enhanced with Groww MCP (candles, ATR, MAs) or yfinance (pip install yfinance).
Data Needed
- Entry price: Known or planned
- Recent candles:
fetch_historical_candle_data(daily, last 60 days) or user-provided levels - ATR(14):
get_historical_technical_indicatorsfrom Groww, or calculate manually - Key S/R levels: From technical-analysis skill or swing highs/lows
- Moving averages: SMA20, SMA50, SMA200
Stop Type Selection
| Method | Best For | How to Calculate |
|---|---|---|
| Structure-based | Swing trades, clear chart patterns | Below recent swing low (long) or above swing high (short) |
| ATR-based | Volatile stocks, no clear structure | Entry - ATR(14) × 1.5 to 2.0 |
| Support/Resistance | Range-bound markets, clear levels | Below key support level + buffer |
| Moving Average | Trend-following trades | Below SMA20 (aggressive) or SMA50 (conservative) |
Structure-Based (Preferred)
Find the most recent swing low (for longs) that, if broken, would invalidate your trade thesis.
Stop = Recent swing low - buffer
Buffer = 0.5% for large-caps, 1% for mid/small-caps
ATR-Based
Adapts to the stock's natural volatility:
Stop (long) = Entry - ATR(14) × multiplier
Stop (short) = Entry + ATR(14) × multiplier
Multiplier: 1.5 (tight) to 2.0 (standard) to 2.5 (loose)
Support/Resistance-Based
Place stop just below a confirmed support level:
Stop = Support level × (1 - buffer%)
Buffer: 0.5% large-cap, 1.0% mid/small-cap
Only use levels with at least 2 historical touches.
Moving Average-Based
For trend-following positions:
Aggressive: Stop below SMA20 (for short-term trends)
Moderate: Stop below SMA50 (for medium-term trends)
Conservative: Stop below SMA200 (for long-term holds)
Best when MA is clearly sloping in your direction.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 12d ago First seen · 94 lines · 98 tokens per session scan A 717ac26ad88a
stop-loss-strategies is a skill published in the GitHub repository Bhala-Srinivash/nse-trading-skills (38 stars, last pushed 6mo ago), licensed MIT. It adds 98 tokens to every session and 953 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
ib-pmcc-advisor
Analyze PMCC (Poor Man's Covered Call / diagonal spread) positions from IB portfolio. For each diagonal spread, reports short leg risk (delta, IV, assignment probability), daily P&L projections, top-3 roll candidates, and a side-by-side comparison table. Requires TWS or IB Gateway running locally.
scanner-pmcc
Scan stocks for Poor Man's Covered Call (PMCC) suitability. Analyzes LEAPS and short call options for delta, liquidity, spread, IV, yield, trend direction, and earnings proximity. Use when user asks about PMCC candidates, diagonal spreads, or LEAPS strategies.
ib-stop-loss
Downside stop-loss management for PMCC, naked LEAPS, and stock positions in IB. Computes stop prices, detects alerts, and places conditional combo orders. Dry-run by default. Requires TWS or IB Gateway running locally.
ib-trailing-stop
Server-side trailing stop management for stocks and naked LEAPS in IB. Places native TRAIL orders that auto-ratchet the stop as price climbs. Dry-run by default. Requires TWS or IB Gateway running locally.
ib-collar
Generate tactical collar strategy reports for protecting PMCC positions through earnings or high-risk events. Requires TWS or IB Gateway running locally.
ib-find-short-roll
Find roll options for existing short positions OR find best covered call/put to open against long stock. Use when user asks about rolling shorts, finding roll candidates, writing covered calls, or managing option positions. Requires TWS or IB Gateway running locally.