thechandanbhagat/claude-skills/json

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Parse, validate, transform, and manipulate JSON data. Use for JSON operations, schema validation, and data transformation.

Install

npx vskill@latest install thechandanbhagat/claude-skills/json

SKILL.md

JSON Processing Skill

Work with JSON data efficiently.

1. Parse and Query

Using jq:

bash
# Pretty print
cat data.json | jq '.'
# Select field
cat data.json | jq '.users[0].name'
# Filter arrays
cat data.json | jq '.users[] | select(.age > 18)'
# Map transformation
cat data.json | jq '.users[] | {name, email}'
# Count elements
cat data.json | jq '.users | length'

2. Validate JSON

Python:

python
import json
import jsonschema
schema = {
"type": "object",
"properties": {
"name": {"type": "string"},
"age": {"type": "number", "minimum": 0}
},
"required": ["name", "age"]
}
data = {"name": "John", "age": 30}
jsonschema.validate(instance=data, schema=schema)

3. Transform JSON

jq transformations:

bash
# Rename keys
jq '.users[] | {fullName: .name, emailAddress: .email}'
# Flatten nested structure
jq '[.users[] | {name, city: .address.city}]'
# Group by
jq 'group_by(.category) | map({category: .[0].category, items: .})'
# Merge objects
jq '. + {newField: "value"}'

4. Convert Formats

JSON to CSV:

bash
jq -r '.[] | [.name, .email, .age] | @csv' data.json > output.csv

JSON to YAML:

bash
python -c "import json, yaml; print(yaml.dump(json.load(open('data.json'))))"

When to Use This Skill

Use /json for JSON parsing, validation, transformation, and conversion tasks.

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/thechandanbhagat/claude-skills/json/badge)](https://verified-skill.com/skills/thechandanbhagat/claude-skills/json)

Something wrong with this skill or its page? Tell us.