rsi-divergence

rsi-divergence is a skill for Claude Code, Codex from Bhala-Srinivash/nse-trading-skills. It costs 98 tokens per session (1,018 once invoked), scanned A, original, MIT.

A guide to RSI divergence in shares traded on India's NSE and BSE exchanges. RSI is an indicator of price momentum; divergence occurs when price and RSI move in different directions.

In plain words
What is it for?
Use it to look for bullish or bearish regular divergence, hidden divergence, and confirmation signals from price candles and RSI values.
Why use it?
It helps identify possible trend exhaustion or continuation instead of relying on price movement alone.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to look for bullish or bearish regular divergence, hidden divergence, and confirmation signals from price candles and RSI values.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/bhala-srinivash/nse-trading-skills/rsi-divergence
Install

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.

Any agent
npx skills add Bhala-Srinivash/nse-trading-skills --skill rsi-divergence
Clone the repo
git clone --depth 1 https://github.com/Bhala-Srinivash/nse-trading-skills

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for rsi-divergence

README.md
[![agentmods](https://agentmods.dev/badge/skills/bhala-srinivash/nse-trading-skills/rsi-divergence/github.svg)](https://agentmods.dev/skills/bhala-srinivash/nse-trading-skills/rsi-divergence)
Your own site
<a href="https://agentmods.dev/skills/bhala-srinivash/nse-trading-skills/rsi-divergence"><img src="https://agentmods.dev/badge/skills/bhala-srinivash/nse-trading-skills/rsi-divergence/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.

agentmods 80×15 button for rsi-divergence

Your own site · 80×15
<a href="https://agentmods.dev/skills/bhala-srinivash/nse-trading-skills/rsi-divergence"><img src="https://agentmods.dev/badge/skills/bhala-srinivash/nse-trading-skills/rsi-divergence.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 98 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,018 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00098 $0.01018
Opus 5 $0.00049 $0.00509
Sonnet 5 $0.00020 $0.00204
Haiku 4.5 $0.00010 $0.00102

Measured 12d ago against content hash 52103f8769fd, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

rsi-divergence 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.

rsi-divergence/SKILL.md · 100 lines

How it starts

The opening of the file, as written. The whole thing — 100 lines — stays where its author put it; the contents beside it link to each section on GitHub.

RSI Divergence

Divergences signal that momentum is fading — price is moving one way but the engine (RSI) is losing steam. They're early warnings, not guarantees.

Prerequisites

No dependencies required. Describe price and RSI patterns verbally and Claude identifies divergences. Enhanced with Groww MCP (RSI values, candles) or yfinance (pip install yfinance).

Data Needed

  1. Daily candles: fetch_historical_candle_data (last 90-120 days) or user-provided
  2. RSI(14) values: get_historical_technical_indicators from Groww
  3. For manual calculation via yfinance if needed:
    import yfinance as yf
    data = yf.download("SYMBOL.NS", period="6mo")
    # Calculate RSI from close prices
    

Regular Divergence (Reversal Signal)

Regular divergence suggests the current trend may be exhausting.

Type Price Makes RSI Makes Meaning
Bullish Lower low Higher low Selling pressure fading — potential bottom
Bearish Higher high Lower high Buying pressure fading — potential top

How to Identify

  1. Find the last 2-3 swing lows (for bullish) or swing highs (for bearish) on the price chart
  2. Mark the corresponding RSI values at those same candles
  3. If price makes a new extreme but RSI doesn't — that's divergence

Strength Grading

Signal Strength
2-point divergence (2 swings) Standard
3-point divergence (3 swings) Strong
Divergence + oversold/overbought RSI Stronger
Divergence + volume decline Strongest

Hidden Divergence (Continuation Signal)

Hidden divergence suggests the existing trend will continue after a pullback.

Type Price Makes RSI Makes Meaning
Bullish Higher low Lower low Uptrend healthy — pullback is a buying opportunity
Bearish Lower high Higher high Downtrend healthy — rally is a selling opportunity

Hidden divergence is often overlooked but very powerful in trending markets.

Read the full file on GitHub · 100 lines

Changes

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.

  1. 12d ago First seen · 100 lines · 98 tokens per session scan A 52103f8769fd

Subscribe to this mod's changes

rsi-divergence 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 1,018 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.

Related

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.

staskh/trading_skills · 71 tokens

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.

staskh/trading_skills · 63 tokens

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.

staskh/trading_skills · 50 tokens

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.

staskh/trading_skills · 49 tokens

ib-collar

Generate tactical collar strategy reports for protecting PMCC positions through earnings or high-risk events. Requires TWS or IB Gateway running locally.

staskh/trading_skills · 30 tokens

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.

staskh/trading_skills · 55 tokens