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 marketcalls/openalgo-claude-plugin --skill trading-coregit clone --depth 1 https://github.com/marketcalls/openalgo-claude-pluginWrote 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/trading-core)<a href="https://agentmods.dev/skills/marketcalls/openalgo-claude-plugin/trading-core"><img src="https://agentmods.dev/badge/skills/marketcalls/openalgo-claude-plugin/trading-core/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/trading-core"><img src="https://agentmods.dev/badge/skills/marketcalls/openalgo-claude-plugin/trading-core.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.02240 |
| Opus 5.5 | $0.00013 | $0.00896 |
| Sonnet 5.5 | $0.00006 | $0.00448 |
| Haiku 4.5 | $0.00003 | $0.00224 |
Grade A, and why
trading-core 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 3mo 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 — 387 lines — stays where its author put it; the contents beside it link to each section on GitHub.
OpenAlgo Trading Core
Execute trading operations using OpenAlgo's unified Python SDK. Supports NSE, BSE, NFO, MCX, and currency derivatives with a single API across 25+ brokers.
Environment Setup
The OPENALGO_API_KEY must be set. Get your API key from your OpenAlgo application.
from openalgo import api
client = api(
api_key='your_api_key_here',
host='http://127.0.0.1:5000' # Your OpenAlgo server
)
Quick Start Scripts
Place Market Order
python scripts/place_order.py --symbol RELIANCE --exchange NSE --action BUY --quantity 1 --product MIS
Place Smart Order (Position-Aware)
python scripts/smart_order.py --symbol TATAMOTORS --exchange NSE --action SELL --quantity 5 --position-size 10
Basket Order (Multiple Symbols)
python scripts/basket_order.py --orders '[{"symbol":"INFY","action":"BUY","quantity":1},{"symbol":"TCS","action":"BUY","quantity":1}]'
Split Order (Large Quantities)
python scripts/split_order.py --symbol YESBANK --exchange NSE --action SELL --quantity 500 --split-size 100
Order Constants
Exchanges
| Code | Description |
|---|---|
NSE |
NSE Equity |
BSE |
BSE Equity |
NFO |
NSE Futures & Options |
BFO |
BSE Futures & Options |
CDS |
NSE Currency Derivatives |
BCD |
BSE Currency Derivatives |
MCX |
MCX Commodity |
NCDEX |
NCDEX Commodity |
NSE_INDEX |
NSE Indices (for quotes only) |
BSE_INDEX |
BSE Indices (for quotes only) |
Product Types
| Code | Description | Use Case |
|---|---|---|
CNC |
Cash & Carry | Equity delivery (hold overnight) |
NRML |
Normal | F&O positions (hold overnight) |
MIS |
Intraday | Auto square-off at market close |
Price Types
| Code | Description |
|---|---|
MARKET |
Market Order (immediate execution) |
LIMIT |
Limit Order (specify price) |
SL |
Stop Loss Limit Order |
SL-M |
Stop Loss Market Order |
What ships with it
5 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.
- 3mo ago First seen · 387 lines · 32 tokens per session scan A e86c7a1e6744
trading-core is a skill published in the GitHub repository marketcalls/openalgo-claude-plugin (6 stars, last pushed 10mo ago), licensed MIT. It adds 32 tokens to every session and 2,240 once invoked, about $0.0001 per session on Opus 5.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.
trading-core compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| trading-coremarketcalls/openalgo-claude-plugin | Skill | 6 | 10mo ago | MIT | A | 32 | Claude Code |
| technical-documentationwondelai/skills | Skill | 2.8k | 8d ago | MIT | A | 204 | Claude Code, Codex |
| top-designwondelai/skills | Skill | 2.8k | 8d ago | MIT | A | 113 | Claude Code, Codex |
| web-typographywondelai/skills | Skill | 2.8k | 8d ago | MIT | A | 128 | Claude Code, Codex |
| harness-auditwondelai/skills | Skill | 2.8k | 8d ago | MIT | A | 181 | Claude Code |
| crossing-the-chasmwondelai/skills | Skill | 2.8k | 8d ago | MIT | A | 139 | Claude Code |
| design-everyday-thingswondelai/skills | Skill | 2.8k | 8d ago | MIT | A | 132 | Claude Code |