Agent skill

Toon Format

by closedloop-ai in closedloop-ai/claude-plugins

This skill should be used when writing or parsing TOON (Token-Oriented Object Notation) files.

Apache-2.0Auto-check passed

Install Toon Format

skills CLI
$ npx skills add closedloop-ai/claude-plugins --skill toon-format -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install closedloop-ai/claude-plugins toon-format --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/closedloop-ai/claude-plugins.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/self-learning/skills/toon-format .claude/skills/toon-format && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
toon-format
GitHub stars
122
Token cost
~684 tokens
SKILL.md length
226 words
Files
2 (incl. references)
Skills in repo
43
Repo updated
First seen
Licence
Apache-2.0

At a glance

This skill should be used when writing or parsing TOON (Token-Oriented Object Notation) files.

  • Works in 5 steps: Count matches actual rows/items → Field count in rows matches declaration → Strings needing quotes are quoted → …
  • .toon file operations
  • SKILL.md covers Core Syntax Rules, Quoting Rules (Critical), org-patterns.toon Format and Validation Checklist, plus 1 more section
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Toon Format is an agent skill from closedloop-ai/claude-plugins. This skill should be used when writing or parsing TOON (Token-Oriented Object Notation) files. Triggers on .toon file operations, org-patterns.toon generation, or when converting between JSON and TOON formats. Provides syntax rules, quoting conventions, and examples for LLM-optimized data serialization.

Its SKILL.md is about 680 tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including reference files (for example `references/examples.md`).

The repository describes itself as: Open-source Claude Code plugins for multi-agent software delivery. Plan-first SDLC workflow, code review, LLM quality judges, and self-learning — grounded in your codebase… The licence is Apache-2.0.

When your agent uses it

  • .toon file operations
  • Org-patterns.toon generation
  • Converting between JSON and TOON formats

Example prompts

  • “/toon-format”

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. Count matches actual rows/items
  2. Field count in rows matches declaration
  3. Strings needing quotes are quoted
  4. 2-space indentation (no tabs)
  5. No blank lines within array blocks

What it can do on your machine

Read from SKILL.md and the folder at commit 0e20ac0. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are toon).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • github.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Toon Format loads about 684 tokens when it runs, and up to ~1.9k if it reads all its reference files. Until then it costs about 79 tokens; SKILL.md has 226 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~79
When it runs · the whole SKILL.md, loaded when a task matches
~684
With references · SKILL.md plus every file in references/, read only if the agent opens them
~1.9k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from closedloop-ai/claude-plugins at commit 0e20ac0, republished under its Apache-2.0 licence (© closedloop-ai). 226 words, ~684 tokens.

Download SKILL.mdSave it as .claude/skills/toon-format/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
toon-format
description
This skill should be used when writing or parsing TOON (Token-Oriented Object Notation) files. Triggers on .toon file operations, org-patterns.toon generation, or when converting between JSON and TOON formats. Provides syntax rules, quoting conventions, and examples for LLM-optimized data serialization.

TOON Format (Token-Oriented Object Notation)

TOON is a compact, human-readable encoding of the JSON data model optimized for LLM prompts. It achieves ~40% token reduction compared to JSON while maintaining lossless round-trip compatibility.

Core Syntax Rules

Array Declaration

Arrays use bracketed headers with mandatory length count:

toon
tags[3]: admin,ops,dev
Tabular Arrays (Uniform Object Arrays)

For arrays of objects with identical structure, use field headers in braces:

toon
patterns[2]{id,category,summary}:
  P-001,pattern,"Use tokens for colors"
  P-002,mistake,"Check auth before routes"
  • Field names declared once in {...} after the count
  • Each row contains values in declared field order
  • Rows indented with 2 spaces (NEVER tabs)
Objects

Objects use indentation-based nesting (2 spaces per level):

toon
user:
  id: 123
  name: Ada

Quoting Rules (Critical)

Strings MUST be quoted if they contain:

  • The active delimiter (comma by default)
  • Empty string, leading/trailing whitespace
  • Reserved literals (true, false, null)
  • Numeric-like patterns
  • Colons, quotes, backslashes, brackets, braces
  • Control characters or leading hyphens

