semantic-key-shortening
Installation
SKILL.md
Semantic Key Shortening Protocol (JSON Payload Compression)
Overview
In automated extraction, log processing, and multi-agent communications, models frequently emit structured JSON objects with long, descriptive multi-word keys ("source_file_absolute_path", "target_destination_directory", "error_diagnostic_message").
In high-volume batch runs ($>500$ records), repeating 30-character descriptive keys on every JSON object consumes thousands of redundant tokens without adding any technical clarity.
The Semantic Key Shortening Protocol replaces verbose key names with standardized developer abbreviations (src, dst, err, req, res, fn, qty) - using client-side Pydantic and TypeScript aliases to expand them into full domain entities automatically.