Borrowing it
Nothing to install: this file belongs to InDate/devharness. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/InDate/devharness/main/.claude/commands/toon.mdgit clone --depth 1 https://github.com/InDate/devharnessWrote 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.
[](https://agentmods.dev/commands/indate/devharness/toon)<a href="https://agentmods.dev/commands/indate/devharness/toon"><img src="https://agentmods.dev/badge/commands/indate/devharness/toon/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/commands/indate/devharness/toon"><img src="https://agentmods.dev/badge/commands/indate/devharness/toon.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.00469 |
| Opus 5.5 | $0.00000 | $0.00188 |
| Sonnet 5.5 | $0.00000 | $0.00094 |
| Haiku 4.5 | $0.00000 | $0.00047 |
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 2mo 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.
What it actually says
TOON (Token-Oriented Object Notation)
A lightweight data format designed to minimize token usage when passing structured data to LLMs.
Syntax Reference
| Type | Syntax | Example |
|---|---|---|
| Key-value | key:value; |
name:Luna;age:3 |
| Spaces in values | (...) |
title:(Chief Snack Manager) |
| Arrays (unordered) | [item|item] |
pets:[cat|dog|ferret] |
| Lists (ordered) | <item|item> |
shopping:<milk|eggs|bread> |
| Nested objects | {...} |
user:{name:Luna;stats:{speed:9;stealth:10}} |
Rules
- Key-value pairs separated by semicolons
- No quotes needed for simple strings
- Use parentheses
()for values containing spaces or special characters - Arrays
[]for unordered collections, Lists<>for ordered sequences - Pipe
|separates items in arrays/lists - Curly braces
{}for nested structures
Examples
Simple object:
name:Luna;age:3;color:silver
With spaces:
name:Luna;title:(Chief Snack Manager);active:true
With array:
name:Luna;pets:[cat|dog|ferret];active:true
Nested:
user:{name:Luna;stats:{speed:9;stealth:10}};timestamp:123456
When to Use
- Data passed directly into LLM prompts
- Internal tool outputs within AI workflows
- RAG systems and metadata encoding
- Bulk classification tasks
- Scenarios prioritizing compactness over schema validation
When NOT to Use
- Public APIs (use JSON)
- External systems requiring schema validation
- Anywhere standardized formats are required
Token Efficiency
~58% reduction compared to JSON (26 tokens → 11 tokens for equivalent data).
Use TOON format when the user requests token-efficient data representation or when outputting structured data that will be consumed by LLMs.
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.
- 2mo ago First seen · 67 lines · 0 tokens per session scan A 4ca569e77e1c
toon is a command published in the GitHub repository InDate/devharness (19 stars, last pushed today), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 469 tokens. 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.
Other commands, from other repositories
unicli-repair
Diagnose and fix a broken Uni-CLI adapter from the original failure evidence.
speckit.specjudge.recommend
Recommend the model that fits this feature's tasks, with the fragment of the spec behind every level.
debug
Debug code issues with systematic problem-solving and troubleshooting steps.
qa
Dispatch a verifiable browser task to the qa-tester subagent. Use for regression checks, smoke tests, and any task with a clean pass/fail outcome. Supports an EXHAUSTIVE mode that verifies every control behind an honesty gate.
checkpoint
Write a new link in the continuum chain summarizing decisions/changes since the last link.
design-qa
Agent-driven design QA — walk the running app, judge design/UX, and drop a Comment-Mode comment on every issue (visible to the human as pins). Then read the session back and fix everything in bulk. Optional focus argument steers the pass.