Skill Tech

Utilities

Native shell recipes for common operations. Load this entry first, then only the fragment needed for the specific utility category.

Overview

Utilities provides native shell one-liners for common operations that would otherwise require external MCP server dependencies. All recipes use tools available on macOS and Linux by default: bash, python3, openssl, jq. The agent picks the appropriate recipe instead of calling an external service.

Recipe Categories

  • Date & Time — ISO dates, epoch conversion, timezone conversion, date arithmetic (macOS and Linux variants)
  • Hashing — SHA-256, SHA-512, MD5 via openssl, file checksums
  • Random & UUID — UUID v4, random hex/base64 strings, cryptographic random integers
  • Base64 — encode/decode with cross-platform notes (macOS uses -D, Linux uses -d)
  • URL Encoding — encode/decode via Python urllib
  • Text Case Conversion — camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, and CamelCase-to-snake conversion
  • Validation — email, URL, IPv4, UUID regex validation
  • JSON — pretty-print, minify, validate, extract fields via jq
  • Password Generation — alphanumeric, with special characters, passphrase-style
  • Color Conversion — hex to RGB, RGB to hex, hex to HSL, HSL to hex

Fragment Routing

The skill is split into 16 focused fragments. Agents load only the fragment needed: datetime, system-info, crypto, encoding, text-transform, validation, json, yaml (frontmatter-only parse), formatting, datarim-sync, ga4-admin, ssh-deploy (base64 pattern for heredoc-safe remote execution), recovery (restoring lost runtime files from compacted session context), keyword-linter (keyword-denylist linter recipe), git-diff-parsing (separating real additions and removals from hunk context) and shell-conventions (IFS, word-splitting and locale rules for portable shell helpers).

Framework Utilities

Includes Datarim-specific recipes: syncing framework files between the project runtime ${DATARIM_RUNTIME}/ and the Datarim repo, GA4 Admin API setup, SSH deploy via base64 encoding, and disaster recovery of lost runtime files.

When It's Used

Loaded on demand when an agent needs a utility operation. The skill prevents unnecessary external dependencies and ensures consistent behavior across macOS and Linux environments.