JSON
Parse, validate, transform, and manipulate JSON data. Use for JSON operations, schema validation, and data transformation.
Install
npx skills add thechandanbhagat/claude-skills --skill jsongit clone --depth 1 https://github.com/thechandanbhagat/claude-skills.git /tmp/claude-skills
mkdir -p ~/.claude/skills
cp -r /tmp/claude-skills/skills/json ~/.claude/skills/jsonPersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the 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.Details
- Skill name
json- Repository
- thechandanbhagat/claude-skills
- Path
skills/json/SKILL.md- Repo updated
- 22 January 2026
FAQ
What does the JSON skill do?
Parse, validate, transform, and manipulate JSON data. Use for JSON operations, schema validation, and data transformation.
How do I install the JSON skill?
skills CLI (Claude Code, Cursor, Codex and more): npx skills add thechandanbhagat/claude-skills --skill json. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is JSON popular?
It lives in thechandanbhagat/claude-skills, which has 9 GitHub stars and 0 forks.
Related skills
Code Review
9thechandanbhagat/claude-skills
Perform automated code reviews with best practices, security checks, and refactoring suggestions. Use when reviewing code, checking for vulnerabilities, or analyzing code quality.
CSV
9thechandanbhagat/claude-skills
Parse, analyze, transform, and manipulate CSV files. Use for data processing, cleaning, and CSV operations.
Debug
9thechandanbhagat/claude-skills
Debug code, analyze errors, interpret stack traces, find root causes, and suggest fixes. Use when troubleshooting bugs, analyzing crashes, or investigating unexpected behavior.
Skill Updater
9ydnikolaev/antigravity-factory
Maintains and updates existing skills with new patterns, standards, and fixes. Mass rollout of changes across multiple skills.
Hello World
9ydnikolaev/antigravity-factory
A minimal example skill demonstrating "The Antigravity Way". Use this as a reference when creating your own skills.
Abt Narrative Critique Zh
5kangning-huang/science_narrative_skills
使用ABT(And-But-Therefore,即「而且-但是-因此」)叙事框架评估中文科研项目申请书和论文。该框架源自Randy Olson的《Houston, We Have a Narrative》。专为环境科学和城市气候研究领域校准。使用场景:(1) 用户要求评估或点评中文项目申请书的摘要或引言部分,(2) 用户想评估论文框架是否具有发表竞争力,(3) 用户需要科学写作的叙事结构反馈,(4) 用户提到ABT框架、Olson或NSFC/国家自然科学基金申请。提供定性评估、问题严重程度判断(致命缺陷vs可改进问题)、引文核查和建设性修改建议。
Browse the most popular Claude skills, all other skills, or write your own with the skills generator.