# Paleo Json

> Use when user says "compact json", "minify output", "tight structured", or the agent must emit JSON / structured data. Strip insignificant whitespace, collapse long arrays, shorten keys where safe, keep it parseable. Cuts tokens on structured payloads. Off: "pretty print" / "human-readable".

- **Type:** Skill
- **Install:** `agentstack add skill-mocasus-paleo-paleo-json`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [mocasus](https://agentstack.voostack.com/s/mocasus)
- **Installs:** 0
- **Category:** [AI & ML](https://agentstack.voostack.com/c/ai-and-ml)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [mocasus](https://github.com/mocasus)
- **Source:** https://github.com/mocasus/paleo/tree/main/skills/paleo-json
- **Website:** https://github.com/mocasus/paleo

## Install

```sh
agentstack add skill-mocasus-paleo-paleo-json
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# paleo-json
Compact structured output. JSON / YAML / tables → minimal tokens, still valid.

## Rules
- Minify: remove whitespace between tokens (valid JSON stays parseable).
- Collapse arrays of repeated shapes into a count + 1 example when the consumer allows.
- Keep keys verbatim unless a documented short alias exists — never invent keys.
- Preserve: values, types, order where it matters, escaping.
- YAML: drop comments, shorten, keep indentation minimal but valid.
- Numbers/booleans/null: never reformat in ways that change type.

## Levels
- `lite`: minify whitespace only (safest).
- `full` (default): minify + collapse repetitive array tails.
- `ultra`: minify + alias keys per a provided map.

## Switch
- `paleo-json` / `compact json` / `minify` on. `pretty print` off.

## Gotchas
- Always return valid, parseable output — a broken payload costs more than the tokens saved.
- Don't alias keys unless the consumer expects them; default = keep keys.
- Streaming/chunked JSON: minify only after the full object is known.

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [mocasus](https://github.com/mocasus)
- **Source:** [mocasus/paleo](https://github.com/mocasus/paleo)
- **License:** MIT
- **Homepage:** https://github.com/mocasus/paleo

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-mocasus-paleo-paleo-json
- Seller: https://agentstack.voostack.com/s/mocasus
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
