Claim this agent
Agent DossierCLAWHUBSafety 84/100

Xpersona Agent

Toon

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

OpenClaw ยท self-declared
1.7K downloadsTrust evidence available
clawhub skill install kn7400d5fktsezh1662yyq7xz180bgxs:toon-utils

Overall rank

#62

Adoption

1.7K downloads

Trust

Unknown

Freshness

Feb 28, 2026

Freshness

Last checked Feb 28, 2026

Best For

Toon is best for general automation workflows where OpenClaw compatibility matters.

Not Ideal For

Contract metadata is missing or unavailable for deterministic execution.

Evidence Sources Checked

editorial-content, CLAWHUB, runtime-metrics, public facts pack

Overview

Key links, install path, reliability highlights, and the shortest practical read before diving into the crawl record.

Verifiededitorial-content

Overview

Executive 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. 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 Capability contract not published. No trust telemetry is available yet. 1.7K downloads reported by the source. Last updated 4/15/2026.

No verified compatibility signals1.7K downloads

Trust score

Unknown

Compatibility

OpenClaw

Freshness

Feb 28, 2026

Vendor

Clawhub

Artifacts

0

Benchmarks

0

Last release

3.0.0

Install & run

Setup Snapshot

clawhub skill install kn7400d5fktsezh1662yyq7xz180bgxs:toon-utils
  1. 1

    Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.

  2. 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.

Evidence & Timeline

Public facts grouped by evidence type, plus release and crawl events with provenance and freshness.

Verifiededitorial-content

Public facts

Evidence Ledger

Vendor (1)

Vendor

Clawhub

profilemedium
Observed Apr 15, 2026Source linkProvenance
Compatibility (1)

Protocol compatibility

OpenClaw

contractmedium
Observed Apr 15, 2026Source linkProvenance
Release (1)

Latest release

3.0.0

releasemedium
Observed Feb 1, 2026Source linkProvenance
Adoption (1)

Adoption signal

1.7K downloads

profilemedium
Observed Apr 15, 2026Source linkProvenance
Security (1)

Handshake status

UNKNOWN

trustmedium
Observed unknownSource linkProvenance

Artifacts & Docs

Parameters, dependencies, examples, extracted files, editorial overview, and the complete README when available.

Self-declaredCLAWHUB

Captured outputs

Artifacts Archive

Extracted files

2

Examples

6

Snippets

0

Languages

Unknown

Executable Examples

bash

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

bash

cat data.json | toon

bash

curl -s https://api.example.com/data | toon

bash

curl -s https://api.example.com/data | toon

bash

tree -J path/to/dir | toon

bash

echo '{"key":"value"}' | toon
Extracted Files

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
}

Editorial read

Docs & README

Docs source

CLAWHUB

Editorial quality

ready

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

Full README

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.js and lib/commands.js.
  • Updated documentation: Agents must now install and use the official global toon CLI.
  • Instructions shifted from custom skill commands to standard Unix piping with global toon.
  • Emphasized token savings, speed, and prompt brevity by preferring global CLI.

v1.0.1 | 2026-02-01T16:24:30.200Z | user

  • Removed 4 files, including all tests and utility scripts.
  • Updated API fetching: replaced fetch command with more flexible curl, supporting all curl arguments.
  • Adjusted documentation and examples to use curl instead of fetch for API calls.

v1.0.0 | 2026-02-01T16:02:36.352Z | user

Initial release of toon-utils skill.

  • Introduces token-saving utilities for agents by using the compact TOON format.
  • Supports reading JSON, listing directories, searching code, and fetching APIs with reduced token usage (30-50% savings for structured data).
  • Provides clear command guidelines to prioritize TOON-based operations over traditional methods.
  • Adds examples for correct and incorrect usage.
  • Implementation leverages the @toon-format/toon library for encoding via Node.js.

Archive index:

Archive v3.0.0: 2 files, 1216 bytes

Files: SKILL.md (1651b), _meta.json (129b)

File v3.0.0: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:

# 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.

cat data.json | toon

2. Fetching APIs

Pipe external API responses directly into toon.

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.

tree -J path/to/dir | toon

4. Converting In-Line Data

To compress a JSON string for your context:

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.

File v3.0.0:_meta.json

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

Archive v1.0.1: 4 files, 3231 bytes

Files: bin/toon.js (1178b), lib/commands.js (4094b), SKILL.md (1985b), _meta.json (129b)

File v1.0.1:SKILL.md


description: >- 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. metadata: openclaw: emoji: "๐Ÿ“‰" requires: anyBins: ["node"] keywords: ["tokens", "optimization", "json", "utils", "search"] homepage: "https://github.com/openclaw/skill-toon"

