korean-character-count

Official

Deterministically count Korean chars, bytes, lines.

AuthorNomaDamas
Version1.0.0
Installs0

System Documentation

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으로 세어 달라고 요청하세요.

Dependency Matrix

Required Modules

None required

Components

scripts

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: korean-character-count
Download link: https://github.com/NomaDamas/k-skill/archive/main.zip#korean-character-count

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.