Claude Code Plugins

Community-maintained marketplace

Feedback

Convert JSON/YAML/XML/CSV to token-efficient formats (30-70% savings)

Install Skill

1Download skill
2Enable skills in Claude

Open claude.ai/settings/capabilities and find the "Skills" section

3Upload to Claude

Click "Upload skill" and select the downloaded ZIP file

Note: Please verify skill by going through its instructions before using it.

SKILL.md

name llm-fmt
description Convert JSON/YAML/XML/CSV to token-efficient formats (30-70% savings)
allowed-tools Bash

llm-fmt

Reduces tokens by 30-70% for structured data in LLM contexts.

Usage

llm-fmt data.json                    # TOON output (default)
llm-fmt data.json -f tsv             # TSV (best for tables, 60-75% savings)
llm-fmt data.json -f yaml            # YAML (nested configs, 25-35%)
llm-fmt data.json --analyze          # Compare all formats

Filtering & Truncation

llm-fmt data.json -i "users[*].name"           # Extract paths
llm-fmt data.json --max-depth 3                # Limit nesting
llm-fmt data.json --max-items 50               # Limit arrays
llm-fmt data.json --max-string-length 200      # Limit strings
llm-fmt data.json --truncation-strategy tail   # head|tail|balanced|sample

Format Guide

Data Format Savings
Tables, uniform arrays tsv 60-75%
Object arrays (API/logs) toon 45-60%
Nested configs yaml 25-35%
Mixed/complex json 10-15%

Pipes

curl -s api.example.com/data | llm-fmt -f tsv
cat large.json | llm-fmt --max-items 100