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 rahulcommercial/claude-code-for-indian-traders --skill option-chain-analyzergit clone --depth 1 https://github.com/rahulcommercial/claude-code-for-indian-tradersWrote 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/rahulcommercial/claude-code-for-indian-traders/option-chain-analyzer)<a href="https://agentmods.dev/skills/rahulcommercial/claude-code-for-indian-traders/option-chain-analyzer"><img src="https://agentmods.dev/badge/skills/rahulcommercial/claude-code-for-indian-traders/option-chain-analyzer/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/rahulcommercial/claude-code-for-indian-traders/option-chain-analyzer"><img src="https://agentmods.dev/badge/skills/rahulcommercial/claude-code-for-indian-traders/option-chain-analyzer.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.00080 | $0.00661 |
| Opus 5 | $0.00040 | $0.00331 |
| Sonnet 5 | $0.00016 | $0.00132 |
| Haiku 4.5 | $0.00008 | $0.00066 |
Grade A, and why
option-chain-analyzer 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 10d 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.
What it actually says
Option Chain Analyzer
Turns a raw NSE option chain JSON into actionable structure.
When to use
- User pastes / fetches option chain data and asks for a read.
- User wants to identify max pain, PCR, or notable OI build-up.
- Pre-market or intraday: "where is BankNifty likely to pin?"
Inputs
Either:
- A JSON dump from NSE's option chain endpoint (
https://www.nseindia.com/api/option-chain-indices?symbol=NIFTY), or - Strike-wise call/put OI + premium tabular data.
Computations
Max pain
Strike at which total OI value (writers' loss) is minimised. Often acts as a magnet near expiry.
max_pain_strike = argmin over K of: sum_i max(K - K_i, 0) * call_OI_i + max(K_i - K, 0) * put_OI_i
PCR (Put-Call Ratio)
PCR_OI = total_put_OI / total_call_OI
-
1.3 → oversold / bullish reversal zone (contrarian read)
- < 0.7 → overbought / bearish reversal zone
- 0.8–1.2 → neutral
Support / Resistance from OI
- Strongest resistance = strike with highest call OI above spot.
- Strongest support = strike with highest put OI below spot.
OI build-up classification
| Price | OI | Reading |
|---|---|---|
| ↑ | ↑ | Long build-up |
| ↑ | ↓ | Short covering |
| ↓ | ↑ | Short build-up |
| ↓ | ↓ | Long unwinding |
IV skew
Compare ATM call IV vs ATM put IV. Put IV > call IV → fear premium. Useful for direction bias before events.
Output format
Return a structured summary:
Spot: 24,150
Max pain: 24,200 (likely pin near expiry)
PCR (OI): 1.18 → mildly bullish
Resistance: 24,300 CE (highest call OI)
Support: 24,000 PE (highest put OI)
Notable build-up:
- 24,500 CE: short build-up (+3.2L OI, premium ↓)
- 23,900 PE: long build-up (+2.1L OI, premium ↑)
Caveats
- NSE data has ~3 min lag; max pain is a tendency, not a guarantee.
- On expiry day, max pain pull strengthens after 1 PM IST.
- Always check FII/DII data alongside — OI alone misses positioning context.
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.
- 10d ago First seen · 74 lines · 80 tokens per session scan A ee104c461ed3
option-chain-analyzer is a skill published in the GitHub repository rahulcommercial/claude-code-for-indian-traders (2 stars, last pushed 3mo ago), licensed MIT. It adds 80 tokens to every session and 661 once invoked, about $0.0004 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-31.
Other skills, from other repositories
weekly-fno-trade-planner
Weekly F&O trade planning skill for Indian markets. Analyzes news/macro events, identifies trending sectors and instruments, determines probable direction, suggests option strategy with entry/exit levels, and manages stop-loss and profit booking after position entry. Use when user wants a weekly trade idea, F&O…
india-market-breadth
Analyze Indian market breadth health using advance/decline data, stocks above moving averages, new highs/lows, and sector participation. Use when assessing rally quality, market participation width, or equity exposure levels for NSE/BSE.
india-news-tracker
Track and analyze Indian stock market news, corporate announcements, SEBI circulars, bulk/block deals, and earnings calendars. Auto-fetches headlines from MoneyControl, Economic Times, LiveMint, BSE/NSE filings. Use when the user asks about recent news, corporate actions, upcoming events, or wants a daily market news…
india-stock-analysis
Use when user requests analysis of Indian stocks, fundamental assessment, technical review, comparisons, or investment reports for NSE/BSE listed companies.
options-strategy-advisor
Options strategy analysis for Indian F&O markets (NSE). Use when user requests options strategy recommendations, P/L analysis, Greeks calculation, risk management, or F&O strategy planning for Nifty, Bank Nifty, or stock options.
backtest-expert
Expert guidance for systematic backtesting of trading strategies on Indian markets (NSE/BSE). Use when developing strategies, testing robustness, avoiding overfitting, or validating trading ideas.