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

Docs

Core

vrk tok core

Count tokens. Gate pipelines before they fail.

vrk prompt core

Pipe text to Claude or GPT from your terminal. Schema validation, retries, deterministic output.

vrk chunk core

Split text into token-aware chunks that fit LLM context windows. JSONL output, respects sentence boundaries.

Pipeline

vrk grab pipeline

Fetch any URL and get clean markdown back. No BeautifulSoup, no parsing scripts.

vrk sse pipeline

Parse Server-Sent Event streams into JSONL. Turns text/event-stream into structured records you can pipe.

vrk validate pipeline

Validate LLM JSON output against a schema. Exit 1 on mismatch. Pipeline stops before bad data propagates.

vrk coax pipeline

Retry flaky commands with exponential backoff. Wrap any pipeline stage to handle transient API failures.

vrk kv pipeline

Persistent key-value store for pipelines. SQLite-backed, with namespaces, TTL, and atomic counters.

vrk mask pipeline

Redact secrets from pipeline output before logging. Detects API keys, tokens, and high-entropy strings automatically.

Utilities

vrk jwt

Decode JWTs and extract claims from the command line. Check expiry, validate structure, pull fields.

vrk epoch

Convert between Unix timestamps and ISO dates. Supports relative time like +3d or -1h.

vrk uuid

Generate UUIDs from the command line. v4 random or v7 time-sorted. Batch with --count.

vrk base

Encode and decode base64, base64url, hex, and base32 from the command line. No more openssl flags.

vrk digest

Hash anything with sha256, md5, or sha512. Verify with --compare. Sign with --hmac. One tool, no flags to memorize.

vrk plain

Strip markdown syntax and keep the prose. Clean input for token counting or plain-text pipelines.

vrk links

Extract every hyperlink from markdown, HTML, or plain text. JSONL output with text, URL, and line number.

vrk recase

Convert between naming conventions. snake_case, camelCase, kebab-case, PascalCase, and Title Case.

vrk slug

Generate URL-safe slugs from any text. Handles unicode, custom separators, and length limits.

vrk moniker

Generate memorable names for run IDs, job labels, and temp dirs. No more UUIDs in log output.

vrk pct

Percent-encode and decode strings per RFC 3986. Handles URL components and form data correctly.

vrk jsonl

Convert between JSON arrays and JSONL. Flatten arrays for streaming, collect lines back into arrays.

vrk sip

Sample lines from a stream. Take the first N, every Nth, or a random percentage. Works on unbounded input.

vrk throttle

Pace LLM batch jobs to respect rate limits. No more failures on job 847 of 10,000.

vrk urlinfo

Parse URLs and extract components. Get scheme, host, path, query params, or any field individually.

vrk emit

Turn plain text into structured JSONL log records. Add timestamps, levels, and fields to any pipeline output.

vrk assert

Assert conditions mid-pipeline. Exit 1 if a check fails. Catches bad data before it reaches the next stage.

Meta

vrk completions meta

Generate shell completion scripts for bash, zsh, and fish. Tab-complete every vrk tool and flag.

vrk bare meta

Create symlinks for any vrk tool. Use tok, grab, prompt directly without the vrk prefix.