Xpersona
T

Toon

CLAWHUB · Unverified

Token-saving utilities for agents: Read JSON, list directories, search code, and fetch APIs in the compact TOON format. Reduces token usage by 30-50% for structured data. Skill: Toon Owner: Lythaeon Summary: Token-saving utilities for agents: Read JSON, list directories, search code, and fetch APIs in the compact TOON format. Reduces token usage by 30-50% for structured data. Tags: latest:3.0.0 Version history: v3.0.0 | 2026-02-01T17:11:49.927Z | user **Summary:** Major update removes built-in CLI scripts; shifts usage to global TOON CLI. - Removed internal utility scripts: bin/toon.j

62
Rank
84
Safety
1.7k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.7K downloads reported by the source. Last updated 4/15/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install kn7400d5fktsezh1662yyq7xz180bgxs:toon-utils
  1. Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-lythaeon-toon-utils/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

5,763 characters of source documentation, loaded on request.

Extracted files

2 files captured from the source.

SKILL.md

# TOON (Token-Oriented Object Notation) Skill

This skill provides instructions for reducing token usage by 30-60% when dealing with structured data (JSON, directory structures, API responses). 

## Setup & Installation

To minimize command overhead and save tokens, you MUST install the official TOON CLI globally before usage:

```bash
# Check if toon is installed, install if missing
toon --version || npm install -g @toon-format/cli
```

## Guidelines for Agents

- **Always optimize JSON**: Convert JSON output to TOON before including it in your context.
- **Minimize Command Length**: Use the direct `toon` command instead of `npx` to keep your own prompt usage low.
- **Prefer pipes**: Use standard Unix pipes to send data directly to the `toon` converter.

## Commands & Usage

### 1. Reading JSON Files
Instead of reading raw JSON, pipe it to `toon`.
```bash
cat data.json | toon
```

### 2. Fetching APIs
Pipe external API responses directly into `toon`.
```bash
curl -s https://api.example.com/data | toon
```
*Supports all curl flags (e.g., `-X POST`, `-H "Authorization: ..."`).*

### 3. Listing Directory Structures
Use `tree -J` or any JSON-outputting tool and pipe to `toon`.
```bash
tree -J path/to/dir | toon
```

### 4. Converting In-Line Data
To compress a JSON string for your context:
```bash
echo '{"key":"value"}' | toon
```

## Why install TOON?
- **Command Token Savings**: `toon` is shorter than `npx @toon-format/cli`, saving tokens every time you run a command.
- **Execution Speed**: Local installation is significantly faster than on-demand fetching.
- **Readability**: TOON is designed to be highly readable for LLMs.

_meta.json

{
  "ownerId": "kn7400d5fktsezh1662yyq7xz180bgxs",
  "slug": "toon-utils",
  "version": "3.0.0",
  "publishedAt": 1769965909927
}

Sponsored

Ads related to Toon and adjacent AI workflows.