toon
✓Converts JSON to compact TOON format for reduced token usage. Use when inspecting JSON APIs, processing large JSON payloads, or reducing token costs when sending data to LLMs.
Installation
SKILL.md
| -o, --output | Output file (stdout if omitted) | | -e, --encode | Force encode mode (JSON → TOON) | | -d, --decode | Force decode mode (TOON → JSON) | | --stats | Show token savings (encode only) | | --delimiter | Array delimiter: , (default), \t, | | | --keyFolding safe | Collapse nested objects to dotted paths |
| --expandPaths safe | Expand dotted paths when decoding |
TOON uses indentation instead of braces and brackets, with inline arrays and tabular object arrays:
Converts JSON to compact TOON format for reduced token usage. Use when inspecting JSON APIs, processing large JSON payloads, or reducing token costs when sending data to LLMs. Source: knoopx/pi.
Facts (cite-ready)
Stable fields and commands for AI/search citations.
- Install command
npx skills add https://github.com/knoopx/pi --skill toon- Source
- knoopx/pi
- Category
- {}Data Analysis
- Verified
- ✓
- First Seen
- 2026-02-15
- Updated
- 2026-02-18
Quick answers
What is toon?
Converts JSON to compact TOON format for reduced token usage. Use when inspecting JSON APIs, processing large JSON payloads, or reducing token costs when sending data to LLMs. Source: knoopx/pi.
How do I install toon?
Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/knoopx/pi --skill toon Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code or Cursor
Where is the source repository?
https://github.com/knoopx/pi
Details
- Category
- {}Data Analysis
- Source
- skills.sh
- First Seen
- 2026-02-15