/self-learning:toon-formatfrom self-learning
Provides syntax rules, quoting conventions, and validation for TOON—a compact JSON alternative optimized for LLM token efficiency. Useful for .toon file operations, org-patterns generation, and JSON-to-TOON conversion.
Ships in self-learning. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
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.
Arrays use bracketed headers with mandatory length count:
tags[3]: admin,ops,dev
For arrays of objects with identical structure, use field headers in braces:
patterns[2]{id,category,summary}:
P-001,pattern,"Use tokens for colors"
P-002,mistake,"Check auth before routes"
{...} after the countObjects use indentation-based nesting (2 spaces per level):
user:
id: 123
name: Ada
Strings MUST be quoted if they contain:
true, false, null)Escape sequences: \\, \", \n, \r, \t
Standard format for ClosedLoop organization learnings:
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 emptyapplies_to - Pipe-separated agent names or * for allcontext - Pipe-separated tagsrepo - Repository name (derived from git remote basename) or * for all reposreferences/examples.md for comprehensive examplesWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub closedloop-ai/claude-plugins --plugin self-learning2 skills in this plugin
Other plugins' skills for the same job