agentleFS
atishbitsatishbits/claude-skills/skills/itr2-filing-assistant/SKILL.md

itr2-filing-assistant

Skill0 starsChanged 38 days agoMITView on GitHub

Guide an Indian resident individual through preparing ITR-2 end to end — intake of AIS, TIS, Form 16, Form 26AS and broker reports; reconciliation; schedule-by-schedule computation (Salary, House Property, Capital Gains, Other Sources, Foreign Assets, FSI/TR, CYLA/BFLA/CFL, Schedule AL); regime comparison; and a pre-submission validation pass. Use when the user mentions ITR-2, Indian income tax return, AIS/TIS reconciliation, Schedule FA, foreign assets disclosure, RSU or US stock taxation for an Indian resident, or asks for help filing their Indian taxes. Do NOT use for ITR-1 (simple salary only), ITR-3/4 (business or professional income), GST, TDS return filing, or non-Indian tax systems.

The file

We split this skill into the rules it gives an agent

10 rules. About 0 are common, 6 are distinctive, and 4 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈6

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 4

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Never invent a number: If a figure is not in a source document, write PENDING — <what is needed and where to get it> and keep going.

    line 35
  2. Distinctive:

    Treat every document as sensitive: Read documents only from where the user put them: their own folder, their own cloud storage, or files …

    line 45
  3. Distinctive:

    If more than one person is being helped, give each assessee their own working folder (and cloud folder).

    line 86
  4. Distinctive:

    Prior state: If conclusions files already exist in the working folder (after the Setup sync, with a temporary folder), read them and resume …

    line 89
  5. Distinctive:

    Never skip a phase silently: If a phase is N/A (no house property, no foreign assets), still write a one-line conclusions file saying so …

    line 128
  6. Distinctive:

    Save conclusions after every phase, not at the end: If the session dies, the next one resumes from the files.

    line 130
  7. Very specific:

    Log every decision the user takes against your advice: Write a DECISION LOG block in the relevant conclusions file: the date, the choice, …

    line 135
  8. Distinctive:

    Not tax advice: Every deliverable carries the disclaimer.

    line 156
  9. Very specific:

    Do not advise on evasion: If the user chooses to omit reportable income, state the legal position and the risk once, clearly, then record a …

    line 164
  10. Very specific:

    Rates change every year: If the AY is not one covered in references/08_rates_and_thresholds.md, say so and ask the user to confirm the …

    line 167

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Request for this run: $ARGUMENTS

ITR-2 Filing Assistant (India)

Prepares a complete, cross-verified ITR-2 worksheet for a resident individual. You do the computation and validation; the user types the final figures into the income tax portal.

Hard rules — read before anything else

  1. This is general tax help, not formal tax advice. End every deliverable with: "General help, not formal tax advice — CA review advised before filing."
  2. Never log into, automate, or submit anything on incometax.gov.in. The user enters every figure themselves.
  3. Never invent a number. If a figure is not in a source document, write PENDING — <what is needed and where to get it> and keep going. A PENDING is always better than a plausible guess.
  4. Route every arithmetic operation through scripts/tax_calc.py or a python3 call. Do not do mental math on money.
  5. Re-read the relevant reference file at the start of each phase. Do not work from memory of a previous filing, and do not preload the references — see Token discipline below.
  6. Store all working files in the user's working folder (see Setup), one conclusions file per schedule (references/10_output_templates.md). Never inside this skill's own folder: it lives in a public repo, and when the skill is installed as a plugin an update replaces it.
  7. Treat every document as sensitive. Read documents only from where the user put them: their own folder, their own cloud storage, or files attached to the chat. Do not send document contents to any other service — no web search, no online converter, no sharing link. Do not write PAN, Aadhaar, bank account numbers or full broker account numbers into chat/summary output unless the user asks — keep them only in the working files. Do not persist any of it into long-term memory.

Token discipline (progressive disclosure)

This file is the whole router. Never inline reference content here, and never read the references up front. Read exactly one reference file with the Read tool when its phase begins, and only then. references/05_foreign_assets_and_income.md in particular is large — it should be unread until Phase 6 actually starts.

Setup — before Phase 0

Python. The scripts are in scripts/ beside this file (${CLAUDE_SKILL_DIR}/scripts where that variable is set); run every command in this skill from the folder holding this file. Run python3 scripts/tax_calc.py --selftest once. If this environment cannot run Python, say so and stop: rule 4 forbids computing without the scripts.

Working folder. The working files always live in a local folder; the scripts work on it. Ask the user where:

  • Claude Code: any path, e.g. ~/Documents/itr/AY2026-27/<assessee>/.
  • A desktop app with a folder shared to the session: a folder inside it.
  • Neither (nothing written here outlasts the session): a temporary folder, with a cloud copy as the only lasting one (below).

Cloud storage. The user can keep a copy of the working folder in their cloud file storage, to drop documents into from anywhere and to carry on from another device. With a local folder from the first two cases, touch cloud storage only when the user asks:

  • "pull", "get my documents from the cloud" and the like: sync down.
  • "sync", "push", "upload the results" and the like: sync up.

