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/github.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/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-date-format

Your own site · 80×15
<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="Reviewed on agentmods" width="80" 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.5 $0.00059 $0.00513
Sonnet 5.5 $0.00029 $0.00256
Haiku 4.5 $0.00015 $0.00128

Measured 3mo ago against content hash 17a9ddf65fb6, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-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 3mo 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. 3mo 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 9d ago), licensed MIT. It adds 147 tokens to every session and 1,282 once invoked, about $0.0006 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.

Related

thai-date-format compared with skills from other repositories

thai-date-format next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
thai-date-formatntaffzii/Skill-AgentsSkill49d agoMITA147Claude Code, Codex
translateansvisor/ansvisorSkill266todayMITA16Claude Code, Codex
marketsansvisor/ansvisorSkill266todayMITA14Claude Code, Codex
simple-englishNousResearch/hermes-agentSkill268ktodayMITA16Claude Code, Codex
website-maintaineryamadashy/repomixSkill30ktodayMITA37Claude Code
geo-platform-optimizerzubair-trabzada/geo-seo-claudeSkill12kyesterdayMITA34Claude Code
hardenfengshao1227/ccg-workflowSkill6.0k16d agoMITA62Claude Code