26 Unix tools. One binary. Zero dependencies. · the missing coreutils for AI pipelines · vrk mcp - expose all 26 tools to any AI agent · brew install vrk - ready in 5 seconds · 26 Unix tools. One binary. Zero dependencies. · the missing coreutils for AI pipelines · vrk mcp - expose all 26 tools to any AI agent · brew install vrk - ready in 5 seconds

vrk uuid

About

Generates UUIDs - v4 (random) or v7 (time-ordered). v7 UUIDs sort by creation time, which makes them useful as database primary keys that stay roughly ordered. Consistent output format across macOS and Linux.

The problem

You need a UUID and uuidgen is not installed, or it only generates v4 and you need v7 for time-ordered database keys. Python’s uuid module does not support v7. The uuidgen output format varies across platforms.

Before and after

Before

uuidgen
# macOS: uppercase, Linux: lowercase
# no v7 support on either platform
# python3 -c "import uuid; print(uuid.uuid4())" for portable v4

After

vrk uuid --v7

Example

vrk uuid --v7

Exit codes

CodeMeaning
0Success
1Runtime error (generation failure)
2–count less than 1, unknown flag

Flags

FlagShortTypeDescription
--v7boolGenerate a v7 (time-ordered) UUID instead of v4
--count-nintNumber of UUIDs to generate
--json-jboolEmit JSON with uuid, version, generated_at
--quiet-qboolSuppress stderr output