Docs
Core
vrk tok
coreCount tokens. Gate pipelines before they fail.
vrk prompt
corePipe text to Claude or GPT from your terminal. Schema validation, retries, deterministic output.
vrk chunk
coreSplit text into token-aware chunks that fit LLM context windows. JSONL output, respects sentence boundaries.
Pipeline
vrk grab
pipelineFetch any URL and get clean markdown back. No BeautifulSoup, no parsing scripts.
vrk sse
pipelineParse Server-Sent Event streams into JSONL. Turns text/event-stream into structured records you can pipe.
vrk validate
pipelineValidate LLM JSON output against a schema. Exit 1 on mismatch. Pipeline stops before bad data propagates.
vrk coax
pipelineRetry flaky commands with exponential backoff. Wrap any pipeline stage to handle transient API failures.
vrk kv
pipelinePersistent key-value store for pipelines. SQLite-backed, with namespaces, TTL, and atomic counters.
vrk mask
pipelineRedact secrets from pipeline output before logging. Detects API keys, tokens, and high-entropy strings automatically.
Utilities
vrk jwtDecode JWTs and extract claims from the command line. Check expiry, validate structure, pull fields.
vrk epochConvert between Unix timestamps and ISO dates. Supports relative time like +3d or -1h.
vrk uuidGenerate UUIDs from the command line. v4 random or v7 time-sorted. Batch with --count.
vrk baseEncode and decode base64, base64url, hex, and base32 from the command line. No more openssl flags.
vrk digestHash anything with sha256, md5, or sha512. Verify with --compare. Sign with --hmac. One tool, no flags to memorize.
vrk plainStrip markdown syntax and keep the prose. Clean input for token counting or plain-text pipelines.
vrk linksExtract every hyperlink from markdown, HTML, or plain text. JSONL output with text, URL, and line number.
vrk recaseConvert between naming conventions. snake_case, camelCase, kebab-case, PascalCase, and Title Case.
vrk slugGenerate URL-safe slugs from any text. Handles unicode, custom separators, and length limits.
vrk monikerGenerate memorable names for run IDs, job labels, and temp dirs. No more UUIDs in log output.
vrk pctPercent-encode and decode strings per RFC 3986. Handles URL components and form data correctly.
vrk jsonlConvert between JSON arrays and JSONL. Flatten arrays for streaming, collect lines back into arrays.
vrk sipSample lines from a stream. Take the first N, every Nth, or a random percentage. Works on unbounded input.
vrk throttlePace LLM batch jobs to respect rate limits. No more failures on job 847 of 10,000.
vrk urlinfoParse URLs and extract components. Get scheme, host, path, query params, or any field individually.
vrk emitTurn plain text into structured JSONL log records. Add timestamps, levels, and fields to any pipeline output.
vrk assertAssert conditions mid-pipeline. Exit 1 if a check fails. Catches bad data before it reaches the next stage.