The AgentivUse cases

IT · An afternoon · Thailand

A PDPA notice that is not a translated GDPR

A Claude Code skill that drafts a Thai shop's PDPA privacy notice and cookie consent banner from the shop's own data list, anchored to the Thai act instead of a translated GDPR template, for a lawyer to check before it goes live

Claude CodeAlso works withClaude

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

  1. Channel
    • Shop's data list in the prompt
  2. Agent
    • Claude Code, thai-pdpa skill
  3. Tools
    • SKILL.md drafting rules
    • Banner HTML template
  4. 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

  1. Install the thai-pdpa skill
  2. Paste the shop's real data list
  3. Notice, banner and open questions drafted
  4. Lawyer reviews the draft and the questionsHuman checkpoint
  5. Notice and banner go live on the site

Setup

Total time: 2 h 40 min our estimate

  1. 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.

  2. 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.

  3. 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.

  4. 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.

  5. 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.

Download the kit (zip)

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.

Data protection. This use case touches personal data, so check the rules where you operate (for example GDPR, PDPA). The notice itself is the PDPA deliverable. Paste only your data categories and tool names into the prompt, never a customer record, and have a Thai lawyer check the draft: the skill's author says the law moves fast and the skill has not been adversarially tested.

How the agent works

  1. It starts

    The owner installs the thai-pdpa skill from the open source claude-thai-skills plugin into Claude Code.

  2. 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).

  3. 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 Club

Building this for an organization? Learn more at theagentiv.com

Sources

Published: 2026-11-08

Related use cases

From a one star review to a shipped fix

A Codex agent that turns a customer's complaint about the app into a prepared fix, which the product lead approves before it is submitted, on foundations the engineers set: small documented packages, the APIs, security and the development workflow

ITEffort: About a week
ChatGPTAlso works with:Claude Code

A small app team hears about a missing feature in a store review and it goes on a backlog, because every engineer is busy with the roadmap and a release happens a few times a year. The customer who complained never hears back, and the review stays at one star for everyone else to read.

Portals with no API, worked by an agent

An agent that signs in to legacy vendor portals that have no API and completes support tasks by clicking through them, within actions the technician approved in advance

ITEffort: A project
OpenAIAlso works with:Claude

Every IT provider for small businesses lives in vendor portals that were never built to be automated: a licensing console here, a firewall admin page there, a backup dashboard with no API. A technician who could be solving a real problem spends the afternoon logging in, clicking through the same screens and copying the same values.

Ideas arrive as decisions, not chats

An intake agent that interviews a staff member about an idea or request and turns it into a decision ready brief with the value, the design and the effort, before the owner picks what gets built

ITEffort: About a week
Copilot StudioMicrosoft 365 CopilotAlso works with:ClaudeChatGPTGemini

In a small company, ideas for automation and new tools arrive as hallway remarks and half written chat messages. The owner either drops them or spends hours scoping each one, and months pass between 'could we' and a yes or no, while the person who had the idea hears nothing.