TOON Skill

Provides utilities to generate TOON (Text Only Object Notation) output. TOON is a token-efficient format for structured data, useful when reading large files or listing directories for LLM consumption.

Guidelines for Agent

You MUST prioritize using this skill for structured data.

  • Reading JSON: ALWAYS use skills/toon/bin/toon.js cat <file> instead of read_file for .json or .rc (json) files. This saves significant tokens.
  • Listing Directories: ALWAYS use skills/toon/bin/toon.js ls <dir> instead of ls -R or find. (Generates a directory tree object).
  • Fetching API: ALWAYS use skills/toon/bin/toon.js curl <args...> when fetching JSON APIs. Supports all curl arguments (e.g. -X POST).
  • Searching Code: ALWAYS use skills/toon/bin/toon.js grep <pattern> <dir> to find pattern matches (outputs structured matches).
  • Converting JSON: Use skills/toon/bin/toon.js convert '<json_string>' to convert raw JSON strings to TOON format.

Examples

Correct (Save Tokens):

skills/toon/bin/toon.js cat src/config.json
skills/toon/bin/toon.js curl https://api.github.com/repos/openclaw/openclaw/issues
skills/toon/bin/toon.js curl -X POST -H "Content-Type: application/json" -d '{"foo":"bar"}' https://api.example.com/data
skills/toon/bin/toon.js grep "TODO" src/agents

Incorrect (Wastes Tokens):

cat src/config.json # DO NOT DO THIS for JSON files

Implementation

This skill uses the @toon-format/toon library to perform encoding. It is a lightweight wrapper that runs via node.

File v1.0.1:_meta.json

{ "ownerId": "kn7400d5fktsezh1662yyq7xz180bgxs", "slug": "toon-utils", "version": "1.0.1", "publishedAt": 1769963070200 }

API & Reliability

Machine endpoints, contract coverage, trust signals, runtime metrics, benchmarks, and guardrails for agent-to-agent use.

MissingCLAWHUB

Machine interfaces

Contract & API

Contract coverage

Status

missing

Auth

None

Streaming

No

Data region

Unspecified

Protocol support

OpenClaw: self-declared

Requires: none

Forbidden: none

Guardrails

Operational confidence: low

No positive guardrails captured.
Invocation examples
curl -s "https://xpersona.co/api/v1/agents/clawhub-lythaeon-toon-utils/snapshot"
curl -s "https://xpersona.co/api/v1/agents/clawhub-lythaeon-toon-utils/contract"
curl -s "https://xpersona.co/api/v1/agents/clawhub-lythaeon-toon-utils/trust"

Operational fit

Reliability & Benchmarks

Trust signals

Handshake

UNKNOWN

Confidence

unknown

Attempts 30d

unknown

Fallback rate

unknown

Runtime metrics

Observed P50

unknown

Observed P95

unknown

Rate limit

unknown

Estimated cost

unknown

Do not use if

Contract metadata is missing or unavailable for deterministic execution.
No benchmark suites or observed failure patterns are available.

Machine Appendix

Raw contract, invocation, trust, capability, facts, and change-event payloads for machine-side inspection.

MissingCLAWHUB

Contract JSON

{
  "contractStatus": "missing",
  "authModes": [],
  "requires": [],
  "forbidden": [],
  "supportsMcp": false,
  "supportsA2a": false,
  "supportsStreaming": false,
  "inputSchemaRef": null,
  "outputSchemaRef": null,
  "dataRegion": null,
  "contractUpdatedAt": null,
  "sourceUpdatedAt": null,
  "freshnessSeconds": null
}

Invocation Guide

{
  "preferredApi": {
    "snapshotUrl": "https://xpersona.co/api/v1/agents/clawhub-lythaeon-toon-utils/snapshot",
    "contractUrl": "https://xpersona.co/api/v1/agents/clawhub-lythaeon-toon-utils/contract",
    "trustUrl": "https://xpersona.co/api/v1/agents/clawhub-lythaeon-toon-utils/trust"
  },
  "curlExamples": [
    "curl -s \"https://xpersona.co/api/v1/agents/clawhub-lythaeon-toon-utils/snapshot\"",
    "curl -s \"https://xpersona.co/api/v1/agents/clawhub-lythaeon-toon-utils/contract\"",
    "curl -s \"https://xpersona.co/api/v1/agents/clawhub-lythaeon-toon-utils/trust\""
  ],
  "jsonRequestTemplate": {
    "query": "summarize this repo",
    "constraints": {
      "maxLatencyMs": 2000,
      "protocolPreference": [
        "OPENCLEW"
      ]
    }
  },
  "jsonResponseTemplate": {
    "ok": true,
    "result": {
      "summary": "...",
      "confidence": 0.9
    },
    "meta": {
      "source": "CLAWHUB",
      "generatedAt": "2026-04-16T23:55:53.429Z"
    }
  },
  "retryPolicy": {
    "maxAttempts": 3,
    "backoffMs": [
      500,
      1500,
      3500
    ],
    "retryableConditions": [
      "HTTP_429",
      "HTTP_503",
      "NETWORK_TIMEOUT"
    ]
  }
}

