Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问许可证需确认审计通过

unicode-tools统一码工具

Agent Skill

unicode-tools 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

279

周安装

12

GitHub Stars

公开资料未说明

下载量

98
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:unicode-tools(统一码工具)
来源仓库:https://github.com/fyipedia/unicodefyi
仓库路径:skills/unicode-tools
安装命令:
npx skills add https://github.com/fyipedia/unicodefyi --skill unicode-tools
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/fyipedia/unicodefyi --skill unicode-tools

简介

unicode-tools 用于查找、检索和筛选相关信息。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中根据关键词或任务场景快速定位候选结果。
  • 可通过 npx skills add 命令从指定 GitHub 仓库安装使用。
  • 安装前建议确认权限范围、维护状态,以及是否会触发联网或文件读写操作。
  • 具体用法需结合原始 README 和项目实际情况进一步核验。

SKILL.md

UnicodeFYI — Unicode Tools for AI Agents

Pure Python Unicode character toolkit. Compute 17 encoding representations, look up full Unicode properties (name, category, block, script), resolve 92 HTML entities, and search characters by name — all with zero dependencies (optional fonttools for block/script info).

Install: pip install unicodefyi · Web: unicodefyi.com · API: REST API · npm: npm install unicodefyi

When to Use

  • User asks to encode a character in multiple programming languages (Python, JavaScript, Java, Go, Ruby, Rust, C/C++)
  • User needs Unicode properties for a character (name, block, script, category, bidirectionality)
  • User wants to look up or reverse-lookup an HTML entity
  • User needs UTF-8, UTF-16, or UTF-32 byte representation
  • User asks to search for Unicode characters by name (arrows, check marks, math symbols)
  • User needs to convert between codepoint and character

Tools

get_encodings(char) -> EncodingInfo

Compute 17 encoding representations for any single character.

from unicodefyi import get_encodings

enc = get_encodings("✓")
enc.unicode        # 'U+2713'
enc.decimal        # '10003'
enc.html_decimal   # '✓'
enc.html_hex       # '✓'
enc.html_entity    # '✓'
enc.css            # '\2713'
enc.javascript     # '\u{2713}'
enc.python         # '\u2713'
enc.java           # '\u2713'
enc.go             # '\u2713'
enc.ruby           # '\u{2713}'
enc.rust           # '\u{2713}'
enc.c_cpp          # '\u2713'
enc.url_encoded    # '%E2%9C%93'
enc.utf8_bytes     # 'e2 9c 93'
enc.utf16be_bytes  # '27 13'
enc.utf32be_bytes  # '00 00 27 13'

get_char_info(codepoint) -> CharInfo | None

Get full Unicode properties and all encodings from a codepoint integer.

from unicodefyi import get_char_info

info = get_char_info(0x2713)
info.name           # 'CHECK MARK'
info.character      # '✓'
info.codepoint      # 10003
info.category       # 'So'
info.category_name  # 'Other Symbol'
info.block          # 'Dingbats'  (requires fonttools)
info.block_slug     # 'dingbats'
info.script         # 'Zyyy'  (requires fonttools)
info.script_slug    # 'common'
info.bidirectional  # 'ON'
info.mirrored       # False
info.encodings      # EncodingInfo (all 17 formats)

search(query, limit=50) -> list[CharInfo]

Search Unicode characters by name (case-insensitive substring match).

from unicodefyi import search

results = search("arrow")
for r in results[:5]:
    print(f"{r.character} U+{r.codepoint:04X} {r.name}")
# ← U+2190 LEFTWARDS ARROW
# ↑ U+2191 UPWARDS ARROW
# → U+2192 RIGHTWARDS ARROW
# ↓ U+2193 DOWNWARDS ARROW
# ↔ U+2194 LEFT RIGHT ARROW

lookup_html_entity(entity) -> str | None

Resolve an HTML entity string to its character. Supports 92 named entities.

from unicodefyi import lookup_html_entity

lookup_html_entity("✓")   # '✓'
lookup_html_entity("✗")   # '✗'
lookup_html_entity("—")   # '—'
lookup_html_entity("…")  # '…'
lookup_html_entity("•")    # '•'

get_category_name(category_code) -> str

Get the full name for a Unicode general category code.

from unicodefyi import get_category_name

get_category_name("Sm")  # 'Math Symbol'
get_category_name("Cc")  # 'Control'
get_category_name("Cn")  # 'Unassigned'

REST API (No Auth Required)

curl https://unicodefyi.com/api/character/2713/
curl https://unicodefyi.com/api/encode/✓/
curl https://unicodefyi.com/api/search/?q=check+mark
curl https://unicodefyi.com/api/block/dingbats/
curl https://unicodefyi.com/api/random/

Full spec: OpenAPI 3.1.0

17 Encoding Formats

FormatExample ()Use Case
UnicodeU+2713Standard reference
Decimal10003Numeric codepoint
HTML DecimalHTML pages
HTML Hex✓HTML pages
HTML Entity✓Named HTML entity
CSS\2713content property
JavaScript\u{2713}ES6+ string literals
Python\u2713String literals
Java\u2713String literals
Go\u2713String literals
Ruby\u{2713}String literals
Rust\u{2713}String/char literals
C/C++\u2713String literals
URL%E2%9C%93URLs, query strings
UTF-8e2 9c 93Byte-level encoding
UTF-16 BE27 13Windows/Java internals
UTF-32 BE00 00 27 13Fixed-width encoding

Common Unicode Blocks

BlockRangeExamples
Basic LatinU+0020–U+007FA, z, @, ~
General PunctuationU+2000–U+206F—, …, ‰
Currency SymbolsU+20A0–U+20CF€, £, ¥, ₹
ArrowsU+2190–U+21FF←, →, ↑, ↓
Mathematical OperatorsU+2200–U+22FF∀, ∃, ∞, ≠
Geometric ShapesU+25A0–U+25FF■, ●, ▲, ◆
Miscellaneous SymbolsU+2600–U+26FF☀, ★, ♠, ♥
DingbatsU+2700–U+27BF✓, ✗, ✂, ✈

Demo

UnicodeFYI demo

Creative FYI Family

Part of the FYIPedia ecosystem: ColorFYI, EmojiFYI, SymbolFYI, FontFYI.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

38.55%
按下载量换算38

Claude

30.21%
按下载量换算30

Cursor

18.41%
按下载量换算18

Gemini CLI

9.06%
按下载量换算9

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills