Indian Tax For Traders logo

Indian Tax For Traders

Community
Shubhamkumartrichy
indian-tax-for-traders

Income-tax treatment of Indian stock-market income for resident individuals: STCG (20%) and LTCG (12.5% above ₹1.25 lakh) on listed equity and equity funds, grandfathering for pre-2018 shares, intraday as speculative business income, F&O as non-speculative business income, set-off and carry-forward rules, F&O turnover and tax audit, ITR form choice, dividends, buybacks, the new Income-tax Act 2025 section numbers, and tax-loss / LTCG-exemption harvesting. Includes an estimator and tradebook FIFO script. Use when the user asks "how much tax on my profit", "STCG or LTCG", "can F&O loss be set off", "which ITR", "F&O turnover / audit", "tax-loss harvesting", "should I wait a few days to sell", "tax on dividends or buyback", or uploads a broker tax P&L/tradebook.

Add to TypingMind

Overview

PublisherShubhamkumartrichy
Repositoryclaude-trading-skills-india
Skill nameindian-tax-for-traders
Stars
57
Forks
11
Bundled files
1
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 1 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by Shubhamkumartrichy on GitHub. Read the source before you install it.

Installation

Install the Indian Tax For Traders AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/Shubhamkumartrichy/claude-trading-skills-india/tree/main/skills/indian-tax-for-traders
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Shubhamkumartrichy/claude-trading-skills-india.git /tmp/claude-trading-skills-india
mkdir -p .claude/skills
cp -r /tmp/claude-trading-skills-india/skills/indian-tax-for-traders .claude/skills/indian-tax-for-traders
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Indian Tax For Traders in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Indian Tax For Traders on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Indian Tax For Traders is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Indian Tax for Traders and Investors

Covers resident individuals for FY 2025-26 and tax year 2026-27, which use the same slabs and rates. From 1 Apr 2026 the Income-tax Act, 2025 replaced the 1961 Act. It renamed "previous year" as "tax year" and renumbered sections. Commonly cited mappings are 111A → 196, 112A → 198, and loss carry-forward 72/73/74 → 112/113/111. Confirm the numbering against the official CBDT mapping before quoting it in a filing.

Always end with: "Estimate only, not tax advice. Confirm with a Chartered Accountant before filing."

Calculator

bash
python3 scripts/tax.py estimate --salary 1800000 --stcg 120000 --ltcg 300000 --fno -80000
python3 scripts/tax.py estimate --other-income 600000 --intraday -40000 --fno 250000 --regime old
python3 scripts/tax.py estimate ... --bf-business-loss 100000 --bf-stcl 20000      # brought-forward losses
python3 scripts/tax.py tradebook tradebook.csv --fy 2026-27 --details              # FIFO STCG/LTCG/intraday
python3 scripts/tax.py turnover --csv fno_trades.csv                                # Σ|P&L| and audit hint
python3 scripts/tax.py harvest holdings.csv --as-of 2027-03-10 --realized-ltcg 40000

Tradebook CSV columns: date, symbol, side (BUY/SELL), qty, price, plus optional charges (exclude STT) and fmv_2018 (31-Jan-2018 FMV for grandfathered lots). Zerodha Console and Groww tradebook exports work after renaming headers if needed. Holdings CSV columns: symbol, buy_date, qty, buy_price, ltp.

How market income is classified

ActivityHead / typeRateLosses
Delivery equity or equity MF held ≤ 12 monthsSTCG (STT paid)20%Offset STCG or LTCG. Carry forward 8 years
Delivery held > 12 monthsLTCG12.5% above ₹1.25 lakh per yearOffset only LTCG. Carry forward 8 years
Intraday equity (same-day square-off)Speculative business incomeSlabOffset only speculative income. Carry forward 4 years
F&O (futures, options, equity or index)Non-speculative business incomeSlabOffset any head except salary in the same year. Carry forward 8 years (against business income)
DividendsOther sourcesSlab— (TDS 10% above ₹10,000 per company per year)
Buyback proceeds (from 1 Apr 2026)Capital gainsAs STCG/LTCGPromoters face additional tax

Rates for STCG and LTCG changed on 23 Jul 2024 (from 15%/10% with a ₹1 lakh exemption). Older sales use old rates.

Holding period is more than 12 months. Bought 15 Jan 2025 and sold 15 Jan 2026 is still short-term; sold 16 Jan 2026 is long-term.

Grandfathering: for shares bought before 1 Feb 2018, cost = higher of actual cost and the lower of (FMV on 31 Jan 2018, sale price).

Slabs (new regime, default)

