Agent skill

Nse Options

by taracodlabs in taracodlabs/aiden

NSE options chain: OI buildup, PCR, max pain, IV (Nifty/BankNifty)

Apache-2.0Auto-check passed

Install Nse Options

skills CLI
$ npx skills add taracodlabs/aiden --skill nse-options -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install taracodlabs/aiden nse-options --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/taracodlabs/aiden.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/nse-options .claude/skills/nse-options && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
nse-options
GitHub stars
851
Token cost
~1.1k tokens
SKILL.md length
236 words
Files
2
Skills in repo
63
Repo updated
First seen
Licence
Apache-2.0

At a glance

NSE options chain: OI buildup, PCR, max pain, IV (Nifty/BankNifty)

  • SKILL.md covers When to Use, How to Use, Examples and Cautions
  • Reaches nseindia.com

What it does

Nse Options is an agent skill from taracodlabs/aiden. NSE options chain: OI buildup, PCR, max pain, IV (Nifty/BankNifty)

Its SKILL.md is about 1.1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 1 other file (for example `skill.json`).

The repository describes itself as: Aiden — an autonomous AI agent and work engine built solo. It can operate your browser, terminal, files, apps, APIs, skills and tools, remember context, recover from failures… The licence is Apache-2.0.

Example prompts

  • “/nse-options”

What it can do on your machine

Read from SKILL.md and the folder at commit 3704204. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are powershell).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • nseindia.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Nse Options loads about 1.1k tokens when it runs. Until then it costs about 20 tokens; SKILL.md has 236 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~20
When it runs · the whole SKILL.md, loaded when a task matches
~1.1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from taracodlabs/aiden at commit 3704204, republished under its Apache-2.0 licence (© taracodlabs). 236 words, ~1,136 tokens.

Download SKILL.mdSave it as .claude/skills/nse-options/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
nse-options
description
NSE options chain: OI buildup, PCR, max pain, IV (Nifty/BankNifty)
category
india
version
1.0.0
tags
nse, options, derivatives, oi, pcr, maxpain, nifty, banknifty, iv, chain
license
Apache-2.0

NSE Options

Analyze NSE options chain for Nifty and BankNifty — open interest buildup, put-call ratio, max pain level, and implied volatility — using NSE's public JSON API.

When to Use

  • User asks for Nifty or BankNifty options chain
  • User wants to know the PCR (put-call ratio) for an index
  • User asks for max pain or peak OI strikes
  • User wants to see OI change at specific strike prices
  • User asks about ITM/OTM options or IV skew

How to Use

Fetch options chain for Nifty
powershell
$headers = @{ "User-Agent" = "Mozilla/5.0"; "Referer" = "https://www.nseindia.com" }
Invoke-WebRequest -Uri "https://www.nseindia.com" -SessionVariable nse -Headers $headers | Out-Null
$chain = Invoke-RestMethod -Uri "https://www.nseindia.com/api/option-chain-indices?symbol=NIFTY" `
  -Headers $headers -WebSession $nse
$chain.records.data | Select-Object strikePrice,
  @{N='CE_OI';E={$_.CE.openInterest}}, @{N='CE_IV';E={$_.CE.impliedVolatility}},
  @{N='PE_OI';E={$_.PE.openInterest}}, @{N='PE_IV';E={$_.PE.impliedVolatility}} |
  Where-Object { $_.CE_OI -or $_.PE_OI } |
  Sort-Object strikePrice
Calculate PCR (Put-Call Ratio)
powershell
$headers = @{ "User-Agent" = "Mozilla/5.0"; "Referer" = "https://www.nseindia.com" }
Invoke-WebRequest -Uri "https://www.nseindia.com" -SessionVariable nse -Headers $headers | Out-Null
$chain = Invoke-RestMethod -Uri "https://www.nseindia.com/api/option-chain-indices?symbol=NIFTY" `
  -Headers $headers -WebSession $nse
