json-wrangling

json-wrangling is a skill for Claude Code, Codex from 1aifanatic/super-computer. It costs 39 tokens per session (485 once invoked), scanned A, original, MIT.

A guide for inspecting, searching, reshaping, and checking JSON, a text format commonly used for API data and configuration.

In plain words
What is it for?
It is for querying API responses, configuration files, package manifests, and logs, as well as producing tables or CSV files.
Why use it?
It makes unfamiliar JSON easier to understand and helps transform or validate it without relying on manual inspection.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/1aifanatic/super-computer/json-wrangling
Any agent
npx skills add 1aifanatic/super-computer --skill json-wrangling
Clone the repo
git clone --depth 1 https://github.com/1aifanatic/super-computer

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for json-wrangling

README.md
[![agentmods](https://agentmods.dev/badge/skills/1aifanatic/super-computer/json-wrangling.svg)](https://agentmods.dev/skills/1aifanatic/super-computer/json-wrangling)
Your own site
<a href="https://agentmods.dev/skills/1aifanatic/super-computer/json-wrangling"><img src="https://agentmods.dev/badge/skills/1aifanatic/super-computer/json-wrangling.svg" alt="Measured on agentmods" height="20"></a>
Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 485 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00039 $0.00485
Opus 5 $0.00019 $0.00243
Sonnet 5 $0.00008 $0.00097
Haiku 4.5 $0.00004 $0.00049

Measured 4d ago against content hash 4d8750b30bf1, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

json-wrangling scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/json-wrangling/SKILL.md · 55 lines

What it actually says

Working with JSON

jq is available in the shell. Use it rather than reading a JSON file and reasoning about it by eye — it is cheaper and it does not make arithmetic mistakes.

Understand the shape first

Never assume a structure. Ask:

jq 'keys' /workspace/data.json
jq 'type' /workspace/data.json
jq '.[0] | keys' /workspace/list.json
jq -r 'paths(scalars) | join(".")' /workspace/data.json | sort -u

That last one prints every leaf path in the document and is the fastest way to learn an unfamiliar payload.

Everyday queries

jq '.version' package.json
jq -r '.dependencies | to_entries[] | "\(.key)@\(.value)"' package.json
jq '[.items[] | select(.active)] | length' data.json
jq -r '.records[] | [.id, .name, .total] | @csv' data.json
jq 'map(.amount) | add' orders.json
jq -s 'group_by(.status) | map({status: .[0].status, n: length})' events.json

Validation

jq exits non-zero on malformed input, which makes it a validator:

jq empty /workspace/config.json && echo valid

Editing JSON

To change a value, prefer jq to hand-editing — it cannot produce invalid JSON:

jq '.version = "2.0.0"' config.json > /workspace/.tmp.json && mv /workspace/.tmp.json config.json

Note jq cannot write in place, so route through a temporary file as above.

Not available

There is no sqlite3, no python, and no node in this Workspace — the packaged builds ship without their compiled runtimes. For anything beyond jq, use awk, sed, sort, cut and join, which are all present. If a task genuinely needs a database or a real script interpreter, say so rather than improvising something fragile.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 55 lines · 39 tokens per session scan A 4d8750b30bf1

Subscribe to this mod's changes

json-wrangling is a skill published in the GitHub repository 1aifanatic/super-computer (2 stars, last pushed 24d ago), licensed MIT. It adds 39 tokens to every session and 485 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

changelog-writer

This skill should be used when the user asks to "add a changelog entry", "write changelog", "audit changelog", "review changelog", "check changelog entries", or is editing docs-mintlify/changelog.mdx. Enforces a consistent, reader-facing voice and cuts implementation trivia.

pdugan20/rewind · 68 tokens

add-media

This skill should be used when the user asks to "add a movie", "add a vinyl", "add to my collection", "add physical media", "add a Blu-ray", "add a CD", or "bought these records". It handles both movies (via TMDb/Trakt) and music (via Discogs).

pdugan20/rewind · 71 tokens

media-search

This skill should be used when the user asks to "search for a movie", "find a record on Discogs", "look up a film", "search TMDb", "search Discogs", "what's the TMDb ID for", "what's the Discogs ID for", or wants to look up media metadata before adding it to the collection.

pdugan20/rewind · 75 tokens

frontend-design-landing-page

Marketing landing page and conversion-focused product page reference. Use this skill when building hero sections, feature grids, pricing pages, testimonials, CTAs, footers, navigation bars, or any public-facing marketing surface. Covers a warm, professional, developer-friendly design language (cream backgrounds…

cloudflare/vibesdk · 106 tokens

frontend-design-saas

S-tier SaaS dashboard and product UI reference. Use this skill when building application shells, data tables, settings panels, billing pages, dashboards, auth flows, admin tools, or any internal/customer-facing SaaS product UI. Inspired by Stripe, Linear, Vercel, Airbnb, Notion. Covers neutral-led design tokens…

cloudflare/vibesdk · 105 tokens

cloudflare-bundler-apps

Author Cloudflare Worker Bundler-compatible apps that build and preview correctly inside a space. Use this skill whenever you scaffold, modify, or deploy a project that will be built with @cloudflare/worker-bundler (i.e. anything served from /space/:name/preview/:branch/). Covers wrangler config, project layout…

cloudflare/vibesdk · 105 tokens