IncomeRate
Up to ₹4 lakh0
₹4–8 lakh5%
₹8–12 lakh10%
₹12–16 lakh15%
₹16–20 lakh20%
₹20–24 lakh25%
Above ₹24 lakh30%
  • Salaried standard deduction is ₹75,000 (₹50,000 in the old regime).
  • Section 87A rebate: zero tax up to ₹12 lakh of total income in the new regime (rebate up to ₹60,000) with marginal relief just above. The rebate does not apply to tax on STCG/LTCG at special rates, which is a common surprise.
  • Residents can use any unused basic exemption (₹4 lakh new, ₹2.5 lakh old) against STCG and LTCG.
  • Surcharge applies at 10%/15%/25% above ₹50 lakh, ₹1 crore and ₹2 crore (new regime max 25%). It is capped at 15% on equity capital gains. Cess is 4% on top.

Set-off order (what the script applies)

  1. Intraday loss stays isolated and carries forward 4 years.
  2. F&O loss → intraday profit → other non-salary income → STCG → LTCG. The remainder carries forward 8 years against business income.
  3. Short-term capital loss → LTCG. Long-term capital loss carries forward (LTCG only).
  4. Brought-forward losses are then used under their own restrictions.
  5. Carry-forward requires filing the return by the original due date. A late return loses the right to carry forward losses (except house property).

F&O and intraday compliance

  • ITR-3 is needed for any F&O or intraday income. ITR-2 covers capital gains without business income. ITR-1 now allows LTCG up to ₹1.25 lakh only.
  • Turnover (ICAI guidance) = sum of absolute profits and losses per trade, not contract value or premium. Use tax.py turnover.
  • Tax audit is required if turnover exceeds ₹10 crore (when cash transactions are ≤5%, which is always true for exchange trading). An audit can also apply below that if you opted out of presumptive taxation (44AD) within the last 5 years and declare a profit under 6% (or a loss) with total income above the basic exemption. Refer to a CA.
  • Deductible business expenses for F&O include brokerage, STT, exchange fees, GST, internet/phone (a share of it), data subscriptions, advisory fees, and depreciation on a trading computer. Keep proofs.
  • Advance tax is due on business income and capital gains (15 Jun, 15 Sep, 15 Dec, 15 Mar). Capital gains are due only after they arise. Shortfalls attract interest.

Harvesting and timing ideas (tax.py harvest)

  • LTCG exemption harvesting: each year, realise up to ₹1.25 lakh of long-term gains tax-free and rebuy to reset cost. Cost is about 0.25% round trip.
  • Loss harvesting: book unrealised losses to offset realised STCG. Short-term losses offset either kind; long-term losses offset only LTCG.
  • Wait for long-term: if a profitable lot turns long-term within weeks, waiting cuts the rate from 20% to 12.5%. Weigh that against price risk.
  • India has no statutory wash-sale rule. Sell-and-rebuy done purely for tax can still be challenged under GAAR or as a sham transaction, so keep trades genuine and documented.

Output

Tax estimate (new regime, FY 2026-27)
  Normal income ₹.. | STCG ₹.. @20% | LTCG ₹.. (₹.. taxable @12.5%)
  Tax ₹.. + cess ₹.. = ₹..
  Set-off steps: …   Carry forward: …
  Form: ITR-3 / ITR-2; file by the due date to keep losses
Estimate only, not tax advice. Confirm with a Chartered Accountant before filing.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Indian Tax For Traders AI skill do?

Income-tax treatment of Indian stock-market income for resident individuals: STCG (20%) and LTCG (12.5% above ₹1.25 lakh) on listed equity and equity funds, grandfathering for pre-2018 shares, intraday as speculative business income, F&O as non-speculative business income, set-off and carry-forward rules, F&O turnover and tax audit, ITR form choice, dividends, buybacks, the new Income-tax Act 2025 section numbers, and tax-loss / LTCG-exemption harvesting. Includes an estimator and tradebook FIFO script. Use when the user asks "how much tax on my profit", "STCG or LTCG", "can F&O loss be set...

Why use Indian Tax For Traders on TypingMind?

Because you install it once and use it with any model. Indian Tax For Traders is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Indian Tax For Traders in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/Shubhamkumartrichy/claude-trading-skills-india/tree/main/skills/indian-tax-for-traders. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Indian Tax For Traders?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Indian Tax For Traders?

As many as you like. As long as a model supports skills, you can use Indian Tax For Traders with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Indian Tax For Traders AI skill free?

Yes. It is published on GitHub by Shubhamkumartrichy under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