json-yaml

json-yaml is a skill for Claude Code, Codex from bug-ops/zeph. It costs 77 tokens per session (2,780 once invoked), scanned A, original, MIT.

A set of tools for reading, checking, reshaping, and converting JSON and YAML files. JSON and YAML are common text formats for configuration and structured data.

In plain words
What is it for?
Filter nested data, extract fields, transform arrays and objects, validate and format files, minify JSON, and convert between JSON and YAML.
Why use it?
It reduces manual editing and helps catch invalid data before it is used by an application or deployment system.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Filter nested data, extract fields, transform arrays and objects, validate and format files, minify JSON, and convert between JSON and YAML.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/bug-ops/zeph/json-yaml
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.

Any agent
npx skills add bug-ops/zeph --skill json-yaml
Clone the repo
git clone --depth 1 https://github.com/bug-ops/zeph

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-yaml

README.md
[![agentmods](https://agentmods.dev/badge/skills/bug-ops/zeph/json-yaml/github.svg)](https://agentmods.dev/skills/bug-ops/zeph/json-yaml)
Your own site
<a href="https://agentmods.dev/skills/bug-ops/zeph/json-yaml"><img src="https://agentmods.dev/badge/skills/bug-ops/zeph/json-yaml/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for json-yaml

Your own site · 80×15
<a href="https://agentmods.dev/skills/bug-ops/zeph/json-yaml"><img src="https://agentmods.dev/badge/skills/bug-ops/zeph/json-yaml.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 77 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,780 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Data Exfiltration · line 297
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
How audits are shown
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.1 $0.00077 $0.02780
Opus 5.5 $0.00031 $0.01112
Sonnet 5.5 $0.00015 $0.00556
Haiku 4.5 $0.00008 $0.00278

Measured 3mo ago against content hash ebf758308b3d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

json-yaml scanned grade A with 1 finding 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 3mo 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

# Pipe curl output to jq
.zeph/skills/json-yaml/SKILL.md · 423 lines

How it starts

The opening of the file, as written. The whole thing — 423 lines — stays where its author put it; the contents beside it link to each section on GitHub.

JSON & YAML Processing with jq and fy

Quick Reference

Action Command
Pretty-print JSON jq . file.json
Minify JSON jq -c . file.json
Extract field jq '.name' file.json
Extract raw string jq -r '.name' file.json
Validate YAML fy parse file.yaml
Format YAML fy format -i file.yaml
Lint YAML fy lint file.yaml
YAML to JSON fy convert json file.yaml
JSON to YAML fy convert yaml file.json
Validate JSON jq empty file.json

jq Basics

Identity and Field Access

# Identity (pass-through, pretty-print)
cat data.json | jq .

# Access nested field
jq '.user.address.city' data.json

# Access array element
jq '.[0]' data.json
jq '.items[2]' data.json

# Access multiple fields (comma operator)
jq '.name, .age' data.json

# Optional field access (no error if missing)
jq '.missing?' data.json

String Interpolation

# Build strings from fields
jq -r '"Name: \(.name), Age: \(.age)"' data.json

# Use in filters
jq -r '.[] | "User \(.id): \(.email)"' users.json

Raw Output

# -r removes quotes from string output
jq -r '.name' data.json

# -R treats input as raw strings (not JSON)
echo "hello" | jq -R .

# --raw-output0 uses NUL separator (for xargs -0)
jq -r0 '.[]' list.json | xargs -0 -I{} echo "{}"

jq Filters

select — Filter by Condition

# Select objects matching condition
jq '.[] | select(.age > 30)' users.json

# Select by string match
jq '.[] | select(.name == "Alice")' users.json

# Select with contains
jq '.[] | select(.tags | contains(["admin"]))' users.json

# Select with test (regex)
jq '.[] | select(.email | test("@gmail\\.com$"))' users.json

# Select non-null values
jq '.[] | select(.address != null)' users.json

# Multiple conditions (and / or)
jq '.[] | select(.age > 25 and .status == "active")' users.json
jq '.[] | select(.role == "admin" or .role == "superadmin")' users.json

map — Transform Each Element

Read the full file on GitHub · 423 lines

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. 3mo ago First seen · 423 lines · 77 tokens per session scan A ebf758308b3d

Subscribe to this mod's changes

json-yaml is a skill published in the GitHub repository bug-ops/zeph (68 stars, last pushed today), licensed MIT. It adds 77 tokens to every session and 2,780 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

json-yaml compared with skills from other repositories

json-yaml next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
json-yamlbug-ops/zephSkill68todayMITA77Claude Code, Codex
swiftidebosun-ai/swiftideSkill807todayMITA43Claude Code, Codex
json-to-toonsoulcodex/agenticSkill1010d agoMITA88Claude Code, Codex
sephera-change-safetyReim-developer/SepheraSkill782d agoGPL-3.0A80Claude Code, Codex
simplicio-loopwesleysimplicio/simplicioSkill282mo agononeA120Claude Code
simplicio-nest-gatewesleysimplicio/simplicioSkill282mo agononeA39Claude Code
simplicio-orientwesleysimplicio/simplicioSkill282mo agononeA119Claude Code