thai-text-processing SKILL.md skillF
thai-text-processing from boom-vitt/claude-thai-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add boom-vitt/claude-thai-skills/thai-text-processing@git:20260517.f1383d3Pins git:20260517.f1383d3 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- F, 16 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- boom-vitt/claude-thai-skills
- Path
skills/thai-text-processing/SKILL.md- Versions recorded
- 2
- Latest version
- git:20260517.f1383d3, committed May 17, 2026
- First version recorded
- May 16, 2026
- Size
- 12,609 bytes
- Repository stars
- 58
- License
- MIT
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 (NFC vs decomposed), sort Thai strings correctly, transliterate to roman / Latin, build a Thai search index, fix Thai text that breaks length limits or renders broken glyphs, or…
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# Thai Text Processing (ประมวลผลข้อความภาษาไทยในโค้ด)
## Overview
Thai is written without spaces between words, uses combining tone marks, and does not sort by codepoint. Naive code that works for English silently corrupts Thai: `"ฉันกินข้าว".split(" ")` returns one token, `ORDER BY name` puts vowels in the wrong place, and `LEFT(name, 20)` may chop a syllable mid-character and render `◌`. This skill is the checklist of things to fix.
## When to use
- ตัดคำภาษาไทย (segmentation) สำหรับ search, autocomplete, n-grams
- Unicode normalization (NFC) ก่อนเก็บ / เทียบสตริง
- จัดเรียง (sort / collate) ชื่อภาษาไทยใน DB หรือ list
- ทำ romanization สำหรับ slug, passport-style spelling, academic citation
- ตั้งค่า full-text search index ใน ES / Postgres / MySQL
- ตัดข้อความ (truncate) แบบไม่ทำให้ glyph แตก
- เลือกไลบรารี: PyThaiNLP vs ICU vs nlpO3 vs Lucene Thai analyzer
## 1. The core problem: no spaces
```python
"ฉันกินข้าว".split(" ") # ["ฉันกินข้าว"] ← one mega-token
```
This breaks:
- full-text search (`ILIKE '%กิน%'` mostly works, `ILIKE '%ข้าว%'` mostly works, but ranking, stemming, autocomplete all need proper tokens)
- word counting / "how long is this in words"
…Read the whole file at its exact version.
How to install
mdr add boom-vitt/claude-thai-skills/thai-text-processing@sha256:09050003c41ec4f5The line at the top of this page pins the label git:20260517.f1383d3, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_azztu4oqqpehe2tx)
2 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 2 versions of this file, between May 16, 2026 and May 17, 2026, more than one a day.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260517.f1383d3 latest | 2026-05-17 | f1383d3 | 12,609 B | F | view · diff |
| git:20260516.9cbe34c | 2026-05-16 | 9cbe34c | 8,667 B | F | view |
Audit of the latest version
- FAIL, critical: No zero-width or bidi control characters (matched: )
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (12609 bytes)
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Starting a new one? Use a template for SKILL.md on mdpantry, which passes every one of these checks and says what to change in it.
Source
boom-vitt/claude-thai-skills · 58 stars · license MIT · pushed 2026-10-22 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_azztu4oqqpehe2tx GET https://markdownregistry.com/api/v1/resolve?ref=boom-vitt/claude-thai-skills/thai-text-processing GET https://markdownregistry.com/api/v1/blob/09050003c41ec4f535111f34fb52dbc2725e8a7fab9e8576b75e8c28e044a1d2
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.