Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By nsheapsv0.2.26In 1 marketplace
Data format conversion and querying utilities. Supports YAML, JSON, TOON (Token-Oriented Object Notation), and XML/HTML transformations with special handling for Playwright accessibility snapshots. TOON provides 30-60% token reduction vs JSON for LLM contexts.
Claude loads one when your task matches it, or you run it by name.
1 marketplace, most starred first
yaml, json, toon, xml, html, conversion, serialization, token-efficient ·
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Data format conversion and querying utilities for Claude Code.
This plugin provides tools for converting between common data formats (YAML, JSON, TOON, XML/HTML) and querying structured data using industry-standard tools like jq, yq, and XPath.
TOON (Token-Oriented Object Notation) is a token-efficient serialization format designed for LLM contexts, achieving 30-60% token reduction vs JSON while maintaining full data fidelity.
See Installation Guide for all installation methods.
# Via marketplace (recommended)
# Follow marketplace setup: ../../docs/manual-installation.md
# Or via GitHub
claude plugins install github:nsheaps/ai-mktpl/plugins/data-serialization
# Or locally for testing
cc --plugin-dir /path/to/plugins/data-serialization
# Using the convert.sh script
/path/to/plugins/data-serialization/scripts/convert.sh input.json yaml
/path/to/plugins/data-serialization/scripts/convert.sh config.yaml toon
/path/to/plugins/data-serialization/scripts/convert.sh data.toon json
/path/to/plugins/data-serialization/scripts/convert.sh page.html json
# With explicit source format
convert.sh data.txt json --from yaml
# Save to file
convert.sh input.json toon --output output.toon
# Playwright snapshots
convert.sh snapshot.md json --playwright
See the skill documentation for comprehensive jq, yq, and XPath examples.
jq - JSON processoryq - YAML processor (mikefarah/yq)toon_format - TOON support (from GitHub)xmltodict - XML to dict conversion (optional)dicttoxml - Dict to XML conversion (optional)Install on macOS:
brew install jq yq
pip install git+https://github.com/toon-format/toon-python.git xmltodict dicttoxml
| Use Case | Recommended Format |
|---|---|
| LLM prompts/context | TOON (30-60% fewer tokens) |
| API data interchange | JSON |
| Config files humans edit | YAML |
| Enterprise integrations | XML |
TOON excels with uniform arrays of objects - achieving CSV-like compactness while preserving structure for LLM parsing:
# JSON: 257 tokens
[{"id": 1, "name": "Alice"}, {"id": 2, "name": "Bob"}]
# TOON: 166 tokens (35% reduction)
users[2]{id,name}:
1,Alice
2,Bob
For deeply nested or non-uniform data, JSON may be more efficient.
data-serialization - Main skill with conversion and querying guidanceMIT
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub nsheaps/ai-mktpl --plugin data-serializationPlugins from other owners that cover similar ground