zerodha-kite
Zerodha Kite Connect: holdings, positions, orders, live quotes
Install / Use
npx skills add taracodlabs/aiden --skill zerodha-kiteInstalls into whichever agent you are using.
SKILL.md
Installable skill definition
Quality Score
Category
Development & EngineeringSupported Platforms
Our assessment of zerodha-kite
zerodha-kite scores 85/100 on our quality scale, 2742nd of 4,702 Development & Engineering skills we index.
Its SKILL.md is 3.7 KB long, well organised into 12 sections with 7 code examples: a solid amount of guidance for an agent.
It has 843 GitHub stars, a meaningful sign that others use it.
Maintenance, license and trust
- The repository was last updated about 2 months ago, so zerodha-kite is actively maintained.
- Our last check on 2026-11-05 found the source still online.
- It is released under AGPL-3.0, a copyleft license: you can use it, but modified versions you distribute must carry the same license.
- Its trust signals score 100/100, with no cautions. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
Safety scan
No issues foundOur scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful.
AI review by kimi-k2.7-code on 2026-10-06. Automated pattern scan on 2026-10-06. It catches known dangerous patterns, not every risk — read a skill before letting an agent act on it.
zerodha-kite compared with similar skills
All 4 of these similar skills score higher than zerodha-kite; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| zerodha-kite (this skill)by taracodlabs | 85 | 843 | 2mo ago | SKILL.md |
| taste-skillby Leonxlnx | 100 | 117.6k | 9d ago | CLAUDE.md |
| Agent-Reachby Panniantong | 100 | 112.7k | 9d ago | CLAUDE.md |
| headroomby headroomlabs-ai | 100 | 79.9k | today | CLAUDE.md |
| ai-job-searchby ai-job-search-dev | 100 | 72.3k | today | CLAUDE.md |
Frequently asked questions
- How do I install zerodha-kite?
- Run
npx skills add taracodlabs/aiden --skill zerodha-kite. The install tabs above show the steps for each supported agent. - Which AI agents does zerodha-kite work with?
- It is written for Universal, as a SKILL.md file. Other agents that read the same format can often use it too.
- Is zerodha-kite safe to use?
- Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful. It is AGPL-3.0-licensed and scores 100/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is zerodha-kite still maintained?
- The repository was last updated about 2 months ago, so zerodha-kite is actively maintained.
Skill content
View source on GitHubname: zerodha-kite description: "Zerodha Kite Connect: holdings, positions, orders, live quotes" category: india version: 1.0.0 tags: zerodha, kite, broker, india, trading, orders, holdings, positions, equity, portfolio license: Apache-2.0
Zerodha Kite
Access your Zerodha account via the Kite Connect REST API — fetch portfolio, live quotes, place orders, and check order history. Requires a Kite Connect API subscription.
When to Use
- User wants to see their Zerodha holdings or current positions
- User asks for a live quote on an NSE/BSE stock
- User wants to place, modify, or cancel an order
- User asks about today's P&L or order history
- User wants to check available margin or funds
How to Use
Set up API credentials
$env:KITE_API_KEY = "your_api_key"
$env:KITE_ACCESS_TOKEN = "your_access_token" # Obtained after daily login flow
$baseUrl = "https://api.kite.trade"
$headers = @{
"X-Kite-Version" = "3"
"Authorization" = "token $($env:KITE_API_KEY):$($env:KITE_ACCESS_TOKEN)"
}
Get holdings (long-term portfolio)
$holdings = Invoke-RestMethod -Uri "$baseUrl/portfolio/holdings" -Headers $headers
$holdings.data | Select-Object tradingsymbol, quantity, average_price, last_price,
@{N='PnL';E={[math]::Round(($_.last_price - $_.average_price) * $_.quantity, 2)}}
Get today's positions (intraday / F&O)
$positions = Invoke-RestMethod -Uri "$baseUrl/portfolio/positions" -Headers $headers
$positions.data.net | Select-Object tradingsymbol, quantity, average_price, last_price, pnl
Get live quote
$symbols = "NSE:RELIANCE,NSE:INFY,NSE:TCS"
$quote = Invoke-RestMethod -Uri "$baseUrl/quote?i=$symbols" -Headers $headers
$quote.data.PSObject.Properties | ForEach-Object {
[PSCustomObject]@{
Symbol = $_.Name
LTP = $_.Value.last_price
Change = $_.Value.net_change
Volume = $_.Value.volume
}
}
Get available funds/margin
$margins = Invoke-RestMethod -Uri "$baseUrl/user/margins" -Headers $headers
$margins.data.equity | Select-Object available, utilised, net
Place a market order
$orderBody = @{
tradingsymbol = "RELIANCE"
exchange = "NSE"
transaction_type = "BUY"
order_type = "MARKET"
quantity = 1
product = "CNC" # CNC = delivery, MIS = intraday, NRML = F&O
}
$resp = Invoke-RestMethod -Uri "$baseUrl/orders/regular" `
-Method POST -Headers $headers -Body $orderBody
Write-Host "Order ID: $($resp.data.order_id)"
Get order history
$orders = Invoke-RestMethod -Uri "$baseUrl/orders" -Headers $headers
$orders.data | Select-Object order_id, tradingsymbol, transaction_type,
quantity, price, status, order_timestamp |
Sort-Object order_timestamp -Descending
Examples
"Show me my Zerodha portfolio with current P&L"
→ Fetch /portfolio/holdings, calculate P&L per position, sum for total portfolio gain/loss.
"What's the current price of HDFC Bank?"
→ GET /quote?i=NSE:HDFCBANK — returns LTP, OHLC, volume, and circuit limits.
"Place a buy order for 1 share of Infosys at market price"
→ POST to /orders/regular with INFY, NSE, BUY, MARKET, qty 1, product CNC.
Cautions
- Kite Connect requires a paid API subscription (₹2000/month) — confirm with the user before attempting API calls
- The access token expires daily and must be regenerated via the login flow each morning
- Always confirm order details with the user before placing — orders execute immediately at market price
- Use
product: CNCfor delivery equity trades,MISfor intraday,NRMLfor F&O overnight positions - Paper-trade or test with small quantities before automating larger orders
Related Skills
taste-skill
117.6kAgent skills that give coding agents taste: art direction, reference images and a browser check instead of generic AI pages
Agent-Reach
112.7kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
headroom
79.9kCompress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.
ai-job-search
72.3kThe job search that runs on your machine. AI job application framework built on Claude Code: evaluate postings, tailor CVs, write cover letters, prep interviews. Fork it and own it.
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
