Agent skill · Databases

toon-formatter

Token-Oriented Object Notation (TOON) format expert for 30-60% token savings on structured data. Auto-applies to arrays with 5+ items, tables, logs, API responses, database results. Supports tabular, inline, and expanded formats with comma/tab/pipe delimiters. Triggers on large JSON, data optimization, token reduction, structured data, arrays, tables, logs, metrics, TOON.

majiayu000github.com/majiayu000GitHub ↗
claude-codecan modify filesMIT
Install
npx skills add majiayu000/claude-skill-registry --skill toon-formatter --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 6 KB
Bundled scripts: none
Version: 2.0
Declared author: raintree
Allowed tools: ReadWriteEditBash
Path: skills/ai-llm/toon-formatter/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# TOON v2.0 Format Expert **TOON (Token-Oriented Object Notation)** saves 30-60% tokens on structured data by eliminating repetitive keys in uniform arrays. ## When to Use **Automatically apply TOON when:** - Arrays with 5+ similar objects - API responses with repeated structure - Database query results - Log entries, events, transactions - Metrics, analytics, benchmarks - Any tabular data **Keep as JSON when:** - Small arrays (<5 items) - Deeply nested non-uniform data - Single objects - Narrative text or instructions ## Format Specification ### Tabular Format (Most Common) For arrays of uniform objects: ``` [count]{field1,field2,field3}: value1,value2,value3 value1,value2,value3 ``` **Example - JSON (120 tokens):** ```json [ {"id": 1, "name": "Alice", "role": "admin", "active": true}, {"id": 2, "name": "Bob", "role": "user", "active": true}, {"id": 3, "name": "Carol", "role": "user", "active": false} ] ``` **TOON (70 tokens, 42% savings):** ``` [3]{id,name,role,active}: 1,Alice,admin,true 2,Bob,user,true 3,Carol,user,false ``` ### Inline Format For primitive arrays (10 or fewer items): ``` fieldName[count]: value1,value2,value3 ``` **Example:** ``` tags[4]: javascript,react,nodej

What's inside
Steps it walks through
  1. When to Use
  2. Format Specification
  3. Tabular Format (Most Common)
  4. Inline Format
  5. Expanded Format
  6. Delimiters
  7. Key Folding (Nested Objects)
  8. Special Values
  9. Conversion Patterns
  10. API Response
  11. Log Entries
  12. Database Results
  13. Mixed Content
  14. Decision Flowchart
Ships with 1 file
  • metadata.json
Commands it runs
Encode JSON to TOON
Decode TOON to JSON
Check if TOON recommended
Analyze token savings
More from claude-skill-registry
All skills →
About this skill
What does the toon-formatter skill do?

Token-Oriented Object Notation (TOON) format expert for 30-60% token savings on structured data. Auto-applies to arrays with 5+ items, tables, logs, API responses, database results. Supports tabular, inline, and expanded formats with comma/tab/pipe delimiters. Triggers on large JSON, data optimization, token reduction, structured data, arrays, tables, logs, metrics, TOON.

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill toon-formatter --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going