toon

toon is a skill for Claude Code, Codex from butttons/dora. It costs 51 tokens per session (11,384 once invoked), scanned A, original, MIT.

A compact text format for representing JSON, the common data format used by programs. It uses indentation and table-like rows to make structured data shorter and easier for language models to read.

In plain words
What is it for?
Use it to encode JSON before giving it to a language model, especially when working with lists of similarly shaped records.
Why use it?
It can reduce the amount of text sent to a language model while preserving the original data. It is most useful when many objects share the same fields, while irregular or deeply nested data may be better kept as JSON.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/butttons/dora/toon
Any agent
npx skills add butttons/dora --skill toon
Clone the repo
git clone --depth 1 https://github.com/butttons/dora

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for toon

README.md
[![agentmods](https://agentmods.dev/badge/skills/butttons/dora/toon.svg)](https://agentmods.dev/skills/butttons/dora/toon)
Your own site
<a href="https://agentmods.dev/skills/butttons/dora/toon"><img src="https://agentmods.dev/badge/skills/butttons/dora/toon.svg" alt="Measured on agentmods" height="20"></a>
Per session 51 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 11,384 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00051 $0.11384
Opus 5 $0.00026 $0.05692
Sonnet 5 $0.00010 $0.02277
Haiku 4.5 $0.00005 $0.01138

Measured 5d ago against content hash 42fc044f2d74, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

toon scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.pi/skills/toon/SKILL.md · 933 lines

How it starts

The opening of the file, as written. The whole thing — 933 lines — stays where its author put it; the contents beside it link to each section on GitHub.

TOON logo with step‑by‑step guide

Token-Oriented Object Notation (TOON)

CI npm version SPEC v3.0 npm downloads (total) License: MIT

Token-Oriented Object Notation is a compact, human-readable encoding of the JSON data model that minimizes tokens and makes structure easy for models to follow. It's intended for LLM input as a drop-in, lossless representation of your existing JSON.

TOON combines YAML's indentation-based structure for nested objects with a CSV-style tabular layout for uniform arrays. TOON's sweet spot is uniform arrays of objects (multiple fields per row, same structure across items), achieving CSV-like compactness while adding explicit structure that helps LLMs parse and validate data reliably. For deeply nested or non-uniform data, JSON may be more efficient.

The similarity to CSV is intentional: CSV is simple and ubiquitous, and TOON aims to keep that familiarity while remaining a lossless, drop-in representation of JSON for Large Language Models.

Think of it as a translation layer: use JSON programmatically, and encode it as TOON for LLM input.

[!TIP] The TOON format is stable, but also an idea in progress. Nothing's set in stone – help shape where it goes by contributing to the spec or sharing feedback.

Table of Contents

Read the full file on GitHub · 933 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 933 lines · 51 tokens per session scan A 42fc044f2d74

Subscribe to this mod's changes

toon is a skill published in the GitHub repository butttons/dora (108 stars, last pushed 5mo ago), licensed MIT. It adds 51 tokens to every session and 11,384 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

mastermind-prompt-refiner

Rewrite a request for a different agent or reusable prompt while preserving the original intent verbatim. Use when the user explicitly asks to improve/rewrite a prompt, or immediately before handing a genuinely rough request to a cold agent that will not see the original conversation. Do not activate merely because…

xcrft/mastermind · 73 tokens

roam

Codebase comprehension via roam-code CLI. Use when exploring codebases, planning modifications, debugging failures, assessing PR risk, or checking architecture health. Triggers on: understanding project structure, pre-change safety checks, finding symbols/files, blast radius analysis, affected tests, health scoring…

Cranot/roam-code · 86 tokens

art-director

Prompt and asset generation craft — turns an approved scenario into prompts.json and generated media through ralphy generate. Owns anchor order (location-master-plate first), character fit, photoreal-human prompting, model choice and cost preview, the reference-photo policy, regeneration rules, and the image/video…

alecs5am/ralphy · 154 tokens

json-prompt-engine

Analyze a reference image (or video frame) and emit a ready-to-paste structured JSON prompt that captures every visual quality needed to reproduce it through ralphy generate image --prompt-file. The reverse of the prompt cookbook: image in -> dense JSON prompt out (scene / style / technical / materials / environment /…

alecs5am/ralphy · 270 tokens

prompt-engineering-expert

Expert prompt engineering, custom instruction, system prompt, and agent instruction design. Use when Codex needs to review, generate, refactor, debug, optimize, document, or test AI prompts; design reusable prompt templates; create or improve system prompts, custom instructions, agent behavior guidelines, tool-use…

alecs5am/ralphy · 76 tokens

seedance-prompts

Write effective prompts for Seedance 2.0 (bytedance/seedance-2.0) multimodal video generation — the official basic prompt formula (Subject+Motion required; Environment/Aesthetics/Camera/Audio optional), the @ reference system (@Image1/@Video1/@Audio1 role assignment, equivalent to the guide's plain Image 1/Video 1)…

alecs5am/ralphy · 335 tokens