UUIDGen
Generate UUIDs, short IDs, and nano IDs. Use when creating database keys, minting session tokens, generating unique filenames, or producing batch IDs.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/ckchzh/uuidgenUUIDGen
A real UUID generator and validator. Generate v4 UUIDs, batch-create multiple IDs, validate UUID format, extract UUIDs from text, and generate short 8-character IDs. Uses /proc/sys/kernel/random/uuid on Linux or falls back to python3 uuid module.
Commands
| Command | Description |
|---|---|
uuidgen v4 | Generate a single random UUID v4 (with compact, uppercase, and URN formats) |
uuidgen batch <count> | Generate multiple UUIDs (default: 5, max: 1000) |
uuidgen validate <uuid> | Check if a string is a valid UUID (shows version, variant, and format details) |
uuidgen extract <text> | Find and extract all UUIDs from a text string |
uuidgen short | Generate a short 8-character UUID (plus 3 alternatives) |
uuidgen version | Show version |
uuidgen help | Show available commands and usage |
Requirements
- Bash 4+ (
set -euo pipefail) - One of:
/proc/sys/kernel/random/uuid(Linux),python3, or/dev/urandom - No external dependencies or API keys
When to Use
- Generate database keys —
uuidgen v4for a single ID,uuidgen batch 100for bulk - Validate user-supplied UUIDs —
uuidgen validate <uuid>checks format, detects version and variant - Extract IDs from logs/text —
uuidgen extract "Error for session 550e8400-e29b-..."pulls out all UUIDs - Short identifiers —
uuidgen shortfor 8-char IDs suitable for URLs or display - Batch ID generation —
uuidgen batch 50creates 50 UUIDs numbered for easy reference
Examples
# Generate a single UUID v4
uuidgen v4
# Generate 10 UUIDs
uuidgen batch 10
# Validate a UUID
uuidgen validate '550e8400-e29b-41d4-a716-446655440000'
# Extract UUIDs from text
uuidgen extract 'User 550e8400-e29b-41d4-a716-446655440000 created session abc12345-dead-beef-cafe-123456789012'
# Generate a short 8-char UUID
uuidgen short
Example Output
$ uuidgen v4
┌──────────────────────────────────────────────────┐
│ UUID v4 Generated │
├──────────────────────────────────────────────────┤
│ UUID: 1a28540e-25e6-4efe-86a8-93f41e16dad8 │
│ Compact: 1a28540e25e64efe86a893f41e16dad8 │
│ Upper: 1A28540E-25E6-4EFE-86A8-93F41E16DAD8 │
│ URN: urn:uuid:1a28540e-25e6-4efe-86a8-... │
└──────────────────────────────────────────────────┘
$ uuidgen validate '550e8400-e29b-41d4-a716-446655440000'
┌──────────────────────────────────────────────────┐
│ UUID Validation │
├──────────────────────────────────────────────────┤
│ Input: 550e8400-e29b-41d4-a716-446655440000 │
│ Valid: ✅ YES │
│ Version: v4 (random) │
│ Variant: RFC 4122 / DCE │
│ Compact: 550e8400e29b41d4a716446655440000 │
└──────────────────────────────────────────────────┘
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-ckchzh-uuidgen": {
"enabled": true,
"auto_update": true
}
}
}Tags
Related Skills
openclaw-soul-weaver
No waiting! Create professional-grade OpenClaw configurations in 30 seconds through natural conversation. Instantly generate enthusiast-level base configs that intelligently combine emotional and professional needs.
vibe-coding-checker
描述一个功能或项目,AI 快速评估用 Cursor/Windsurf/Bolt 等 AI 编程工具能否独立实现, 给出可行性判断、推荐工具、拆解路径和风险提示。
skill-tracker
通用技能使用统计追踪器,支持 Python 和 Node.js 技能,自动记录调用次数、成功率,生成使用排行榜。数据本地存储,保护隐私。
consent
Build cookie consent banners and track opt-in compliance status. Use when implementing GDPR consent, auditing cookies, generating privacy banners.
Thesaurus
Look up synonyms, antonyms, and related words with history and export. Use when finding alternatives, checking usage, running drills, analyzing frequency.