toon

Encode JSON-like data into compact indentation-based TOON syntax.

1|Updated Jan 22, 2026
One-click install
npx skills add https://github.com/guardian-intelligence/apm2 --skill toon-guardian-intelligence
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: toon
Source: https://github.com/guardian-intelligence/apm2/tree/main/documents/skills/toon
Command: npx skills add https://github.com/guardian-intelligence/apm2 --skill toon-guardian-intelligence

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

TOON provides a compact, deterministic syntax to encode JSON-like data using indentation and explicit structure, reducing noise and enabling reliable round-trips in data interchange and prompts.

Core Features & Use Cases

  • Deterministic syntax with explicit array headers and field lists.
  • Efficient representation for tabular data and nested objects with minimal quoting.
  • Use cases include data interchange in prompts, lightweight serialization, and configuration dumps.

Quick Start

Convert a sample JSON object to TOON and verify a round-trip, for example: { "id": 1, "name": "Ada" } → TOON representation.

Frequently Asked Questions about toon

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

FAQPage Schema
What is indentation-based data serialization and when should I use it instead of JSON?

Indentation-based data serialization encodes JSON-like structures using whitespace and explicit headers instead of braces and brackets. It is ideal for data interchange and configuration dumps where compact, readable representations are preferred.

How do I convert JSON to a compact notation format for prompts?

Convert JSON to compact notation by applying indentation-based syntax with explicit array headers and field lists. This enforces deterministic encoding, reducing noise for lightweight serialization in prompts.

Does deterministic data notation support round-trip serialization for nested objects?

Deterministic data notation supports reliable round-trip serialization for nested objects and tabular data. It enforces strict quoting rules for strings and keys, ensuring data integrity during interchange.

What's the best way to serialize tabular data without excessive quoting overhead?

The best way to serialize tabular data is using a notation with header-based array notation and minimal quoting. This approach enforces explicit structure and field lists, reducing overhead compared to standard JSON.

Are there limitations when using indentation-based syntax for data interchange?

Limitations of indentation-based syntax include strict adherence to deterministic rules for headers, indentation, and quoting. Deviating from these specifications breaks the reliable round-trip encoding required for data interchange.