thai-date-format

thai-date-format is a skill for Claude Code, Codex from ntaffzii/Skill-Agents. It costs 147 tokens per session (1,282 once invoked), scanned A, original, MIT.

A date and number formatter for Thai contexts. It converts between the Buddhist Era used in Thailand and the Common Era used in most international documents, and can display Thai numerals.

In plain words
What is it for?
Use it for Thai government, business, invoice, résumé, or casual dates; Buddhist Era/Common Era conversion; and rendering numbers with Thai digits. It does not handle Thai lunar-calendar dates.
Why use it?
Thai documents may use a year 543 greater than the corresponding international year, so writing or converting dates by guesswork can produce incorrect forms or letters.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it for Thai government, business, invoice, résumé, or casual dates; Buddhist Era/Common Era conversion; and rendering numbers with Thai digits. It does not handle Thai lunar-calendar dates.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ntaffzii/skill-agents/thai-date-format
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 ntaffzii/Skill-Agents --skill thai-date-format
Clone the repo
git clone --depth 1 https://github.com/ntaffzii/Skill-Agents

Made for: Claude Code, Codex.

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-date-format

README.md
[![agentmods](https://agentmods.dev/badge/skills/ntaffzii/skill-agents/thai-date-format.svg)](https://agentmods.dev/skills/ntaffzii/skill-agents/thai-date-format)
Your own site
<a href="https://agentmods.dev/skills/ntaffzii/skill-agents/thai-date-format"><img src="https://agentmods.dev/badge/skills/ntaffzii/skill-agents/thai-date-format.svg" alt="Measured on agentmods" height="20"></a>
Per session 147 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,282 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.00147 $0.01282
Opus 5 $0.00073 $0.00641
Sonnet 5 $0.00029 $0.00256
Haiku 4.5 $0.00015 $0.00128

Measured 7d ago against content hash 17a9ddf65fb6, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

thai-date-format 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 7d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (convert.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/thai-date-format/SKILL.md · 66 lines

How it starts

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

Thai Date Format (พ.ศ. ↔ ค.ศ.)

Overview

Thai documents, forms, and casual writing use the Buddhist Era (พุทธศักราช, พ.ศ. = ค.ศ. + 543), not the Common Era Claude defaults to. A model without this skill routinely writes 2025 in a Thai government letter (should be ๒๕๖๘ or 2568), or converts a Thai year by guessing instead of the fixed +543 offset. This skill gives the exact offset, the three common display styles, and Thai numeral rendering.

When to use

  • แปลงปี 2568 (พ.ศ.) เป็น ค.ศ., or the reverse
  • เขียนวันที่แบบราชการ / business / casual ในเอกสารไทย
  • Formatting a date for a Thai form, invoice, resume, or letter (often needed together with thai-invoice or thai-government-form)
  • Rendering a number using Thai digit glyphs (๐-๙), e.g. for a formal document or engraving
  • Parsing a Thai-formatted date string back into a usable date value

When NOT to use

  • The task is pure English/ISO date handling with no Thai era or numeral involved
  • The task needs Thai lunar/astrological calendar dates (Thai solar calendar with BE offset is a different system from the lunar calendar used for Buddhist holy days) — flag this distinction to the user rather than guessing a lunar date

Core knowledge

  • Offset: BE = CE + 543. Example: 2025 CE = 2568 BE. This is a fixed arithmetic offset for the modern calendar.

  • Historical caveat: Thailand moved New Year's Day from 1 April to 1 January starting BE 2484 (1 Jan 1941 CE). For any date on or after 1 Jan 1941, the fixed +543 offset holds for the whole year. For dates before that, Jan-Mar fell in the previous BE year under the old calendar — this skill does not model that historical edge case; flag it if a user asks about a pre-1941 date.

  • Display styles:

    Style Example Where used
    Formal (ราชการ) 16 พฤษภาคม 2568 Government letters, official documents, formal invitations
    Business 16 พ.ค. 68 Invoices, receipts, business correspondence
    Casual 16/5/68 Chat, informal notes, UI date pickers
    ISO/CE 2025-05-16 Machine interchange, APIs, databases — never show this to a Thai reader as "the date" without conversion

Read the full file on GitHub · 66 lines

Files

What ships with it

1 file 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. 7d ago First seen · 66 lines · 147 tokens per session scan A 17a9ddf65fb6

Subscribe to this mod's changes

thai-date-format is a skill published in the GitHub repository ntaffzii/Skill-Agents (4 stars, last pushed 5d ago), licensed MIT. It adds 147 tokens to every session and 1,282 once invoked, about $0.0007 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-31.

Related

Other skills, from other repositories

auto-research

Research uncertain questions with an explicit, user-approved web search or ChatGPT consultation, then present options and wait for implementation approval.

sickn33/agentic-awesome-skills · 29 tokens

harden

Improve interface resilience through better error handling, i18n support, text overflow handling, and edge case management. Makes interfaces robust and production-ready. Use when the user asks to harden, make production-ready, handle edge cases, add error states, or fix overflow and i18n issues.

fengshao1227/ccg-workflow · 62 tokens

pake

Package any website or local web build into a lightweight desktop app using Pake (Tauri/Rust). Use when the user wants to: wrap a URL as a native app, build a desktop app from a website or a local dist/ folder, use Pake CLI to package a page, set up proxy for a packaged app, customize app icons or bundle IDs, or…

tw93/Pake · 119 tokens

acceptance

End-to-end verification and self-evidence for a delivery in any repository, with or without a preconfigured verify plan. Discover an existing plan when one was handed to this run; otherwise author checks and publish a standalone acceptance. Pick the proving surface (CLI / web / desktop / iOS Simulator), drive the real…

lobehub/lobehub · 163 tokens

therapeutic-ifs

Unified inner work engine: Schema deconstruction (diagnosis) + IFS therapy (treatment). Absorbs: schema-deconstruction.

winstonkoh87/Athena-Public · 34 tokens

dashboard-builder

Build self-contained interactive HTML dashboards with charts, filters, and tables. Generates a single browser-openable file — no server or dependencies required.

winstonkoh87/Athena-Public · 31 tokens