toon

Community

Compact JSON for LLM prompts with TOON.

Authorgeorgekhananaev
Version1.0.0
Installs0

System Documentation

What problem does it solve?

TOON provides a compact, human-readable encoding of JSON designed to minimize token usage in LLM prompts while preserving lossless round-trips.

Core Features & Use Cases

  • Compact data encoding: reduces token counts for large JSON payloads without losing structure.
  • Uniform arrays and object representations: supports tabular-style arrays for efficient parsing by LLMs.
  • Use Case: quickly convert API responses or configuration payloads into TOON to speed up prompt processing and improve comprehension.

Quick Start

Convert a sample.json to TOON using the Node.js converter: node convert.js sample.json > sample.toon. Then decode back with --verify to ensure round-trip integrity.

Dependency Matrix

Required Modules

@toon-format/toon

Components

scripts

💻 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: toon
Download link: https://github.com/georgekhananaev/claude-skills-vault/archive/main.zip#toon

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 471,000+ vetted skills library on demand.