Escape sequences: \\, \", \n, \r, \t

org-patterns.toon Format

Standard format for ClosedLoop organization learnings:

toon
patterns[N]{id,category,summary,confidence,seen_count,success_rate,flags,applies_to,context,repo}:
  P-001,pattern,"Summary here",high,5,0.85,,implementation-subagent,UI|styling,*
  P-002,mistake,"Check auth before routes",medium,3,0.60,[REVIEW],*,auth|routes,astoria-frontend

Field notes:

  • summary - Always quoted (contains natural language with commas)
  • flags - [REVIEW], [STALE], [UNTESTED], [PRUNE], or empty
  • applies_to - Pipe-separated agent names or * for all
  • context - Pipe-separated tags
  • repo - Repository name (derived from git remote basename) or * for all repos

Validation Checklist

  1. Count matches actual rows/items
  2. Field count in rows matches declaration
  3. Strings needing quotes are quoted
  4. 2-space indentation (no tabs)
  5. No blank lines within array blocks

References

© closedloop-ai, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file (references) in plugins/self-learning/skills/toon-format of closedloop-ai/claude-plugins.

  • SKILL.md
  • references/examples.md

Open the folder on GitHubat commit 0e20ac0

Compare with similar skills

Toon Format next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Toon Format compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Toon Format this skillclosedloop-ai/claude-plugins122—~684Automated safety check: PassApache-2.0
Sarif Parsingtrailofbits/skills7.4k3 repos~4.4kAutomated safety check: NotesCC-BY-SA-4.0
Parsing Artifacts With Eric Zimmerman Toolsmukul975/Anthropic-Cybersecurity-Skills34k—~2kAutomated safety check: PassApache-2.0
Parsing WorkflowNxcoreAI/EverRoom3k—~265Automated safety check: PassCustom licence
Parsing Lab Valuesmaziyarpanahi/openmed5.5k—~1.6kAutomated safety check: PassApache-2.0
Parsing Trial Eligibilitymaziyarpanahi/openmed5.5k—~2.1kAutomated safety check: PassApache-2.0

Similar skills

  • Sarif Parsing

    trailofbits/skills

    Official

    Parses and processes SARIF files from static analysis tools like CodeQL, Semgrep, or other scanners.

    7.4k GitHub starsUsed in 3 repos~4.4k tokens
    SecurityAuto-check: notes
  • Parsing Artifacts With Eric Zimmerman Tools

    mukul975/Anthropic-Cybersecurity-Skills

    Parse Windows forensic artifacts—$MFT/$J (MFTECmd), Prefetch (PECmd), registry hives (RECmd), shellbags, and Amcache—into normalized CSV/JSON with Eric Zimmerman's EZ Tools, then load results into…

    34k GitHub stars~2k tokensUpdated 1 mo ago
    DevOps & CloudAuto-check passed
  • Parsing Workflow

    NxcoreAI/EverRoom

    Parse and validate one authorized Office or PDF file version without overstating unsupported multimodal coverage.

    3k GitHub stars~265 tokensUpdated yesterday
    Documents & OfficeAuto-check passed
  • Parsing Lab Values

    maziyarpanahi/openmed

    Parse laboratory values and reference ranges from clinical text and flag results as low, normal, high, or critical with OpenMed.

    5.5k GitHub stars~1.6k tokensUpdated yesterday
    Auto-check passed
  • Parsing Trial Eligibility

    maziyarpanahi/openmed

    Parses free-text clinical-trial eligibility criteria into structured inclusion and exclusion logic, then matches them against patient facts that OpenMed extracted.

    5.5k GitHub stars~2.1k tokensUpdated yesterday
    Research & ScienceAuto-check passed
  • Parsing Ccda Documents

    maziyarpanahi/openmed

    Parses C-CDA / CCD XML clinical documents to extract human-readable section narrative plus coded entries, keyed by section LOINC codes and templateIds.

    5.5k GitHub stars~1.9k tokensUpdated yesterday
    Research & ScienceAuto-check passed