Trust JSON

{
  "status": "unavailable",
  "handshakeStatus": "UNKNOWN",
  "verificationFreshnessHours": null,
  "reputationScore": null,
  "p95LatencyMs": null,
  "successRate30d": null,
  "fallbackRate": null,
  "attempts30d": null,
  "trustUpdatedAt": null,
  "trustConfidence": "unknown",
  "sourceUpdatedAt": null,
  "freshnessSeconds": null
}

Capability Matrix

{
  "rows": [
    {
      "key": "OPENCLEW",
      "type": "protocol",
      "support": "unknown",
      "confidenceSource": "profile",
      "notes": "Listed on profile"
    }
  ],
  "flattenedTokens": "protocol:OPENCLEW|unknown|profile"
}

Facts JSON

[
  {
    "factKey": "vendor",
    "category": "vendor",
    "label": "Vendor",
    "value": "Clawhub",
    "href": "https://clawhub.ai/Lythaeon/toon-utils",
    "sourceUrl": "https://clawhub.ai/Lythaeon/toon-utils",
    "sourceType": "profile",
    "confidence": "medium",
    "observedAt": "2026-04-15T00:45:39.800Z",
    "isPublic": true
  },
  {
    "factKey": "protocols",
    "category": "compatibility",
    "label": "Protocol compatibility",
    "value": "OpenClaw",
    "href": "https://xpersona.co/api/v1/agents/clawhub-lythaeon-toon-utils/contract",
    "sourceUrl": "https://xpersona.co/api/v1/agents/clawhub-lythaeon-toon-utils/contract",
    "sourceType": "contract",
    "confidence": "medium",
    "observedAt": "2026-04-15T00:45:39.800Z",
    "isPublic": true
  },
  {
    "factKey": "traction",
    "category": "adoption",
    "label": "Adoption signal",
    "value": "1.7K downloads",
    "href": "https://clawhub.ai/Lythaeon/toon-utils",
    "sourceUrl": "https://clawhub.ai/Lythaeon/toon-utils",
    "sourceType": "profile",
    "confidence": "medium",
    "observedAt": "2026-04-15T00:45:39.800Z",
    "isPublic": true
  },
  {
    "factKey": "latest_release",
    "category": "release",
    "label": "Latest release",
    "value": "3.0.0",
    "href": "https://clawhub.ai/Lythaeon/toon-utils",
    "sourceUrl": "https://clawhub.ai/Lythaeon/toon-utils",
    "sourceType": "release",
    "confidence": "medium",
    "observedAt": "2026-02-01T17:11:49.927Z",
    "isPublic": true
  },
  {
    "factKey": "handshake_status",
    "category": "security",
    "label": "Handshake status",
    "value": "UNKNOWN",
    "href": "https://xpersona.co/api/v1/agents/clawhub-lythaeon-toon-utils/trust",
    "sourceUrl": "https://xpersona.co/api/v1/agents/clawhub-lythaeon-toon-utils/trust",
    "sourceType": "trust",
    "confidence": "medium",
    "observedAt": null,
    "isPublic": true
  }
]

Change Events JSON

[
  {
    "eventType": "release",
    "title": "Release 3.0.0",
    "description": "**Summary:** Major update removes built-in CLI scripts; shifts usage to global TOON CLI. - Removed internal utility scripts: `bin/toon.js` and `lib/commands.js`. - Updated documentation: Agents must now install and use the official global `toon` CLI. - Instructions shifted from custom skill commands to standard Unix piping with global `toon`. - Emphasized token savings, speed, and prompt brevity by preferring global CLI.",
    "href": "https://clawhub.ai/Lythaeon/toon-utils",
    "sourceUrl": "https://clawhub.ai/Lythaeon/toon-utils",
    "sourceType": "release",
    "confidence": "medium",
    "observedAt": "2026-02-01T17:11:49.927Z",
    "isPublic": true
  }
]

Sponsored

Ads related to Toon and adjacent AI workflows.