payload-optimization

Official

Reduce API payloads with automatic compaction.

Authorplanetaryescape
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill reduces API payload size by removing dead weight from data responses. It recursively strips null, undefined, empty strings, empty arrays, and empty objects, ensuring only meaningful data is transmitted.

Core Features & Use Cases

  • Automatic data compaction: recursively remove null/undefined/empty values from nested objects and arrays.
  • Integration with API layers: works with formatEntity and payload utilities to reduce network traffic.
  • Real-world scenario: optimize responses in high-latency or high-traffic APIs to save bandwidth and improve performance.

Quick Start

Use the compact() function on an API response payload to strip dead weight before sending to clients.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: payload-optimization
Download link: https://github.com/planetaryescape/blah.chat/archive/main.zip#payload-optimization

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.