lk-ramis-tax-skills
Claude skills that help Sri Lankan taxpayers fill in the
RAMIS individual income tax return (https://eservices.ird.gov.lk) from the
documents banks, brokers and the CDS already email them.
Start with sl-ramis-getting-started: it asks what you want to file, tells
you which documents to gather (in the IRD's own terms), and asks where they are (a folder, Google Drive, Gmail, iCloud/Apple Mail,
Outlook, bank or broker portals), writes a short filing plan, and runs the
filing skills below in turn.
| Skill | From | To (RAMIS) |
|---|
sl-ramis-getting-started | Your answers: what to file, where the documents are | A filing plan; hands over to the skills below |
sl-wht-ramis | Bank AIT/WHT certificates for savings and FD interest | Schedule 7, Interest Income – A |
sl-cse-stocks-ramis | Any broker's trade confirmations/contract notes and 31 March valuation, plus CDS dividend e-warrants and eStatements | Statement of assets & liabilities: iii. Shares/stocks/securities (with net dividends) and Part 2 B. Disposal of assets including shares |
sl-bank-liabilities-ramis | Balance confirmation letters (any bank; often scanned), loan letters, property papers | Statement of assets & liabilities: ii. Bank balances, D. Liabilities, A. Immovable properties, Part 2 A. Assets acquired |
sl-ramis-iit-finalize | Your filled return (read-only) and the year's tax folder | A section-by-section summary with checks, a supporting-documents checklist (found / elsewhere / missing) and a final/ folder |
Every stage stops and waits for you. The skills never sign in to anything,
never type your password into a website, and never press Save, Submit or Next
in RAMIS. You review the rows and press Save draft yourself.
Not tax advice. These are data-entry helpers. Check every figure against
your documents and with your accountant or the IRD before you file.
Unofficial. This is an independent, community project. It is not made,
endorsed or supported by the Inland Revenue Department (IRD) of Sri Lanka,
the Colombo Stock Exchange, the CDS, or any bank or broker named in it. "RAMIS"
refers to the IRD's online tax system, which these skills help you fill in.
What this plugin does on your machine
So you know exactly what runs and where your data goes:
- No servers, no telemetry, no network calls of its own. The plugin is skills
(instructions for Claude) plus small Python, shell and JavaScript helpers in
skills/*/scripts/. None of them sends data anywhere.
- Reads your documents locally. The Python scripts read PDFs/text you point
them at (
pdftotext/pypdf), and write JSON, .xlsx and Markdown files into
a folder you choose (by default ~/Documents/Tax-Sri-Lanka/YA-<year>/).
unlock_pdfs.sh decrypts copies of password-protected PDFs with qpdf; the
password comes from an environment variable or a hidden prompt and is never
stored.
- Uses only the tools you have connected. To collect documents, Claude may
use mail or Drive connectors (e.g. Gmail, Apple Mail MCP) that you installed,
and asks before saving any attachment.
- Fills RAMIS only in your own browser, only when you say so. The
*.js
helpers are pasted into your already signed-in RAMIS tab (via a browser tool
such as Claude in Chrome). They set form fields and press only RAMIS's own
Add Row / Add buttons, read rows back to check them, and never press Save,
Submit, Next or Remove. ramis_snapshot.js (finalize) only reads the page,
masks long numbers, and saves a JSON file only if you agree.
- Never signs in, never types passwords into websites, never uploads
documents to RAMIS. You stay in control of saving and submitting.
sl-wht-ramis: interest certificates → Schedule 7
- Scope. Confirms the year of assessment, where your certificates are
(any source), whether they're password-protected, what to exclude, and which
date to use as "Date of payment".
- Find. Searches your mail or lists a folder/Drive, shows what it found and
what it skipped, and asks before downloading anything.
- Unlock and extract. Unlocks copies of the PDFs and reads them, checking
each certificate's printed totals and the AIT rate.
- Table. Builds an .xlsx (plus CSV) with these columns:
Source/type | TIN of the Withholding Agent | Name of the Withholding Agent | AIT/WHT certificate No. | Amount received (Rs.) | Date of payment | AIT/ WHT deducted by the withholding agent (Rs.)
- RAMIS (optional). With your go-ahead and your RAMIS tab open, adds the
rows through the form's own Add button, checks each one, and hands back
to you to review and press Save draft.