ref-toon-format
БесплатноБез исполняемых скриптовНе проверенTOON format knowledge and usage patterns for agent communication and memory persistence in plan-marshall marketplace
от majiayu000★ 31 звезда на GitHubОб этом скилле
TOON Format Usage Skill
REFERENCE MODE: This skill provides TOON format reference material. Load specific references on-demand based on current task.
Pure reference skill providing TOON (Token-Oriented Object Notation) format specification and usage patterns for agent handoffs and memory persistence.
What This Skill Provides
TOON Specification: Complete technical reference for TOON format syntax, semantics, and conversion patterns.
Agent Patterns: Usage patterns for agent handoffs, memory persistence, and inter-agent data exchange.
Token Efficiency: Guidance on when and how to use TOON for 30-60% token reduction.
Pattern Type
Pattern 10: Reference Library - Pure reference skill with no execution logic. Load references on-demand based on current task.
When to Use This Skill
Activate when:
- Creating agent handoffs - Need TOON format for inter-agent communication
- Designing memory persistence - Need structured data storage in memory layer
- Converting JSON to TOON - Need conversion examples and patterns
- Optimizing token usage - Need token-efficient data representation
- Understanding TOON syntax - Need technical reference for TOON format
Core Concepts
TOON Format Overview
TOON (Token-Oriented Object Notation) is a compact, human-readable encoding of the JSON data model that minimizes tokens.
Key Features:
- 30-60% token reduction vs JSON for uniform arrays
- Declared structure once: Field headers defined upfront, not repeated
- Tabular data: CSV-style rows for uniform arrays
- Explicit clarity:
[N]length and{fields}headers improve LLM parsing
Best For:
- Agent handoffs with uniform issue lists
- Coverage reports with tabular data
- Build failures with repeated structure
- Memory persistence with structured session data
NOT For:
- API interchange (use JSON)
- Configuration files (use YAML/JSON)
- Deeply nested structures (>3 levels)
- Non-uniform object shapes
Agent Communication Scope
TOON is ONLY for internal plan-marshall marketplace operations:
- Agent-to-agent handoffs
- Memory persistence (memory layer)
- Inter-agent data exchange
- Test fixtures for agent workflows
NOT for:
- Application code or APIs
- General LLM integration
- External data interchange
Available References
Load references progressively based on current task. Never load all references at once.
1. TOON Specification (Technical Reference)
File: knowledge/toon-specification.md
Load When:
- Learning TOON syntax and semantics
- Understanding conversion patterns
- Validating TOON structure
- Comparing with JSON/CSV/YAML
Contents:
- Core syntax (primitives, objects, arrays)
- Uniform arrays (TOON's sweet spot)
- Nested structures and mixing
- Advanced features (optional fields, escaping)
- Conversion examples (Sonar issues, coverage)
- Internal
toon_parser.pymodule usage - Best practices and optimization tips
- Performance characteristics and trade-offs
Load Command:
Read knowledge/toon-specification.md
2. Agent Patterns (Usage Patterns)
File: knowledge/agent-patterns.md
Load When:
- Creating agent handoff templates
- Designing memory persistence
- Converting JSON fixtures to TOON
- Understanding agent prompt patterns
Contents:
- Handoff template examples (minimal, standard, full)
- Memory persistence patterns
- Agent prompt patterns (receiving/generating TOON)
- Test fixture examples
- Token impact measurements
- Migration guidance
Load Command:
Read knowledge/agent-patterns.md
Usage Workflow
Step 1: Identify Your Goal
Determine what you're trying to accomplish:
- Learning TOON syntax → Load toon-specification.md
- Creating agent handoff → Load agent-patterns.md
- Converting JSON to TOON → Load both references
- Understanding token savings → Load toon-specification.md (performance section)
Step 2: Load Relevant References
Never load all references - Load only what's needed for current task.
Example:
# Creating agent handoff
Read knowledge/agent-patterns.md
# Understanding TOON syntax
Read knowledge/toon-specification.md
Step 3: Apply Patterns
Follow the guidance in loaded references:
- Use TOON for uniform array structures
- Follow tabular data format for repeated objects
- Include
[N]length declarations - Declare
{field1,field2}headers explicitly - Use proper CSV escaping for special characters
Step 4: Validate Syntax
Ensure TOON follows format requirements:
- Length declaration matches row count
- Field count matches header declaration
- CSV escaping for commas in values
- Consistent indentation for nesting
Quick Reference Guide
When to Load What
Learning TOON format:
Read knowledge/toon-specification.md
Creating agent handoffs:
Read knowledge/agent-patterns.md
Converting JSON to TOON:
Read knowledge/toon-specification.md
Read
Установить ref-toon-format в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
ReadВложенные файлы
FAQ
Что делает скилл ref-toon-format?
TOON format knowledge and usage patterns for agent communication and memory persistence in plan-marshall marketplace
Как установить скилл ref-toon-format?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл ref-toon-format запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic