The AgentivUse cases

Marketing · An afternoon · Thailand

Pick, price and script the next affiliate push

A Claude Code skill for Thai affiliate creators on TikTok Shop, Shopee and Lazada that scores products, runs the commission and ad break even math in code, writes the short video and LIVE scripts, lints every claim and reads the sales export

The problem

A Thai affiliate creator juggles TikTok Shop, Shopee, Lazada and CPA networks and decides every day what to push, whether an ad pays and whether a caption will get flagged. The math lives in a dozen tabs, and the claim rules of อย. and สคบ. are easy to break in a 30 second video.

Architecture

  1. Channel
    • Thai request in Claude Code
    • Figures pasted from the app
  2. Agent
    • aff-skill routes to a module
    • Python tool does the math
  3. Tools
    • Marketplace export CSV
    • Claim lint rules
  4. Human
    • Creator picks and posts

Where the data stays: Everything runs on the creator's machine in Claude Code; the model sees the figures pasted and the export, and nothing is posted or fetched from a marketplace.

Design flow

  1. Creator pastes product figures from the app
  2. Skill scores and ranks in code
  3. Script written, then linted for claims
  4. High severity claim: rewrite and lint againOnly sometimes
  5. Creator decides what to push and posts itHuman checkpoint

Setup

Total time: 2 h 25 min our estimate

  1. 15 min

    Done when: The repo is cloned and linked into your Claude skills folder, and /aff-skill answers in a new session.

  2. 30 min

    Done when: reference/platforms.md carries your commission rates, thresholds and attribution windows with the date you checked them.

  3. 30 min

    Done when: The ranked table shows a score, a verdict and a one line reason for each, and you agree with the order.

  4. 20 min

    Done when: You have net per order, the views needed for your target, and the break even CPC with a kill rule, each assumption labelled.

  5. 30 min

    Done when: A 30 second script with a disclosure line passes lint with no high severity finding.

  6. 20 min

    Done when: The report lists each sub_id with SCALE, FIX or CUT, after buyer columns were removed from the file.

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.

Use /aff-skill. I am a Thai affiliate creator on [TikTok Shop, Shopee or Lazada]. Score these products and tell me which to push: [for each: name, price in baht, commission percent and cap, sold count, rating and review count, shop rating, my 1 to 5 for demand, competition, demo, return risk and trend]. My CTR is [x] percent and CVR [y] percent if known; otherwise use your defaults and label them as assumptions. Then write a 30 second short video script for the top pick marked do it, with a disclosure line, and run lint on it.

Risks and data

Data

Marketplace exports can hold buyer names and addresses; strip them before the report step. The skill runs locally, but anything pasted goes to the model, so keep bank details and payout statements out.

How it goes wrong

Commission rates and thresholds in the reference file go stale, and the default CTR and CVR are assumptions, so a verdict is only as good as the numbers pasted. The lint reads text only: images, footage and a presenter's spoken claim are not checked, and the author calls it a practical check, not legal advice.

Data protection. This use case touches personal data, so check the rules where you operate (for example GDPR, PDPA). Marketplace exports can carry buyer names and addresses. Remove buyer columns before the report step and keep only product, sub_id, orders and sales; the creator's own earnings data stays on their machine.

How the agent works

  1. It starts

    The creator installs the public aff-skill in Claude Code and types the task in Thai, for example a 30 second script for a mop basket pin.

  2. The agent works

    The skill routes the request to one of ten modules: product picking, CPA offers, paid traffic, short video, LIVE, written content, links and tracking, analytics, growth plan and compliance. For product picks the creator pastes price, commission rate and cap, sold count, rating and review count from the affiliate app (marketplace pages block automated fetching), scores demand, competition, demo ability, return risk and trend from 1 to 5, and gets a ranked table with a score out of 100 and a verdict, ทำเลย, ทดสอบ or ข้าม, ranked by commission per order first. Every number comes from the bundled Python tool and the command is shown: earn models net per order and the income target, ads gives profit, ROAS, break even CPC and CPM and a kill rule, report reads a Shopee, TikTok or Lazada export and marks each product or sub_id SCALE, FIX or CUT. Every selling deliverable passes the lint check for Thai ad claims and carries a disclosure line; a high severity finding forces a rewrite.

  3. The result

    The creator decides what to push and when to kill an ad; volatile facts such as commission rates are marked check in dashboard rather than stated.

Worked example

The skill is a public MIT project by GitHub user dongcs52 with a Thai and an English README and no stars yet; no creator publishes results with it, so the example is the README's own: an earn run for a 399 baht product with tiered rates, 20,000 views, 1 percent CTR and 4 percent CVR against a 30,000 baht target, and an ads run for a 1,000 baht spend at 2 baht CPC. Its scoring guide ranks 8 percent of 1,290 baht above 20 percent of 149 baht, excludes vapes and gambling outright, caps compliance heavy categories such as supplements regardless of score, and names อย., สคบ., ธปท. and คปภ. as the rule makers behind the lint.

The skill is written for Claude Code and runs its math in a bundled Python script, so scores and break even figures are code, not model arithmetic. Another assistant can draft a script from the same brief but loses the scoring, the report reader and the claim lint.

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-06

Related use cases

The launch report arrives before you ask

A dot that knows a feature shipped yesterday, pulls the first day's numbers from BigQuery and brings the launch report to the product lead before anyone asks for it

MarketingEffort: An afternoon
ChatGPTBigQuerySlack

The morning after a launch, the people who shipped the feature want to know how it did, and the person who can query the warehouse is busy. The report comes days later, in a hurry, and by then the next sprint has started on guesswork.

One pitch deck, tailored per partner

Partnership pitch slides tailored to each retailer, foundation or food bank by mapping your own reach data to their stores and ZIP codes in ChatGPT, the way a benefits nonprofit that takes about two partner meetings a week prepares them in half the time

MarketingEffort: An afternoon
ChatGPTAlso works with:ClaudeGemini

A small team pitching partners every week sends the same deck to everyone, because tailoring it to each partner's footprint means pulling your own numbers by area and matching them to their locations by hand. Partners who care about a specific geography (retailers, regional foundations, local food banks) hear a generic story and the conversation stays general.

Audience research in 15 minutes, not days

Audience research for a campaign run by the Deep Research agent in Gemini Enterprise over large blocks of forum and focus group conversations, returning micro behaviours and cultural trends in 15 minutes instead of 1 to 2 days of manual reading, the way a UK marketing agency briefs its creative team

MarketingEffort: An afternoon
Gemini EnterpriseAlso works with:ChatGPTClaude

Before a campaign, somebody has to find out how the audience actually talks: what they complain about, what they call things, what they are quietly changing. In a small agency or marketing team that means a person skimming forums and focus group notes for a day or two, and the insight is only as deep as that person's patience. Most campaigns skip it and brief from assumptions.