AI AGENT SKILLS

Cn Unicode Info

一个面向 Dev Tools 场景的 Agent 技能。原始说明:Get Unicode codepoint, name, and category for characters. Support Chinese characters, English text, emoji. Pure Python standard library, no API key required.

SKILL.md

SKILL.md


slug: cn-unicode-info
name: Unicode Info
version: "1.0.0"
description: "Get Unicode codepoint, name, and category for characters. Support Chinese characters, English text, emoji. Pure Python standard library, no API key required."
keywords: unicode, character, emoji, codepoint, chinese
license: MIT-0
tags:

  • tools

Unicode Info

Look up detailed Unicode information for any character.

Features

  • Display Unicode codepoint in hex format
  • Show Unicode character name
  • List character category (Letter, Number, Punctuation, etc.)
  • Support all Unicode characters including Chinese and emoji
  • Pure Python, no external dependencies

Usage

python3 scripts/unicode_info.py --text "你好世界🔧"

Example Output

{
  "chars": [
    {"char": "你", "codepoint": "0x4f60", "name": "CJK UNIFIED IDEOGRAPH-4F60", "category": "Lo"},
    {"char": "好", "codepoint": "0x597d", "name": "CJK UNIFIED IDEOGRAPH-597D", "category": "Lo"},
    {"char": "世", "codepoint": "0x4e16", "name": "CJK UNIFIED IDEOGRAPH-4E16", "category": "Lo"},
    {"char": "界", "codepoint": "0x754c", "name": "CJK UNIFIED IDEOGRAPH-754C", "category": "Lo"},
    {"char": "\U0001f527", "codepoint": "0x1f527", "name": "WRENCH", "category": "So"}
  ],
  "length": 5
}

Use Cases

  • Identify unknown characters or emoji
  • Debug encoding issues
  • Extract character properties for text processing