Hi - I answer from the OpenSmartRoute documentation: routing, the API, plans and quotas, self-hosting. Ask away, or open a support ticket if you need a person.
Grounded in the docs - follow a source before acting on it.
toon - Skill - OpenSmartRoute
Skillv1.0.0
toon
Compress JSON data to TOON format for ~40% context savings. Use when fetching APIs, reading JSON files, or any task outputting structured data. Pipe any output through `toon` - JSON gets compressed, n
Imported from modbender/skill-library-mcp (data/toon/SKILL.md). Install upstream with npx skills add modbender/skill-library-mcp --skill toon. Copyright stays with the author.
TOON Context Compression
Pipe any command output through toon to compress JSON and save ~40% tokens.
Usage
# API responsescurl -s "https://api.example.com/data" | toon# JSON files cat data.json | toon# Any command - safe on non-JSON (passes through unchanged)some_command | toon
Install
# Copy script to PATHcp scripts/toon ~/.local/bin/chmod +x ~/.local/bin/toon
Requires: npx (Node.js)
Example
[{"id":1,"name":"Alice"},{"id":2,"name":"Bob"}]
→
[2]{id,name}: 1,Alice 2,Bob
When to Use
Always when fetching JSON APIs
Always when reading JSON files into context
Safe to use on any output — non-JSON passes through
Copy one of these into your project. Installing also returns the manifest and these snippets.
# after Install: the listing is in your workspace's routing pool - a plan picks it for its slot
curl -s -X POST https://api.opensmartroute.ai/api/v1/route -H 'Authorization: Bearer $OSR_API_KEY' -H 'Content-Type: application/json' -d '{"text": "...", "plan": true}'
Manifest
An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.
modbender-skill-library-mcp-toon.ocm.jsonjson
{
"ocm": "1",
"id": "modbender-skill-library-mcp-toon",
"kind": "skill",
"name": "toon",
"description": "Compress JSON data to TOON format for ~40% context savings. Use when fetching APIs, reading JSON files, or any task outputting structured data. Pipe any output through `toon` - JSON gets compressed, non-JSON passes through unchanged.",
"publisher": "modbender",
"version": "1.0.0",
"capabilities": {
"domains": [
"math"
],
"tags": [
"skill-md",
"github"
],
"languages": [
"en"
]
},
"quality_prior": 0.6,
"examples": [
"Compress JSON data to TOON format for ~40% context savings. Use when fetching APIs, reading JSON files, or any task outputting structured data. Pipe any output through `toon` - JSON gets compressed, non-JSON passes through unchanged."
],
"primary": false,
"metadata": {
"source": {
"provider": "github",
"repository": "https://github.com/modbender/skill-library-mcp",
"path": "data/toon/SKILL.md",
"ref": "5934c483768f9f8c792b8b7c0bb6f45a77df3edf",
"url": "https://github.com/modbender/skill-library-mcp/blob/5934c483768f9f8c792b8b7c0bb6f45a77df3edf/data/toon/SKILL.md",
"key": "modbender/skill-library-mcp/data/toon/SKILL.md"
}
},
"instructions": "# TOON Context Compression\r\n\r\nPipe any command output through `toon` to compress JSON and save ~40% tokens.\r\n\r\n## Usage\r\n\r\n```bash\r\n# API responses\r\ncurl -s \"https://api.example.com/data\" | toon\r\n\r\n# JSON files \r\ncat data.json | toon\r\n\r\n# Any command - safe on non-JSON (passes through unchanged)\r\nsome_command | toon\r\n```\r\n\r\n## Install\r\n\r\n```bash\r\n# Copy script to PATH\r\ncp scripts/toon ~/.local/bin/\r\nchmod +x ~/.local/bin/toon\r\n```\r\n\r\nRequires: `npx` (Node.js)\r\n\r\n## Example\r\n\r\n```json\r\n[{\"id\":1,\"name\":\"Alice\"},{\"id\":2,\"name\":\"Bob\"}]\r\n```\r\n→\r\n```toon\r\n[2]{id,name}:\r\n 1,Alice\r\n 2,Bob\r\n```\r\n\r\n#",
"cost": {
"context_tokens": 210
}
}
Fetch it by URL: GET /api/v1/registry/modbender-skill-library-mcp-toon/manifest?version=1.0.0
Reviews
Star ratings from people who tried it. One review per account; edit yours any time.
No reviews yet. Install it, try it, and be the first to rate it.