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.
npx skills add ntaffzii/Skill-Agents --skill thai-invoicegit clone --depth 1 https://github.com/ntaffzii/Skill-AgentsWrote 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.
[](https://agentmods.dev/skills/ntaffzii/skill-agents/thai-invoice)<a href="https://agentmods.dev/skills/ntaffzii/skill-agents/thai-invoice"><img src="https://agentmods.dev/badge/skills/ntaffzii/skill-agents/thai-invoice/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.
<a href="https://agentmods.dev/skills/ntaffzii/skill-agents/thai-invoice"><img src="https://agentmods.dev/badge/skills/ntaffzii/skill-agents/thai-invoice.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00183 | $0.01975 |
| Opus 5.5 | $0.00073 | $0.00790 |
| Sonnet 5.5 | $0.00037 | $0.00395 |
| Haiku 4.5 | $0.00018 | $0.00198 |
Grade A, and why
thai-invoice 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 1mo ago.
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.
How it starts
The opening of the file, as written. The whole thing — 107 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Thai Tax Documents (ใบกำกับภาษี / ใบเสร็จ / ใบเสนอราคา / WHT)
Overview
Thai tax invoices, quotations, and WHT certificates follow specific structural rules (Revenue Code §86/4) and specific VAT/WHT math. A model without this skill tends to skip the mandatory VAT line, guess a WHT rate, or produce Thai-English hybrid documents that omit the required Thai phrase. This skill supplies the required fields, the current common VAT/WHT rates, and a Decimal-based calculator so totals don't drift.
Not legal or tax advice. This skill drafts documents and does arithmetic; it does not replace a licensed accountant or the Revenue Department for a real filing.
When to use
- ออกใบกำกับภาษีให้ลูกค้านิติบุคคลหรือบุคคลธรรมดา
- คำนวณ VAT 7% (แยกจากราคา หรือถอดจากราคารวม)
- คำนวณภาษีหัก ณ ที่จ่าย และออกหนังสือรับรอง (ภ.ง.ด.3/53)
- เขียนใบเสนอราคา / ใบลดหนี้ / ใบเพิ่มหนี้
- Drafting a bilingual Thai-English invoice for a foreign buyer
When NOT to use
- The task needs the monthly return (ภ.พ.30, ภ.ง.ด.1/3/53) aggregated across many transactions — this skill produces the source document, not the filing; point the user to their bookkeeping system
- The task is generic (non-Thai) invoicing with no VAT/WHT/Revenue Code requirement — plain markdown-report is enough
Required fields — full tax invoice (Revenue Code §86/4)
A full ใบกำกับภาษี must contain all seven elements (quote the Thai labels exactly):
- คำว่า "ใบกำกับภาษี" ในที่ที่เห็นได้ชัดเจน
- ชื่อ ที่อยู่ และเลขประจำตัวผู้เสียภาษีอากรของผู้ออก
- ชื่อ ที่อยู่ ของผู้ซื้อ (+ เลขประจำตัวผู้เสียภาษีถ้ามี)
- หมายเลขลำดับและเล่ม (ถ้ามี)
- ชื่อ ชนิด ประเภท ปริมาณ และมูลค่าของสินค้า/บริการ
- จำนวนภาษีมูลค่าเพิ่ม แยกออกจากมูลค่าสินค้า/บริการให้ชัดเจน
- วัน เดือน ปี ที่ออกใบกำกับภาษี — use thai-date-format for the formal date string
A short-form (อย่างย่อ) invoice may omit buyer address/TIN when issued at point of sale by an approved retailer.
VAT
- Reduced rate currently applied: 7% (statutory rate under the Revenue Code is 10%; the 7% rate is set by a renewable Royal Decree — do not treat 7% as permanent, see Known limitations)
- VAT-exempt items (Sec 81): basic unprocessed agricultural products, education, healthcare, books, public transport — do not add VAT and do not issue ใบกำกับภาษี for these; use ใบส่งของ/บิลเงินสด instead
- Only a VAT-registered seller (ผู้ประกอบการจดทะเบียน VAT) may issue ใบกำกับภาษี
What ships with it
4 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.
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.
- 1mo ago First seen · 107 lines · 183 tokens per session scan A f7e1bf87bedf
thai-invoice is a skill published in the GitHub repository ntaffzii/Skill-Agents (4 stars, last pushed 22d ago), licensed MIT. It adds 183 tokens to every session and 1,975 once invoked, about $0.0007 per session on Opus 5.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-31.
Other skills, from other repositories
expense-review-policy
Review invoices and contracts against accounts-payable policy before human approval.
bionic-safety-net
Unified survival infrastructure: health, finance, legal safety, circuit breakers, and structural protection against all ruin classes. The last line of defense.
kyc-escalation
Write an internal KYC/AML escalation memo: a factual time-stamped trigger description, customer-profile vs activity mismatch analysis, red-flag taxonomy mapping, outstanding information, and a recommendation with rationale. Use when asked to escalate a KYC alert, document an AML concern, write up unusual-activity…
tax-lens
US tax mechanics for a position or portfolio — short- vs. long-term treatment, wash-sale window check, qualified-dividend holding-period test, lot selection (specific-ID vs. FIFO), tax-loss-harvesting pairs, account placement, estimated annual tax drag — plus a --non-us module (W-8BEN, dividend withholding and treaty…
insurance-expert
Expert-level insurance systems, underwriting, claims processing, actuarial analysis, risk assessment, and insurtech solutions. Use when the user mentions underwriting, claims, actuarial, risk, or insurtech, or when the task involves Insurance Systems, Insurance Types, Standards and Regulations, or Claims Processing.
banking-expert
Expert-level banking systems, core banking, regulations, and banking technology. Use when the user mentions finance, core banking, regulations, or payments, or when the task involves Banking Systems or Key Technologies.