toon

Encode JSON data into Token-Oriented Object Notation with indentation and tabular arrays.

108|4|Updated Jan 17, 2026
One-click install
npx skills add https://github.com/butttons/dora --skill toon-butttons
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: toon
Source: https://github.com/butttons/dora/tree/main/.pi/skills/toon
Command: npx skills add https://github.com/butttons/dora --skill toon-butttons

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill addresses the high token cost and verbosity of standard JSON when used as input for Large Language Models (LLMs), offering a more efficient and LLM-friendly data representation.

Core Features & Use Cases

  • Token Efficiency: Significantly reduces token count compared to JSON and YAML for structured data, lowering LLM API costs.
  • LLM-Friendly Structure: Uses indentation and tabular arrays to improve LLM parsing reliability and accuracy.
  • Use Case: Convert a large JSON dataset of user profiles into TOON format before sending it to an LLM for analysis, reducing processing time and cost while maintaining data integrity.

Quick Start

Use the toon skill to convert the attached file 'data.json' into TOON format.

Frequently Asked Questions about toon

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I reduce token cost when sending large JSON datasets to an LLM?

You can reduce token cost by converting JSON data into Token-Oriented Object Notation (TOON), a compact, indentation-based format that minimizes tokens while preserving the original data model for LLM input.

What is the best way to serialize structured data for LLM parsing accuracy?

The best way to serialize structured data for LLM parsing accuracy is using a token-efficient format with indentation-based structure and CSV-style tabular arrays, which helps LLMs parse uniform data reliably.

Does converting JSON to a compact format support lossless round-trips?

Yes, converting JSON to TOON supports lossless round-trips, meaning the encoded data can be fully restored to its original JSON structure without losing any information during the serialization process.

How do I encode a JSON file into TOON format?

To encode a JSON file into TOON format, process the attached JSON file through the conversion skill, which outputs a human-readable, token-optimized representation ready for LLM analysis.

Why use TOON instead of YAML for LLM input?

TOON provides greater token efficiency than YAML and JSON, using indentation and tabular arrays to significantly reduce token count and lower API costs while maintaining data integrity.

When should I not use a compact data format for LLM processing?

You should avoid compact data formats if your downstream system strictly requires raw JSON or lacks a deserialization mechanism to decode the TOON structure back into standard JSON.