With a temporary folder, sync down during Setup and sync both ways after every phase's conclusions file is written; otherwise the work is lost. To sync, read references/11_cloud_sync.md and follow it. If the session has a temporary folder and no file-storage connector, say that nothing will survive the session, and offer to carry on anyway, handing the files back at the end of each phase.

If more than one person is being helped, give each assessee their own working folder (and cloud folder); never one shared between them.

Prior state. If conclusions files already exist in the working folder (after the Setup sync, with a temporary folder), read them and resume from the first phase that has no file, rather than starting over.

Documents. The user's documents may be in the working folder, in its cloud copy (pulled on request), or attached to the chat; record where each one is in the Phase 1 inventory. A password-protected PDF (the AIS and 26AS usually are) that will not open: if a PDF-unlocking skill is available, use it with the password the user gives; otherwise ask the user for an unlocked copy.

Phases

Work them in order. At the start of each, Read the reference listed; at the end, write that phase's conclusions file before moving on.

PhaseNameRead this referenceExit condition
0Applicability & regime checkreferences/08_rates_and_thresholds.mdITR-2 confirmed the correct form; regime chosen
1Document intake & inventoryreferences/00_intake_checklist.mdInventory file written; gaps listed
2Salaryreferences/01_schedule_salary.mdSalary conclusions file written
3House propertyreferences/02_schedule_house_property.mdHP conclusions file written
4Capital gainsreferences/04_schedule_capital_gains.mdCG conclusions file written
5Other sourcesreferences/03_schedule_other_sources.mdOS conclusions file written
6Foreign assets & incomereferences/05_foreign_assets_and_income.md, then references/06_us_equity_rsu_playbook.mdFA/FSI/TR conclusions file written
7Set-off, carry-forward, AL, taxes paidreferences/07_set_off_losses_and_ay_schedules.mdCYLA/BFLA/CFL/AL/taxes-paid file written
8Tax computation & regime comparisonreferences/08_rates_and_thresholds.md + scripts/tax_calc.pyLiability/refund computed under both regimes
9Reconciliation & validation sweepreferences/09_reconciliation_and_validation.mdAll checks pass or are explicitly waived
10Final worksheet + pre-submission checklistreferences/10_output_templates.md + assets/worksheet-template.mdWorksheet delivered

Two ordering rules that are not obvious:

  • Capital Gains (Phase 4) runs before Other Sources (Phase 5), because the CG output determines what must be excluded from OS (sale proceeds are not "other income").
  • Foreign Assets (Phase 6) runs before set-off and tax computation, because FSI/TR relief changes the liability.

How to behave in every phase

  • Ask before assuming. Each reference file ends with the questions for that phase. Ask them, batched — at most ~6 at a time — never one question per message.
  • Never skip a phase silently. If a phase is N/A (no house property, no foreign assets), still write a one-line conclusions file saying so and why.
  • Save conclusions after every phase, not at the end. If the session dies, the next one resumes from the files.
  • Prefill is a suspect, not a source. Portal prefill and AIS are frequently wrong. Reconcile against primary documents and record every deviation with its reason. The ladder is: primary document > TIS "Processed by System" > AIS line items > portal prefill.
  • Log every decision the user takes against your advice. Write a DECISION LOG block in the relevant conclusions file: the date, the choice, and the risk you flagged.

Scripts

python3 scripts/tax_calc.py --regime new --ay 2026-27 \
  --normal-income N --ltcg-112a N --stcg-111a N --ltcg-other N \
  --tds N --advance-tax N --tcs N --age 35 [--compare]
python3 scripts/tax_calc.py --selftest

python3 scripts/fx.py --amount 1000 --currency USD \
  --date 2025-11-14 --basis rule115 [--rate 84.1234]

tax_calc.py --compare runs both regimes and prints the delta — that is Phase 8's deliverable. fx.py will not guess an exchange rate: run it without --rate and it tells you which date's SBI TT buying rate to fetch, then ask the user to supply or confirm it.

Guardrails, restated

  • Not tax advice. Every deliverable carries the disclaimer. Recommend CA review for anything material or unusual.
  • Never file, never log in, never automate the portal.
  • Never fabricate a figure. PENDING beats a guess.
  • No mental arithmetic on money — route through the script.
  • Privacy: files stay in the user's own folder or own cloud storage, never shared or sent to any other service; no PAN / Aadhaar / account numbers echoed into chat summaries unless asked; nothing personal written into this skill folder or memory.
  • Do not advise on evasion. If the user chooses to omit reportable income, state the legal position and the risk once, clearly, then record a DECISION LOG entry and carry on with the rest of the return. Do not argue repeatedly, and do not restructure the return to conceal the omission.
  • Rates change every year. If the AY is not one covered in references/08_rates_and_thresholds.md, say so and ask the user to confirm the current figures before computing anything.
  • Multiple assessees: strictly separate folders. Never let one person's figures leak into another's file — except a genuine mirror (co-owned house property), and then say explicitly in both files that it is a mirror.

General help, not formal tax advice — CA review advised before filing.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.