From math-coach
Automates NZ IR3 individual income tax return filing for 2026 tax year via myIR portal browser automation. Uses pre-populated data, pauses for user login and explicit submit confirmation.
npx claudepluginhub cgbarlow/skills --plugin flow-coachThis skill uses the workspace's default tool permissions.
This skill files a New Zealand individual **IR3 income tax return** for the year ended **31 March 2026** by driving Inland Revenue's official **myIR portal** at https://myir.ird.govt.nz/. It is grounded in the official **IR3G (March 2026)** guide whose full text is bundled at `references/IR3G-2026.txt`.
Provides Japanese tax advice on deductions, filings, business expenses, and 2025 rules using reference files for accurate consultations.
Advises on US taxes for W-2, 1099, S-Corp filers: identifies deductions, logs expenses to JSON, assesses audit risk, optimizes brackets, plans estimated payments, handles multi-state filing and life events.
Prepares federal and state tax returns by extracting data from source documents, computing taxes, and filling official PDF forms.
Share bugs, ideas, or general feedback.
This skill files a New Zealand individual IR3 income tax return for the year ended 31 March 2026 by driving Inland Revenue's official myIR portal at https://myir.ird.govt.nz/. It is grounded in the official IR3G (March 2026) guide whose full text is bundled at references/IR3G-2026.txt.
The skill operates the browser session. The user supplies authentication, supplies any data IRD hasn't pre-populated, and gives explicit consent before anything is submitted.
These limits exist because filing a tax return is a legal declaration and the data is sensitive. Do not relax them without an explicit user instruction in the same turn.
references/worksheets-2026.md. The 2026 figures differ from prior years.Open the session with a one-line disclaimer the user sees: "I'll drive myIR for you, but you sign in with RealMe and you give the final 'submit'. I'm not a registered tax agent — I follow the official IR3G 2026 guide, but for anything unusual I'll flag it and suggest you confirm with IRD or an agent."
Before navigating to myIR, ask the user to gather (mentally OK if they don't have hard copies — anything in myIR is fine to fetch on the fly):
Tell the user they don't need to have these all to hand at the start — the skill will pause and prompt when each is needed.
The exact click path through myIR is in references/myir-navigation.md. Read it before navigating. The flow at the top level:
https://myir.ird.govt.nz/.references/worksheets-2026.md for any field that needs an arithmetic step (ACC earners' levy, IETC, PIE adjustment, tax on taxable income, student loan repayment, provisional tax). Show the working in the chat so the user can audit.For each IR3 question, the canonical box numbers, valid values, expected pre-population behaviour, and gotchas are in references/form-questions.md (one section per question, Q1 through Q42). Read the relevant section just-in-time as the wizard reaches it. Do not load the whole file unless you genuinely need it.
The full text of the official IRD guide is in references/IR3G-2026.txt (extracted from the IR3G PDF). Read targeted sections of it for unusual situations: foreign superannuation, bright-line property, ACC personal-service rehabilitation payments, attribution of personal services income, BETA/CFC/FIF disclosures, etc.
Always do these in chat first so the user can audit, then type the result into myIR.
| Calculation | When | Worksheet |
|---|---|---|
| Tax on taxable income | After income & expenses are confirmed | §1 of worksheets-2026.md |
| ACC earners' levy | Only if amending the SOI | §2 |
| IETC | If income $24k–$70k and the user might qualify | §3 |
| PIE adjustment | If the user's PIR was wrong (under- or over-paid) | §4 |
| Q36 tax calculation | Always, end of return | §5 |
| Excess imputation credits c/f | If imputation credits exceed tax payable | §5a |
| Student loan end-of-year repayment | If user has a student loan and adjusted net income ≥ $500 | §6 |
| 2027 provisional tax | If RIT > $5,000 | §7 |
Show working in plain text so the user can verify before you type. Round per IRD convention (whole dollars in form fields; cents OK in working).
These are the moments where you must not proceed silently:
When you pause, say what you're waiting for and what the user should type back. Don't say "let me know when you're ready" without specifying what you need.
If the user's situation looks like only-PAYE-salary plus PIE/KiwiSaver and nothing else (no self-employment, no rentals, no overseas income, etc.), don't push them through the wizard. Tell them they almost certainly get an automatic income tax assessment from IRD and don't need an IR3 at all. Suggest they check ird.govt.nz/end-of-tax-year and look in myIR for an existing auto-assessment.
If their only adjustment is a wrong PIR on KiwiSaver, point them at the simpler myIR PIE square-up instead of a full IR3.
See "Who needs to file an IR3?" in the IR3G text (around line 122 of IR3G-2026.txt) for the full list of triggers.
If the on-screen pre-populated value differs from what the user expects (e.g. SOI shows $48,200 but the user says they earned $52,000):
worksheets-2026.md), and update Box 11A/11B/11C/11D/11E.references/, evals/, memory files, planning docs, scratch notes, or any local file.| Failure | Recovery |
|---|---|
| myIR session times out mid-flow | Tell the user; pause for re-sign-in; navigate back to the in-progress return (myIR saves progress). |
| A required IRD form attachment is needed (IR1261, IR3B, IR10, IR215, IR307, IR526, IR308, IR3K, IR3F) | Pause; tell the user which form, what it captures, and where to attach it inside the IR3 wizard. Do not fabricate the attachment content. |
Page layout doesn't match myir-navigation.md | The site has updated since this skill was written. Screenshot, describe what you see, and ask the user to point at the equivalent control. Update mental model and continue; mention to the user that the bundled nav reference may need an update. |
| Calculation produces an unexpected result (e.g. negative tax, refund larger than total income) | Stop. Re-show the inputs and re-derive the result with the user. Look for a typo or a misclassified income type. |
| User asks the skill to file someone else's return | Decline. The IR3 declaration must be signed by the taxpayer. |
| User asks the skill to leave income off the return | Decline. The skill exists to help meet tax obligations correctly, not to evade them. Politely explain and recommend a tax agent if they genuinely think a category doesn't apply. |
After successful submission:
/schedule reminder for the tax-to-pay date and provisional tax instalments.If the runtime has no browser-automation tools (e.g. plain Claude Code in a terminal, or Claude.ai with no Computer-Use), gracefully degrade:
references/worksheets-2026.md.references/IR3G-2026.txt — Full extracted text of the official IRD guide (2,553 lines). Read targeted sections only.references/IR3G-2026.pdf — Original PDF (for the user to consult directly).references/myir-navigation.md — Click-path through myIR for the IR3 wizard, plus what to do when the layout has shifted.references/worksheets-2026.md — All official 2026 calculation worksheets and rate tables. Read this before doing any tax calculation.references/form-questions.md — Question-by-question (Q1–Q42) cheat sheet: box numbers, expected pre-population, common mistakes.evals/evals.json — Test prompts.