The problem
An owner of a หจก. or บจก. pays a freelancer, rents an office or crosses the VAT threshold and needs to know the rate, the form and the deadline today, while the accountant answers next week. A chat assistant gives a confident number from memory, and Thai rates change: VAT 7% and the e-WHT 1% rate are both temporary measures with end dates.
Architecture
- Channel
- Question in Thai or English
- Claude Code or a chat project
- Agent
- Asks the facts first
- Answers with the maths
- Tags [V] [S] [U], says UNKNOWN
- Tools
- Open handbook, 10 chapters
- Sources page with RD links
- Human
- Accountant confirms first
Where the data stays: The handbook is public and holds no private data; your question stays in your own assistant, so keep tax IDs, bank accounts and names out of it.
Design flow
- Owner asks the tax question
- Skill asks for the missing facts
- Answer, maths and tagged sources
- Not in the handbook: UNKNOWN, ask the accountantOnly sometimes
- Accountant confirms, then the owner files or paysHuman checkpoint
Setup
Total time: 1 h 55 min our estimate
- 10 min
The README's install block is three commands: git clone, mkdir -p ~/.claude/skills, cp -r of the skill folder. Run git pull and copy again to update.
Done when: The folder skills/thai-accounting-tax-law sits in ~/.claude/skills (or in .claude/skills of one project), and a new session loads it when you ask 'use the thai-accounting-tax-law skill'.
- 15 min
Done when: The 25,000 baht freelancer question in Thai and in English returns the answer first, then the maths, then [V] [S] [U] tags with links, then the accountant reminder.
- 20 min
Done when: You opened the Revenue Department or Royal Gazette link the skill cites for VAT 7% and e-WHT 1%, and the end dates match the skill's table.
- 1 h
Done when: Ten questions the business actually had were answered by the skill and compared with what the accountant did; every difference is written down and the accountant said which kinds of question staff may settle from the skill.
- 10 min
Done when: Nothing is filed, paid or booked from a skill answer alone; the answer and its sources go to the accountant, who confirms in writing.
Ticks are saved on this browser.
Starter prompt
Written from how the use case works and its sources. Replace the parts in square brackets.
Use the thai-accounting-tax-law skill. We are a [registered partnership or limited company], [VAT registered or not], paying a [Thai individual, Thai company or foreign company] [amount] THB for [service, rent, advertising or transport] on [date], [through e-Withholding Tax or by ordinary transfer]. Tell me the withholding rate, the form and the filing deadline. Show the base, the rate and the result line by line, computed on the pre VAT amount. Tag every rule [V], [S] or [U] with its source link, flag any time limited measure and its end date, and write UNKNOWN where the handbook does not cover it. This is a draft only; our accountant confirms before we file or pay.
Risks and data
Data
The handbook is public; the risk is on your side of the chat. Keep tax IDs, bank account numbers, invoices with customer names and payroll out of the question, and if you upload the references to a chat project, check that project's data settings before adding anything of your own.
How it goes wrong
Thai rates expire: the skill's own facts were verified on 15 November 2026 and it tells the assistant to search for an extension when a date is close, but a rate quoted after an end date, a rule the handbook marks [U], or a question outside its scope (personal income tax is not covered yet) is where a wrong filing starts. Open the cited link for any rule you act on, and never let a skill answer replace the accountant's confirmation.
How the agent works
It starts
The owner installs the open source skill thai-accounting-tax-law: in Claude Code by copying its folder into the skills directory, in the Claude apps as a custom skill zip or as project knowledge, in ChatGPT or Gemini by uploading the reference chapters as knowledge and pasting the skill's working rules as instructions.
The agent works
Then they ask in Thai or English, for example how much withholding tax to deduct on a 25,000 baht design job, which form and by when. E. , whether payment goes through e-Withholding Tax), answer with the number, form and deadline, then show the base, rate and result line by line with withholding computed on the pre VAT amount, and tag every rule [V] official source, [S] secondary source or [U] unconfirmed, with the link from its sources page. It checks the time limited measures (VAT 7% until 30 September 2027, e-WHT 1% until 31 December 2027, the online filing extension of 8 days for returns due up to 31 January 2027) and says UNKNOWN instead of filling a gap from memory.
The result
It drafts calculations, documents and checklists but does not file, pay, sign or book anything, and ends with the reminder that a licensed accountant confirms whatever will be filed or paid; that confirmation is the human checkpoint.
Worked example
thai-accounting-tax-law is an MIT licensed repository on GitHub by KunanonJ, released as v1.0.0 on 15 November 2026 with its facts last verified the same day. It holds a ten chapter handbook in English and Thai (entities and the หจก. to บจก. conversion, corporate income tax, withholding tax and e-WHT, VAT and ภ.พ.30/36, accounting and DBD filings, a filing calendar, PDPA and other laws, a FlowAccount how to, real life scenarios) plus the agent skill with its working rules. Its sources page links Revenue Department rulings and announcements, the Ministerial Regulation No. 402 on e-WHT 1%, PwC, Deloitte and Forvis Mazars summaries and Thai press; its changelog records the verified measures (VAT 7% until 30 September 2027 under Royal Decree No. 807, e-WHT 1% from 1 January 2026 to 31 December 2027) and lists known gaps tagged [U], such as ภ.พ.36 for non VAT registered buyers of foreign services and ภ.ง.ด.54 on foreign SaaS. The repository names no business using it and claims no accuracy figure; treat it as a build to copy, and keep the accountant's confirmation.
The repository's two minute install is written for Claude Code (copy the skill folder into ~/.claude/skills). Its how to use guide also covers the Claude apps (a custom skill zip, or a project with the reference files as knowledge), ChatGPT and Gemini (upload the references as knowledge, paste the working rules and answer format as instructions) and coding agents such as Codex and Cursor through an instruction file. Nothing in the flow depends on one vendor's feature; what differs is how the rules are loaded.
Join the Agent OS Club
Get hours back with a team of AI agents for every department, set up step by step for the tools you use, with a person answering your questions. Founding member price: USD 14.95 a month or USD 150 a year, locked for as long as you stay. Cancel any time.
Founding offer, ends 31 December 2026 or at member 100
Join the Agent OS ClubBuilding this for an organization? Learn more at theagentiv.com
Sources
- https://github.com/KunanonJ/thai-accounting-tax-law
- https://raw.githubusercontent.com/KunanonJ/thai-accounting-tax-law/main/README.md
- https://raw.githubusercontent.com/KunanonJ/thai-accounting-tax-law/main/skills/thai-accounting-tax-law/SKILL.md
- https://raw.githubusercontent.com/KunanonJ/thai-accounting-tax-law/main/docs/how-to-use.md
- https://raw.githubusercontent.com/KunanonJ/thai-accounting-tax-law/main/CHANGELOG.md
- https://raw.githubusercontent.com/KunanonJ/thai-accounting-tax-law/main/skills/thai-accounting-tax-law/references/sources.md
Published: 2026-11-28