thai-unit-economics

thai-unit-economics is a skill for Claude Code from Boom-Vitt/claude-thai-business-skills. It costs 59 tokens per session (1,561 once invoked), scanned A, original, MIT.

A Thai-language skill for calculating customer acquisition cost, customer lifetime value, and payback period using 2026 benchmarks for Thai marketing channels. CAC is the cost to gain a customer, LTV is the revenue or margin expected from one customer, and payback period is how long recovery of that cost takes.

In plain words
What is it for?
It helps estimate channel-specific CAC, LTV, and payback for Meta, TikTok, LINE Official Account, and Thai KOL campaigns using spend, conversion, order value, repeat purchases, retention, and gross margin.
Why use it?
It addresses the problem of applying United States SaaS benchmarks to Thai small businesses and e-commerce, where channels, costs, and repeat buying can differ substantially.

Skill for Claude Code

Written for Claude Code: when-to-use in frontmatter. Also seen: positional $N argument.

Part of the claude-thai-business-skills plugin — 13 skills shipped together

Good fit It helps estimate channel-specific CAC, LTV, and payback for Meta, TikTok, LINE Official Account, and Thai KOL campaigns using spend, conversion, order value, repeat purchases, retention, and gross margin.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/boom-vitt/claude-thai-business-skills/thai-unit-economics
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Boom-Vitt/claude-thai-business-skills --skill thai-unit-economics
Clone the repo
git clone --depth 1 https://github.com/Boom-Vitt/claude-thai-business-skills

Made for: Claude Code.

Or install claude-thai-business-skills, the plugin that ships this one along with the rest of its 13 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for thai-unit-economics

