korean-character-count

Count Korean text graphemes, lines, and UTF-8 or NEIS byte sizes.

7.1k|836|Updated Mar 24, 2026
One-click install
npx skills add https://github.com/NomaDamas/k-skill --skill korean-character-count
Or copy as Structured Prompt for Agentโ–ผ
Please help me install this Agent Skill.
Skill: korean-character-count
Source: https://github.com/NomaDamas/k-skill/tree/main/korean-character-count
Command: npx skills add https://github.com/NomaDamas/k-skill --skill korean-character-count

SYSTEM DOCUMENTATION & REQUIREMENTS

๐Ÿ’ก This Skill includes scripts (resource) components.

What problem does it solve?

๊ธ€์ž ์ˆ˜ยท์ค„ ์ˆ˜ยทUTF-8/NEIS ๋ฐ”์ดํŠธ ์ œํ•œ์ด ์ค‘์š”ํ•œ ํ•œ๊ตญ์–ด ์ž…๋ ฅ์—์„œ, LLM ์ถ”์ • ์—†์ด ์žฌํ˜„ ๊ฐ€๋Šฅํ•œ ์ •ํ™•ํ•œ ์นด์šดํŠธ๊ฐ€ ํ•„์š”ํ•  ๋•Œ์˜ ๋ฌธ์ œ๋ฅผ ํ•ด๊ฒฐํ•ฉ๋‹ˆ๋‹ค.

Core Features & Use Cases

  • Unicode extended grapheme cluster ๊ธฐ์ค€ ๊ธ€์ž ์ˆ˜: Intl.Segmenter๋ฅผ ์‚ฌ์šฉํ•ด ํ•œ๊ธ€/์˜๋ฌธ/์ด๋ชจ์ง€ ๋“ฑ ์กฐํ•ฉ ๋ฌธ์ž๋ฅผ โ€œ๊ทธ๋Œ€๋กœโ€ ๊ธฐ์ค€์œผ๋กœ ์„ธ์–ด ์˜ค์ฐจ๋ฅผ ์ค„์ž…๋‹ˆ๋‹ค.
  • ์ค„ ์ˆ˜ ๊ณ„์•ฝ ๊ธฐ๋ฐ˜ ๊ณ„์‚ฐ: CRLF, LF, CR, U+2028, U+2029๋ฅผ ์ค„๋ฐ”๊ฟˆ 1ํšŒ๋กœ ๊ณ„์‚ฐํ•˜๋ฉฐ ๋นˆ ๋ฌธ์ž์—ด์€ 0์ค„๋กœ ์ฒ˜๋ฆฌํ•ฉ๋‹ˆ๋‹ค.
  • ๋ฐ”์ดํŠธ ์ˆ˜ ๋™์‹œ ์‚ฐ์ถœ(UTF-8 ๋˜๋Š” NEIS ํ”„๋กœํ•„): ์‹ค์ œ UTF-8 byte ๊ธธ์ด ๋˜๋Š” NEIS ๊ทœ์น™(ํ•œ๊ธ€ 3B, ASCII 1B, ์ค„๋ฐ”๊ฟˆ 2B, ๊ธฐํƒ€๋Š” UTF-8 fallback)์œผ๋กœ ์ œ์ถœ์ฒ˜ ์š”๊ตฌ์— ๋งž์ถฅ๋‹ˆ๋‹ค.

Quick Start

AI์—๊ฒŒ ์ง€๊ธˆ ์ž…๋ ฅํ•œ ํ…์ŠคํŠธ์— ๋Œ€ํ•ด default ํ”„๋กœํ•„ ๊ธฐ์ค€์œผ๋กœ ๊ธ€์ž ์ˆ˜, ์ค„ ์ˆ˜, UTF-8 ๋ฐ”์ดํŠธ ์ˆ˜๋ฅผ JSON์œผ๋กœ ์„ธ์–ด ๋‹ฌ๋ผ๊ณ  ์š”์ฒญํ•˜์„ธ์š”.

Frequently Asked Questions about korean-character-count

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I count Korean characters accurately for NEIS application form limits?โ–ผ

To count Korean characters for NEIS form limits, this Skill deterministically computes grapheme clusters using Intl.Segmenter and applies the NEIS byte profile (Korean 3B, ASCII 1B, line breaks 2B) to match submission requirements exactly without LLM estimation.

What is the best way to count grapheme clusters in Korean text including emojis?โ–ผ

Counting grapheme clusters in Korean text requires segmenting combined characters into single visible units. This Skill uses Intl.Segmenter to accurately segment Korean syllables, emojis, and combined characters, reducing counting errors common in standard string length methods.

Does Unicode line break counting affect Korean text byte size calculations?โ–ผ

Unicode line break counting directly affects Korean text byte size calculations. This Skill counts CRLF, LF, CR, U+2028, and U+2029 as single line breaks and factors them into the final UTF-8 or NEIS byte total, ensuring strict byte contract compliance.

How do I calculate UTF-8 byte length for a Korean self-introduction submission?โ–ผ

Calculating UTF-8 byte length for a Korean self-introduction involves measuring the actual byte size of encoded characters. This Skill returns the precise UTF-8 byte length alongside character and line counts, enabling exact validation against submission platform constraints.

Why does my Korean text byte count not match the submission platform limit?โ–ผ

Korean text byte count mismatches often occur when standard tools apply incorrect byte values to characters or line breaks. This Skill resolves discrepancies by offering both exact UTF-8 byte length and NEIS-compatible byte profiles, ensuring the count matches the target rule set.

Can I use this for counting Korean text without relying on LLM character estimation?โ–ผ

Yes, you can count Korean text without relying on LLM estimation. This Skill deterministically computes character counts, line breaks, and byte sizes using defined regex contracts and Intl.Segmenter, providing reproducible and accurate results for strict form submissions.