
Uuid Generator
- 25 installs
- 84 repo stars
- Updated January 28, 2026
- aidotnet/moyucode
uuid-generator is a Claude Code skill that generates UUID v1/v4/v5 and other unique identifiers like ULID and nanoid.
About
uuid-generator is a Claude Code skill that generates unique identifiers using Python's uuid module. It produces UUID v1, v4, and v5, plus ULID and nanoid-style short IDs, and can emit several at once. A developer uses it to create identifiers during development.
- Generates UUID v1, v4, and v5 identifiers
- Also produces ULID and nanoid-style IDs
- Can generate multiple or short IDs at once
Uuid Generator by the numbers
- 25 all-time installs (skills.sh)
- Ranked #355 of 550 CLI & Terminal skills by installs in the Skillselion catalog
- Data as of Jul 28, 2026 (Skillselion catalog sync)
uuid-generator capabilities & compatibility
- Capabilities
- uuid generation · id generation
- Pricing
- Free
What uuid-generator says it does
Generate various types of unique identifiers including UUID v1, v4, v5, ULID, and nanoid.
python scripts/uuid_generator.py --v5 --namespace dns --name example.com
`uuid`, `id`, `generator`, `unique`, `identifier`
npx skills add https://github.com/aidotnet/moyucode --skill uuid-generatorAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 25 |
|---|---|
| repo stars | ★ 84 |
| Last updated | January 28, 2026 |
| Repository | aidotnet/moyucode ↗ |
What it does
Generate UUID v1/v4/v5, ULID, or nanoid-style identifiers, singly or in batches.
Who is it for?
Generating UUIDs or short unique IDs during development.
When should I use this skill?
You need to generate one or more unique identifiers.
What you get
Prints one or more generated unique identifiers.
- generated unique identifiers
By the numbers
- Supports UUID v1, v4, and v5 plus ULID and nanoid
Files
UUID Generator Tool
Description
Generate various types of unique identifiers including UUID v1, v4, v5, ULID, and nanoid.
Trigger
/uuidcommand- User needs unique identifiers
- User wants to generate IDs
Usage
# Generate UUID v4
python scripts/uuid_generator.py
# Generate multiple UUIDs
python scripts/uuid_generator.py --count 10
# Generate UUID v5 with namespace
python scripts/uuid_generator.py --v5 --namespace dns --name example.com
# Generate short ID
python scripts/uuid_generator.py --short --length 12Tags
uuid, id, generator, unique, identifier
Compatibility
- Codex: ✅
- Claude Code: ✅
#!/usr/bin/env python3
"""
UUID Generator Tool
Based on Python's uuid: https://github.com/python/cpython
Usage:
python uuid_generator.py
python uuid_generator.py --count 10
python uuid_generator.py --v5 --namespace dns --name example.com
"""
import argparse
import secrets
import string
import time
import uuid
NAMESPACES = {
'dns': uuid.NAMESPACE_DNS,
'url': uuid.NAMESPACE_URL,
'oid': uuid.NAMESPACE_OID,
'x500': uuid.NAMESPACE_X500
}
def generate_uuid_v1():
return str(uuid.uuid1())
def generate_uuid_v4():
return str(uuid.uuid4())
def generate_uuid_v5(namespace, name):
ns = NAMESPACES.get(namespace, uuid.NAMESPACE_DNS)
return str(uuid.uuid5(ns, name))
def generate_short_id(length=12):
alphabet = string.ascii_lowercase + string.digits
return ''.join(secrets.choice(alphabet) for _ in range(length))
def generate_ulid():
"""Generate ULID-like ID (timestamp + random)."""
timestamp = int(time.time() * 1000)
ts_part = format(timestamp, '012x')
rand_part = secrets.token_hex(10)
return (ts_part + rand_part).upper()
def main():
parser = argparse.ArgumentParser(description="Generate unique identifiers")
parser.add_argument('--count', '-c', type=int, default=1, help='Number to generate')
parser.add_argument('--v1', action='store_true', help='UUID v1 (time-based)')
parser.add_argument('--v4', action='store_true', help='UUID v4 (random, default)')
parser.add_argument('--v5', action='store_true', help='UUID v5 (namespace-based)')
parser.add_argument('--namespace', '-n', default='dns', choices=NAMESPACES.keys())
parser.add_argument('--name', help='Name for v5 UUID')
parser.add_argument('--short', '-s', action='store_true', help='Short ID')
parser.add_argument('--length', '-l', type=int, default=12, help='Short ID length')
parser.add_argument('--ulid', action='store_true', help='ULID format')
parser.add_argument('--upper', '-u', action='store_true', help='Uppercase output')
args = parser.parse_args()
for _ in range(args.count):
if args.v1:
result = generate_uuid_v1()
elif args.v5:
if not args.name:
parser.error("--name required for v5")
result = generate_uuid_v5(args.namespace, args.name)
elif args.short:
result = generate_short_id(args.length)
elif args.ulid:
result = generate_ulid()
else:
result = generate_uuid_v4()
if args.upper:
result = result.upper()
print(result)
if __name__ == "__main__":
main()
Related skills
FAQ
Which ID types does uuid-generator support?
UUID v1, v4, v5, plus ULID and nanoid-style short IDs.
Can it generate many IDs at once?
Yes, using the --count flag.