Shell Utilities

A mixed catalog of small shell utilities for everyday development, infrastructure, and command-line work.

Jump to: Guides · Shell scripting · Text & data · Web & HTTP · DNS & networking · File operations · Security & auth · Development · macOS · Salesforce B2C Commerce · Meta

Each tool row's primary link opens the doc; the script link opens the raw script.

Guides

Guide Description
Fast shell startup and hot paths Decide which shell work must block readiness, run asynchronously, load lazily, or leave startup entirely

Shell scripting

Tool Description
dbg · script Sourced variable inspector: print scalars, arrays, and array elements as name=value pairs to stderr
prompt · script Sourced interactive prompt with default value and placeholder
progress · script Single-line progress bar with percentage completion

Text & data

Tool Description
tsd · script Paste any number, get back a timestamp or a duration (auto-detected)
inflate · script Adjust historical USD amounts for inflation (what was $X in YEAR worth today?)
stats · script Count, total, average, range, and outliers from integers on stdin
colorize-url · script Apply distinct ANSI colors to URL components for readability
render-md · script Render markdown to HTML and open it in your browser (Node-based — see notes)
convert-size · script Convert file sizes between SI (1000-based) and binary (1024-based) units
baseconv · script Convert a number between numeral bases (binary, octal, decimal, hexadecimal)

Web & HTTP

Tool Description
pin-dns · script curl wrapper that overrides DNS resolution for a hostname without touching /etc/hosts, and sends a full, internally consistent Chrome request (client hints, Sec-Fetch, ordered Accept headers; TLS/JA3 + HTTP-2 fingerprint too when curl-impersonate is installed)
chrome-ua · script Print a realistic Chrome User-Agent from the local install or Google's live API
chrome-debug · script Launch a Chromium browser in remote-debugging mode for MCP/CDP attach, with an auto-picked port from your .mcp.json pool
httpcode · script Quick HTTP status code lookup — standard codes plus Cloudflare, nginx, and IIS non-standard codes, all offline
curl-timing · script Time HTTP requests and compare URLs head-to-head with IQR-aware outlier detection
slow-server · script Local HTTP server that responds after a configurable delay, for testing timeout logic

DNS & networking

Tool Description
spf · script Recursively resolve and inspect SPF records – find whether an IP is authorized, check record health, flatten to all addresses, or print the include tree
dkim-pubkey · script Extract the base64-encoded public key from a DKIM DNS record
cf-ddns · script Update a Cloudflare DNS A record to match this machine's current outbound IP
cf-ips-subnets · script Expand Cloudflare IPv4 ranges into /16 or /24 subnets for picky firewalls

File operations

Tool Description
explode · script Move a directory's contents up one level and remove the empty directory (fixes nested-folder unzips)
snippet · script Extract lines between start and end patterns, with built-in trimming to exclude the marker lines
swap · script Atomically swap two files by renaming
bak · script Back up a file in place by appending .bak (rotates recursively so the single-.bak is always most recent)
unbak · script Inverse of bak: restore file.ext.bak to file.ext

Security & auth

Tool Description
pkce · script Generate a PKCE code verifier and its SHA256 challenge for OAuth2 authorization flows
genpw · script Generate random passwords or strings with configurable length, charset, and exclusions
client-credentials · script Fetch an OAuth2 access token via the client_credentials grant (defaults tuned for SFCC, works against any token URL)

Development

Tool Description
git-backup · script Push tracked + untracked changes to a timestamped remote tag, then restore local state
git-add-nonsub · script Stage a git repository inside another git repository without treating it as a submodule
find-cc-tool-output · script Recover full, untruncated tool output from Claude Code session transcripts
scdef · script Look up a ShellCheck warning or error by code or message – brief fix examples, full page, or raw markdown

macOS

Tool Description
notify · script Display a macOS notification, speak it with say, or both (useful when long-running commands finish)
screenshot-rename · script Rename macOS screenshots from the verbose default format to a clean timestamp-only name
daemons · script Observe and control homegrown launchd daemons: per-daemon JSONL activity logs, status/health-check gate, log tail/query, load/unload with lifecycle logging
install-bash · script Install the latest Bash from Homebrew and set it as your login shell

Salesforce B2C Commerce

Tool Description
generate-p12 · script Generate a PKCS#12 client certificate for B2C staging code uploads that require mTLS
dot-project · script Generate .project files for B2C cartridge directories so Eclipse-based tooling picks them up
verify-p12 · script Smoke-test WebDAV /Cartridges access with Bearer or Basic auth, with optional .p12 mTLS
propfind-p12 · script WebDAV PROPFIND with Bearer token + .p12 client cert + CA validation against a specific code version
dw-jwt · script Generate an RS256-signed JWT for authenticating to B2C APIs via OAuth2 client credentials
find-zone-by-name · script Page through the SCAPI zones/info endpoint to find a CDN zone by name substring
ods-usage · script Calculate On-Demand Sandbox credits used from an ODS API response
gen-catalog · script Generate SFCC catalog XML (base products, variants, relationships) for seeding sandboxes or QA
pwa-prereqs · script Check or install PWA Kit development prerequisites on macOS (Xcode CLT, nvm, Node LTS)
s · script sfcc-ci wrapper with shortcuts, enhanced output, and human-readable token expiration

Meta

Tool Description
get · script Install scripts from this catalog into a directory on your $PATH, or the agent skill into your coding agent

Notes