$totalCE_OI = ($chain.records.data | ForEach-Object { $_.CE.openInterest } | Measure-Object -Sum).Sum
$totalPE_OI = ($chain.records.data | ForEach-Object { $_.PE.openInterest } | Measure-Object -Sum).Sum
$pcr = [math]::Round($totalPE_OI / $totalCE_OI, 2)
Write-Host "Nifty PCR: $pcr  (CE OI: $totalCE_OI | PE OI: $totalPE_OI)"
Find max pain strike
powershell
$headers = @{ "User-Agent" = "Mozilla/5.0"; "Referer" = "https://www.nseindia.com" }
Invoke-WebRequest -Uri "https://www.nseindia.com" -SessionVariable nse -Headers $headers | Out-Null
$chain = Invoke-RestMethod -Uri "https://www.nseindia.com/api/option-chain-indices?symbol=NIFTY" `
  -Headers $headers -WebSession $nse
$strikes = $chain.records.data | Select-Object strikePrice,
  @{N='CE_OI';E={$_.CE.openInterest}},
  @{N='PE_OI';E={$_.PE.openInterest}} |
  Where-Object { $_.strikePrice }

# Max pain = strike where total dollar loss for option holders is maximum
$maxPainStrike = $strikes | ForEach-Object {
  $s = $_.strikePrice
  $pain = ($strikes | ForEach-Object {
    $ceVal = [math]::Max(0, $s - $_.strikePrice) * $_.CE_OI
    $peVal = [math]::Max(0, $_.strikePrice - $s) * $_.PE_OI
    $ceVal + $peVal
  } | Measure-Object -Sum).Sum
  [PSCustomObject]@{ Strike = $s; TotalPain = $pain }
} | Sort-Object TotalPain | Select-Object -First 1
Write-Host "Max Pain Strike: $($maxPainStrike.Strike)"
Top CE OI strikes (resistance levels)
powershell
$chain.records.data |
  Where-Object { $_.CE.openInterest -gt 0 } |
  Sort-Object { $_.CE.openInterest } -Descending |
  Select-Object -First 5 strikePrice, @{N='CE_OI';E={$_.CE.openInterest}}, @{N='CE_OI_Change';E={$_.CE.changeinOpenInterest}}
Top PE OI strikes (support levels)
powershell
$chain.records.data |
  Where-Object { $_.PE.openInterest -gt 0 } |
  Sort-Object { $_.PE.openInterest } -Descending |
  Select-Object -First 5 strikePrice, @{N='PE_OI';E={$_.PE.openInterest}}, @{N='PE_OI_Change';E={$_.PE.changeinOpenInterest}}

Examples

"What is the current Nifty PCR?" → Fetch chain, sum all CE and PE OI, divide PE by CE — PCR > 1.2 is bullish, < 0.8 is bearish.

"Where is max pain for this week's expiry?" → Run the max pain calculation across all strikes and return the strike with minimum total option holder loss.

"Show me the top 5 CE and PE OI strikes for BankNifty" → Change URL to symbol=BANKNIFTY and sort by OI descending.

Cautions

  • Options chain data is updated every few minutes during market hours — not tick-level real-time
  • PCR and max pain are sentiment indicators, not trading signals — use alongside price action
  • Always initialize the NSE session cookie before API calls or you will get 401/403 errors
  • Near expiry, IV can spike significantly — raw IV numbers are comparable only within the same expiry

© taracodlabs, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file in skills/nse-options of taracodlabs/aiden.

  • SKILL.md
  • skill.json

Open the folder on GitHubat commit 3704204

Compare with similar skills

Nse Options next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Nse Options compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Nse Options this skilltaracodlabs/aiden851—~1.1kAutomated safety check: PassApache-2.0
Optionsasgeirtj/system_prompts_leaks69k—~918Automated safety check: PassCC0-1.0
Maxsickn33/agentic-awesome-skills47k1 repos~1.4kAutomated safety check: PassMIT
Option Chainstaskh/trading_skills375—~371Automated safety check: PassMIT
Sbom Supply Chainsickn33/agentic-awesome-skills47k2 repos~3.4kAutomated safety check: PassMIT
Agent Supply Chaingithub/awesome-copilot40k1 repos~2.7kAutomated safety check: PassMIT

Similar skills

  • Options

    asgeirtj/system_prompts_leaks

    Present multiple design options as a vertical stack of anchored turns

    69k GitHub stars~918 tokensUpdated yesterday
    Auto-check passed
  • Max

    sickn33/agentic-awesome-skills

    Cleans up and improves existing code without changing behavior.

    47k GitHub starsUsed in 1 repo~1.4k tokens
    DevelopmentAuto-check passed
  • Option Chain

    staskh/trading_skills

    Get option chain data including calls and puts with strikes, bids, asks, volume, open interest, and implied volatility.

    375 GitHub stars~371 tokensUpdated 11 days ago
    Business, Finance & HRAuto-check passed
  • Sbom Supply Chain

    sickn33/agentic-awesome-skills

    Generate, sign, and verify SBOMs and provenance attestations to secure the software supply chain.

    47k GitHub starsUsed in 2 repos~3.4k tokens
    SecurityAuto-check passed
  • Agent Supply Chain

    github/awesome-copilot

    Official

    Verify supply chain integrity for AI agent plugins, tools, and dependencies.

    40k GitHub starsUsed in 1 repo~2.7k tokens
    SecurityAuto-check passed
  • Supply Chain Security

    zhaoxuya520/reverse-skill

    A skill your agent uses for software supply-chain security assessment covering SBOM, SCA, CI/CD pipelines, container images, build integrity, dependency provenance, and vulnerability reachability.

    40k GitHub starsUsed in 4 repos~953 tokens
    SecurityAuto-check: warnings

More from taracodlabs/aiden

All 63 skills in this repo
  • Google Flights Search

    taracodlabs/aiden

    Searches Google Flights for prices, schedules and availability through browser automation with URL-based queries, and stops short of booking.

    851 GitHub stars~1.5k tokensUpdated 26 days ago
    Auto-check passed
  • OpenAI Codex CLI Bridge

    taracodlabs/aiden

    Delegates code generation, editing and explanation tasks to the OpenAI Codex CLI, with commands for interactive, auto-edit, question-only and model-specific runs.

    851 GitHub starsUsed in 1 repo~826 tokens
    Auto-check passed
  • Google Hotels Search

    taracodlabs/aiden

    Searches Google Hotels through the agent-browser tool for prices, ratings, amenities and availability, building a search URL from the location and dates and reporting a results table.

    851 GitHub stars~1.5k tokensUpdated 26 days ago
    Auto-check passed
  • Generates dark-themed architecture, component, data-flow and network diagrams as self-contained HTML and SVG files that open in any browser.

    851 GitHub stars~1.3k tokensUpdated 26 days ago
    Auto-check passed
  • Aggregates holdings across Zerodha, Upstox and Angel One and normalizes order parameters into one format, with confirmation required before any routing.

    851 GitHub stars~1.1k tokensUpdated 26 days ago
    Auto-check passed
  • arXiv Paper Search

    taracodlabs/aiden

    Searches arXiv by keyword, category, author or paper ID through its public API and downloads PDFs, with no API key needed.

    851 GitHub stars~1k tokensUpdated 26 days ago
    Auto-check passed

Questions about Nse Options

What does Nse Options do?

NSE options chain: OI buildup, PCR, max pain, IV (Nifty/BankNifty). Nse Options is an agent skill from taracodlabs/aiden.

How do I install Nse Options in Claude Code?

Run `npx skills add taracodlabs/aiden --skill nse-options -a claude-code`. Or copy the skill folder (skills/nse-options in taracodlabs/aiden) into .claude/skills/nse-options in your project. Claude Code loads it when a task matches its description.

How do I install Nse Options in Codex?

Run `npx skills add taracodlabs/aiden --skill nse-options -a codex`. Or copy the skill folder (skills/nse-options in taracodlabs/aiden) into .agents/skills/nse-options in your project. Codex loads it when a task matches its description.

Can I use Nse Options in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add taracodlabs/aiden --skill nse-options -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/nse-options, .gemini/skills/nse-options, .github/skills/nse-options and .opencode/skills/nse-options in your project.

What does Nse Options need to run?

SKILL.md names no scripts, command-line tools or credentials: Nse Options is instructions for the agent only.

Does Nse Options access the network?

SKILL.md names 1 domain. In commands or code: nseindia.com; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.

Is Nse Options safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Nse Options use?

Nse Options is published under the Apache-2.0 licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Nse Options use?

About 1.1k tokens (SKILL.md is roughly 4.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Nse Options?

Skills that share tags, products or a category with Nse Options: Options (asgeirtj/system_prompts_leaks, 69k stars), Max (sickn33/agentic-awesome-skills, 47k stars), Option Chain (staskh/trading_skills, 375 stars) and Sbom Supply Chain (sickn33/agentic-awesome-skills, 47k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Nse Options?

taracodlabs (a GitHub organization) maintains it in taracodlabs/aiden, which has 851 GitHub stars. The repository holds 63 skills in this directory. The repository was last updated on September 13, 2026.

Source: taracodlabs/aiden on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.