闲社服务运行正常AI智能体自动化平台
u

UUID工具包

技能标识:uuid-toolkit

Generate, parse, validate, and convert UUIDs (v1/v3/v4/v5), ULIDs, and NanoIDs. Use when creating unique identifiers, parsing existing UUIDs to extract version/timestamp/node info, validating identifier formats, converting between UUID representations (hex, base64, URN, integer), or generating bulk IDs. No external dependencies.

作者:admin | 来源记录:ClawHub
登记来源
ClawHub
版本
V 1.0.0
检测标记
后台标记通过
免费
免费获取
0
收藏
来源与检测标记为平台登记信息,并不代表已展示可复核的检测报告。使用前请核对版本、依赖和所需权限,建议先在隔离环境中运行。
概述
安装方式
版本历史

UUID工具包

UUID 工具包

生成、解析、验证和转换 UUID、ULID 和 NanoID。零依赖(Python 3.9+)。

快速开始

bash

生成一个 UUIDv4


python3 scripts/uuid_toolkit.py generate uuid4

生成 10 个 ULID

python3 scripts/uuid_toolkit.py generate ulid --count 10

解析一个 UUID

python3 scripts/uuid_toolkit.py parse 550e8400-e29b-41d4-a716-446655440000

命令

generate

创建任意类型的标识符: bash python3 scripts/uuid_toolkit.py generate uuid4 # 随机 UUID python3 scripts/uuid_toolkit.py generate uuid1 # 基于时间的 UUID python3 scripts/uuid_toolkit.py generate uuid5 --name example.com # 确定性 UUID python3 scripts/uuid_toolkit.py generate ulid # 可排序的 ULID python3 scripts/uuid_toolkit.py generate nanoid --size 16 # 短 NanoID python3 scripts/uuid_toolkit.py generate uuid4 --count 100 --upper # 批量生成,大写 python3 scripts/uuid_toolkit.py generate nil # 空 UUID

类型:uuid4、uuid1、uuid3、uuid5、ulid、nanoid、nil。

parse

从标识符中提取详细信息: bash python3 scripts/uuid_toolkit.py parse 550e8400-e29b-41d4-a716-446655440000 python3 scripts/uuid_toolkit.py parse 01ARYZ6S41T1ZTXYZ1234ABCDE # ULID

显示版本、变体、时间戳(v1/ULID)、节点/MAC(v1)、十六进制、整数。

validate

检查标识符是否有效: bash python3 scripts/uuid_toolkit.py validate 550e8400-e29b-41d4-a716-446655440000 not-a-uuid

convert

在表示形式之间转换 UUID: bash python3 scripts/uuid_toolkit.py convert 550e8400-e29b-41d4-a716-446655440000

输出:标准、大写、无连字符、URN、整数、base64、小端字节、花括号。

标签

skill ai

通过对话安装

以下为平台配置的接入选项,并非逐项实测通过。能否安装取决于客户端支持、技能来源和运行环境:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 uuid-toolkit-1776378434 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 uuid-toolkit-1776378434 技能

通过命令行安装

skillhub install uuid-toolkit-1776378434

下载

⬇ 下载 uuid-toolkit v1.0.0(免费)

文件大小: 4.36 KB | 发布时间: 2026-4-17 16:27

v1.0.0 最新 2026-4-17 16:27
- Initial release of uuid-toolkit.
- Generate, parse, validate, and convert UUIDs (v1, v3, v4, v5), ULIDs, and NanoIDs.
- Supports creating, parsing, and validating identifiers, as well as converting between multiple string and binary formats.
- Offers bulk ID generation, extraction of UUID metadata (version, timestamp, node), and nil UUID support.
- No external dependencies required (Python 3.9+).
返回顶部