Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/marketcalls/openalgo-claude-pluginnpx agentmods add skills/marketcalls/openalgo-claude-plugin/market-dataWrote 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/marketcalls/openalgo-claude-plugin/market-data)<a href="https://agentmods.dev/skills/marketcalls/openalgo-claude-plugin/market-data"><img src="https://agentmods.dev/badge/skills/marketcalls/openalgo-claude-plugin/market-data/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/marketcalls/openalgo-claude-plugin/market-data"><img src="https://agentmods.dev/badge/skills/marketcalls/openalgo-claude-plugin/market-data.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.00032 | $0.03282 |
| Opus 5 | $0.00016 | $0.01641 |
| Sonnet 5 | $0.00006 | $0.00656 |
| Haiku 4.5 | $0.00003 | $0.00328 |
Grade A, and why
market-data 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.
How it starts
The opening of the file, as written. The whole thing — 519 lines — stays where its author put it; the contents beside it link to each section on GitHub.
OpenAlgo Market Data
Access real-time and historical market data using OpenAlgo's unified Python SDK. Supports REST API for on-demand data and WebSocket for real-time streaming.
Environment Setup
from openalgo import api
# REST API only
client = api(
api_key='your_api_key_here',
host='http://127.0.0.1:5000'
)
# With WebSocket streaming
client = api(
api_key='your_api_key_here',
host='http://127.0.0.1:5000',
ws_url='ws://127.0.0.1:8765',
verbose=True # Enable connection logs
)
Quick Start Scripts
Get Quotes
python scripts/quotes.py --symbol RELIANCE --exchange NSE
python scripts/quotes.py --symbols RELIANCE,TCS,INFY --exchange NSE
Get Historical Data
python scripts/history.py --symbol SBIN --exchange NSE --interval 5m --start 2025-01-01 --end 2025-01-15
Get Market Depth
python scripts/depth.py --symbol SBIN --exchange NSE
Stream Live Data
python scripts/stream.py --symbols NIFTY,BANKNIFTY --exchange NSE_INDEX --mode ltp
REST API Methods
1. Single Quote
Get current market quote for a symbol:
response = client.quotes(symbol="RELIANCE", exchange="NSE")
Response:
{
"status": "success",
"data": {
"open": 1172.0,
"high": 1196.6,
"low": 1163.3,
"ltp": 1187.75,
"ask": 1188.0,
"bid": 1187.85,
"prev_close": 1165.7,
"volume": 14414545
}
}
2. Multiple Quotes
Get quotes for multiple symbols in one call:
response = client.multiquotes(symbols=[
{"symbol": "RELIANCE", "exchange": "NSE"},
{"symbol": "TCS", "exchange": "NSE"},
{"symbol": "INFY", "exchange": "NSE"},
{"symbol": "NIFTY", "exchange": "NSE_INDEX"}
])
Response:
{
"status": "success",
"results": [
{
"symbol": "RELIANCE",
"exchange": "NSE",
"data": {
"open": 1542.3,
"high": 1571.6,
"low": 1540.5,
"ltp": 1569.9,
"prev_close": 1539.7,
"ask": 1569.9,
"bid": 1569.8,
"oi": 0,
"volume": 14054299
}
},
...
]
}
What ships with it
4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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 · 519 lines · 32 tokens per session scan A a3e7a9cdcc69
market-data is a skill published in the GitHub repository marketcalls/openalgo-claude-plugin (3 stars, last pushed 8mo ago), licensed MIT. It adds 32 tokens to every session and 3,282 once invoked, about $0.0002 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
assess
A Japanese tax-filing assessment guide that asks about your income, family, and business situation to identify which tax returns you may need.
setup
A setup wizard for shinkoku, a Japanese tax-filing tool. It creates or updates the configuration file and initializes the tool’s database.
furusato
A Japanese hometown-tax donation manager for furusato nozei, a system where donations to municipalities can qualify for an income-tax or local-tax deduction. It reads donation receipts, stores donation records, and calculates deduction limits.
tax-advisor
A Japanese tax-advice skill based on 2025 tax rules. It answers tax-filing and tax-saving questions using documents in a reference folder rather than general guesses.
e-bookkeeping-compliance
A compliance checker for Japan's rules on keeping high-quality electronic accounting books. It checks whether accounting records and related documentation meet specified requirements for electronic storage.
incorporation
A guide for moving from working as an individual business owner to operating through a company in Japan. It covers company types, setup steps, officer pay, taxes, and social insurance.