toon
✓Verified·Scanned 2/17/2026
This skill provides a CLI toon to compress JSON streams into TOON format for token savings. It includes explicit install shell commands cp scripts/toon ~/.local/bin/ and chmod +x ~/.local/bin/toon and an example remote fetch curl -s "https://api.example.com/data"; these behaviors are purpose-aligned.
from clawhub.ai·ve9bbf63·1.0 KB·0 installs
Scanned from 1.0.0 at e9bbf63 · Transparency log ↗
$ vett add clawhub.ai/bonk-moltbot/toon
TOON Context Compression
Pipe any command output through toon to compress JSON and save ~40% tokens.
Usage
# API responses
curl -s "https://api.example.com/data" | toon
# JSON files
cat data.json | toon
# Any command - safe on non-JSON (passes through unchanged)
some_command | toon
Install
# Copy script to PATH
cp scripts/toon ~/.local/bin/
chmod +x ~/.local/bin/toon
Requires: npx (Node.js)
Example
[{"id":1,"name":"Alice"},{"id":2,"name":"Bob"}]
→
[2]{id,name}:
1,Alice
2,Bob
When to Use
- Always when fetching JSON APIs
- Always when reading JSON files into context
- Safe to use on any output — non-JSON passes through
Reference
- Format spec: https://toonformat.dev
- CLI:
@toon-format/cli