india-capital-gains SKILL.md skillA
india-capital-gains from ronitgupta43-ops/country-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add ronitgupta43-ops/country-skills/india-capital-gains@git:20261101.d029a84Pins git:20261101.d029a84 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- ronitgupta43-ops/country-skills
- Path
plugins/india-finance/skills/india-capital-gains/SKILL.md- Versions recorded
- 2
- Latest version
- git:20261101.d029a84, committed Nov 1, 2026
- First version recorded
- Nov 1, 2026
- Size
- 4,291 bytes
- Repository stars
- 6
- License
- MIT
STCG and LTCG on Indian listed shares and equity mutual funds using FIFO, with the Rs 1.25 lakh exemption. Use when the user asks "how much tax if I sell", "LTCG", "STCG", "tax harvesting", or uploads a Zerodha/Groww/Upstox tradebook or capital gains statement.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# Capital gains on Indian equity ## Input A CSV with `date,action,symbol,qty,price,charges`. Broker tradebooks (Zerodha Console, Groww, Upstox) have similar columns: rename them to match. For mutual funds use the CAS from CAMS/KFintech; each purchase is a lot. ## Run ``` python scripts/cg.py trades.csv ``` Prints STCG, LTCG and estimated tax per tax year (April to March). ## Rules (unchanged for 2026-27) - FIFO: the oldest shares are sold first (that's how demat works). - Held more than 12 months = long term. - STCG on listed equity / equity MF (STT paid): 20%. - LTCG: 12.5% on gains above Rs 1.25 lakh per year, no indexation. - 4% cess on top. The 87A rebate does not apply to these gains. - Short-term loss can be set off against STCG or LTCG; long-term loss only against LTCG. Unused losses carry forward 8 years if the return is filed on time. - Share buybacks are taxed as capital gains from 2026-27 (not dividends). ## Not covered Debt funds bought after 1 April 2023 (taxed at slab rate), property, gold, F&O and intraday (business income). Say so if asked. ## Useful tip …
Read the whole file at its exact version.
How to install
mdr add ronitgupta43-ops/country-skills/india-capital-gains@sha256:a06d903b776298a2The line at the top of this page pins the label git:20261101.d029a84, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_lq4ih5wxoezia76j)
0 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 2 versions of this file, all committed on Nov 1, 2026.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261101.d029a84 latest | 2026-11-01 | d029a84 | 4,291 B | A | view · diff |
| git:20261101.6dbf093 | 2026-11-01 | 6dbf093 | 1,635 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (4291 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
ronitgupta43-ops/country-skills · 6 stars · license MIT · pushed 2026-11-06 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_lq4ih5wxoezia76j GET https://markdownregistry.com/api/v1/resolve?ref=ronitgupta43-ops/country-skills/india-capital-gains GET https://markdownregistry.com/api/v1/blob/a06d903b776298a2768f52b412a00f3c883657182261d301da8199c2e5e131ce
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.