README.md
[![agentmods](https://agentmods.dev/badge/skills/boom-vitt/claude-thai-business-skills/thai-unit-economics/github.svg)](https://agentmods.dev/skills/boom-vitt/claude-thai-business-skills/thai-unit-economics)
Your own site
<a href="https://agentmods.dev/skills/boom-vitt/claude-thai-business-skills/thai-unit-economics"><img src="https://agentmods.dev/badge/skills/boom-vitt/claude-thai-business-skills/thai-unit-economics/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for thai-unit-economics

Your own site · 80×15
<a href="https://agentmods.dev/skills/boom-vitt/claude-thai-business-skills/thai-unit-economics"><img src="https://agentmods.dev/badge/skills/boom-vitt/claude-thai-business-skills/thai-unit-economics.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 59 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,561 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00059 $0.01561
Opus 5 $0.00030 $0.00781
Sonnet 5 $0.00012 $0.00312
Haiku 4.5 $0.00006 $0.00156

Measured 12d ago against content hash 69f5f4777c33, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

thai-unit-economics scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (unit_econ.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/thai-unit-economics/SKILL.md · 112 lines

How it starts

The opening of the file, as written. The whole thing — 112 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Thai Unit Economics — CAC/LTV/Payback

ปัญหา: ที่ปรึกษาเอา benchmark SaaS US มาใช้กับ SME ไทยที่ขายของกินของใช้ — CAC ที่ Meta จริง TH 2026 ห่างจาก US 5-10x. payback period ของ Thai e-commerce ไม่ใช่ 18 เดือนแบบ SaaS แต่เป็น 1-4 transactions.

Skill นี้ใช้ unit_econ.py ที่มี Thai 2026 benchmarks baked in: CPM Meta TH (subdivided by category), TikTok TH, LINE OA push cost at scale, และ KOL fees ตามขนาด tier.

เมื่อ Claude เห็นคำขอแบบนี้

ลง ad Meta 30k/เดือน ขายเครื่องสำอาง ROAS เท่าไหร่ถึงคุ้ม
KOC nano 5k-50k followers ราคา 1,200 บาท/โพสต์ — net new 12 คน CAC เท่าไหร่
LTV ของลูกค้าร้านชาบู ซื้อซ้ำเดือนละครั้ง average 800฿

ขั้นตอน (Claude ทำตามนี้)

  1. เก็บ input

    • Channel — Meta / TikTok / LINE OA / KOL nano / KOL mid / KOL macro
    • Spend ต่อแคมเปญหรือเดือน
    • Conversion rate ของ user (ถ้ารู้) — ถ้าไม่รู้ ใช้ default ตาม channel
    • AOV (average order value)
    • Repeat purchase: ความถี่/เดือน + retention 12-เดือน
    • Gross margin หลังหัก channel fee
  2. เรียก unit_econ.py

    from unit_econ import cac, ltv, payback_periods
    
  3. คืน output 3 ส่วน

    • CAC ต่อ channel
    • LTV = AOV × frequency × retention × gross margin
    • Payback period = CAC / (AOV × gross margin) — เป็นจำนวน transactions
  4. ข้อสังเกต

    • LTV:CAC ratio < 3 → unhealthy, ต้องลดต้นทุน acquisition หรือเพิ่ม retention
    • Payback > 4 transactions → cash-flow trap สำหรับ SME (ต้องดู thai-cashflow-survival)
    • ถ้า single-channel เกิน 60% ของ acquisition → concentration risk

ตัวอย่าง

Input

แบรนด์ครีม cost 85 ขาย 250 หน้าร้าน + Shopee Mall
ลง Meta ads 30,000/เดือน
ลูกค้าซื้อซ้ำเฉลี่ย 1.4 ครั้ง/ปี (60% หายไปหลังครั้งแรก)
ตอนนี้ ad ได้ลูกค้าใหม่ ~38 คน/เดือน

Output

CAC (Meta TH, beauty, 2026 benchmark): 30,000 / 38 = 789 บาท/คน
AOV: 250฿
Gross margin: (250 - 85 - fee 10%) / 250 = 60% → 150฿/คน
LTV: 150 × 1.4 ครั้ง = 210฿
LTV:CAC = 0.27 ← unhealthy (ควร > 3)

Payback: 789 / 150 = 5.3 transactions ← เกิน 4, ตึงมือสำหรับ SME

ข้อสังเกต:
- Meta CPM ปี 2026 หมวด beauty TH = 180-320฿/1000 impressions. CAC 789฿ อยู่ในช่วงปกติ แต่ LTV ต่ำเกินไป.
- 60% churn หลังครั้งแรกคือปัญหาใหญ่กว่า CAC — ลอง LINE OA broadcast เพื่อขาย batch 2 (cost ต่อ message ต่ำกว่า Meta 8-10x)
- ถ้าแบรนด์มี subscription / repeat tier ที่ดึง frequency เป็น 4-6 ครั้ง/ปี LTV:CAC จะกลายเป็น 1.1-1.6 ยังไม่ถึง 3 แต่ดีขึ้น

Read the full file on GitHub · 112 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 112 lines · 59 tokens per session scan A 69f5f4777c33

Subscribe to this mod's changes

thai-unit-economics is a skill published in the GitHub repository Boom-Vitt/claude-thai-business-skills (16 stars, last pushed 3mo ago), licensed MIT. It adds 59 tokens to every session and 1,561 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

thai-government-form

Use this skill for any task involving Thai government letters, official correspondence, formal petitions, authorization letters, leave requests, or ราชการ forms. Trigger whenever the user asks to: write หนังสือราชการ, draft a คำร้อง, write an authorization (หนังสือมอบอำนาจ), submit a leave form (ใบลา), petition a…

Boom-Vitt/claude-thai-skills · 155 tokens

thai-resume

Use this skill for any task involving Thai-language or bilingual (TH/EN) resumes and CVs. Trigger whenever the user asks to: write a Thai resume, draft a CV in Thai, build a bilingual Thai-English resume, format an application for a Thai employer, choose between พ.ศ. and ค.ศ. dates in a CV, or tailor a resume for…

Boom-Vitt/claude-thai-skills · 146 tokens

thai-text-processing

Use this skill for any task involving Thai text in code — word segmentation, Unicode normalization, sorting/collation, search indexing, romanization, truncation, or database/Elasticsearch configuration for Thai. Trigger whenever the user asks to: tokenize / segment Thai (no spaces between words), normalize Thai text…

Boom-Vitt/claude-thai-skills · 193 tokens

thai-address

Use this skill for any task involving Thai postal address parsing, validation, formatting, or province/postcode lookup. Trigger whenever the user asks to: parse a Thai address into fields, validate a 5-digit Thai postcode, look up a province from its postcode, or format an address for a shipping label. Also trigger…

Boom-Vitt/claude-thai-skills · 127 tokens

thai-your-skill-name

Use this skill for any task involving REPLACE-WITH-THE-THAI-CONTEXT (e.g. parsing some Thai data format, drafting a specific kind of Thai document, validating a Thai-specific identifier). Trigger whenever the user asks to PRIMARY-TASK in Thai or English, or when the prompt contains REPLACE-WITH-THAI-TRIGGER-PHRASES…

Boom-Vitt/claude-thai-skills · 140 tokens

thai-festival-card

Use this skill for any task involving Thai festival greetings, condolences, wedding cards, royal-occasion messages, or seasonal cards. Trigger whenever the user asks to: write a Songkran/Loy Krathong/New Year greeting, draft a condolence message, write a wedding card, compose a Mother's/Father's Day message, write a…

Boom-Vitt/claude-thai-skills · 170 tokens