More from closedloop-ai/claude-plugins

All 43 skills in this repo
  • Codex Review

    closedloop-ai/claude-plugins

    Run Codex to review a plan file and return structured feedback with a verdict.

    122 GitHub stars~1.4k tokensUpdated today
    Auto-check: notes
  • Critic Cache

    closedloop-ai/claude-plugins

    Check if critic reviews are still valid before re-running Phase 2.5 critics.

    122 GitHub stars~528 tokensUpdated today
    Auto-check: notes
  • Cross Repo Cache

    closedloop-ai/claude-plugins

    Check if cross-repo coordinator results can be reused, avoiding redundant Sonnet agent launches.

    122 GitHub stars~683 tokensUpdated today
    Auto-check: notes
  • Eval Cache

    closedloop-ai/claude-plugins

    Check for a cached plan-evaluation.json result before launching the plan-evaluator agent.

    122 GitHub stars~516 tokensUpdated today
    Auto-check: notes
  • Find Plugin File

    closedloop-ai/claude-plugins

    This skill should be used when needing to locate files within the Claude Code plugins cache directory (~/.claude/plugins/cache).

    122 GitHub stars~812 tokensUpdated today
    Auto-check passed
  • Gh Monitor PR

    closedloop-ai/claude-plugins

    Start a detached GitHub pull-request monitor that wakes the exact launching Codex Desktop or CLI root through the managed Codex App Server when review, CI, conflict, merge-queue, closure, readiness…

    122 GitHub stars~5.1k tokensUpdated today
    Auto-check passed

Questions about Toon Format

What does Toon Format do?

This skill should be used when writing or parsing TOON (Token-Oriented Object Notation) files. Toon Format is an agent skill from closedloop-ai/claude-plugins. This skill should be used when writing or parsing TOON (Token-Oriented Object Notation) files.

When should I use Toon Format?

Toon Format fits situations like: .toon file operations; org-patterns.toon generation; converting between JSON and TOON formats.

How do I install Toon Format in Claude Code?

Run `npx skills add closedloop-ai/claude-plugins --skill toon-format -a claude-code`. Or copy the skill folder (plugins/self-learning/skills/toon-format in closedloop-ai/claude-plugins) into .claude/skills/toon-format in your project. Claude Code loads it when a task matches its description.

How do I install Toon Format in Codex?

Run `npx skills add closedloop-ai/claude-plugins --skill toon-format -a codex`. Or copy the skill folder (plugins/self-learning/skills/toon-format in closedloop-ai/claude-plugins) into .agents/skills/toon-format in your project. Codex loads it when a task matches its description.

Can I use Toon Format in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add closedloop-ai/claude-plugins --skill toon-format -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/toon-format, .gemini/skills/toon-format, .github/skills/toon-format and .opencode/skills/toon-format in your project.

What does Toon Format need to run?

SKILL.md names no scripts, command-line tools or credentials: Toon Format is instructions for the agent only.

Does Toon Format access the network?

SKILL.md names 1 domain. As links in the text: github.com. This is read from the text; nothing was executed.

Is Toon Format safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Toon Format use?

Toon Format is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Toon Format use?

About 684 tokens (SKILL.md is roughly 2.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 1.2k tokens, read only when the agent opens those files.

What are the alternatives to Toon Format?

Skills that share tags, products or a category with Toon Format: Sarif Parsing (trailofbits/skills, 7.4k stars), Parsing Artifacts With Eric Zimmerman Tools (mukul975/Anthropic-Cybersecurity-Skills, 34k stars), Parsing Workflow (NxcoreAI/EverRoom, 3k stars) and Parsing Lab Values (maziyarpanahi/openmed, 5.5k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Toon Format?

closedloop-ai (a GitHub organization) maintains it in closedloop-ai/claude-plugins, which has 122 GitHub stars. The repository holds 43 skills in this directory. The repository was last updated on October 7, 2026.

Source: closedloop-ai/claude-plugins on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.