Agent skill · Data & Analytics

toon-format

TOON (Token-Oriented Object Notation) encoding for LLM-efficient data representation. 30-60% token savings vs JSON for structured data.

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill toon-format --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
Path: skills/ai-llm/toon-format/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 Format Skill TOON is a compact, human-readable encoding of JSON designed for LLM prompts. ## Variables | Variable | Default | Description | |----------|---------|-------------| | VALIDATION_MODE | strict | `strict` (CLI validation required) or `lenient` (parser permissive) | | AUTO_FIX | true | Run fix scripts automatically on validation failure | ## Instructions **MANDATORY** - Follow the format rules in this skill and `reference/format-rules.md`. - Always include explicit `[count]` for arrays - Use 2-space indentation for tabular rows - Add blank line after tabular arrays to terminate them - Use semicolons for nested arrays in cells (NOT commas) ## Red Flags - STOP and Reconsider If you're about to: - Put commas inside quoted strings in tabular cells - Omit the `[count]` from array declarations - Forget the blank line after a tabular array - Use YAML-style `- item` list syntax - Add comments with `#` **STOP** -> Check `reference/format-rules.md` -> Then proceed ## Workflow 1. [ ] Determine if TOON is appropriate (see "When to Use TOON" below) 2. [ ] Design data structure for tabular representation 3. [ ] **CHECKPOINT**: Verify format matches rules 4. [ ] Write TOON with pr

What's inside
Steps it walks through
  1. Variables
  2. Instructions
  3. Red Flags - STOP and Reconsider
  4. Workflow
  5. Cookbook
  6. Format Rules
  7. Validation & Fixing
  8. When to Use TOON
  9. TOON Syntax
  10. Key-Value (YAML-like)
  11. Arrays with Explicit Length
  12. Tabular Data (Primary Use Case)
  13. Nested Arrays in Cells
  14. Multi-line Strings
Ships with 1 file
  • metadata.json
Commands it runs
Validate with official CLI (use --decode, not validate!)
npx @toon-format/cli --decode file.toon > /dev/null
Auto-fix common issues (run in this order)
python3 .claude/ai-dev-kit/dev-tools/scripts/fix_toon_comments.py path/
python3 .claude/ai-dev-kit/dev-tools/scripts/fix_toon_yaml_lists.py path/
python3 .claude/ai-dev-kit/dev-tools/scripts/fix_toon_nested_lists.py path/
python3 .claude/ai-dev-kit/dev-tools/scripts/fix_toon_commas.py path/
python3 .claude/ai-dev-kit/dev-tools/scripts/fix_toon_pipes.py path/
python3 .claude/ai-dev-kit/dev-tools/scripts/fix_toon_multiline.py path/
python3 .claude/ai-dev-kit/dev-tools/scripts/fix_toon_blank_lines.py path/
More from claude-skill-registry
All skills →
About this skill
What does the toon-format skill do?

TOON (Token-Oriented Object Notation) encoding for LLM-efficient data representation. 30-60% token savings vs JSON for structured data.

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill toon-format --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