The problem
Most Thai shop websites run a privacy notice copied from a GDPR template: it cites articles of a European law, hides the reject button and says that browsing counts as consent, all of which the Thai PDPA (พ.ร.บ. คุ้มครองข้อมูลส่วนบุคคล พ.ศ. 2562) treats as failures. The owner knows the page is wrong but a lawyer's draft from scratch is a line item a small shop keeps postponing.
Architecture
- Channel
- Shop's data list in the prompt
- Agent
- Claude Code, thai-pdpa skill
- Tools
- SKILL.md drafting rules
- Banner HTML template
- Human
- Lawyer reviews before publish
Where the data stays: Only the shop's data categories and tool names go into the prompt; the draft is a file on the owner's machine until the lawyer has reviewed it.
Design flow
- Install the thai-pdpa skill
- Paste the shop's real data list
- Notice, banner and open questions drafted
- Lawyer reviews the draft and the questionsHuman checkpoint
- Notice and banner go live on the site
Setup
Total time: 2 h 40 min our estimate
- 45 min
Done when: One page names each data item collected at checkout and in chat, every tool that receives it, where each is hosted and how long you keep it.
- 10 min
Done when: After adding the Boom-Vitt/claude-thai-skills marketplace and installing thai-pdpa, a PDPA request in Claude Code shows the skill loading.
- 40 min
Done when: You have a Thai first notice with all ten section 23 elements, the banner HTML with equal reject all and accept all buttons, and the list of open questions.
- 20 min
Done when: The lawyer has the draft, the data list and the open questions in one email, and a date for the review.
- 45 min
Done when: The reviewed notice is live, the banner shows nothing pre-checked, and a cookie preferences link in the footer reopens it.
Ticks are saved on this browser.
Starter prompt
Written from how the use case works and its sources. Replace the parts in square brackets.
Using the thai-pdpa skill, draft a PDPA privacy notice and a cookie consent banner for [shop name], a Thai online shop at [website]. Thai is the primary language, English second. Our data list: at checkout we collect [name, phone, address, email, order history]; we also use [LINE OA, Google Analytics, Meta Pixel, a payment gateway, a cloud host] and these are hosted in [countries]. Our controller is [company name and address]; we [do or do not] have a DPO. Itemise the purpose and lawful basis for each data item, state retention periods as [our rule or "to confirm"], list every recipient and cross border transfer with its destination country and the section 28 or 29 route, include all eight data subject rights and how to exercise them, and the right to complain to the PDPC. For the banner follow the template: four categories with only necessary on, and equal buttons for reject all and accept all. Finish with a list of open questions for our lawyer; we will not publish before that review.
Risks and data
Data
The prompt carries data categories and tool names only, never a customer record. The draft stays a local file until the lawyer has reviewed it.
How it goes wrong
The skill cites the PDPC notifications its author last checked and he says the law moves fast; a section number or a retention rule can be out of date. The lawyer's review is the checkpoint, and a notice published without it is the failure.
How the agent works
It starts
The owner installs the thai-pdpa skill from the open source claude-thai-skills plugin into Claude Code.
The agent works
The skill triggers on requests such as "เขียน privacy policy สำหรับเว็บขายของ" and carries the drafting rules: the ten elements a notice must state under section 23 (itemised purposes, lawful basis, data categories, retention, recipients, cross border transfers with destination countries, the eight data subject rights, controller and DPO contact, the right to complain to the PDPC, consequences of refusing), the consent banner rules from section 19 (no pre-checked boxes, accept all and reject all at equal weight, granular categories, withdrawal as easy as giving, no consent by continuing), and the common mistakes of translated templates. The owner pastes the shop's real data list: what is collected at checkout, which tools receive it (payment gateway, LINE, analytics, ad pixels) and where they are hosted. Claude Code drafts the Thai notice first with English second, a consent banner with the HTML mockup from the skill's template, and a list of open questions (retention periods, whether a DPO is needed, which transfers need a section 29 safeguard).
The result
The lawyer reviews the draft and the open questions; nothing goes on the site before that review.
Worked example
claude-thai-skills by GitHub user Boom-Vitt (MIT licence) bundles 12 Claude Code skills for Thai work; thai-pdpa is the legal one. Its SKILL.md lists the section 23 elements, the section 19 banner rules, the 72 hour breach notice to the PDPC under section 37, the DPO triggers of section 41, the section 28 and 29 transfer routes (noting the PDPC had published no adequacy list at the time of writing) and a table of common mistakes such as citing GDPR articles or an English only notice on a Thai site. Its consent banner template fixes the four cookie categories (necessary on and locked, analytics, marketing and personalisation off) and the three equal buttons ปฏิเสธทั้งหมด, ตั้งค่า, ยอมรับทั้งหมด. The author says in the README that thai-pdpa is the skill he is least confident in because the law moves fast, that the eight prose skills (this one included) have not been through adversarial testing, and asks for a lawyer to review it. Treat the output as a first draft for your lawyer.
The skill is a Claude Code plugin (also copied by hand into ~/.claude/skills), where it loads itself when a PDPA task appears. The same SKILL.md and its two templates are plain markdown, so a Claude Project with those files as knowledge drafts the same notice; you lose the automatic trigger, nothing else.
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://raw.githubusercontent.com/Boom-Vitt/claude-thai-skills/main/skills/thai-pdpa/SKILL.md
- https://raw.githubusercontent.com/Boom-Vitt/claude-thai-skills/main/skills/thai-pdpa/templates/consent-banner.md
- https://raw.githubusercontent.com/Boom-Vitt/claude-thai-skills/main/SKILLS.md
- https://raw.githubusercontent.com/Boom-Vitt/claude-thai-skills/main/README.md
- https://github.com/Boom-Vitt/claude-thai-skills
Published: 2026-11-08